Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Open-Xchange on Gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 29, 30, 31 ... 37, 38, 39  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
PeeJay
n00b
n00b


Joined: 15 Aug 2004
Posts: 46
Location: Sydney, Australia

PostPosted: Sun May 22, 2005 8:27 am    Post subject: Reply with quote

Would it be possible to put

Code:
chown ldap /var/lib/openldap-data/*
chgrp ldap /var/lib/openldap-data/*


in the how-to somewhere? Took me ages to figure out why slapd wouldn't start!!
Back to top
View user's profile Send private message
rickvernam
Guru
Guru


Joined: 09 Jul 2004
Posts: 310

PostPosted: Sun May 22, 2005 2:48 pm    Post subject: Reply with quote

PeeJay wrote:
Would it be possible to put

Code:
chown ldap /var/lib/openldap-data/*
chgrp ldap /var/lib/openldap-data/*


in the how-to somewhere? Took me ages to figure out why slapd wouldn't start!!


The last part of the section "Section 3: Open-Xchange Installation" is as follows:
Quote:

Setup proper symlinks:

ln -s /etc/openldap/ldap.conf \
/usr/local/open-xchange/etc/groupware/ldap.conf

ln -s /etc/openldap/ldap.conf \
/usr/local/open-xchange/etc/webmail/ldap.conf

chown -R ldap:ldap /var/lib/openldap-data/*
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Mon May 23, 2005 12:48 pm    Post subject: Reply with quote

a quick question on the domain and use of dc=

I am using a .co.uk domain so which of the following would be right:

Code:

dc=domain,dc=.co.uk

dc=domain,dc=.co,dc=.uk



cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
rickvernam
Guru
Guru


Joined: 09 Jul 2004
Posts: 310

PostPosted: Mon May 23, 2005 7:51 pm    Post subject: Reply with quote

Am curious as to the location of files that make up the users' data (ie, users' mail, OX's data...etc...any other userfull data locations...) I'd imagine OX keeps all its' data in the database & that email is in cyrus-data? But I really don't know so any verification or whatever would be great!

Thanks!
-Rick
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Tue May 24, 2005 9:58 am    Post subject: Reply with quote

Hello, ok anyone know where i can get the older versions of sun java files such as jaf and javamail, can only download newer versions then in howto and portage.

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
rickvernam
Guru
Guru


Joined: 09 Jul 2004
Posts: 310

PostPosted: Tue May 24, 2005 1:59 pm    Post subject: Reply with quote

carpman wrote:
Hello, ok anyone know where i can get the older versions of sun java files such as jaf and javamail, can only download newer versions then in howto and portage.

cheers


I've got these, but I don't know off the top of my head if they're newer or older. If you want them, let me know and I'll do something to provide the files in a way that is not blatantly in violation of this, that or the other thing...

j2sdk-1_4_2_08-linux-i586.bin
jaf-1_0_2-upd.zip
javamail-1_3_1-upd.zip
javamail-1_3_2.zip
jikes-1.21.tar.bz2
Back to top
View user's profile Send private message
feliperal
Apprentice
Apprentice


Joined: 09 Mar 2003
Posts: 168

PostPosted: Tue May 24, 2005 8:45 pm    Post subject: Reply with quote

I just modified the ebuilds to download the newer versions of javamail. Unforunately, I'm having some problems with running open-xchange.

1) When I try to add a contact, I get the following error:
Code:
The contact has benn created in the Database but couldn't be inserted into the LDAP addressbook: Naming err in ContactLdap javax.naming.NoPermissionException: [LDAP: error code 50 - no write access to parent]; remaining name 'uid=24,ou=addr,uid=anonuser,ou=Users,ou=OxObjects'


2) For some reason I cannot send any mail or receive the mail. I have confirmed that sending works fine using mutt. Also, I have made sure that there is a MX record at pairnic for my domain. Trying to send mail from open-xchange results in :
Code:
No running Server found.
Please inform the Administrator!


3) When composing an email message, I can easily fill the To:, CC:, and BC: fields. However, I can't type text inside the message body, nor do the font size and style buttons work.

Edit 3: It seems to be a rendering and javascript problem with Safari browsers (used on Mac OS X), which is based on KHTML. Works fine with Mozilla Firefox 1.04. I am able to send messages.

So my only problem is point #1 and I can't receive email messages :( . I've forwarded the ports imap,imaps,ldap,pop3,pop3s all to my box using my wireless router's setup. For some reason, cyrus isn't putting the mail into the OX_MailBox/Inbox. I have created the user.anonuser already. Any suggestions?

Felipe
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Wed May 25, 2005 1:53 pm    Post subject: Reply with quote

ok so far good after sorting out some problems but know i have reached the section for

/etc/apache2/conf/modules.d/88_mod_jk.conf

thing is where do i put entries?

the file current look like:

Code:

<IfDefine JK2>
        <IfModule !mod_jk2.c>
                LoadModule jk2_module       extramodules/mod_jk2.so

                # for extra piece of mind we can project the WEB-INF directory
                <Location "/jsp-examples/WEB-INF/">
                       AllowOverride None
                       deny from all
                </Location>

                # This is provided as an example of how to
                # map a webapp from tomcat to a path in
                # Apache.
                <Location "/jsp-examples/*">
                        JkUriSet worker ajp13:localhost:8009
                </Location>
        </IfModule>
</IfDefine>

_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed May 25, 2005 7:54 pm    Post subject: Reply with quote

feliperal wrote:

So my only problem is point #1 and I can't receive email messages :( . I've forwarded the ports imap,imaps,ldap,pop3,pop3s all to my box using my wireless router's setup. For some reason, cyrus isn't putting the mail into the OX_MailBox/Inbox. I have created the user.anonuser already. Any suggestions?


With regard to receiving e-mail.. try forwarding port 25 (SMTP). SMTP is what mail servers use to transfer e-mail messages between them. It's only the clients that need to talk to 143/IMAP to get the messages to the user.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed May 25, 2005 7:58 pm    Post subject: Reply with quote

carpman wrote:
ok so far good after sorting out some problems but know i have reached the section for

/etc/apache2/conf/modules.d/88_mod_jk.conf

thing is where do i put entries?

the file current look like:

Code:

<IfDefine JK2>
        <IfModule !mod_jk2.c>
                LoadModule jk2_module       extramodules/mod_jk2.so

                # for extra piece of mind we can project the WEB-INF directory
                <Location "/jsp-examples/WEB-INF/">
                       AllowOverride None
                       deny from all
                </Location>

                # This is provided as an example of how to
                # map a webapp from tomcat to a path in
                # Apache.
                <Location "/jsp-examples/*">
                        JkUriSet worker ajp13:localhost:8009
                </Location>
        </IfModule>
</IfDefine>


Interesting, this is what my file looks like:

Code:

<IfDefine JK>
LoadModule jk_module    modules/mod_jk.so

###
### Where to find workers.properties
###
# JkWorkersFile specify the location where mod_jk will find
# the workers definitions.
JkWorkersFile   conf/jk-workers.properties


###
### Where to put mod_jk logs
###
# specify the location where mod_jk is going to place its log file.
JkLogFile       logs/mod_jk.log


###
### Set the jk log level [debug/error/info]
###
# info log will contains standard mod_jk activity (default).
# error log will contains also error reports.
# debug log will contains all informations on mod_jk activity
#JkLogLevel     info


###
### Select the log format
###
# JkLogStampFormat will configure the date/time format found
# on mod_jk logfile. Using the strftime() format string it's
# set by default to "[%a %b %d %H:%M:%S %Y]"
#JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "


###
### JkOptions indicate to send SSL KEY SIZE,
###
# The directive JkOptions allow you to set many forwarding
# options which will enable (+) or disable (-) following option.
#
#
# JkOptions ForwardKeySize , you ask mod_jk, when using ajp13, to
# forward also the SSL Key Size as required by Servlet API 2.3.
# This flag shouldn't be set when servlet engine is Tomcat 3.2.x
# (on by default).
#
#
# JkOptions ForwardURICompat , you told mod_jk to send the URI to
# Tomcat normally, which is less spec compliant but mod_rewrite
# compatible, use it for compatibility with Tomcat 3.2.x engines
# (on by default).
#
#
# JkOptions ForwardURICompatUnparsed , the forwarded URI is unparsed,
# it's spec compliant but broke mod_rewrite.
#
#
# JkOptions ForwardURIEscaped , the forwarded URI is escaped and
# Tomcat (since 3.3 rc2) will do the decoding part.
#
#
# JkOptions ForwardDirectories is used in conjunction with Directory-
# Index directive of Apache web server. As such mod_dir should be
# available to Apache, statically or dynamically (DSO)
#
# When DirectoryIndex is configured, Apache will create sub-requests
# for each of the local-url's specified in the directive, to determine
# if there is a local file that matches (this is done by stat-ing the file).
#
# If ForwardDirectories is set to false (default) and Apache doesn't
# find any files that match, Apache will serve the content of the
# directory (if directive Options specifies Indexes for that directory)
# or a 403 Forbidden response (if directive Options doesn't specify
# Indexes for that directory).
#
# If ForwarDirectories is set to true and Apache doesn't find any
# files that match, the request will be forwarded to Tomcat for
# resolution. This is used in cases when Apache cannot see the index
# files on the file system for various reasons: Tomcat is running on
# a different machine, the JSP file has been precompiled etc.
#
# Note that locally visible files will take precedence over the ones
# visible only to Tomcat (i.e. if Apache can see the file, that's
# the one that's going to get served). This is important if there is
# more then one type of file that Tomcat normally serves - for
# instance Velocity pages and JSP pages.
#
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories


###
### JkEnvVar forward environment vars
###
# The directive JkEnvVar allow you to forward an environment vars
# from Apache server to Tomcat engine.
#
#JkEnvVar SSL_CLIENT_V_START


###
### JkRequestLogFormat set the request format
###
# JkRequestLogFormat will configure the format of mod_jk individual
# request logging. Request logging is configured and enabled on a
# per virtual host basis. To enable request logging for a virtual
# host just add a JkRequestLogFormat config. The syntax of the
# format string is similiar to the Apache LogFormat command, here
# is a list of the available request log format options:
#
# Options       Description
# %b            Bytes sent, excluding HTTP headers (CLF format)
# %B            Bytes sent, excluding HTTP headers
# %H            The request protocol
# %m            The request method
# %p            The canonical Port of the server serving the request
# %q            The query string (prepended with a ? if a query string exists, otherwise an empty string)
# %r            First line of request
# %s            Request HTTP status code
# %T            Request duration, elapsed time to handle request in seconds '.' micro seconds
# %U            The URL path requested, not including any query string.
# %v            The canonical ServerName of the server serving the request
# %V            The server name according to the UseCanonicalName setting
# %w            Tomcat worker name
#
JkRequestLogFormat "%w %V %T"

###
### JkMount assign specific URLs to Tomcat
###
# JkMount directive assign specific URLs to Tomcat. In general the
# structure of a JkMount directive is:
#
# send all requests ending in .jsp to worker1
#  JkMount /*.jsp worker1
#
# send all requests ending /servlet to worker1
#  JkMount /*/servlet/ worker1
#
# send all requests jsp requests to files located in /otherworker will go worker2
#  JkMount /otherworker/*.jsp worker2
#
#
# You can use the JkMount directive at the top level or inside
# <VirtualHost> sections of your httpd.conf file.
#


