Re: [ilugd] CentOS 5.6 ( Multiple Problems )
On Wed, Oct 05, 2011 at 09:23:04AM +0530, Gaurang Aggarwal wrote: > I couldn't start or restart the httpd . > > c/init.d/httpd restart > Stopping httpd:[FAILED] > Starting httpd: (13)Permission denied: make_sock: could not bind to address > [::]:80 > (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 > no listening sockets available, shutting down > Unable to open logs >[FAILED] You should check the permission of /var/log (and the corresponding subdirectories for Apache on CentOS). > > 2. Also service command is not installed > > root@ip /]# service httpd start > bash: service: command not found > > [root@ip-xx ]# > > How to install service ? This might be due to the PATH environment variable; could you please try /sbin/service httpd start? In any case, I don't believe this is the cause of your trouble. Thanks. Kumar -- : [ GNU/Linux One Stanza Tip (LOST) ]### Sub : Converting email data [#2] LOST #566 Some useful links for Email Data Conversion: http://lists.ethernal.org/cantlug-0209/msg00277.html http://people.freenet.de/ukrebs/dbxconv.html http://www.joshie.com/projects/dawn/ http://www.interguru.com/mailconv.htm http://www.interguru.com/MailInformation.htm [abhiramkushwah (at) rediffmail.com### : ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] CentOS 5.6 ( Multiple Problems )
On Wednesday 05 Oct 2011, Gaurang Aggarwal wrote: > c/init.d/httpd restart > Stopping httpd:[FAILED] > Starting httpd: (13)Permission denied: make_sock: could not bind to > address [::]:80 > (13)Permission denied: make_sock: could not bind to address > 0.0.0.0:80 no listening sockets available, shutting down > Unable to open logs >[FAILED] Apache is trying to bind to IPv6 instead of IPv4. Is that what you really want? If not, try changing your Listen directive from: Listen 80 to Listen 0.0.0.0:80 Regards, -- Raj -- Raj Mathurr...@kandalaya.org http://kandalaya.org/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F PsyTrance & Chill: http://schizoid.in/ || It is the mind that moves ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] CentOS 5.6 ( Multiple Problems )
Hi, Can show us the logs. As far as service command is concerned,you can install it using the package manager or check its installed or not. rpm -qa |grep service 2011/10/5 Raj Mathur (राज माथुर) : > On Wednesday 05 Oct 2011, Gaurang Aggarwal wrote: >> c/init.d/httpd restart >> Stopping httpd: [FAILED] >> Starting httpd: (13)Permission denied: make_sock: could not bind to >> address [::]:80 >> (13)Permission denied: make_sock: could not bind to address >> 0.0.0.0:80 no listening sockets available, shutting down >> Unable to open logs >> [FAILED] > > Apache is trying to bind to IPv6 instead of IPv4. Is that what you > really want? If not, try changing your Listen directive from: > > Listen 80 > > to > > Listen 0.0.0.0:80 > > Regards, > > -- Raj > -- > Raj Mathur r...@kandalaya.org http://kandalaya.org/ > GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F > PsyTrance & Chill: http://schizoid.in/ || It is the mind that moves > > ___ > Ilugd mailing list > Ilugd@lists.linux-delhi.org > http://frodo.hserus.net/mailman/listinfo/ilugd > -- Best Regards, Suresh Kumar Prajapati Linux System Admin E-mail: er.sureshprajap...@gmail.com Mob No: +91-8800920533 Theory is when you know all and nothing works. Practice is when all works and nobody knows why. In this case we have put together theory and practice: nothing works... and nobody knows why! ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] CentOS 5.6 ( Multiple Problems )
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Gaurang Aggarwal writes: > Hello guys , > I am using CentOS 5.6 on my VPS , and I am having multiple problems . > 1. > /etc/init.d/httpd reload > Reloading httpd: [FAILED] > [root@ip-1-- /]# /etc/init.d/httpd start > Starting httpd:[FAILED] > [root@ip-1-- /]# /etc/init.d/httpd stop > Stopping httpd:[FAILED] > I couldn't start or restart the httpd . > c/init.d/httpd restart > Stopping httpd:[FAILED] > Starting httpd: (13)Permission denied: make_sock: could not bind to address > [::]:80 > (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 > no listening sockets available, shutting down > Unable to open logs >[FAILED] Looks like some process (maybe httpd) is already listening on port 80. You can see that using: # netstat -pant |fgrep :80 > 2. Also service command is not installed > root@ip /]# service httpd start > bash: service: command not found Try using "/sbin/service". Are you sure /sbin is in PATH and you're not running something like "sudo su" or "sudo bash" to get root shell. It's provided by "initscripts" package (which is usually installed as part of base system, IIRC) whose existence you can confirm using: % rpm -q initscripts If it's not installed then you're probably missing the Base group as well, which you can install using: # yum install -y Base HTH - -- Ashish SHUKLA “In reality there are as many religions as there are individuals.” ("Mahatma Gandhi", "Hind Swaraj", 1908) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (FreeBSD) iQIcBAEBCgAGBQJOjBQSAAoJEMdGz6nnT6SwIqsP/37N/R8BXyvQREiLIxujDCqL ZGhLQ98RkLgvyuQT56GUTlWQAPZH0kW11GHCu1z4sbdgB7AOa7yzc+UoUVsaVurx /xJTICoeKIJY8D0yYM5rXguqDORsuw0P7ryYmdxNrJ/BpHg+vI/nF/Cda228shpQ NmEvMruPw5zVeBzUlgVoPcBfjCcEK2ODO/OOqbS5YEd7/UgUHxg0352vPCr9EUkT H7VT3sUi71P8I+bMokeT4V8aCpFduzqcTwMZLMqq2h9HnuVjZeyS0z2n2xmEEMxs 059K4jwwd5/yvlQHYtGIzmz6b7lDjG8VLh6yZn9BzJK/oK4sOnwM5Pw0jTCdP3sy JmzlL4lGO4vn+bUA7QW3YkYSU76+xmsGjHSiTuGUdyrUkVTAaTVkWs+cuv7q2t4y 7jeWi7DhoaJhkXrgvVAc3pWhwcmM0uzUkDolJPALBxL6YqPmXn6wd1oPZoEjmM2g 83NuW7rtlCFHaARNhzOXIYCCC3N4MOke8HksXyVFSRE3Taa8Ml3jcFj/TLARQ+Xp 2ReQD+f3Utt2qnlcD1YfXDg2jG9FaqssJ75dfzqIsopnqp28tcP/Dhl36gZIqTwi Ky9R0jE3DZRlhdutDkdRSOZ/WIsNXSpaFalH5WULr14iySl1HO/c8d30mK5rjMUz HM/Bf8ONbeUE4uf3bZ3q =T9bU -END PGP SIGNATURE- ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] CentOS 5.6 ( Multiple Problems )
On Thursday 06 Oct 2011, Kristen Eisenberg wrote: > I am using CentOS 5.6 on my VPS , and I am having multiple problems . > 1. > /etc/init.d/httpd reload > Reloading httpd: [FAILED] > [root@ip-1-- /]# /etc/init.d/httpd start > Starting httpd:[FAILED] > [root@ip-1-- /]# /etc/init.d/httpd stop > Stopping httpd:[FAILED] What does the Apache error.log contain? As an aside, are you related to Gaurang Agarwal? Or is two people having identical problems with identical software on identical distributions in identical environments in two days a sheer coincidence? -- Raj -- Raj Mathurr...@kandalaya.org http://kandalaya.org/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F PsyTrance & Chill: http://schizoid.in/ || It is the mind that moves ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] CentOS 5.6 ( Multiple Problems )
Hi Once reboot your system and check it again. Thanks Phani ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] CentOS 5.6 ( Multiple Problems )
hi please check the httpd.conf file best regards vivek On Fri, Jan 6, 2012 at 4:42 PM, phani wrote: > Hi > > Once reboot your system and check it again. > > Thanks > Phani > > > > > > ___ > Ilugd mailing list > Ilugd@lists.linux-delhi.org > http://frodo.hserus.net/mailman/listinfo/ilugd > ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd