Hi,
I've just installed SOGo 1.3.2 on an x86_64-linux machine with GNUstep 1.21.1, PostgreSQL 9.0.1, current SOPE.

When I go to the login page, everything seems fine, but trying to actually log in results in "An unhandled error occurred" being displayed in the browser, apparently with no relevant information in the log (attached below).

Authentication is supposed to get usernames/passwords from an SQL table as described in the "Authentication using SQL" chapter in the docs.

I've made sure the database is actually accessible by querying it manually from the sogo user account.

On the client side, I tried Arora, Konqueror and Firefox, all with the same effect.

Any ideas?

Thanks,
bero

log:
[---startup of sogod---]
Oct 18 18:41:19 sogod [15235]: |SOGo| version 1.3.2 (build root@ 201010180947) -- starting Oct 18 18:41:19 sogod [15235]: |SOGo| vmem size check enabled: shutting down app when vmem > 384 MB Oct 18 18:41:19 sogod [15233]: <0x0x13c15a0[SOGoProductLoader]> SOGo products loaded from '/usr/lib64/GNUstep/SOGo': Oct 18 18:41:19 sogod [15233]: <0x0x13c15a0[SOGoProductLoader]> CommonUI.SOGo, ContactsUI.SOGo, PreferencesUI.SOGo, Mailer.SOGo, MainUI.SOGo, MailerUI.SOGo, Contacts.SOGo, Appointments.SOGo, MailPartViewers.SOGo, SchedulerUI.SOGo, AdministrationUI.SOGo Oct 18 18:41:19 sogod [15236]: <0x0x139da90[SOGoProductLoader]> SOGo products loaded from '/usr/lib64/GNUstep/SOGo': Oct 18 18:41:19 sogod [15236]: <0x0x139da90[SOGoProductLoader]> CommonUI.SOGo, ContactsUI.SOGo, PreferencesUI.SOGo, Mailer.SOGo, MainUI.SOGo, MailerUI.SOGo, Contacts.SOGo, Appointments.SOGo, MailPartViewers.SOGo, SchedulerUI.SOGo, AdministrationUI.SOGo Oct 18 18:41:19 sogod [15233]: |SOGo| version 1.3.2 (build root@ 201010180947) -- starting Oct 18 18:41:19 sogod [15233]: |SOGo| vmem size check enabled: shutting down app when vmem > 384 MB Oct 18 18:41:19 sogod [15236]: |SOGo| version 1.3.2 (build root@ 201010180947) -- starting Oct 18 18:41:19 sogod [15236]: |SOGo| vmem size check enabled: shutting down app when vmem > 384 MB
[---going to start page in browser---]
Oct 18 18:42:12 sogod [15236]: <0x0x13a3bb0[SOGoCache]> Cache cleanup interval set every 300.000000 seconds Oct 18 18:42:12 sogod [15236]: <0x0x13a3bb0[SOGoCache]> Using host(s) 'localhost' as server(s) Oct 18 18:42:12 sogod [15233]: <0x0x192d4e0[SOGoCache]> Cache cleanup interval set every 300.000000 seconds Oct 18 18:42:12 sogod [15233]: <0x0x192d4e0[SOGoCache]> Using host(s) 'localhost' as server(s) 2010-10-18 18:42:12.250 sogod[15236] Note(SoObject): SoDebugKeyLookup is enabled! 2010-10-18 18:42:12.250 sogod[15236] Note(SoObject): SoDebugBaseURL is enabled! 2010-10-18 18:42:12.250 sogod[15236] Note(SoObject): relative base URLs are enabled. Oct 18 18:42:12 sogod [15236]: [ERROR] <0x0x1ab66c0[SOGoUserManager]> addressbook source 'directory' has no displayname 2010-10-18 18:42:12.250 sogod[15233] Note(SoObject): SoDebugKeyLookup is enabled! 2010-10-18 18:42:12.250 sogod[15233] Note(SoObject): SoDebugBaseURL is enabled! 2010-10-18 18:42:12.250 sogod[15233] Note(SoObject): relative base URLs are enabled. Oct 18 18:42:12 sogod [15233]: [ERROR] <0x0x17f6020[SOGoUserManager]> addressbook source 'directory' has no displayname 2010-10-18 18:42:12.266 sogod[15236] WOCompoundElement: pool embedding is on. 2010-10-18 18:42:12.266 sogod[15236] WOCompoundElement: id logging is on. 2010-10-18 18:42:12.266 sogod[15233] WOCompoundElement: pool embedding is on. 2010-10-18 18:42:12.266 sogod[15233] WOCompoundElement: id logging is on. 2010-10-18 18:42:12.285 sogod[15236] WARNING(-[NSNull(misc) count]): called NSNull -count (returns 0) !!! 2010-10-18 18:42:12.285 sogod[15233] WARNING(-[NSNull(misc) count]): called NSNull -count (returns 0) !!! client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET / HTTP/1.1" 200 3390/0 0.162 10320 67% 3M client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET / HTTP/1.1" 200 3390/0 0.156 10320 67% 3M client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/generic.css HTTP/1.1" 200 18884/0 0.118 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/dtree.css HTTP/1.1" 200 664/0 0.107 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/inverse.png HTTP/1.1" 200 2562/0 0.001 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/busy.gif HTTP/1.1" 200 825/0 0.017 - - 0 Oct 18 18:42:12 sogod [15232]: <0x0x183e8a0[SOGoCache]> Cache cleanup interval set every 300.000000 seconds Oct 18 18:42:12 sogod [15232]: <0x0x183e8a0[SOGoCache]> Using host(s) 'localhost' as server(s) Oct 18 18:42:12 sogod [15234]: <0x0x19326f0[SOGoCache]> Cache cleanup interval set every 300.000000 seconds Oct 18 18:42:12 sogod [15234]: <0x0x19326f0[SOGoCache]> Using host(s) 'localhost' as server(s) Oct 18 18:42:12 sogod [15235]: <0x0x1933320[SOGoCache]> Cache cleanup interval set every 300.000000 seconds Oct 18 18:42:12 sogod [15235]: <0x0x1933320[SOGoCache]> Using host(s) 'localhost' as server(s) client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/sogo-logo.png HTTP/1.1" 200 5523/0 0.234 - - 268K client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/SOGoRootPage.css HTTP/1.1" 200 2159/0 0.277 - - 268K client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/prototype.js HTTP/1.1" 200 139854/0 0.308 - - 544K client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/tablekit-trueresize.js HTTP/1.1" 200 4233/0 0.293 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/XMLHttpRequest.js HTTP/1.1" 200 11768/0 0.339 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/JavascriptAPIExtensions.js HTTP/1.1" 200 11039/0 0.246 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:12 GMT] "GET /.woa/WebServerResources/tablekit.js HTTP/1.1" 200 32247/0 0.319 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/tablekit-sogo.js HTTP/1.1" 200 517/0 0.361 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/HTMLInputElement.js HTTP/1.1" 200 1730/0 0.038 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/HTMLElement.js HTTP/1.1" 200 11610/0 0.046 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/SOGoDragHandles.js HTTP/1.1" 200 8962/0 0.012 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/SOGoTabsController.js HTTP/1.1" 200 5923/0 0.001 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/HTMLTableElement.js HTTP/1.1" 200 1136/0 0.040 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/generic.js HTTP/1.1" 200 57601/0 0.016 - - 112K client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/SOGoRootPage.js HTTP/1.1" 200 11571/0 0.019 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/scriptaculous.js HTTP/1.1" 200 2862/0 0.047 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/PasswordPolicy.js HTTP/1.1" 200 4086/0 0.043 - - 0 client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/scriptaculous/effects.js HTTP/1.1" 404 153/0 0.032 - -12K client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/scriptaculous/dragdrop.js HTTP/1.1" 404 154/0 0.008 - - 12K client3.internal.blankpage.ch - - [18/Oct/2010:18:42:13 GMT] "GET /.woa/WebServerResources/sogo.ico HTTP/1.1" 200 4887/0 0.030 - - 0
[Nothing is added to the log when I try to log in.]

config (looks different from the docs, but expresses the same thing -- guess GNUstep switched over to an XML format lately):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
        <key>OCSFolderInfoURL</key>
<string>postgresql://sogo:s...@localhost:5432/sogo/sogo_folder_info</string>
        <key>SOGoACLsSendEMailNotifications</key>
        <string>YES</string>
        <key>SOGoAppointmentSendEMailNotifications</key>
        <string>YES</string>
        <key>SOGoAppointmentSendEMailReceipts</key>
        <string>YES</string>
        <key>SOGoDraftsFolderName</key>
        <string>Drafts</string>
        <key>SOGoFoldersSendEMailNotifications</key>
        <string>YES</string>
        <key>SOGoIMAPServer</key>
        <string>mail.blankpage.ch</string>
        <key>SOGoLanguage</key>
        <string>English</string>
        <key>SOGoMailDomain</key>
        <string>blankpage.ch</string>
        <key>SOGoMailingMechanism</key>
        <string>smtp</string>
        <key>SOGoPasswordChangeEnabled</key>
        <string>YES</string>
        <key>SOGoProfileURL</key>
<string>postgresql://sogo:s...@localhost:5432/sogo/sogo_user_profile</string>
        <key>SOGoSMTPServer</key>
        <string>mail.blankpage.ch</string>
        <key>SOGoSentFolderName</key>
        <string>Sent</string>
        <key>SOGoTimeZone</key>
        <string>Europe/Zurich</string>
        <key>SOGoTrashFolderName</key>
        <string>Trash</string>
        <key>SOGoUserSources</key>
        <array>
            <dict>
                <key>canAuthenticate</key>
                <string>YES</string>
                <key>id</key>
                <string>directory</string>
                <key>isAddressBook</key>
                <string>YES</string>
                <key>type</key>
                <string>sql</string>
                <key>userPasswordAlgorithm</key>
                <string>md5</string>
                <key>viewURL</key>
<string>postgresql://sogo:s...@localhost:5432/sogo/sogo_view</string>
            </dict>
        </array>
        <key>WOWorkersCount</key>
        <string>5</string>
    </dict>
</dict>

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

Reply via email to