Services Will Not Start Up
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Services Will Not Start Up
Disk was full, got it resized and expanded the partition in Linux. Services still will not start up. Any ideas?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Services Will Not Start Up
What is the exact error you're receiving?
Code: Select all
service httpd startCode: Select all
service nagios start-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: Services Will Not Start Up
Performance Graphere is not running and cant start it. Active host checks are disabled, Active service checks are disabled and notifications are disabled
Re: Services Will Not Start Up
Sometimes the inodes do not get released until a reboot. What is the current inode and disk usage:
Code: Select all
df -h
df -iFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: Services Will Not Start Up
login as: root
[email protected]'s password:
Last login: Mon Nov 11 12:54:00 2013 from 10.41.66.143
[root@att1-nag1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
13G 6.3G 5.5G 54% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sda1 485M 50M 410M 11% /boot
[root@att1-nag1 ~]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup-lv_root
819312 71043 748269 9% /
tmpfs 490494 1 490493 1% /dev/shm
/dev/sda1 128016 44 127972 1% /boot
[root@att1-nag1 ~]#
[email protected]'s password:
Last login: Mon Nov 11 12:54:00 2013 from 10.41.66.143
[root@att1-nag1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
13G 6.3G 5.5G 54% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sda1 485M 50M 410M 11% /boot
[root@att1-nag1 ~]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup-lv_root
819312 71043 748269 9% /
tmpfs 490494 1 490493 1% /dev/shm
/dev/sda1 128016 44 127972 1% /boot
[root@att1-nag1 ~]#
Re: Services Will Not Start Up
matt, the inodes look fine. Lets try a full restart of all the relevant services:
Code: Select all
service nagios stop
service ndo2db stop
service mysqld stop
service npcd stop
service postgresql stop
service httpd stop
service crond stopCode: Select all
service nagios start
service mysqld start
service ndo2db start
service npcd start
service postgresql stsrt
service httpd start
service crond startFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: Services Will Not Start Up
done and done this is where i am at now
DB Connect Error [nagiosxi]: Database connection failed DB Connect Error [nagiosxi]: Database connection failed DB Connect Error [nagiosxi]: Database connection failed
DB Connect Error [nagiosxi]: Database connection failed DB Connect Error [nagiosxi]: Database connection failed DB Connect Error [nagiosxi]: Database connection failed
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: Services Will Not Start Up
Dont know if seeing any of this helps
[root@att1-nag1 ~]# service nagios stop
Stopping nagios: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | job spec ... or kill -l [sigspec]
done.
[root@att1-nag1 ~]# service ndo2db stop
Stopping ndo2db: head: cannot open `/usr/local/nagios/var/ndo2db.lock' for readi ng: No such file or directory
done.
[root@att1-nag1 ~]# service mysqld stop
Stopping mysqld: [ OK ]
[root@att1-nag1 ~]# service npcd stop
NPCD was not running.
[root@att1-nag1 ~]# service postgresql stop
Stopping postgresql service: [ OK ]
[root@att1-nag1 ~]# service httpd stop
Stopping httpd: [ OK ]
[root@att1-nag1 ~]# service crond stop
Stopping crond: [ OK ]
[root@att1-nag1 ~]# service nagios start
Starting nagios: done.
[root@att1-nag1 ~]# service mysqld start
Starting mysqld: [ OK ]
[root@att1-nag1 ~]# service ndo2db start
Starting ndo2db: done.
[root@att1-nag1 ~]# service npcd start
An error occured while reading your config on line 1
Message was: "No variable found - exiting"
Could not start NPCD
[root@att1-nag1 ~]# service postgresql stsrt
Usage: /etc/init.d/postgresql {start|stop|status|restart|condrestart|try-restart |reload|force-reload|initdb}
[root@att1-nag1 ~]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for att1-nag1.global.amec. com
httpd: Could not reliably determine the server's fully qualified domain name, us ing 127.0.0.1 for ServerName
[ OK ]
[root@att1-nag1 ~]# service crond start
Starting crond: [ OK ]
[root@att1-nag1 ~]# ^C
[root@att1-nag1 ~]#
[root@att1-nag1 ~]# service nagios stop
Stopping nagios: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | job spec ... or kill -l [sigspec]
done.
[root@att1-nag1 ~]# service ndo2db stop
Stopping ndo2db: head: cannot open `/usr/local/nagios/var/ndo2db.lock' for readi ng: No such file or directory
done.
[root@att1-nag1 ~]# service mysqld stop
Stopping mysqld: [ OK ]
[root@att1-nag1 ~]# service npcd stop
NPCD was not running.
[root@att1-nag1 ~]# service postgresql stop
Stopping postgresql service: [ OK ]
[root@att1-nag1 ~]# service httpd stop
Stopping httpd: [ OK ]
[root@att1-nag1 ~]# service crond stop
Stopping crond: [ OK ]
[root@att1-nag1 ~]# service nagios start
Starting nagios: done.
[root@att1-nag1 ~]# service mysqld start
Starting mysqld: [ OK ]
[root@att1-nag1 ~]# service ndo2db start
Starting ndo2db: done.
[root@att1-nag1 ~]# service npcd start
An error occured while reading your config on line 1
Message was: "No variable found - exiting"
Could not start NPCD
[root@att1-nag1 ~]# service postgresql stsrt
Usage: /etc/init.d/postgresql {start|stop|status|restart|condrestart|try-restart |reload|force-reload|initdb}
[root@att1-nag1 ~]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for att1-nag1.global.amec. com
httpd: Could not reliably determine the server's fully qualified domain name, us ing 127.0.0.1 for ServerName
[ OK ]
[root@att1-nag1 ~]# service crond start
Starting crond: [ OK ]
[root@att1-nag1 ~]# ^C
[root@att1-nag1 ~]#
Re: Services Will Not Start Up
Code: Select all
Mistype on the postgres restart:
[root@att1-nag1 ~]# service postgresql stsrtTry:Usage: /etc/init.d/postgresql {start|stop|status|restart|condrestart|try-restart |reload|force-reload|initdb}
[root@att1-nag1 ~]# service httpd start
Code: Select all
service postgresql startFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
matt.lilek
- Posts: 137
- Joined: Wed Aug 07, 2013 11:53 am
Re: Services Will Not Start Up
well thats a bit better but still back to where i was when i started. Performance Grapher is not running and cant start it. Active host checks are disabled, Active service checks are disabled and notifications are disabled