After the first login, no side is loading
Moderators: Developers, Moderators
After the first login, no side is loading
hi there,
i installed compleytly new the cacti on my webserver. no problems at all, but if i open the side the first time like http://my-domain/cacti i get the login screen where i can login with "admin/admin".
And then is finish, nothing is comming, always the login screen is comming up. Also i see no error or access message in my apache log files, eaven if i enable the debug mode in apache.
and idea`?
i use SuSE9.1, with apache 1.3.33, mysql 4.1.9, php 4.3.10, i also installed the net-snmp package.
thx,
-komaii
i installed compleytly new the cacti on my webserver. no problems at all, but if i open the side the first time like http://my-domain/cacti i get the login screen where i can login with "admin/admin".
And then is finish, nothing is comming, always the login screen is comming up. Also i see no error or access message in my apache log files, eaven if i enable the debug mode in apache.
and idea`?
i use SuSE9.1, with apache 1.3.33, mysql 4.1.9, php 4.3.10, i also installed the net-snmp package.
thx,
-komaii
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Turn on cookies in your browser, or allow them from the host.
What version of cacti?
And also, what web browser are you using?
What version of cacti?
And also, what web browser are you using?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
cookies are on (this is a production server).
i use the newest cacti version, 0.8.6c.
does someone know which perl module is used to change the password or for the login?
the thing is normaly the first time you have to login with "admin/admin" and then comes the next page where you have to change the the password for the admin login. but this page is not loading, so there must be a module how is broken or so.
i use the newest cacti version, 0.8.6c.
does someone know which perl module is used to change the password or for the login?
the thing is normaly the first time you have to login with "admin/admin" and then comes the next page where you have to change the the password for the admin login. but this page is not loading, so there must be a module how is broken or so.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Haven't had problem with it in the past.
Force password changing is handled by auth_changepassword.php in the root directory.
If you want to reset the admin password, you can type the following query in mysql client.
This will not force a password change, but will reset the admin to admin. You should change the password from the user management screen.
Force password changing is handled by auth_changepassword.php in the root directory.
If you want to reset the admin password, you can type the following query in mysql client.
Code: Select all
update user_auth set password = md5('admin') where username = 'admin';
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
i did it with no effect.
her what i do after unpacking an installing the cacti.sql database:
[NOT FOUND] RRDTool Binary Path:
/usr/local/rrdtool-1.0.49/bin/rrdtool
NOT FOUND] PHP Binary Path:
/usr/local/php/bin/php
[NOT FOUND] snmpwalk Binary Path:
/usr/bin/snmpwalk
[FOUND] Cacti Log File Path:
/htdocs/cacti-0.8.6c/log/cacti.log
i changed every path to where the binarie are.
afte this comes the page up with finished an with the first login like "admin/admin/"
and thats it, if i give in the login admin/admin nothing happend.
any idea?
her what i do after unpacking an installing the cacti.sql database:
[NOT FOUND] RRDTool Binary Path:
/usr/local/rrdtool-1.0.49/bin/rrdtool
NOT FOUND] PHP Binary Path:
/usr/local/php/bin/php
[NOT FOUND] snmpwalk Binary Path:
/usr/bin/snmpwalk
[FOUND] Cacti Log File Path:
/htdocs/cacti-0.8.6c/log/cacti.log
i changed every path to where the binarie are.
afte this comes the page up with finished an with the first login like "admin/admin/"
and thats it, if i give in the login admin/admin nothing happend.
any idea?
Login Page pb
Hi,
I have just finished to install and configure cacti on a mandrake 10.1 and I have the same troubles : When I try to log in with admin/admin, it comes back to the login page. But if I put a wrong login/password, it tells me it is false.
Is someone have an Idea ?
tks for your help
I have just finished to install and configure cacti on a mandrake 10.1 and I have the same troubles : When I try to log in with admin/admin, it comes back to the login page. But if I put a wrong login/password, it tells me it is false.
Is someone have an Idea ?
tks for your help
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
The fact that it's coming back to the login page is related to sessions not working.
This is either related to php or to the web browser not accepting cookies.
But, if sessions where not working in PHP, the you would get some functions errors.
Can you post your /etc/php.ini file, or is you do not want to post it, please email it to me.
This is either related to php or to the web browser not accepting cookies.
But, if sessions where not working in PHP, the you would get some functions errors.
Can you post your /etc/php.ini file, or is you do not want to post it, please email it to me.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Php.ini
tks for your quick answer.
In fact I tryed with internet explorer and firefox and I have the same result.
My php.ini configuration file is the original one. I didn't changed anything.
tks for your help
In fact I tryed with internet explorer and firefox and I have the same result.
My php.ini configuration file is the original one. I didn't changed anything.
tks for your help
- Attachments
-
- php.txt
- (37.95 KiB) Downloaded 153 times
Last edited by jpb1978 on Fri Jan 21, 2005 10:42 am, edited 1 time in total.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Original that came with the system..
Well, I still want to see it. It's not cacti related, because, it works else where with that version, so it's got to be something related to your system.
Well, I still want to see it. It's not cacti related, because, it works else where with that version, so it's got to be something related to your system.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
hi,
session is working on my server.
i use this settings in php.ini
[Session]
session.save_handler = files
session.save_path = /sessions
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_dividend = 100
session.gc_maxlifetime = 1800
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
session is working on my server.
i use this settings in php.ini
[Session]
session.save_handler = files
session.save_path = /sessions
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_dividend = 100
session.gc_maxlifetime = 1800
session.referer_check =
session.entropy_length = 0
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Silly question, what are the permission on your /tmp directory?
Code: Select all
ls -lad /tmp
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I don't see any glaring problem with you php.ini file. As a matter of fact, the session section mirrors 2 working installations I have.
Let me think on this. If anyone has anyother suggestions, suggest away.
If not, guess I will be installing Suse 9.1 with a simular configuration to see if I can reproduce it.
FYI, my Development box is Suse9.2.
Let me think on this. If anyone has anyother suggestions, suggest away.
If not, guess I will be installing Suse 9.1 with a simular configuration to see if I can reproduce it.
FYI, my Development box is Suse9.2.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
My /tmp permissions :
drwxrwxrwt 6 root root 4096 jan 21 17:47 /tmp/
and I have this kind of files in /tmp :
-rw------- 1 apache apache 289 jan 21 17:33 sess_ed926778c02f31a1bf112efd28e887e6
-rw------- 1 apache apache 289 jan 21 17:47 sess_f22a969224972ed335a433c24a289d33
-rw------- 1 apache apache 289 jan 21 16:40 sess_faf590e862ac657dc3bb7a4922d0ca72
-rw------- 1 apache apache 335 jan 21 17:31 sess_ff735057bd082defb00467b460b36d05
-rw------- 1 apache apache 289 jan 21 17:39 sess_ff94d2e6827f1e133b3bbc05eda110eb
hope this can help.
drwxrwxrwt 6 root root 4096 jan 21 17:47 /tmp/
and I have this kind of files in /tmp :
-rw------- 1 apache apache 289 jan 21 17:33 sess_ed926778c02f31a1bf112efd28e887e6
-rw------- 1 apache apache 289 jan 21 17:47 sess_f22a969224972ed335a433c24a289d33
-rw------- 1 apache apache 289 jan 21 16:40 sess_faf590e862ac657dc3bb7a4922d0ca72
-rw------- 1 apache apache 335 jan 21 17:31 sess_ff735057bd082defb00467b460b36d05
-rw------- 1 apache apache 289 jan 21 17:39 sess_ff94d2e6827f1e133b3bbc05eda110eb
hope this can help.
i use a SuSE 9.1 with self compilled php 4.3.10, mysql 4.1.9 and apache 1.3.33.
here the modules which installed:
lin0101004:~ # rpm -q net-snmp
net-snmp-5.1-80
lin0101004:~ # rpm -q net-snmp-devel
net-snmp-devel-5.1-80
apache is compiled with:
--prefix=/usr/local/apache --enable-module=rewrite --enable-module=so --enable-module=ssl --enable-shared=ssl --enable-suexec --suex
ec-caller=nobody --suexec-docroot=/usr/local/apache --suexec-gidmin=1 --suexec-logfile=/usr/local/apache/logs/cgi.log --with-layout=
Apache --activate-module=src/modules/php4/libphp4.a --activate-module=src/modules/extra/mod_security --enable-module=security
php is compiled with:
'./configure' \
'--prefix=/usr/local/php' \
'--with-openssl' \
'--with-zlib' \
'--with-bz2' \
'--with-mysql=/usr/local/mysql' \
'--with-gd' \
'--enable-native-gd-ttf' \
'--enable-ttf' \
'--with-gettext' \
'--with-jpeg-dir=/usr/lib/' \
'--with-png-dir=/usr/lib/' \
'--with-apache=/usr/local/src/apache_1.3.33' \
'--with-mcrypt=/usr/lib/libmcrypt' \
'--with-mhash' \
'--enable-exif' \
'--enable-inline-optimization' \
'--disable-debug' \
'--with-imagick' \
'--with-xml' \
'--with-dom' \
'--with-iconv' \
'--enable-mbstring' \
'--with-mbstring=all' \
'--enable-ftp' \
'--with-ldap' \
'--enable-bcmath' \
'--with-snmp' \
"$@"
mysql is compiled with:
./configure \
'--prefix=/usr/local/mysql' \
'--exec-prefix=/usr/local/mysql' \
'--localstatedir=/usr/local/mysql/data' \
'--enable-assembler' \
'--enable-thread-safe-client' \
'--enable-local-infile' \
'--enable-shared' \
'--with-unix-socket-path=/tmp/mysql.sock' \
'--with-tcp-port=3306' \
'--with-mysqld-user=mysql' \
'--with-vio' \
'--with-openssl' \
"$@"
also mod_ssl, and turck_mmcache are compiled within
hope this will help.
-komaii
here the modules which installed:
lin0101004:~ # rpm -q net-snmp
net-snmp-5.1-80
lin0101004:~ # rpm -q net-snmp-devel
net-snmp-devel-5.1-80
apache is compiled with:
--prefix=/usr/local/apache --enable-module=rewrite --enable-module=so --enable-module=ssl --enable-shared=ssl --enable-suexec --suex
ec-caller=nobody --suexec-docroot=/usr/local/apache --suexec-gidmin=1 --suexec-logfile=/usr/local/apache/logs/cgi.log --with-layout=
Apache --activate-module=src/modules/php4/libphp4.a --activate-module=src/modules/extra/mod_security --enable-module=security
php is compiled with:
'./configure' \
'--prefix=/usr/local/php' \
'--with-openssl' \
'--with-zlib' \
'--with-bz2' \
'--with-mysql=/usr/local/mysql' \
'--with-gd' \
'--enable-native-gd-ttf' \
'--enable-ttf' \
'--with-gettext' \
'--with-jpeg-dir=/usr/lib/' \
'--with-png-dir=/usr/lib/' \
'--with-apache=/usr/local/src/apache_1.3.33' \
'--with-mcrypt=/usr/lib/libmcrypt' \
'--with-mhash' \
'--enable-exif' \
'--enable-inline-optimization' \
'--disable-debug' \
'--with-imagick' \
'--with-xml' \
'--with-dom' \
'--with-iconv' \
'--enable-mbstring' \
'--with-mbstring=all' \
'--enable-ftp' \
'--with-ldap' \
'--enable-bcmath' \
'--with-snmp' \
"$@"
mysql is compiled with:
./configure \
'--prefix=/usr/local/mysql' \
'--exec-prefix=/usr/local/mysql' \
'--localstatedir=/usr/local/mysql/data' \
'--enable-assembler' \
'--enable-thread-safe-client' \
'--enable-local-infile' \
'--enable-shared' \
'--with-unix-socket-path=/tmp/mysql.sock' \
'--with-tcp-port=3306' \
'--with-mysqld-user=mysql' \
'--with-vio' \
'--with-openssl' \
"$@"
also mod_ssl, and turck_mmcache are compiled within
hope this will help.
-komaii
Who is online
Users browsing this forum: No registered users and 2 guests