| Author |
Message |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 authentication problem
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?
|
| Mon Feb 20, 2006 11:26 pm |
|
|
|
 |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 .
ofcourse my zmadmin/zmadmin works when i wanna log in into mysql...
|
| Mon Feb 20, 2006 11:27 pm |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
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
|
| Mon Feb 20, 2006 11:36 pm |
|
 |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 .
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?
|
| Tue Feb 21, 2006 8:26 am |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
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
|
| Tue Feb 21, 2006 10:06 am |
|
 |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 .
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?
|
| Tue Feb 21, 2006 11:32 am |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
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
|
| Tue Feb 21, 2006 11:24 pm |
|
 |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 .
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?
|
| Wed Feb 22, 2006 8:21 pm |
|
 |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 .
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 
|
| Thu Feb 23, 2006 4:42 pm |
|
 |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 .
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?
|
| Thu Feb 23, 2006 6:33 pm |
|
 |
|
cordel
Joined: Fri Mar 05, 2004 5:47 pm Posts: 5218 Location: /USA/Washington/Seattle
|
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.
|
| Thu Feb 23, 2006 7:58 pm |
|
 |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 .
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...
|
| Fri Feb 24, 2006 1:52 pm |
|
 |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 .
hmm
just wondering
What is table Users in ZM database for?
because mine Users table is empty... maybe thats why i cant log in...
|
| Fri Feb 24, 2006 2:17 pm |
|
 |
|
angelhod
Joined: Wed May 04, 2005 2:51 pm Posts: 67
|
 .
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 
|
| Fri Feb 24, 2006 2:24 pm |
|
|