install.php instead of index.php

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

Moderators: Developers, Moderators

Post Reply
esquimo_2ooo
Posts: 4
Joined: Thu Sep 11, 2003 8:50 am
Contact:

install.php instead of index.php

Post by esquimo_2ooo »

Hey all,

i've freshly installed cacti on my linux box, i've followed all the steps successfully in docs/INSTALL.htm, and then, when i go to http://myserver/cacti, i can only have install.php page.
the problem is that when i click on the "next" button, i reload the same page.
i can't have index.php to login, and btw i can neither complete the installation with install.php page.
here are some infos on my system:

Code: Select all

Ixion cacti # compinfo
Gentoo Base System version 1.4.3.8p1
Linux Ixion 2.4.21 #2 SMP Mon Jun 16 15:23:07 CEST 2003 i586 Pentium MMX GenuineIntel GNU/Linux

Code: Select all

Ixion cacti # emerge -s apache cacti php mysql

*  net-www/apache
      Latest version available: 2.0.47
      Latest version installed: 1.3.27 2.0.47
      Size of downloaded files: 6,071 kB

*  net-analyzer/cacti
      Latest version available: 0.6.8a
      Latest version installed: 0.6.8a
      Size of downloaded files: 202 kB

*  dev-php/mod_php
      Latest version available: 4.3.2-r4
      Latest version installed: 4.3.2-r4
      Size of downloaded files: 3,611 kB

*  dev-php/php
      Latest version available: 4.3.2-r2
      Latest version installed: 4.3.2-r2
      Size of downloaded files: 3,611 kB

*  dev-db/mysql
      Latest version available: 4.0.13-r4
      Latest version installed: 4.0.13-r4
      Size of downloaded files: 12,217 kB
i have both versions of apache, 1.x and 2.x, but i'm currently using 1.3 version.

if you have any clues, thank you to let me know
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Not to dodge the actual problem, but you are using a really old version. The file "install.php" was last seen in version 0.6.8. A lot of users experienced the problem you are seeing because of register_globals issues in the 0.6.x versions.

All of these issues have been addressed in the lastest version (0.8.3a). Be sure to check it out.

http://www.raxnet.net/products/cacti/download_cacti.php

-Ian
Guest

Post by Guest »

ok thanks.
so now i'm done with the version of cacti (the 8.3a allowed me to complete the installation :) ).
what if i can't login with admin/admin nor guest ?
is there a way to reset passwords or what ?

btw i'll check the forum to try and find a solution
Guest

Post by Guest »

i didn't find any clue.
but i checked the mysql user_auth table, and i have this for the admin password: 43e9a4ab75570f5b
i tried with a blank one, and with some other things, but i guess it's an encoded password.


thx a lot for your help !
esquimo_2ooo
Posts: 4
Joined: Thu Sep 11, 2003 8:50 am
Contact:

Post by esquimo_2ooo »

sorry i thought i was logged in
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Try setting the admin's password to '21232f297a57a5a743894a0e4a801fc3' in the 'user_auth' table. This will set it to 'admin'.

-Ian
esquimo_2ooo
Posts: 4
Joined: Thu Sep 11, 2003 8:50 am
Contact:

Post by esquimo_2ooo »

i've set it to what you told me, but i doesn't work.
i've reloaded mysql, and it's the same.
where could i be wrong ?
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Is Cacti actually rejecting your password by giving you a "Invalid User Name/Password", or is it just redirecting you back to the login screen? Also, what version of PHP are you running?

-Ian
esquimo_2ooo
Posts: 4
Joined: Thu Sep 11, 2003 8:50 am
Contact:

Post by esquimo_2ooo »

i have the "invalid...."text
and the version of php i use is 4.3.2-r2
fog
Posts: 4
Joined: Tue Sep 30, 2003 2:46 pm

Post by fog »

As a random "You're not crazy" note, it's looking like a Gentoo problem. I just did "emerge cacti" and found this thread because I'm having the same problem -- you go to /cacti, and get install.php. Click next, and it takes you nowhere at all. (It loads the exact same page.) Gentoo for some reason still ships 0.6.8a. (Interestingly, the only stuff I found in the Gentoo forums about this was complaints about how Cacti was pretty buggy? Maybe if it was updated...)

Anyway, I'm off to download the latest build from this site (as opposed to the Gentoo package). Hope I have better luck. :)
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Thanks for posting this... I always love to hear reassurance that I am not crazy ;-). To be more specific, the problem all of the Gentoo users are experiencing is that PHP's register_globals is not turned on... which 0.6.8 requires. Let's hope they update their package soon.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests