Ok,
I went through a full 'truss' (trace to those of us who use Linux. :-) Yes,
I use anything that is 'the best tool for the job' I'm pseudo versed in
Debian, RH, CentOS, SuSe, etc - haven't tried the Ubuntu variants so much....
yet)
It seems that it only looks for sogo.conf in /usr/local/etc/sogo/sogo.conf.
*shrug* . I don't know why yet... but.....
read(4,"{\n WOWorkersCount = 1;\n "...,4096) = 2555 (0x9fb)
close(4) = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0) = 0 (0x0)
stat("/etc/sogo/debconf.conf",0x7fffffffd440) ERR#2 'No such file or
directory'
stat("/usr/local/etc/sogo/sogo.conf",{ mode=-rw-r--r--
,inode=81889,size=3136,blksize=4096 }) = 0 (0x0)
stat("/usr/local/etc/sogo/sogo.conf",{ mode=-rw-r--r--
,inode=81889,size=3136,blksize=4096 }) = 0 (0x0)
open("/usr/local/etc/sogo/sogo.conf",O_RDONLY,0666) = 4 (0x4)
fstat(4,{ mode=-rw-r--r-- ,inode=81889,size=3136,blksize=4096 }) = 0 (0x0)
fstat(4,{ mode=-rw-r--r-- ,inode=81889,size=3136,blksize=4096 }) = 0 (0x0)
lseek(4,0x0,SEEK_CUR) = 0 (0x0)
lseek(4,0x0,SEEK_SET) = 0 (0x0)
read(4,"{\n /* ********************* M"...,4096) = 3136 (0xc40)
close(4) = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0) = 0 (0x0)
So, I created that directory and copied a version of the file there.... (It's
port development so I'm not worrying about the why's yet)
Next...... After that problem was corrected..... This occurred:
open("/usr/local/GNUstep/Local/Library/Libraries/Resources/NGObjWeb/Defaults.plist",O_RDONLY,0666)
= 4 (0x4)
fstat(4,{ mode=-rw-r--r-- ,inode=114651,size=10879,blksize=11264 }) = 0 (0x0)
fstat(4,{ mode=-rw-r--r-- ,inode=114651,size=10879,blksize=11264 }) = 0 (0x0)
lseek(4,0x0,SEEK_CUR) = 0 (0x0)
lseek(4,0x0,SEEK_SET) = 0 (0x0)
read(4,"{\n NGObjWeb_doc_ "...,11264) = 10879 (0x2a7f)
close(4) = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0) = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0) = 0 (0x0)
getdtablesize(0x8087f5338,0x8034f3eb0,0x808460f00,0x80857a020,0x22e0,0x1) =
11095 (0x2b57)
close(11095) ERR#9 'Bad file descriptor'
close(11094) ERR#9 'Bad file descriptor'
###### the "close(11xxx)" ERR#9 decremented all the way to zero before moving
on.... it then opened the log file and wrote the following:
May 08 10:29:52 sogod [26657]: version 2.0.5 (build root@sogo 201305042035) --
starting
May 08 10:29:52 sogod [26657]: vmem size check enabled: shutting down app when
vmem > 384 MB
May 08 10:29:52 sogod [26657]: <0x0x809cec408[SOGoProductLoader]> SOGo products
loaded from '/usr/local/GNUstep/Local/Library/SOGo':
May 08 10:29:52 sogod [26657]: <0x0x809cec408[SOGoProductLoader]>
ContactsUI.SOGo, MainUI.SOGo, MailPartViewers.SOGo, Mailer.SOGo,
Appointments.SOGo, SchedulerUI.SOGo, Contacts.SOGo, MailerUI.SOGo,
PreferencesUI.SOGo, AdministrationUI.SOGo, CommonUI.SOGo
May 08 10:29:52 sogod [26657]: [WARN] <0x0x8084704a8[WOWatchDog]> listening
socket: attempt 1 failed
May 08 10:29:53 sogod [26657]: [WARN] <0x0x8084704a8[WOWatchDog]> listening
socket: attempt 2 failed
May 08 10:29:54 sogod [26657]: [WARN] <0x0x8084704a8[WOWatchDog]> listening
socket: attempt 3 failed
May 08 10:29:55 sogod [26657]: [WARN] <0x0x8084704a8[WOWatchDog]> listening
socket: attempt 4 failed
May 08 10:29:56 sogod [26657]: [WARN] <0x0x8084704a8[WOWatchDog]> listening
socket: attempt 5 failed
May 08 10:29:57 sogod [26657]: [ERROR] <0x0x8084704a8[WOWatchDog]> unable to
listen on specified port, check that no other process is already using it
(Yes, there was another instance running.... Hunt is down and kill it with
ps..... :-) )
Try again.....
What??!!! No errors!!!! Check the log file:
ay 08 10:46:09 sogod [27319]: version 2.0.5 (build root@sogo 201305042035) --
starting
May 08 10:46:09 sogod [27319]: vmem size check enabled: shutting down app when
vmem > 384 MB
May 08 10:46:09 sogod [27319]: <0x0x809cec468[SOGoProductLoader]> SOGo products
loaded from '/usr/local/GNUstep/Local/Library/SOGo':
May 08 10:46:09 sogod [27319]: <0x0x809cec468[SOGoProductLoader]>
ContactsUI.SOGo, MainUI.SOGo, MailPartViewers.SOGo, Mailer.SOGo,
Appointments.SOGo, SchedulerUI.SOGo, Contacts.SOGo, MailerUI.SOGo,
PreferencesUI.SOGo, AdministrationUI.SOGo, CommonUI.SOGo
May 08 10:46:09 sogod [27319]: <0x0x8084704a8[WOWatchDog]> listening on *:20000
May 08 10:46:09 sogod [27319]: <0x0x8084704a8[WOWatchDog]> watchdog process
pid: 27319
May 08 10:46:09 sogod [27319]: <0x0x801c3bb60[WOWatchDogChild]> watchdog
request timeout set to 10 minutes
May 08 10:46:09 sogod [27319]: <0x0x8084704a8[WOWatchDog]> preparing 1 children
May 08 10:46:09 sogod [27319]: <0x0x8084704a8[WOWatchDog]> child spawned with
pid 27320
2013-05-08 10:46:09.908 sogod[27320] PostgreSQL72 connection established:
<0x0x809d20fe8[PGConnection]: connection=0x0x809e14c00>
2013-05-08 10:46:09.908 sogod[27320] PostgreSQL72 channel 0x0x809cc37c8 opened
(connection=<0x0x809d20fe8[PGConnection]: connection=0x0x809e14c00>)
2013-05-08 10:46:09.908 sogod[27320] PG0x0x809cc37c8 SQL: SELECT count(*) FROM
sogo_user_profile
2013-05-08 10:46:09.910 sogod[27320] PG0x0x809cc37c8 SQL: --
-- (C) 2004-2005 SKYRIX Software AG
-- (C) 2006-2007 Inverse inc.
--
CREATE TABLE sogo_user_profile (
c_uid VARCHAR(255) NOT NULL PRIMARY KEY,
c_defaults TEXT,
c_settings TEXT
);
2013-05-08 10:46:09.967 sogod[27320] <0x0x809cc37c8[PostgreSQL72Channel]:
connection=<0x0x809d20fe8[PGConnection]: connection=0x0x809e14c00>>: message:
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"sogo_user_profile_pkey" for table "sogo_user_profile"
May 08 10:46:10 sogod [27320]: |SOGo| table 'sogo_user_profile' successfully
created!
2013-05-08 10:46:10.022 sogod[27320] PG0x0x809cc37c8 SQL: SELECT count(*) FROM
sogo_folder_info
2013-05-08 10:46:10.022 sogod[27320] PG0x0x809cc37c8 SQL: --
-- (C) 2004-2005 SKYRIX Software AG
-- (C) 2006-2007 Inverse inc.
--
CREATE TABLE sogo_folder_info (
c_folder_id SERIAL,
c_path VARCHAR(255) PRIMARY KEY, -- the full path to the folder
c_path1 VARCHAR(255) NOT NULL, -- parts (for fast queries)
c_path2 VARCHAR(255) NULL, -- parts (for fast queries)
c_path3 VARCHAR(255) NULL, -- parts (for fast queries)
c_path4 VARCHAR(255) NULL, -- parts (for fast queries)
c_foldername VARCHAR(255) NOT NULL, -- last path component
c_location VARCHAR(2048) NOT NULL, -- URL to folder
c_quick_location VARCHAR(2048) NULL, -- URL to quicktable of folder
c_acl_location VARCHAR(2048) NULL, -- URL to quicktable of folder
c_folder_type VARCHAR(255) NOT NULL -- the folder type ...
);
2013-05-08 10:46:10.023 sogod[27320] <0x0x809cc37c8[PostgreSQL72Channel]:
connection=<0x0x809d20fe8[PGConnection]: connection=0x0x809e14c00>>: message:
NOTICE: CREATE TABLE will create implicit sequence
"sogo_folder_info_c_folder_id_seq" for serial column
"sogo_folder_info.c_folder_id"
2013-05-08 10:46:10.043 sogod[27320] <0x0x809cc37c8[PostgreSQL72Channel]:
connection=<0x0x809d20fe8[PGConnection]: connection=0x0x809e14c00>>: message:
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"sogo_folder_info_pkey" for table "sogo_folder_info"
May 08 10:46:10 sogod [27320]: |SOGo| table 'sogo_folder_info' successfully
created!
2013-05-08 10:46:10.071 sogod[27320] PG0x0x809cc37c8 SQL: SELECT count(*) FROM
sogo_sessions_folder
2013-05-08 10:46:10.071 sogod[27320] PG0x0x809cc37c8 SQL: CREATE TABLE
sogo_sessions_folder ( c_id VARCHAR(255) PRIMARY KEY, c_value VARCHAR(255) NOT
NULL, c_creationdate INT4 NOT NULL, c_lastseen INT4 NOT NULL)
2013-05-08 10:46:10.078 sogod[27320] <0x0x809cc37c8[PostgreSQL72Channel]:
connection=<0x0x809d20fe8[PGConnection]: connection=0x0x809e14c00>>: message:
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"sogo_sessions_folder_pkey" for table "sogo_sessions_folder"
May 08 10:46:10 sogod [27320]: <0x0x809d3e068[GCSSessionsFolder]> sessions
folder table 'sogo_sessions_folder' successfully created!
$
WAHOOO!!!!!! (Here's the crashing apart of the road block and charges
forward.....)
My thanks to everyone for getting me this far, especially Jim Riggs for working
on this port and to Christian for quick and concise response.
My next subject will be about logging in using LDAP. (Yes, it failed
authentication but SOGo will yield to my efforts. :-P )
P.--
[email protected]
https://inverse.ca/sogo/lists