Dear Szládovics ,
Many thanks for your help . please Can you send me step by step installation and configuration I will flow it with you .. am using centos 6 and I have 389 directory server installed in another machine its ip 192.168.1.109 and dns install their too ,, ready to configure with sogo , My server installation : Contain .. apache 2,Mysql , postgresql,sogo SMTP server Postfix IMAP server Dovecot nano /var/lib/pgsql/data/pg_hba.conf here is the log .. [root@mailserver1 ~]# cat /var/log/sogo/sogo.log Aug 04 07:17:57 sogod [1672]: version 2.0.7 (build [email protected] 201307220922) -- starting Aug 04 07:17:57 sogod [1672]: vmem size check enabled: shutting down app when vmem > 384 MB Aug 04 07:17:57 sogod [1672]: <0x0x29bf89c[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUstep/SOGo': Aug 04 07:17:57 sogod [1672]: <0x0x29bf89c[SOGoProductLoader]> SchedulerUI.SOGo, MainUI.SOGo, Appointments.SOGo, ContactsUI.SOGo, Mailer.SOGo, PreferencesUI.SOGo, CommonUI.SOGo, Contacts.SOGo, AdministrationUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo Aug 04 07:18:03 sogod [1672]: <0x0x2ac2614[WOWatchDog]> listening on *:20000 Aug 04 07:18:03 sogod [1672]: <0x0x2ac2614[WOWatchDog]> watchdog process pid: 1672 Aug 04 07:18:03 sogod [1672]: <0x0x479940[WOWatchDogChild]> watchdog request timeout set to 10 minutes Aug 04 07:18:03 sogod [1672]: <0x0x2ac2614[WOWatchDog]> preparing 3 children Aug 04 07:18:03 sogod [1672]: <0x0x2ac2614[WOWatchDog]> child spawned with pid 1748 Aug 04 07:18:03 sogod [1672]: <0x0x2ac2614[WOWatchDog]> child spawned with pid 1749 Aug 04 07:18:03 sogod [1672]: <0x0x2ac2614[WOWatchDog]> child spawned with pid 1751 2013-08-04 07:18:03.992 sogod[1749] could not open channel to sogo@localhost Aug 04 07:18:03 sogod [1749]: [ERROR] <0x0x29ed084[GCSChannelManager]> could not open channel <0x0x2a51b4c[PostgreSQL72Channel]: not-connected> for URL: postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile Aug 04 07:18:03 sogod [1749]: [WARN] <0x0x29ed084[GCSChannelManager]> will prevent opening of this channel 5 seconds after 2013-08-04 07:18:03 -0700 2013-08-04 07:18:03.999 sogod[1748] could not open channel to sogo@localhost Aug 04 07:18:03 sogod [1748]: [ERROR] <0x0x29ed084[GCSChannelManager]> could not open channel <0x0x2a51b4c[PostgreSQL72Channel]: not-connected> for URL: postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile Aug 04 07:18:03 sogod [1748]: [WARN] <0x0x29ed084[GCSChannelManager]> will prevent opening of this channel 5 seconds after 2013-08-04 07:18:03 -0700 2013-08-04 07:18:04.006 sogod[1751] could not open channel to sogo@localhost Aug 04 07:18:04 sogod [1751]: [ERROR] <0x0x29ed084[GCSChannelManager]> could not open channel <0x0x2a51b4c[PostgreSQL72Channel]: not-connected> for URL: postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile Aug 04 07:18:04 sogod [1751]: [WARN] <0x0x29ed084[GCSChannelManager]> will prevent opening of this channel 5 seconds after 2013-08-04 07:18:03 -0700 Aug 04 07:24:47 sogod [1672]: <0x0x2ac2614[WOWatchDog]> Terminating with SIGINT or SIGTERM Aug 04 07:24:47 sogod [1672]: <0x0x2ad2514[WOWatchDogChild]> sending terminate signal to pid 1751 Aug 04 07:24:47 sogod [1672]: <0x0x2ac9b24[WOWatchDogChild]> sending terminate signal to pid 1749 Aug 04 07:24:47 sogod [1672]: <0x0x2a68d74[WOWatchDogChild]> sending terminate signal to pid 1748 Aug 04 07:24:47 sogod [1672]: <0x0x2ac2614[WOWatchDog]> Terminating with SIGINT or SIGTERM Aug 04 07:24:47 sogod [1672]: <0x0x2ac2614[WOWatchDog]> Terminating with SIGINT or SIGTERM Aug 04 07:24:47 sogod [1672]: <0x0x2ac2614[WOWatchDog]> Terminating with SIGINT or SIGTERM Aug 04 07:24:47 sogod [1672]: <0x0x2ac9b24[WOWatchDogChild]> child 1749 exited Aug 04 07:24:47 sogod [1672]: <0x0x2ad2514[WOWatchDogChild]> child 1751 exited Aug 04 07:24:47 sogod [1672]: <0x0x2ac2614[WOWatchDog]> Terminating with SIGINT or SIGTERM Aug 04 07:24:47 sogod [1672]: <0x0x2a68d74[WOWatchDogChild]> child 1748 exited Aug 04 07:24:47 sogod [1672]: <0x0x2ac2614[WOWatchDog]> all children exited. We now terminate. From: Szládovics Péter [mailto:[email protected]] Sent: Monday, August 05, 2013 4:27 PM To: [email protected] Subject: Re: [SOGo] help ... 2013-08-04 02:06 keltezéssel, husam.shabeeb írta: Dear Friend , I have send many emails here trying to get help now one answer me .. am trying to configure sogo with 389 directory .. And login user , Dear Husam, Your SOGo.conf for apache is not correct, and the CSS is unavailable for this reason.
<<attachment: sogo login error.png>>
sogo.conf
Description: Binary data
SOGo requires the following : Update Server Epel Database server PostgreSQL LDAP server 389 Directory SMTP server Postfix IMAP server Dovecot Webmin Apache httpd Sogo ntp update & Epel .. # yum update ... # sudo rpm -Uhv http://mirror.bytemark.co.uk/fedora/epel/6/i386/epel-release-6-8.noarch.rpm Database server PostgreSQL : yum install postgresql chkconfig postgresql on service postgresql restart IMAP server Dovecot: yum install dovecot enable imap from network and protocol .. Webmin: wget http://prdownloads.sourceforge.net/webadmin/webmin-1.630-1.noarch.rpm rpm -U webmin-1.630-1.noarch.rpm chkconfig webmin on wget http://www.inverse.ca/downloads/SOGo/sogo.wbm.gz and install this module from webmin modules Apache httpd : yum install httpd mod_ssl yum install httpd chkconfig httpd on service httpd restart NTP: chkconfig ntpd on ntpdate pool.ntp.org service ntpd restart Sogo: #Add Sogo repository nano /etc/yum.repos.d/SOGo.repo [sogo-rhel6] name=Inverse SOGo Repository baseurl=http://inverse.ca/downloads/SOGo/RHEL6/$basearch gpgcheck=0 yum install sogo yum install sope49-gdl1-postgresql chkconfig sogod on service sogod restart nano /etc/sysconfig/sogo config Postgresql service postgresql restart su - postgres createuser sogo createdb -O sogo sogo exit nano /var/lib/pgsql/data/pg_hba.conf host sogo sogo 127.0.0.1/32 trust > nano sogo.ldif > #add: > dn: dc=<domain>,dc=com > objectclass: dcObject > objectclass: organization > o: BRM > dc: <domain> > > dn: cn=Manager,dc=<domain>,dc=com > objectclass: organizationalRole > cn: Manager > > dn: ou=users,dc=<domain>,dc=com > objectclass: organizationalUnit > ou: users > > dn: uid=sogo,ou=users,dc=<domain>,dc=com > objectClass: top > objectClass: inetOrgPerson > objectClass: person > objectClass: organizationalPerson > uid: sogo > cn: SOGo Administrator > mail: sogo@<domain>.com > sn: Administrator > givenName: SOGo > #end add > > ldapadd -f ./sogo.ldif -x -w <password> -D cn=Manager,dc=<domain>,dc=com > ldappasswd -h localhost -x -w <password> -D cn=Manager,dc=<domain>,dc=com > uid=sogo,ou=users,dc=<domain>,dc=com -s <password> ldapsearch -x -b > 'dc=<domain>,dc=com' '(objectclass=*)' > > > #Setup Email > > nano /etc/postfix/main.cf > #add: > myhostname = sogo.<domain>.com > mydomain = <domain>.com > myorigin = $mydomain > #end add: > > > service sendmail stop > chkconfig sendmail off > > chkconfig postfix on > service postfix restart > > chkconfig saslauthd on > service saslauthd restart > > chkconfig cyrus-imapd on > service cyrus-imapd restart > > chkconfig httpd on > service httpd restart > > > #Setup Sogo > > yum install sogo sope47-gdl1-postgresql -y > > su - sogo > > defaults write sogod SOGoServerTimeZone "America/Phoenix" > defaults write sogod WOParsersUseUTF8 YES > defaults write sogod WOMessageUseUTF8 YES > defaults write sogod WOApplicationRedirectURL https://sogo.<domain>.com > defaults write sogod SOGoDefaultMailDomain "<domain>.com" > defaults write sogod NGUseUTF8AsURLEncoding YES > defaults write sogod WOUseRelativeURLs NO > # defaults write sogod WOHttpAllowHost = ( localhost, "192.168.*.* ); > defaults write sogod SOGoDefaultLanguage English > defaults write sogod SOGoAppointmentSendEMailNotifications YES > defaults write sogod SOGoFoldersSendEMailNotifications YES > defaults write sogod SOGoACLsSendEMailNotifications YES > defaults write sogod WOPort 20000 > defaults write sogod SOGoAuthenticationMethod LDAP > defaults write sogod SOGoLDAPSources '({CNFieldName = cn; IDFieldName = > uid; UIDFieldName = uid; baseDN = "ou=users,dc=<domain>,dc=com"; bindDN = > "uid=sogo,ou=users,dc=<domain>,dc=com"; bindPassword = <password>; > canAuthenticate = YES; displayName = "Shared Addresses"; hostname = > "localhost"; id = shared; isAddressBook = YES; port=389})' defaults write > sogod SOGoProfileURL > 'postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile' defaults > write sogod OCSFolderInfoURL > 'postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info' defaults > write sogod SOGoMailingMechanism smtp > defaults write sogod SOGoSMTPServer localhost > defaults write sogod SOGoDraftsFolderName Drafts > defaults write sogod SOGoSentFolderName Sent > defaults write sogod SOGoTrashFolderName Trash > defaults write sogod SOGoOtherUsersFolderName "Other Users" > defaults write sogod SOGoSharedFolderName "Shared Folders" > defaults write sogod SOGoFallbackIMAP4Server localhost > > exit > > chkconfig sogod on > service sogod restart > > > reboot; exit > > http://sogo.<domain>.com/Sogo > _________________________________
