View unanswered posts | View active topics It is currently Wed Jun 19, 2013 3:44 pm



Reply to topic  [ 14 posts ] 
authentication problem 
Author Message

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post 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
Profile ICQ

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post .
ofcourse my zmadmin/zmadmin works when i wanna log in into mysql...


Mon Feb 20, 2006 11:27 pm
Profile ICQ
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
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
Profile WWW

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post .
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
Profile ICQ
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
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
Profile WWW

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post .
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
Profile ICQ
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
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
Profile WWW

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post .
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
Profile ICQ

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post .
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
Profile ICQ

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post .
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
Profile ICQ
User avatar

Joined: Fri Mar 05, 2004 5:47 pm
Posts: 5218
Location: /USA/Washington/Seattle
Post 
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
Profile WWW

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post .
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
Profile ICQ

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post .
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
Profile ICQ

Joined: Wed May 04, 2005 2:51 pm
Posts: 67
Post .
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
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group