Jean,

Jean Raby schrieb (31.08.2012 16:19 Uhr):
On 12-08-31 10:02 AM, Marc Patermann wrote:

based on the work of user oeufdure I was able to successfully build
1.3.17 with opensuse build service (and building 1.3.18 now).

In the installation document I find nothing about preparing the database
itself (creating tables etc.). Does SOGo do this on its own?
SOGo will do it when it starts.
OK, thank you!


I'm surely missing something.
don't run the upgrade scripts since you're not upgrading ;-)
OK. :)

sogo.log complains about:

Aug 31 15:40:07 sogod [5092]: <0x0xbe04c8[SOGoCache]> an error occurred
when caching value for key 'session:sGbfC6sNsK36Sau8o++NaA==': "WRITE
FAILURE"
EXCEPTION: <NSException: 0xd708c8> NAME:NSInvalidArgumentException
REASON:NGLdapEntry(instance) does not recognize asDictionary INFO:(null)

the first error is related to memcached, make sure memcached is installed and running.
# netstat -lptun
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:20000 0.0.0.0:* LISTEN 21042/sogod tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 19483/memcached tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2057/rpcbind tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2274/sshd tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 782/postmaster tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2356/master tcp 0 0 :::111 :::* LISTEN 2057/rpcbind tcp 0 0 :::80 :::* LISTEN 2728/httpd2-prefork tcp 0 0 :::22 :::* LISTEN 2274/sshd tcp 0 0 ::1:5432 :::* LISTEN 782/postmaster tcp 0 0 ::1:25 :::* LISTEN 2356/master udp 0 0 0.0.0.0:957 0.0.0.0:* 2057/rpcbind udp 0 0 127.0.0.1:11211 0.0.0.0:* 19483/memcached udp 0 0 0.0.0.0:111 0.0.0.0:* 2057/rpcbind udp 0 0 :::957 :::* 2057/rpcbind udp 0 0 :::111 :::* 2057/rpcbind

memcached is started.

The second exception looks like a configuration issue, but I cannot say more without seeing the output of 'sudo -u sogo defaults read sogod'
Here it is:

:~> defaults read sogod
sogod SOGoSieveScriptsEnabled YES
sogod SOGoEnableEMailAlarms YES
sogod SOGoForwardEnabled YES
sogod OCSFolderInfoURL postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_folder_info
sogod SOGoUserSources '(
    {
        CNFieldName = cn;
        IDFieldName = employeenumber;
        UIDFieldName = initials;
        baseDN = "ou=humans,ou=foo";
        bindAsCurrentUser = YES;
        bindDN = "";
        bindFields = (
            initials,
            mail
        );
        bindPassword = "";
        canAuthenticate = YES;
        displayName = "LDAP Steuer";
        hostname = "server.name";
        id = public;
        isAddressBook = YES;
        type = ldap;
    }
)'
sogod OCSSessionsFolderURL postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_sessions_info
sogod SOGoIMAPServer server.name
sogod SOGoMemcachedHost 127.0.0.1
sogod SOGoSieveServer sieve://server.name:2000
sogod SOGoTimeZone Europe/Berlin
sogod OCSEMailAlarmsFolderURL postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_alarms_folder
sogod SOGoAppointmentSendEMailNotifications YES
sogod SOGoVacationEnabled YES
sogod SOGoProfileURL postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_user_profile

I cannot log in to SOGo. The web interface states: "An unhandled error occurred."


Marc
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to