Page 1 of 1
authentication problem
Posted: Mon Feb 20, 2006 10:26 pm
by angelhod
slack 10.1
zm-1.21.4
php 5.1.1
mysql 4.1.8a
when i turn authentication on i cant login with zmadmin/zmadmin like i set up during the istalation process...
there is nothing in the logs except :
'zmupdate.pl -c' starting at 06/02/20 23:23:21, pid = 5655
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i486-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl .) at /usr/local/bin/zmupdate.pl line 181.
BEGIN failed--compilation aborted at /usr/local/bin/zmupdate.pl line 181.
'zmupdate.pl -c' crashed at 06/02/20 23:23:22, exit status 2
but i think that this has nothing common with my login issue....
any ideas why i cant log in?
.
Posted: Mon Feb 20, 2006 10:27 pm
by angelhod
ofcourse my zmadmin/zmadmin works when i wanna log in into mysql...
Posted: Mon Feb 20, 2006 10:36 pm
by cordel
The default login for zm is admin/admin
That setting in zm.conf is for the database only.
The error your geting is a missing perl module LWP
Regards,
Corey
.
Posted: Tue Feb 21, 2006 7:26 am
by angelhod
i forgot to write that i've tried admin/admin too...
and i have stupid question..... i always have problems with
perl modules.... i.e. You wrote that i need LWP module....
logs tells that i need LWP/UserAgent.pm but i cant find
that module on the list.... all i see is :
LWP-UserAgent-iTMS_Client-0.15.tar.gz
LWP-UserAgent-ProxyAny-1.01.tar.gz
and things like this.... cant find LWP-UserAgent
i know that this is a stupid question...
is this mode needed
to make login procedure works?
Posted: Tue Feb 21, 2006 9:06 am
by cordel
I don't belive it is, but you can always get it via CPAN as documented in the manual.
Once you setup CPAN getting modules is pretty easy.
Corey
.
Posted: Tue Feb 21, 2006 10:32 am
by angelhod
ye i know that getting modules using CPAN is pretty easy but i got problem with CPAN on this machine... and i have to install perl modules
without cpan...
any other ideas what do i need to do to make login system works?
Posted: Tue Feb 21, 2006 10:24 pm
by cordel
What does you apache error_log say?
You should be able to find the error there.
You can also set php to be zend1 compatable, you may need to do this.
Regards,
Corey
.
Posted: Wed Feb 22, 2006 7:21 pm
by angelhod
that is strange.... but all my logs are clean except that LWP perl error..... all logs look relly good including apache error log
"You can also set php to be zend1 compatable, you may need to do this."
hmm how can i do this?
.
Posted: Thu Feb 23, 2006 3:42 pm
by angelhod
k i found that my php has
zend.ze1_compatibility_mode Off Off
so it is off
now i need to find out how to set it on
.
Posted: Thu Feb 23, 2006 5:33 pm
by angelhod
hmm i've read that there are some problems with zend1 on php 5.1.1
so i've installed php 5.1.2 but still i see
zend.ze1_compatibility_mode Off Off
and login process doesnt work
how can i turn it on?
Posted: Thu Feb 23, 2006 6:58 pm
by cordel
The php setting are in /etc/php.ini
I'll be setting up php 5 here pretty soon so I can have a look at what might be going on.
It's odd that you have do not have more specific errors that reference you problem though.
.
Posted: Fri Feb 24, 2006 12:52 pm
by angelhod
So i went back to php 4.4.2 but still no luck
this php supports :
Zend Extension 20050606
Zend Memory Manager enabled
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
so what else can i do? logs are still clear...
.
Posted: Fri Feb 24, 2006 1:17 pm
by angelhod
hmm
just wondering
What is table Users in ZM database for?
because mine Users table is empty... maybe thats why i cant log in...
.
Posted: Fri Feb 24, 2006 1:24 pm
by angelhod
LOOLL
YUPPI
that was the reason.... i dont know why but while creating my zm database it didnt put admin into users table.... i did manualy and now
i am able to log in......
so happy
i am really like this project