I don't enter????????????

Support and queries relating to all previous versions of ZoneMinder
Locked
andres504
Posts: 19
Joined: Wed Jul 21, 2004 9:25 pm

I don't enter????????????

Post by andres504 »

when I go away to http://localhost/zm requests username and password to me entrance the one that forms in /etc/zm.conf and click login, and it does not pass anything, it does not enter any screen

thanks....
tim@pcs-alaska.com
Posts: 45
Joined: Fri May 06, 2005 7:30 pm
Location: Kenai, Alaska

Post by tim@pcs-alaska.com »

Please tail your apache errors.log and let us know what it's reporting.
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Zm does not use the same user and password as in the zm.conf those are for zm to use mysql.
The defualt user admin and pass admin
Regards,
Cordel
sgtdawg
Posts: 17
Joined: Wed May 25, 2005 5:07 am
Location: Twin Cities, MN

Post by sgtdawg »

I think I have the same error here. I get to the login page and use admin:admin to login. Then the login page just reloads itself.

I have disabled selinux and checked to make sure:

Code: Select all

# selinuxconf
selinux state="disabled"
and I restarted the system to be sure that it is disabled.

I have run yum update to be sure all dependencies have been met and packages are up to date (using dag instead of fedora.us)

I am running Fedora Core 3 with the following versions installed:
zm-1.21.0-10.FC3.SEL.CTU
httpd-2.0.52-3.1
mysql-server-3.23.58-16.FC3.1

I don't see any errors in my httpd/error_log or any zm/ logs, in fact nothing is added when I try to login.
The only thing that seems to get added to the logs is to httpd/access_log:

Code: Select all

64.122.61.238 - - [26/May/2005:14:43:10 -0500] "POST /zm/index.php HTTP/1.1" 200 1064 "http://64.122.63.53/zm/index.php" "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3"
Is there a debug option I can turn on to see more errors, or is there a simple solution to this problem.

Any help is greatly appreciated
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I know I have seen that before but for the life of me I can't remember what. If you had SELinux enabled when you first built the database you may want to look in the users table to make sure admin got populated. If I remember the other thing I had incountered I'll post it.
Regards,
Cordel
PS There is also some debug you can turn on detailed in the README
sgtdawg
Posts: 17
Joined: Wed May 25, 2005 5:07 am
Location: Twin Cities, MN

Post by sgtdawg »

the admin user was missing from the zm database. I tried to add it, but ended up just using zminit to rebuild the database.

It's working and I can now login....Awesome!

SELinux seems to have it in for me.

Thanks for the help! :D
Locked