install problems

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Luser

install problems

Post by Luser »

What am i doing wrong.

Slackware 8.1a
PHP 4.2.1
MySQL 3.23.49
Apache 1.3.20
rrdtool 4.2.3
Cacti 0.6.8

I do not get to the login screen. I tried doing this.

Code: Select all

update version set cacti="0.6.8"; 
It got me to the login screen but I just get a looping login in screen when using admin/admin. it's not rejecting the pass. I tried this and I got in, but got errors and I could not do anything other than browse around and no graphs worked.

Code: Select all

update settings set value="" where name="global_auth"; 
I get this from the command line when executing the following command logged in as the apache user.

NOTE: test.php which contains <?phpinfo()?>; works fine.

Code: Select all

php cmd.php
Can't open perl script "/scripts/users.pl": No such file or directory
sh: /log/rrd.log: No such file or directory
sh: create: command not found
sh: /log/rrd.log: No such file or directory
update: unrecognized option `--template'

Lots more errors about the scripts

I also made sure following was true in php.ini.

Code: Select all

session.use_cookies = 1
session.save_path = /tmp
session.cookie_path = / 

TIA
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Sounds like you may be having some sort of path problem. In cacti's 'settings' table check the following things:

Make sure 'path_webroot' is set to the full path to your web server root. It is '/var/www/html' on a lot of systems by default.

Make sure 'path_webcacti' is set to cacti's relative path inside the web root. This value will almost always be: '/cacti'.

See if that helps.

-Ian
Luser

Post by Luser »

I figured out part of it. I downgraded my php from 4.2.1 to 4.1.2 and now the php stuff runs with out error now I justing gettting this from the web browser.

Code: Select all

Warning: Host 'Myhost' is not allowed to connect to this MySQL server in /var/www/html/cacti/include/database.php on line 19

Warning: MySQL Connection Failed: Host 'Myhost' is not allowed to connect to this MySQL server in /var/www/html/cacti/include/database.php on line 19
Cannot connect to MySQL server on [i]localhost[/i] 
Luser

Post by Luser »

I kept diggin found out that mysql was not putting the mysql.sock in /tmp so I reconfiged mysql to do so :D

thanks for enrything :P
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests