Cant view monitor when ZM_OPT_USE_AUTH = true

Support and queries relating to all previous versions of ZoneMinder
Locked
vbludov
Posts: 10
Joined: Mon Jan 10, 2005 9:59 pm

Cant view monitor when ZM_OPT_USE_AUTH = true

Post by vbludov »

When using config option: ZM_OPT_USE_AUTH (true)
getting broken images because of "Internal Server Error" when trying to view recorded events or live stream

when I'm using ZM_OPT_USE_AUTH is uncheckeg everething works fine
except there are no user authentication.

here is error from apache error_log:

http://localhost/webcam/index.php?view= ... c=0&page=1
Error, unable to authenticate user

P.S.
I can log-in to the Zone-Minder, change the options but can't view the events if this option is enabled.
the user has all the permissions to do so.

##################
The platform: Mandrake 10
ZM.1.213.: compiled from the source.
There are no new messages in the /var/log/messages

Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/6mdk) mod_ssl/2.0.48
OpenSSL/0.9.7c
PHP/4.3.4
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Are there any warnings when you did the configure script?
You can check in the source directory there should be a config.log that you can check.
Regards,
Cordel
vbludov
Posts: 10
Joined: Mon Jan 10, 2005 9:59 pm

Post by vbludov »

configure:1833: WARNING: You can call configure with the --with-lame option.
configure:1896: WARNING: You can call configure with the --with-webuser option.
configure:1914: WARNING: You can call configure with the --with-webgroup option.
This tells configure what the group name of the web group is if it is not the default of 'apache'.
(don't need sound, my webuser and group is "apache")


configure:5231: WARNING: libcrypto.a is required for authenticated streaming
(this could be it!) is this an OpenSSL Devel. package? and do I need to recompile the ZoneMinder after the package is added?



configure:5308: WARNING: libpcre.a may be required for some remote/network camera support
configure:5385: WARNING: libavcodec.a is required for MPEG streaming
configure:5462: WARNING: libavformat.a is required for MPEG streaming
configure:5539: WARNING: libmp3lame.a may be required if ffmpeg was built with it
(dont need MPEG or remote-cams, this is a great feature will have to try it)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Yes and yes. Though you can set ZM_AUTH_METHOD to plain in the meantime which doesn't need this library.

Phil
vbludov
Posts: 10
Joined: Mon Jan 10, 2005 9:59 pm

Post by vbludov »

Yes!, Yes and Yes, It works !!!

Phil and Cordel, Thank you very much !
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

:wink:
Locked