# We specify an autoalias, that makes it possible that apache is still
# reponsible for serving static html files. All requests of files with
# the ending .jsp will be redirected to a default Tomcat installation which
# uses the default profile. Change this to fit your needs.
jkAutoAlias /opt/tomcat5/webapps/
jkMount /*.jsp ajp13

## New by Mike below ##

jkMount /manager        ajp13
jkMount /manager/*      ajp13

jkMount /servlet        ajp13
jkMount /servlet/*      ajp13

jkMount /umin           ajp13
jkMount /umin/*         ajp13

jkMount /servlet/webdav.contacts        ajp13
jkMount /servlet/webdav.contacts/*      ajp13

jkMount /servlet/webdav.calendar        ajp13
jkMount /servlet/webdav.calendar/*      ajp13

jkMount /servlet/webdav.ical            ajp13
jkMount /servlet/webdav.ical/*          ajp13

jkMount /servlet/webdav.documents       ajp13
jkMount /servlet/webdav.documents/*     ajp13

jkMount /servlet/webdav.tasks           ajp13
jkMount /servlet/webdav.tasks/*         ajp13

jkMount /servlet/webdav.folders         ajp13
jkMount /servlet/webdav.folders/*       ajp13

jkMount /servlet/webdav.projects        ajp13
jkMount /servlet/webdav.projects/*      ajp13

jkMount /servlet/webdav.groupuser       ajp13
jkMount /servlet/webdav.groupuser/*     ajp13

jkMount /servlet/webdav.attachments     ajp13
jkMount /servlet/webdav.attachments/*   ajp13

jkMount /servlet/webdav.freebusy        ajp13
jkMount /servlet/webdav.freebusy/*      ajp13

jkMount /servlet/webdav.vcard           ajp13
jkMount /servlet/webdav.vcard/*         ajp13

## End new by Mike ##

jkMount /openlaszlo-3.0                 ajp13
jkMount /openlaszlo-3.0/*               ajp13

</IfDefine>


sorry for the s**t-long post....
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Wed May 25, 2005 10:54 pm    Post subject: Reply with quote

Thanks for reply, ok tried your file but get following error:


Code:

 # /etc/init.d/apache2 restart
 * Stopping apache2...
Syntax error on line 2 of /usr/lib/apache2/conf/modules.d/89_mod_jk2.conf:
Cannot load /usr/lib/apache2/modules/mod_jk.so into server: /usr/lib/apache2/modules/mod_jk.so: cannot open shared object file: No such file or directory                                                                                         [ ok ] * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 2 of /usr/lib/apache2/conf/modules.d/89_mod_jk2.conf:
Cannot load /usr/lib/apache2/modules/mod_jk.so into server: /usr/lib/apache2/modules/mod_jk.so: cannot open shared object file: No such file or directory

_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Thu May 26, 2005 2:29 am    Post subject: Reply with quote

carpman wrote:
Thanks for reply, ok tried your file but get following error:


Code:

 # /etc/init.d/apache2 restart
 * Stopping apache2...
Syntax error on line 2 of /usr/lib/apache2/conf/modules.d/89_mod_jk2.conf:
Cannot load /usr/lib/apache2/modules/mod_jk.so into server: /usr/lib/apache2/modules/mod_jk.so: cannot open shared object file: No such file or directory                                                                                         [ ok ] * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 2 of /usr/lib/apache2/conf/modules.d/89_mod_jk2.conf:
Cannot load /usr/lib/apache2/modules/mod_jk.so into server: /usr/lib/apache2/modules/mod_jk.so: cannot open shared object file: No such file or directory


can you verify the location of mod_jk.so on your computer? if it's not in /usr/lib/apache2/modules you'll have to modify your mod_jk conf file. upon further looking, it appears that you're still using mod_jk2.. please use mod_jk instead.
Back to top
View user's profile Send private message
feliperal
Apprentice
Apprentice


Joined: 09 Mar 2003
Posts: 168

PostPosted: Thu May 26, 2005 4:01 am    Post subject: Reply with quote

I'm almost there. I'm getting the messages on my box, but for some reason I get this error message from postfix:
Code:
May 25 17:59:14 [postfix/cleanup] E0953D9D5: message-id=<b07d9753050525205472ad7713@mail.gmail.com>
May 25 17:59:14 [postfix/qmgr] E0953D9D5: from=<anonuser@gmail.com>, size=1570, nrcpt=1 (queue active)
May 25 17:59:14 [postfix/smtpd] disconnect from wproxy.gmail.com[64.233.184.192]May 25 17:59:14 [postfix/local] fatal: open database /etc/mail/aliases.db: No such file or directory
May 25 17:59:15 [postfix/master] warning: process /usr/lib/postfix/local pid 15653 exit status 1
May 25 17:59:15 [postfix/master] warning: /usr/lib/postfix/local: bad command startup -- throttling         


How do I generate a aliases.db in postfix? I really wish that qmail would work with OX since I run two other mail servers using it for several years :)


Thanks,
Felipe
Back to top
View user's profile Send private message
feliperal
Apprentice
Apprentice


Joined: 09 Mar 2003
Posts: 168

PostPosted: Thu May 26, 2005 4:15 am    Post subject: Reply with quote

feliperal wrote:
I'm almost there. I'm getting the messages on my box, but for some reason I get this error message from postfix:
Code:
May 25 17:59:14 [postfix/cleanup] E0953D9D5: message-id=<b07d9753050525205472ad7713@mail.gmail.com>
May 25 17:59:14 [postfix/qmgr] E0953D9D5: from=<anonuser@gmail.com>, size=1570, nrcpt=1 (queue active)
May 25 17:59:14 [postfix/smtpd] disconnect from wproxy.gmail.com[64.233.184.192]May 25 17:59:14 [postfix/local] fatal: open database /etc/mail/aliases.db: No such file or directory
May 25 17:59:15 [postfix/master] warning: process /usr/lib/postfix/local pid 15653 exit status 1
May 25 17:59:15 [postfix/master] warning: /usr/lib/postfix/local: bad command startup -- throttling         


How do I generate a aliases.db in postfix? I really wish that qmail would work with OX since I run two other mail servers using it for several years :)


Thanks,
Felipe


This fixed the /etc/mail/aliases.db problem
Code:
 # newaliases

But, now I have a problem with permissions of the lmtp socket:
Code:
May 25 18:15:20 [postfix/lmtp] 9769ADA17: to=<anonuser@gentoobox.org>, relay=none, delay=0, status=deferred (connect to /var/imap/socket/lmtp[/var/imap/socket/lmtp]: Permission denied)


What permissions and to whom should I set ownership of the /var/imap/socket/lmtp? Shouldn't it be root:cyrus?

Thanks for all your help,
Felipe
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu May 26, 2005 9:06 am    Post subject: Reply with quote

bitwh0re wrote:
carpman wrote:
Thanks for reply, ok tried your file but get following error:


Code:

 # /etc/init.d/apache2 restart
 * Stopping apache2...
Syntax error on line 2 of /usr/lib/apache2/conf/modules.d/89_mod_jk2.conf:
Cannot load /usr/lib/apache2/modules/mod_jk.so into server: /usr/lib/apache2/modules/mod_jk.so: cannot open shared object file: No such file or directory                                                                                         [ ok ] * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 2 of /usr/lib/apache2/conf/modules.d/89_mod_jk2.conf:
Cannot load /usr/lib/apache2/modules/mod_jk.so into server: /usr/lib/apache2/modules/mod_jk.so: cannot open shared object file: No such file or directory


can you verify the location of mod_jk.so on your computer? if it's not in /usr/lib/apache2/modules you'll have to modify your mod_jk conf file. upon further looking, it appears that you're still using mod_jk2.. please use mod_jk instead.



thanks for reply, can report there is no mod_jk.so on box, nither is there a mod_jk2.so. Am going to try emerging mod _jk again


cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu May 26, 2005 12:10 pm    Post subject: Reply with quote

Ok sorted mod_jk issue but now have error on creating user:


Code:

ldap_bind: Invalid credentials (49)
LDAP Success
SQL Error
Deleting User from LDAP
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)


Have gone through howto to make sure i have not missed something and all seems ok!

any pointers ?

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu May 26, 2005 1:00 pm    Post subject: Reply with quote

carpman wrote:
Ok sorted mod_jk issue but now have error on creating user:


Code:

ldap_bind: Invalid credentials (49)
LDAP Success
SQL Error
Deleting User from LDAP
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)


Have gone through howto to make sure i have not missed something and all seems ok!

any pointers ?

cheers



Ok seems this is password problem, rechecked passwords and found error change this but still getting error, is there something i need to do to sync passwords?

Also in howto there is ref to ldap password and openldap password, shoudl these be the same password?

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
feliperal
Apprentice
Apprentice


Joined: 09 Mar 2003
Posts: 168

PostPosted: Thu May 26, 2005 1:56 pm    Post subject: Reply with quote

[quote="feliperal"]
feliperal wrote:


This fixed the /etc/mail/aliases.db problem
Code:
 # newaliases

But, now I have a problem with permissions of the lmtp socket:
Code:
May 25 18:15:20 [postfix/lmtp] 9769ADA17: to=<anonuser@gentoobox.org>, relay=none, delay=0, status=deferred (connect to /var/imap/socket/lmtp[/var/imap/socket/lmtp]: Permission denied)


What permissions and to whom should I set ownership of the /var/imap/socket/lmtp? Shouldn't it be root:cyrus?

Thanks for all your help,
Felipe


Bitwhore, I was able to make the mail transport work by making sure these two lines were uncommented in my /etc/postfix/main.cf:
Code:
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
mailbox_transport = cyrus


Also, a correction needs to made for the correct path to the Cyrus delivery binary located in /usr/lib/cyrus/deliver not /cyrus/bin/deliver. Here is the correction I made to /etc/postfix/master.cf:

from:
Code:
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}


to:
Code:
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/usr/lib/cyrus/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/usr/lib/cyrus/deliver -e -r ${sender} -m ${extension} ${user}



After making these corrections and reloading the postfix daemon everything works like a champ. I'm still getting those darn ldap access errors when I try to add a contact. Bitwhore, did you add some ACL definitions inside of your /etc/openldap/ldap.conf file?

Also, I had tried previously to install OX on the amd64 architecture. Unfortunately, i never could get the thing running because Cyrus SASL authentication borked on me, eventhough I had ldap authentication compiled right in. I believe some of the dependencies of SASL don't work well in 64-bit mode quite yet. In addition, the blackdown compiler is kind ancient and did not work will with compiling some of the packages. If any amd64 users could kindly incate all the packages they used for this install and which JVM so I could make a package.keywords file for this install, I'd really appreciate.

Thanks,
Felipe
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Fri May 27, 2005 4:11 pm    Post subject: Reply with quote

carpman wrote:
Ok sorted mod_jk issue but now have error on creating user:


Code:

ldap_bind: Invalid credentials (49)
LDAP Success
SQL Error
Deleting User from LDAP
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)


Have gone through howto to make sure i have not missed something and all seems ok!

any pointers ?



Ok after checking and double checking everything i have found that the password i used in the OX config prior to compiling may be problem area, why!

well for one i / as one of the characters which maybe a problem as it is used to indicate end of line, the reason is that the config and make process changes the password, to be more specific it removes the character $ which was in password.

I recompiled OX with password that did not have these character and am currently trying to change postgres password for user so it matches.


cheers

_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
dashnu
l33t
l33t


Joined: 21 Jul 2004
Posts: 703
Location: Casco Maine

PostPosted: Fri May 27, 2005 4:59 pm    Post subject: Reply with quote

Guys I am getting closer to the point were I upgrade / re-install my 7.5 system. I have helped many people out in this thread now it is your turn to help me! :) A simple question really.

More or less I hate macs. They do not support common things in there apps like SSL and that is just insane. Tiger might but Tiger broke every VPN server except for OSX server and one other one. That is just the tip of the iceburg. So i can not believe i am going to say this but I am pushing our three Mac users to "make the switch" to WINDOWS 8O

One of of my selling point is OXLOOK. So I would love some feedback on how it currentlly works with the most recent versions OX server. Does everything work? Will it appear to my windows users that we are on a "Exchange" server? Is it that nice? And any other info you want to share with me would be great.


ONO
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Fri May 27, 2005 6:15 pm    Post subject: Reply with quote

carpman wrote:
carpman wrote:
Ok sorted mod_jk issue but now have error on creating user:


Code:

ldap_bind: Invalid credentials (49)
LDAP Success
SQL Error
Deleting User from LDAP
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)


Have gone through howto to make sure i have not missed something and all seems ok!

any pointers ?



Ok after checking and double checking everything i have found that the password i used in the OX config prior to compiling may be problem area, why!

well for one i / as one of the characters which maybe a problem as it is used to indicate end of line, the reason is that the config and make process changes the password, to be more specific it removes the character $ which was in password.

I recompiled OX with password that did not have these character and am currently trying to change postgres password for user so it matches.


cheers



Ok still have problems though this time it is:

Code:


ldap_bind: Can't contact LDAP server (81)
LDAP Success
SQL Error
Deleting User from LDAP
ldap_bind: Can't contact LDAP server (81)
ldap_bind: Can't contact LDAP server (81)



Ok have a question on passwords, should the password in admintools.conf be the same as in slapd.conf? if so should it be the crypted or uncrypted version?


cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
dashnu
l33t
l33t


Joined: 21 Jul 2004
Posts: 703
Location: Casco Maine

PostPosted: Fri May 27, 2005 6:31 pm    Post subject: Reply with quote

I never got it to work with a crypt password in admintools.conf. Things may be different on the new versions though.
_________________
write quit bang
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Fri May 27, 2005 7:28 pm    Post subject: Reply with quote

ok found following in repeated logs:

Code:

conn=45 fd=13 ACCEPT from IP=192.168.1.4:32899 (IP=0.0.0.0:389)
May 27 16:03:13 office slapd[24961]: conn=45 op=0 BIND dn="cn=Manager,dc=mydomain,dc=co,dc=uk" method=128
May 27 16:03:13 office slapd[24961]: conn=45 op=0 RESULT tag=97 err=49 text=


and these

Code:

 office sshd[8951]: Server listening on :: port 22.
May 27 20:33:05 office sshd[8951]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
May 27 20:33:09 office saslauthd[10819]: detach_tty      : master pid is: 10819
May 27 20:33:09 office saslauthd[10819]: ipc_init        : listening on socket: /var/lib/sasl2/mux
May 27 20:33:13 office su(pam_unix)[11154]: session opened for user postgres by (uid=0)
May 27 20:33:13 office su(pam_unix)[11154]: session closed for user postgres
May 27 20:33:17 office slapd[11268]: sql_select option missing
May 27 20:33:17 office slapd[11268]: auxpropfunc error no mechanism available
May 27 20:33:17 office slapd[11268]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql


Code:

May 27 20:33:18 office slapd[11269]: bdb_db_open: dbenv_open failed: Permission denied (13)
May 27 20:33:18 office slapd[11269]: backend_startup: bi_db_open(0) failed! (13)
May 27 20:33:18 office slapd[11269]: bdb(dc=mydomain,dc=co,dc=uk): txn_checkpoint interface requires an environment configured for the transaction subsystem
May 27 20:33:18 office slapd[11269]: bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
May 27 20:33:18 office slapd[11269]: slapd stopped.
May 27 20:33:18 office slapd[11269]: connections_destroy: nothing to destroy.


cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
hybrid256
n00b
n00b


Joined: 18 Mar 2005
Posts: 22

PostPosted: Mon May 30, 2005 4:11 pm    Post subject: Reply with quote

Hi,

Well, my OX 0.8.0 is working quite well, I am now trying to tweak it a little for my needs.

I wanted to connect Mozilla Sunbird (using ical) or tried to reach documents on the server but whenever I try, I get this error message :

Quote:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: User "walid" does not belong to any group.
com.openexchange.tools.webdav.OXServlet.initializeService(OXServlet.java:436)
com.openexchange.tools.webdav.OXServlet.service(OXServlet.java:320)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.


any idea ?

I tried to add a user called "walid" in the system but this didn't solved the problem.
I'm clueless.

Thanks.
Back to top
View user's profile Send private message
ferp2
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 104

PostPosted: Tue May 31, 2005 1:02 am    Post subject: Reply with quote

hybrid256 wrote:
I tried to add a user called "walid" in the system but this didn't solved the problem.
I'm clueless.
The error is stating that you already have a user named "walid" who does not belong to any group. Therefore you will have to create a group and add walid to it.

I ran into the same problem, however, when I tried to add a new group, I got the following:

Code:
cd /usr/local/open-xchange/sbin
./addgroup_ox --group="test"
ldap_bind: Invalid DN syntax (34)
        additional info: invalid DN
Added Group test to LDAP

Of course, nothing was added to LDAP. This ugly little problem has cropped again since I upgraded to the latest OX version. I'm having the same problem when trying when trying to add a new user:

Code:
./adduser_ox --username="billy" --passwd="xxxxx" --name="Billy" --sname="Jones" --maildomain="billyjones.com" --ox_timezone="EST"
ldap_bind: Invalid DN syntax (34)
        additional info: invalid DN
LDAP Success
SQL Success


If anyone has any suggestions, please tell me.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 29, 30, 31 ... 37, 38, 39  Next
Page 30 of 39

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum