Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Respective sir ;
I have CentOS 6.02 on my system.When I try to start httpd service through shell or by gui mode that service fails to start It gives me message:
root@localhost:/#service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for localhost@.localdomain
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[FAILED]
root@localhost:/#/etc/init.d/httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for localhost@.localdomain
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[FAILED]
I dont no what is this exactly will you please help me
Is it possible to reinstall httpd service or changig hostname
Last edited by kiran.ursal; 03-13-2013 at 02:20 PM.
In httpd.conf, search for "ServerName". It's usually commented out by default. Just uncomment it and fill it in. Make sure you also have the name/ip combo set in /etc/hosts.
In httpd.conf, search for "ServerName". It's usually commented out by default. Just uncomment it and fill it in. Make sure you also have the name/ip combo set in /etc/hosts.
I check the server name it is not in commented,It is fine and I check /etc/hosts also that also contains the name/ip combo set.
everything is ok then why this problem is coming?
Problem solved
When HTTPD is try to start that time it was unable to provide valid ssl certificate.SSL not get the correct certificate.
Why it is happen because my cmos battery is ended due to this my system date is differant than current date so ssl certificate not valid which is provided by httpd.
So I change my cmos battery and set my system date with current date and I make ssl certificate checking off by editing in ssl file.
and my HTTPD service get start normally.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.