Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
slansing
Posts: 7698 Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...
Post
by slansing » Mon Feb 18, 2013 11:50 am
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
zik
Posts: 26 Joined: Wed Feb 13, 2013 4:01 am
Post
by zik » Tue Feb 19, 2013 4:00 am
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
yancy
Posts: 523 Joined: Thu Oct 06, 2011 10:12 am
Post
by yancy » Tue Feb 19, 2013 10:11 am
zik
Posts: 26 Joined: Wed Feb 13, 2013 4:01 am
Post
by zik » Tue Feb 19, 2013 6:01 pm
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
zik
Posts: 26 Joined: Wed Feb 13, 2013 4:01 am
Post
by zik » Wed Feb 20, 2013 5:49 am
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
zik
Posts: 26 Joined: Wed Feb 13, 2013 4:01 am
Post
by zik » Wed Feb 20, 2013 8:21 am
the problem is fixed
Many Thanks
All The Best
slansing
Posts: 7698 Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...
Post
by slansing » Wed Feb 20, 2013 11:15 am
Excellent, thanks for letting us know.