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!
0.6.5 Problems on OpenBDS 3.0
Moderators: Developers, Moderators
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. 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.
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. 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.
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
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
Sorry you weren't feeling well -- whatever it is, it's going around.
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest