Page 2 of 2
Re: Httpd Can't start
Posted: Mon Feb 18, 2013 11:50 am
by slansing
However, like I said twice, we need to
make the changes that lmiltchev suggested.
We can re-create the log by hand:
When the editor opens type the following to save it:
IMPORTANT***************** MAKE SURE:
That you make the changes suggested by lmiltchev to /etc/hosts:
Code: Select all
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Re: Httpd Can't start
Posted: Tue Feb 19, 2013 4:00 am
by zik
excuse me in the path : /var/log/ in didn't find folder httpd so I must also create a folder httpd after the log file is creted automaticly when I start the service but the small problem that now give me is:
Code: Select all
[root@server ~]# service httpd start
Démarrage de httpd : httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
I m under fedora .
Many Thanks
Re: Httpd Can't start
Posted: Tue Feb 19, 2013 10:11 am
by yancy
Re: Httpd Can't start
Posted: Tue Feb 19, 2013 6:01 pm
by zik
Thank you Yancy
but in the hots i didn't change it more than two years and it's working fine just when I delete logs I have this problem
Realy I m lost
Many Thanks
Re: Httpd Can't start
Posted: Wed Feb 20, 2013 5:49 am
by zik
excuse me ,
can someone help me , realy I m lost
I success to modify the file httpd.confto add ServerName localhost and service httpd is running but the web page not working
Code: Select all
Not Found
The requested URL /nagios was not found on this server.
Apache/2.2.14 (Fedora) Server at 10.5.5.1 Port 80
Many Thanks
All The best
Re: Httpd Can't start
Posted: Wed Feb 20, 2013 8:21 am
by zik
the problem is fixed
Many Thanks
All The Best
Re: Httpd Can't start
Posted: Wed Feb 20, 2013 11:15 am
by slansing
Excellent, thanks for letting us know.