Author Topic: User Corner Internal Server Error  (Read 4221 times)

lioncub

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
User Corner Internal Server Error
« on: March 12, 2011, 03:28:38 am »
Zentyal 2.1 (192.168.10.41)
Install "User Corner" from web:"Zentyal components", after "Module Status Configuration" check "Enable" and Save.
But https://192.168.10.41:8888 after entering login and password, get page "Internal Server Error".
In /var/log/zentyal-usercorner/error.log
Code: [Select]
[Thu Mar 10 11:57:22 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Mar 10 11:57:22 2011] [warn] RSA server certificate CommonName (CN) `ebox' does NOT match server name!?
[Thu Mar 10 11:57:23 2011] [warn] RSA server certificate CommonName (CN) `ebox' does NOT match server name!?
[Thu Mar 10 11:57:23 2011] [notice] Apache/2.2.14 (Ubuntu) mod_ssl/2.2.14 OpenSSL/0.9.8k mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
Use of uninitialized value $reason in length at (eval 109) line 49.
[Thu Mar 10 11:57:47 2011] [error] [client 192.168.10.42] Could not connect to Redis server at 127.0.0.1:6381: Connection refused at /usr/share/perl5/Redis.pm line 54\n\tRedis::new('Redis', 'server', '127.0.0.1:6381') called at /usr/share/perl5/EBox/Config/Redis.pm line 732\n\tEBox::Config::Redis::_respawn('EBox::Config::Redis=HASH(0x7f3f10b725d0)') called at /usr/share/perl5/EBox/Config/Redis.pm line 54\n\tEBox::Config::Redis::new('EBox::Config::Redis') called at /usr/share/perl5/EBox/GConfModule.pm line 47\n\tEBox::GConfModule::_create('EBox::Global', 'name', 'global', 'printableName', 'global') called at /usr/share/perl5/EBox/Global.pm line 68\n\tEBox::Global::_new_instance('EBox::Global') called at /usr/share/perl5/Apache/Singleton.pm line 19\n\tApache::Singleton::instance('EBox::Global') called at /usr/share/perl5/EBox/Global.pm line 710\n\tEBox::Global::getInstance('EBox::Global') called at /usr/share/perl5/EBox/Global.pm line 806\n\tEBox::Global::modInstance('EBox::Global', 'users') called at /usr/share/perl5/EBox/UserCorner/Auth.pm line 163\n\tEBox::UserCorner::Auth::checkPassword('EBox::UserCorner::Auth', 'user', 'pass') called at /usr/share/perl5/EBox/UserCorner/Auth.pm line 194\n\tEBox::UserCorner::Auth::authen_cred('EBox::UserCorner::Auth', 'Apache2::RequestRec=SCALAR(0x7f3f10ad20d0)', 'user', 'pass') called at /usr/share/perl5/EBox/ThirdParty/Apache2/AuthCookie.pm line 196\n\tEBox::ThirdParty::Apache2::AuthCookie::login('EBox::UserCorner::Auth', 'Apache2::RequestRec=SCALAR(0x7f3f10ad20d0)') called at -e line 0\n\teval {...} called at -e line 0\n, referer: https://192.168.10.41:8888/
How make it work user corner?
« Last Edit: March 12, 2011, 12:45:21 pm by lioncub »

lioncub

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: User Corner Internal Server Error
« Reply #1 on: March 12, 2011, 10:25:09 am »
Code: [Select]
apt-get remove --purge zentyal-usercorner
rm -rf /var/lib/*usercorner
sudo apt-get install zentyal-usercorner
And web to "Module status" > Status > check Enabled > save changes:
Code: [Select]
read_file '/var/lib/ebox-usercorner/conf/redis.passwd' - sysopen: No such file or directory read_file '/var/lib/ebox-usercorner/conf/redis.passwd'
Why error on /var/lib/ebox-usercorner?

then...
Code: [Select]
cp -R /var/lib/zentyal-usercorner /var/lib/ebox-usercorner
chown ebox-usercorner:ebox /var/lib/ebox-usercorner/conf/redis.passwd
but usercorner not running! (Internal Server Error)
error in /var/log/zentyal-usercorner/error.log:
Code: [Select]
[Sat Mar 12 14:25:05 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Mar 12 14:25:05 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Mar 12 14:25:05 2011] [warn] RSA server certificate CommonName (CN) `eBox Server' does NOT match server name!?
[Sat Mar 12 14:25:06 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Mar 12 14:25:06 2011] [warn] RSA server certificate CommonName (CN) `eBox Server' does NOT match server name!?
[Sat Mar 12 14:25:06 2011] [notice] Apache/2.2.14 (Ubuntu) mod_ssl/2.2.14 OpenSSL/0.9.8k mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
Use of uninitialized value $reason in length at (eval 109) line 49.
[Sat Mar 12 16:41:05 2011] [error] [client 192.168.10.77] Could not connect to Redis server at 127.0.0.1:6381: Connection refused at /usr/share/perl5/Redis.pm line 54\n\tRedis::new('Redis', 'server', '127.0.0.1:6381') called at /usr/share/perl5/EBox/Config/Redis.pm line 732\n\tEBox::Config::Redis::_respawn('EBox::Config::Redis=HASH(0x7f1955f39ae0)') called at /usr/share/perl5/EBox/Config/Redis.pm line 54\n\tEBox::Config::Redis::new('EBox::Config::Redis') called at /usr/share/perl5/EBox/GConfModule.pm line 47\n\tEBox::GConfModule::_create('EBox::Global', 'name', 'global', 'printableName', 'global') called at /usr/share/perl5/EBox/Global.pm line 68\n\tEBox::Global::_new_instance('EBox::Global') called at /usr/share/perl5/Apache/Singleton.pm line 19\n\tApache::Singleton::instance('EBox::Global') called at /usr/share/perl5/EBox/Global.pm line 710\n\tEBox::Global::getInstance('EBox::Global') called at /usr/share/perl5/EBox/Global.pm line 806\n\tEBox::Global::modInstance('EBox::Global', 'users') called at /usr/share/perl5/EBox/UserCorner/Auth.pm line 163\n\tEBox::UserCorner::Auth::checkPassword('EBox::UserCorner::Auth', 'user', 'pass') called at /usr/share/perl5/EBox/UserCorner/Auth.pm line 194\n\tEBox::UserCorner::Auth::authen_cred('EBox::UserCorner::Auth', 'Apache2::RequestRec=SCALAR(0x7f1955eb91a0)', 'user', 'pass') called at /usr/share/perl5/EBox/ThirdParty/Apache2/AuthCookie.pm line 196\n\tEBox::ThirdParty::Apache2::AuthCookie::login('EBox::UserCorner::Auth', 'Apache2::RequestRec=SCALAR(0x7f1955eb91a0)') called at -e line 0\n\teval {...} called at -e line 0\n, referer: https://192.168.10.41:8888/
« Last Edit: March 12, 2011, 12:44:56 pm by lioncub »

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: User Corner Internal Server Error
« Reply #2 on: March 13, 2011, 06:02:01 pm »
Was this a fresh install of Zentyal 2.1? Or did you try to install it on top of an old Zentyal 2.0? The latter may give problems.

You can try to purge everything:

apt-get remove --purge zentyal-common
deluser --remove-home ebox (make sure there are no ebox processes like apache running before this).

And install again.
Zentyal Server Lead Developer