0.6.5 Problems on OpenBDS 3.0

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

Moderators: Developers, Moderators

Post Reply
Guest

Post by Guest »

Hi!
I've tried to set up an OpenBSD box to do CACTI. The problem I'm seeing is that when I browse to the CACTI/index.php file, it automatically moves me to ./environment.php. Everything passes (I changed the path to rrdtool) and press the button. But it goes right back to ./environment.php.

Changes to the items on the page do not "take" and I cannot deselect the internal authentication.

Any ideas before I delve into the code?

Thanks!
Guest

Post by Guest »

Gee -- 14 looks and no ideas.

OK, here are some more helpful hints.

1) the problem appears to be the auth.php file. If I comment it out of a given file, it loads "ok".

2) In looking hard, I never see the settings table get updated... ever. I get Connect, Init DB, Query from version and Query from settings, but no matter how hard I push the button, it doesn't "save" the settings.

3) Just on a whim, I recreated the cacti database and started from scratch. I also removed those annoying ^M's at the end of the lines. :smile: That didn't work either.

So now I'm going to get on with the rest of my life. If anyone has any ideas... let me know.

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

Post by raX »

Sorry; haven't been ignoring you, just been a little sick this evening (and what luck, tomorrow is my birthday) :sad:

Anyways, I'll make sure to take a closer look into your problem tomorrow and get back to you then.

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

Post by raX »

For some reason the 'version' table is not being updated it seems. This is how cacti can tell which version is the database is running at (therefore displaying envirnonment.php).

To fix this, simply change the value in the 'version' table to '0.6.5'. I am assuming that it does not already contain this value. See if this helps.

-Ian
Guest

Post by Guest »

Sorry you weren't feeling well -- whatever it is, it's going around. :sad:

I tried updating the version number, and that "worked" in that it now brings me to the login screen. (good insight!) There is a graphic or two that doesn't print and no matter what user information I put in, I can't login.

Interestingly enough, when I try to login, I get the following MYSQL messages:

Connect ymitcac@localhost on
Init DB cacti
Init DB cacti
Query select * from version <-- succeeds now!
Init DB cacti
Query select * from settings <-- likely default
Query select a.sectionid,a.userid,s.id,s.section from auth_acl a left join auth_sections s on a.sectionid=s.id where s.section="Console Access" and a.userid=""
Quit

I'll keep tinkering with it. But I suspect something is not permitting proper updates to the database.

Hope you felt well enuff to have had a happy birthday!

Dan Nonymous.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests