Page 1 of 1

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

Posted: Wed May 25, 2005 2:17 pm
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....

Posted: Wed May 25, 2005 4:58 pm
by tim@pcs-alaska.com
Please tail your apache errors.log and let us know what it's reporting.

Posted: Wed May 25, 2005 11:01 pm
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

Posted: Thu May 26, 2005 7:59 pm
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

Posted: Thu May 26, 2005 8:32 pm
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

Posted: Thu May 26, 2005 10:14 pm
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