Anybody ever have cacti just stop working completey

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
kfab
Posts: 2
Joined: Tue May 20, 2014 9:22 am

Anybody ever have cacti just stop working completey

Post by kfab »

Little background

Ubuntu 12. ah whatever the stable release is.
The Latest version of Cacti.

I had my Cacti server working for about 1 month on a server in my data room and all of sudden the cacti webserver just stopped working for no reason, I reboot the server and it still didn't come online, however my rancid switch repository using CVS is working just fine.

So I reinstall it since there wasn't much data, that worked fine for about a day but that two after a day quit working. I have the firewall disable to see if that would affect it or not but that didn't work.

So has anybody else dealt with there cacti server just stopped hosting the page?

BTW - Linux newbie so take it easy on me.
doiggl
Cacti User
Posts: 222
Joined: Wed Dec 16, 2009 6:32 am

Re: Anybody ever have cacti just stop working completey

Post by doiggl »

Hello,
Are Apache, and Mysql for database running ?
--Glenn

e.g on opensuse:
# /bin/systemctl status apache2.service
# /bin/systemctl status mysql.service

-need to run different command on Ubuntu 12 to check.

apache2.service - The Apache Webserver
Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled)
Active: active (running) since Wed 2014-05-21 16:30:02 EST; 11min ago
Main PID: 728 (httpd2-prefork)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
CGroup: /system.slice/apache2.service
├─728 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
├─980 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
├─987 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
├─990 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
├─991 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
└─992 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start

May 21 16:30:02 test.site systemd[1]: Started The Apache Webserver.
mysql.service - LSB: Start the MySQL database server
Loaded: loaded (/etc/init.d/mysql)
Active: active (running) since Wed 2014-05-21 16:41:38 EST; 869ms ago
Process: 1833 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/mysql.service
├─1903 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql --pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql.sock --datadir=/var/lib/mysql
└─2117 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/test.site.err --pid-file...
kfab
Posts: 2
Joined: Tue May 20, 2014 9:22 am

Re: Anybody ever have cacti just stop working completey

Post by kfab »

From what I can see both apache2 and MySQL are started.
doiggl
Cacti User
Posts: 222
Joined: Wed Dec 16, 2009 6:32 am

Re: Anybody ever have cacti just stop working completey

Post by doiggl »

Hello,
Is the poller collecting data -run from crontab
example:
*/5 * * * * /srv/www/cacti/poller.php > /dev/null 2>&1
What do the cacti logs show e.g any errors
--Glenn
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests