Logout after Login (can't enter the zm site)
Logout after Login (can't enter the zm site)
Hello!
I installed over debian this software. On first run it was no problem i login with admin user admin pass to zm. I setup my cameras and i was happy to see it works fine. Later (1 hour) i want to login to zm but when is put the default password admin for admin user the screen changes to Logging In but after appear again the login screen. If i put other password than the correct admin. Doesnt happening. I think the password and username is ok and let in but after find something intresting and drop me out.
???
Somebody has any idea?
Thanks:
Peter
I installed over debian this software. On first run it was no problem i login with admin user admin pass to zm. I setup my cameras and i was happy to see it works fine. Later (1 hour) i want to login to zm but when is put the default password admin for admin user the screen changes to Logging In but after appear again the login screen. If i put other password than the correct admin. Doesnt happening. I think the password and username is ok and let in but after find something intresting and drop me out.
???
Somebody has any idea?
Thanks:
Peter
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hello,
I am experiencing the same thing (I get the login screen, try to login as admin/admin, get the "signing in" message and then get returned to the login screen). I have already restarted my computer but I still have this error.
Could it be some php configuration? I'm using Ubuntu's default php5 configuration (can be checked here if anyone wants to) and also apache's default config.
Thanks!
I am experiencing the same thing (I get the login screen, try to login as admin/admin, get the "signing in" message and then get returned to the login screen). I have already restarted my computer but I still have this error.
Could it be some php configuration? I'm using Ubuntu's default php5 configuration (can be checked here if anyone wants to) and also apache's default config.
Thanks!
Code: Select all
[Thu May 11 02:52:53 2006] [error] [client 201.31.242.124] File does not exist: /var/www/robots.txt
[Thu May 11 13:57:35 2006] [error] [client 201.31.242.124] File does not exist: /var/www/zm/index.php&username=admin&password=admin
[Thu May 11 14:08:50 2006] [notice] caught SIGTERM, shutting down
[Thu May 11 14:10:29 2006] [warn] RSA server certificate CommonName (CN) `sg.homelinux.com' does NOT match server name!?
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20051025/mssql.so' - /usr/lib/php5/20051025/mssql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu May 11 14:10:32 2006] [warn] RSA server certificate CommonName (CN) `sg.homelinux.com' does NOT match server name!?
[Thu May 11 14:10:32 2006] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2-1ubuntu2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming normal operations
[Thu May 11 14:11:22 2006] [error] [client 201.31.242.124] File does not exist: /var/www/robots.txt
Btw, you can try to login and see exactly what happens here. Thanks!
This would be a concern. It looks to me that you have set the whole path from the root of the system insted of from the root of the web is one thought that comes to mind.DiegoLima wrote:Code: Select all
[Thu May 11 13:57:35 2006] [error] [client 201.31.242.124] File does not exist: /var/www/zm/index.php&username=admin&password=admin
Check and make sure index.php link exists or try to use zm.php (were the link should point to) in place (http://<your_ip>/zm/zm.php).
You must have something not set correctly as none of your links are functioning but then again I'm behind a ISA firewall so that could be just me.DiegoLima wrote: Btw, you can try to login and see exactly what happens here. Thanks!
Regards,
Corey
Hello again,
That file does exist. The error is because I mistyped the url once (if you notice, it should be "index.php?&username=admin&password=admin") so I got that particular error on the error log.
By typing http://127.0.0.1/zm/zm.php (or the address I posted here) I get the same login screen. The files are located on my "/home/MyUser/public_html/zm/" and my "/var/www" is just a symbolic link to "/home/MyUser/public_html". The owner of all files and subdirectories are www-data and have read access to everything.
The url for my page is:
http://sg.homelinux.com:81/zm/
If your firewall is blocking http connection to non-standard ports that could be it. Alternatively, you can try to see my php configuration using this link. It's a web proxy that should work.
Anyway... Any ideas as to what could be happening? Both index.php and zm.php exist and are readable by all users.
Edit: Is there any way I can tell zm not to authenticate the user? I don't really need authentication on this machine, and for now it would be more important to be able to test zm.
That file does exist. The error is because I mistyped the url once (if you notice, it should be "index.php?&username=admin&password=admin") so I got that particular error on the error log.
By typing http://127.0.0.1/zm/zm.php (or the address I posted here) I get the same login screen. The files are located on my "/home/MyUser/public_html/zm/" and my "/var/www" is just a symbolic link to "/home/MyUser/public_html". The owner of all files and subdirectories are www-data and have read access to everything.
The url for my page is:
http://sg.homelinux.com:81/zm/
If your firewall is blocking http connection to non-standard ports that could be it. Alternatively, you can try to see my php configuration using this link. It's a web proxy that should work.
Anyway... Any ideas as to what could be happening? Both index.php and zm.php exist and are readable by all users.
Edit: Is there any way I can tell zm not to authenticate the user? I don't really need authentication on this machine, and for now it would be more important to be able to test zm.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
This looks like the most obvious issue in the log. It implies that you don't have a valid mysql/php runtime library. Unfortunately I can't say for sure how to fix it but check you have php built with mysql support and you have the php-mysql libraries installed.DiegoLima wrote:Code: Select all
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20051025/mssql.so' - /usr/lib/php5/20051025/mssql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Phil
That issue has been already resolved, but it didn't have anything to do with the problem. If you look carefully, that was a missing MSSQL library that I had manually included in my config to work with remote mssql databases. The error happened because that file simply did not exist in my computer (and probably never will, since I can connect with mssql using sybase.so ) even after I modifed the configuration files.zoneminder wrote: This looks like the most obvious issue in the log. It implies that you don't have a valid mysql/php runtime library. Unfortunately I can't say for sure how to fix it but check you have php built with mysql support and you have the php-mysql libraries installed.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Basically, yes, no errors logged whatsoever... My MySQL version is 5.0.21 (5.0.21-Debian_3-log) and I've checked the databases and there is a ZM database along with its tables. So I don't think it is the mysql, is it?zoneminder wrote:So, to summarise. You are not getting any errors in your logs but just are not able to log in?
Do you know what version of mysql you have?
Check to see if you have free drive space on your data volume...with a df command.
________
Kawasaki MT1
________
Kawasaki MT1
Last edited by Hogface on Thu Feb 03, 2011 1:12 pm, edited 1 time in total.