Hello World,
I have installed SOGo on Debian Squeeze (again), following the
online documentation. I will summarize the steps:
1. Add sogo to /etc/apt/sources.list and get the public key,
2. apt-get update,
3. apt-get install sogo memcached apache2
4. a2enmod rewrite proxy proxy_http headers
5. mkdir /etc/sogo ; touch /etc/sogo/sogo.conf ; chown -R sogo:root
/etc/sogo
6. Uncommented `-vv' from /etc/memcached.conf for greater verbosity,
7. Configured sogo as follows:
/etc/sogo/sogo.conf
===================
```
{
OCSFolderInfoURL =
"mysql://databus_pro_sogo:[email protected]:3306/databus_pro_sogo/sogo_folder_info";
OCSSessionsFolderURL =
"mysql://databus_pro_sogo:[email protected]:3306/databus_pro_sogo/sogo_sessions_folder";
SOGoACLsSendEMailNotifications = YES;
SOGoAppointmentSendEMailNotifications = YES;
SOGoDebugRequests = YES;
SOGoDraftsFolderName = Drafts;
SOGoEnableDomainBasedUID = YES;
SOGoFirstDayOfWeek = 1;
SOGoFoldersSendEMailNotifications = YES;
SOGoForceExternalLoginWithEmail = YES;
SOGoIMAPServer = "imap://172.16.17.38:143";
SOGoLanguage = English;
SOGoLoginModule = Mail;
SOGoMailDomain = databus.pro;
SOGoMailMessageCheck = every_2_minutes;
SOGoMailShowSubscribedFoldersOnly = YES;
SOGoMailingMechanism = smtp;
SOGoMemcachedHost = "127.0.0.1:11211";
SOGoPageTitle = "SOGo";
SOGoProfileURL =
"mysql://databus_pro_sogo:[email protected]:3306/databus_pro_sogo/sogo_user_profile";
SOGoSMTPServer = 172.16.17.28;
SOGoSQLUserProfileURL =
"mysql://databus_pro_sogo:[email protected]:3306/databus_pro_sogo/sogo_user_profile";
SOGoSentFolderName = Sent;
SOGoSieveServer = "sieve://172.16.17.38:4190";
SOGoSupportedLanguages = (
English
);
SOGoTimeZone = Europe/Berlin;
SOGoTrashFolderName = Trash;
SOGoUserSources = (
{
CNFieldName = cn;
IDFieldName = cn;
IMAPHostFieldName = gosaMailServer;
UIDFieldName = cn;
baseDN = "ou=people,dc=databus,dc=pro";
bindDN = "cn=SOGo SYSTEM,ou=people,dc=databus,dc=pro";
bindFields = mail;
bindPassword = "pass";
canAuthenticate = YES;
filter = "(objectClass=person)";
hostname = "ldap://172.16.17.20:389";
id = public;
isAddressBook = NO;
scope = sub;
}
);
}
```
I can login to the web interface just fine after the configuration so
the above works as far as I am concerned.
The problem I see are some errors regarding memchaced. I'll post the
sogo.log and memchached.log entrie when doing a login action.
sogo.log
========
```
Feb 11 11:15:45 sogod [4308]: |SOGo| starting method 'POST' on uri
'/SOGo/connect'
Feb 11 11:15:45 sogod [4308]: SOGoRootPage successful login for user
'[email protected]' - expire = -1 grace = -1
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+settings': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: |SOGo| request took 0.014553 seconds to
execute
localhost - - [11/Feb/2013:11:15:45 GMT] "POST /SOGo/connect HTTP/1.1"
200 27/60 0.017 - - 0
Feb 11 11:15:45 sogod [4308]: |SOGo| starting method 'GET' on uri
'/SOGo/so/[email protected]'
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:45 sogod [4308]: |SOGo| request took 0.009524 seconds to
execute
localhost - - [11/Feb/2013:11:15:45 GMT] "GET
/SOGo/so/[email protected] HTTP/1.1" 302 0/0 0.011 - - 0
Feb 11 11:15:45 sogod [4308]: |SOGo| starting method 'GET' on uri
'/SOGo/so/[email protected]/view'
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+defaults': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: |SOGo| request took 0.010859 seconds to
execute
localhost - - [11/Feb/2013:11:15:45 GMT] "GET
/SOGo/so/[email protected]/view HTTP/1.1" 302 0/0 0.012 - - 0
Feb 11 11:15:45 sogod [4308]: |SOGo| starting method 'GET' on uri
'/SOGo/so/Valentin%20Bud/Mail'
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:45 sogod [4308]: |SOGo| request took 0.012377 seconds to
execute
localhost - - [11/Feb/2013:11:15:45 GMT] "GET
/SOGo/so/Valentin%20Bud/Mail HTTP/1.1" 302 0/0 0.014 - - 0
Feb 11 11:15:45 sogod [4308]: |SOGo| starting method 'GET' on uri
'/SOGo/so/Valentin%20Bud/Mail/view'
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+defaults': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+settings': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud@+attributes': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:45 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:45 sogod [4308]: |SOGo| request took 0.354770 seconds to
execute
localhost - - [11/Feb/2013:11:15:45 GMT] "GET
/SOGo/so/Valentin%20Bud/Mail/view HTTP/1.1" 200 8292/0 0.358 34528 75%
960K
Feb 11 11:15:46 sogod [4308]: |SOGo| starting method 'POST' on uri
'/SOGo/so/Valentin%20Bud/Calendar/alarmslist?browserTime=1360577746'
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+defaults': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+settings': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: |SOGo| request took 0.020579 seconds to
execute
localhost - - [11/Feb/2013:11:15:46 GMT] "POST
/SOGo/so/Valentin%20Bud/Calendar/alarmslist?browserTime=1360577746
HTTP/1.1" 200 2/0 0.022 - - 0
Feb 11 11:15:46 sogod [4308]: |SOGo| starting method 'POST' on uri
'/SOGo/so/Valentin%20Bud/Mail/0/mailboxes'
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+defaults': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud@+attributes': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+settings': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: |SOGo| request took 0.262903 seconds to
execute
localhost - - [11/Feb/2013:11:15:46 GMT] "POST
/SOGo/so/Valentin%20Bud/Mail/0/mailboxes HTTP/1.1" 200 1252/0 0.265 - -
0
Feb 11 11:15:46 sogod [4308]: |SOGo| starting method 'POST' on uri
'/SOGo/so/Valentin%20Bud/Mail//0/folderINBOX/unseenCount'
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+defaults': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud@+attributes': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:46 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+settings': "CLIENT
ERROR"
Feb 11 11:15:47 sogod [4308]: |SOGo| request took 0.265116 seconds to
execute
localhost - - [11/Feb/2013:11:15:47 GMT] "POST
/SOGo/so/Valentin%20Bud/Mail//0/folderINBOX/unseenCount HTTP/1.1" 200
13/0 0.267 - - 0
Feb 11 11:15:47 sogod [4308]: |SOGo| starting method 'POST' on uri
'/SOGo/so/Valentin%20Bud/Mail/foldersState'
Feb 11 11:15:47 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+attributes': "CLIENT
ERROR"
Feb 11 11:15:47 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin
[email protected]+attributes': "CLIENT ERROR"
Feb 11 11:15:47 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+defaults': "CLIENT
ERROR"
Feb 11 11:15:47 sogod [4308]: <0x0x7f4d7395c8a0[SOGoCache]> an error
occurred when caching value for key 'Valentin Bud+settings': "CLIENT
ERROR"
Feb 11 11:15:47 sogod [4308]: |SOGo| request took 0.009391 seconds to
execute
localhost - - [11/Feb/2013:11:15:47 GMT] "POST
/SOGo/so/Valentin%20Bud/Mail/foldersState HTTP/1.1" 200 0/0 0.010 - - 0
```
memcached.log
=============
```
<28 get [email protected]+attributes
>28 sending key [email protected]+attributes
>28 END
<28 set session:c7vgF6LWbGA0oCS4hnkGKQ== 0 300 216
>28 STORED
<28 get Valentin Bud+attributes
>28 END
<28 set Valentin Bud+attributes 0 300 262
>28 CLIENT_ERROR bad command line format
<28 {"c_uid": "Valentin Bud", "MailAccess": 1, "emails":
["[email protected]", "Valentin [email protected]"], "cn": "Valentin
Bud", "c_imaphostname": "imap.databus.pro", "SOGoSource": "public",
"c_domain": "", "c_email": "[email protected]", "CalendarAccess": 1}
>28 ERROR
<28 connection closed.
<28 new auto-negotiating client connection
28: Client using the ascii protocol
<28 set [email protected]+attributes 0 300 262
>28 STORED
<28 set Valentin [email protected]+attributes 0 300 262
>28 CLIENT_ERROR bad command line format
<28 {"c_uid": "Valentin Bud", "MailAccess": 1, "emails":
["[email protected]", "Valentin [email protected]"], "cn": "Valentin
Bud", "c_imaphostname": "imap.databus.pro", "SOGoSource": "public",
"c_domain": "", "c_email": "[email protected]", "CalendarAccess": 1}
>28 ERROR
<28 connection closed.
<28 new auto-negotiating client connection
28: Client using the ascii protocol
<28 get Valentin Bud+settings
>28 END
<28 set Valentin Bud+settings 0 300 259
>28 CLIENT_ERROR bad command line format
<28 {"Mail": {"SortingState": ["date", "0"], "DragHandleVertical":
"226", "folderForExpunge":
"imap:\/\/valentin%[email protected]\/INBOX\/"},
"Calendar": {"View": "monthview", "SelectedList": "eventsListView"},
"CalendarDefaultFilter": "view_today"}
>28 ERROR
>28 ERROR
<28 connection closed.
...
```
The memcached.log is full of `CLIENT_ERROR` bad command line format like
the ones above. I don't think it's worth posting all of them here.
Is there something wrong with my configuration? Could you please be so
kind in pointing me in the right direction on how to solve this errors?
Thank you. Cheers and Goodwill,
Valentin Bud
--
[email protected]
https://inverse.ca/sogo/lists