[Pkg-cacti-maint] Bug#783402: cacti package is completely broken, nothing works out of the box

Matteo Sisti Sette matteosistisette at gmail.com
Sun Apr 26 21:34:27 UTC 2015


 > Have you waited at least five minutes before looking
 > in this directory?

LOL yes, of course. Much more.
The cronjob was installed, and I also tried to run poller.php manually 
(which produced no output at all nor error messages). But after more 
than half an hour still no file was generated in the rra directory.


> Have you changed ANY of the default settings?

No, except the ones I was prompted for.


> What are the file
> permissions of the /var/lib/cacti/rra directory?

The rra directory was owned by user root and group www-data. The user 
www-data which belongs to the group www-data is the one Apache runs as.
The permissions were 770. So the permissions look fine.
Anyway, I tried changing them to 777 (and waiting 5 minutes, and 
manually running poller.php), but it didn't fix the issue. Also tried 
changing the ownership to the user www-data (and waiting, etc). Nothing. 
So I reverted ownership and permission to the original.


> Can you share the log
> file in /var/log/cacti?

Attached. At some point I changed the log level to "debug", then back to 
"low".


> If there aren't any rrd files,

Yeah, that's the problem, there aren't any rrd files.

By the way, I think the very fact that poller.php doesn't issue any 
error message (neither to the output nor to logs) while it's not 
generating any rrd file (or whatever it is supposed to generate) is a 
bug in itself, regardless of why the rrd files are not being generated.


> Do you
> care to tell me which html documentation is missing and where it is
> linked incorrectly? (seems like your cacti bug 2554)

No html is missing or linked incorrectly. Just CSS. Yes it's 2554, which 
you said you could reproduce.

> The answer to your reported issue (explanation about the admin/admin
> username/password combo) in 2252 is in README.Debian. Do you think this
> issue warrants a debconf popup?

Not sure what a debconf popup is. I think at the end of the debian 
package installation process a message should be output (be it a popup 
or a simple message in the terminal) saying something more or less like
"You can/should now complete cacti setup by logging in at 
http://yoursite.com/cacti and logging in with user 'admin' and password 
'admin"

>
> Do you have the relevant part (the part where you installed cacti and
> its dependencies) of /var/log/apt/term.log, so that I can check for
> common errors?

Attached.


One thing that I then noticed is that
  ps aux |grep snmpd
didn't output anything.
Isn't a snmpd daemon supposed to be running? May this be the problem?

  service snmpd start
didn't issue any error (nor a message saying something like the daemon 
already being running), but even after that, ps aux |grep snmpd didn't 
output anything.

Indeed, I examined /etc/init.d/snmpd
and I found out it tests for the existence of two binaries under 
/usr/sbin and exits if they don't exist. These files didn't exist.
I'm using the past tense because by now I have already uninstalled 
everything.
So maybe something is wrong with the snmpd package rather than cacti?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cacti.log
Type: text/x-log
Size: 10254 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cacti-maint/attachments/20150426/524ea860/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: term.log
Type: text/x-log
Size: 5230 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cacti-maint/attachments/20150426/524ea860/attachment-0003.bin>


More information about the Pkg-cacti-maint mailing list