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 ... 35, 36, 37, 38, 39  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Sun Oct 09, 2005 1:27 pm    Post subject: Reply with quote

Dark_Hunter wrote:
sonix wrote:
EDIT: I missed the JKMounts.


If you use the build, you get all inclusive ;)



say what?




At any rate. I thought i had my installation all worked out. I added a second user and then i tried to test things around. Tried to add a calendar entry, entered all the data, saved, told me its saving then in the calendar there's NOTHING! im disappointed.

I tried to change my Setup options, namely the Groupware settings. I hit save there and i get the error message " ERROR!Settings could not be stored in directory!"

:'(
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Sun Oct 09, 2005 1:35 pm    Post subject: Reply with quote

Did you tried the ebuild?

If you try, make sure you execute the config part.
Back to top
View user's profile Send private message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Sun Oct 09, 2005 1:39 pm    Post subject: Reply with quote

the portage tree ebuild? nope. i just went ahead with this manual: http://www.mikefetherston.ca/OX/html/index.html


however, tomcat error log says
Quote:
2005-10-09 00:30:55 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target$
2005-10-09 01:45:42 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target$
2005-10-09 01:45:57 StandardContext[/servlet]intranet: Exception: null
java.lang.NullPointerException
2005-10-09 01:48:00 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target$
2005-10-09 06:59:56 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target$
2005-10-09 07:01:06 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target$
2005-10-09 07:15:15 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target$
2005-10-09 07:15:29 StandardContext[/manager]HTMLManager: init: Associated with Deployer 'localhost'
2005-10-09 07:15:29 StandardContext[/manager]HTMLManager: init: Global resources are available
2005-10-09 07:15:29 StandardContext[/manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
2005-10-09 07:16:20 StandardContext[/manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
2005-10-09 07:31:12 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target$
2005-10-09 08:17:42 StandardContext[/umin]myDataView: WARNING: NO DEFAULT SYSTEM TIMEZONE FOUND! USING GMT
2005-10-09 08:17:42 StandardContext[/umin]myDataView: WARNING: NO DEFAULT SYSTEM TIMEZONE FOUND! USING GMT
2005-10-09 09:22:17 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target$
2005-10-09 09:25:49 StandardContext[/umin]myDataGroupware: ERROR: COULD NOT UPDATE DATA IN LDAP FOR DN uid=osman,ou=Users,ou=OxObjects,dc=vexelmedia,dc=com!Details
javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'uid=osman,ou=Users,ou=OxObjects,dc=vexelmedia,dc=com'
2005-10-09 09:25:57 StandardContext[/umin]myDataView: WARNING: NO DEFAULT SYSTEM TIMEZONE FOUND! USING GMT
2005-10-09 09:25:57 StandardContext[/umin]myDataView: WARNING: NO DEFAULT SYSTEM TIMEZONE FOUND! USING GMT
2005-10-09 09:26:22 StandardContext[/umin]myDataGroupware: ERROR: COULD NOT UPDATE DATA IN LDAP FOR DN uid=osman,ou=Users,ou=OxObjects,dc=vexelmedia,dc=com!Details
javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'uid=osman,ou=Users,ou=OxObjects,dc=vexelmedia,dc=com'
2005-10-09 09:32:42 StandardContext[/umin]myDataGroupware: ERROR: COULD NOT UPDATE DATA IN LDAP FOR DN uid=osman,ou=Users,ou=OxObjects,dc=vexelmedia,dc=com!Details
javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'uid=osman,ou=Users,ou=OxObjects,dc=vexelmedia,dc=com'


/var/log/messages says
Quote:
Oct 9 09:45:13 lenin master[2881]: about to exec /usr/lib/cyrus/imapd
Oct 9 09:45:13 lenin imap[2881]: executed
Oct 9 09:45:13 lenin imap[2881]: sql auxprop plugin using mysql engine
Oct 9 09:45:13 lenin imap[2881]: accepted connection
Oct 9 09:45:13 lenin imap[2881]: sql plugin Parse the username osman
Oct 9 09:45:13 lenin imap[2881]: sql plugin try and connect to a host
Oct 9 09:45:13 lenin imap[2881]: sql plugin trying to open db 'mailsqldb' on host 'localhost'
Oct 9 09:45:13 lenin imap[2881]: sql plugin could not connect to host localhost
Oct 9 09:45:13 lenin imap[2881]: sql plugin couldn't connect to any host
Oct 9 09:45:13 lenin imap[2881]: sql plugin Parse the username osman
Oct 9 09:45:13 lenin imap[2881]: sql plugin try and connect to a host
Oct 9 09:45:13 lenin imap[2881]: sql plugin trying to open db 'mailsqldb' on host 'localhost'
Oct 9 09:45:13 lenin imap[2881]: sql plugin could not connect to host localhost
Oct 9 09:45:13 lenin imap[2881]: sql plugin couldn't connect to any host
Oct 9 09:45:13 lenin slapd[2510]: conn=20 op=3 BIND anonymous mech=implicit ssf=0
Oct 9 09:45:13 lenin slapd[2510]: conn=20 op=3 BIND dn="cn=Manager,dc=vexelmedia,dc=com" method=128
Oct 9 09:45:13 lenin slapd[2510]: conn=20 op=3 BIND dn="cn=Manager,dc=vexelmedia,dc=com" mech=SIMPLE ssf=0
Oct 9 09:45:13 lenin slapd[2510]: conn=20 op=3 RESULT tag=97 err=0 text=
Oct 9 09:45:13 lenin slapd[2509]: conn=20 op=4 SRCH base="dc=vexelmedia,dc=com" scope=2 deref=0 filter="(uid=osman)"
Oct 9 09:45:13 lenin slapd[2509]: conn=20 op=4 SRCH attr=dn
Oct 9 09:45:13 lenin slapd[2509]: conn=20 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text=
Oct 9 09:45:13 lenin slapd[2507]: conn=20 op=5 BIND anonymous mech=implicit ssf=0
Oct 9 09:45:13 lenin slapd[2507]: conn=20 op=5 BIND dn="uid=osman,ou=Users,ou=OxObjects,dc=vexelmedia,dc=com" method=128
Oct 9 09:45:13 lenin slapd[2507]: conn=20 op=5 BIND dn="uid=osman,ou=Users,ou=OxObjects,dc=vexelmedia,dc=com" mech=SIMPLE ssf=0
Oct 9 09:45:13 lenin slapd[2507]: conn=20 op=5 RESULT tag=97 err=0 text=
Oct 9 09:45:13 lenin imap[2881]: login: localhost [127.0.0.1] osman plaintext User logged in
Oct 9 09:46:13 lenin master[1463]: process 2881 exited, status 0




maybe i really should just start from scratch with that ebuild... :'(
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Sun Oct 09, 2005 2:26 pm    Post subject: Reply with quote

sonix, the ebuild is quit easy.
The big problems for ox, is getting PostgreSQL and OpenLDAP working - and all seams fine for you.
So I would you suggest the ebuild - also for easely updating it in feature.

But for your problem, these are the acl for OpenLDAP:
http://www.mikefetherston.ca/OX/html/index.html#ldapacl
The problem is they are incomplete and also a security risk.

Hope that helps you so far.
Back to top
View user's profile Send private message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Sun Oct 09, 2005 2:45 pm    Post subject: Reply with quote

Dark_Hunter wrote:
sonix, the ebuild is quit easy.
The big problems for ox, is getting PostgreSQL and OpenLDAP working - and all seams fine for you.
So I would you suggest the ebuild - also for easely updating it in feature.

But for your problem, these are the acl for OpenLDAP:
http://www.mikefetherston.ca/OX/html/index.html#ldapacl
The problem is they are incomplete and also a security risk.

Hope that helps you so far.


i definitely did miss. but adding them didnt solve my problem. however, i want to know how i can cleanly get rid of all that i have done, and install ox using the ebuild. I believe the ebuild on portage is the unstable version and the version i am using right now is stable, so that might cause further problems. Let me know what you think is the best option at this time.


/var/log/messages
Quote:
Oct 9 11:17:22 lenin imap[6376]: sql plugin try and connect to a host
Oct 9 11:17:22 lenin imap[6376]: sql plugin trying to open db 'mailsqldb' on host 'localhost'
Oct 9 11:17:22 lenin imap[6376]: sql plugin could not connect to host localhost
Oct 9 11:17:22 lenin imap[6376]: sql plugin couldn't connect to any host
Oct 9 11:17:22 lenin saslauthd[1449]: ldap_simple_bind() failed -1 (Can't contact LDAP server).
Oct 9 11:17:22 lenin saslauthd[1449]: Retrying authentication
Oct 9 11:17:22 lenin slapd[6215]: conn=4 fd=17 ACCEPT from IP=130.85.57.34:33574 (IP=0.0.0.0:389)
Oct 9 11:17:22 lenin slapd[6365]: conn=4 op=0 BIND dn="cn=Manager,dc=vexelmedia,dc=com" method=128
Oct 9 11:17:22 lenin slapd[6365]: conn=4 op=0 BIND dn="cn=Manager,dc=vexelmedia,dc=com" mech=SIMPLE ssf=0
Oct 9 11:17:22 lenin slapd[6365]: conn=4 op=0 RESULT tag=97 err=0 text=
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Sun Oct 09, 2005 3:45 pm    Post subject: Reply with quote

which version of ox do you have?

The stable 0.8.0.6 or the development 0.8.1.3 of ox?
Back to top
View user's profile Send private message
slaapkop
n00b
n00b


Joined: 04 Mar 2004
Posts: 66
Location: Nijmegen

PostPosted: Sun Oct 09, 2005 8:09 pm    Post subject: Reply with quote

Hi,

Well i reemerged open-xchange again:
Code:
emerge -C open-xchange
and then
USE="-SSL" emerge open-xchange


But when adding a group:
Code:


TRUUS ~ # /usr/sbin/addgroup_ox --group=newgroup
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80)
        additional info: SASL(-13): user not found: no secret in database
Added Group newgroup to LDAP




The log at that point:

Code:

Oct  9 21:58:27 TRUUS slapd[11279]: conn=4 fd=13 ACCEPT from IP=myexternalip:38371 (IP=0.0.0.0:389)
Oct  9 21:58:27 TRUUS slapd[11429]: conn=4 op=0 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
Oct  9 21:58:27 TRUUS slapd[11429]: conn=4 op=0 SRCH attr=supportedSASLMechanisms
Oct  9 21:58:27 TRUUS slapd[11429]: conn=4 op=0 SEARCH RESULT tag=101 err=0 nentries=1 text=
Oct  9 21:58:27 TRUUS slapd[11430]: conn=4 op=1 BIND dn="cn=Manager,dc=mydomain,dc=nl" method=163
Oct  9 21:58:47 TRUUS slapd[11279]: conn=5 fd=15 ACCEPT from IP=myextrnalip:33861 (IP=0.0.0.0:389)
Oct  9 21:58:47 TRUUS slapd[11429]: conn=5 op=0 BIND dn="" method=128
Oct  9 21:58:47 TRUUS slapd[11429]: conn=5 op=0 RESULT tag=97 err=0 text=
Oct  9 21:58:47 TRUUS ldapsearch: DIGEST-MD5 client step 2
Oct  9 21:58:47 TRUUS ldapsearch: DIGEST-MD5 client step 2
Oct  9 21:58:47 TRUUS slapd[11429]: conn=4 op=2 BIND dn="cn=Manager,dc=mydomain,dc=nl" method=163
Oct  9 21:58:47 TRUUS slapd[11429]: SASL [conn=4] Failure: no secret in database
Oct  9 21:58:47 TRUUS slapd[11429]: conn=4 op=2 RESULT tag=97 err=80 text=SASL(-13): user not found: no secret in database
Oct  9 21:58:47 TRUUS slapd[11279]: conn=4 fd=13 closed
Oct  9 21:58:47 TRUUS slapd[11279]: conn=6 fd=13 ACCEPT from IP=myextrnalip:38372 (IP=0.0.0.0:389)
Oct  9 21:58:47 TRUUS slapd[11430]: conn=6 op=0 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
Oct  9 21:58:47 TRUUS slapd[11430]: conn=6 op=0 SRCH attr=supportedSASLMechanisms
Oct  9 21:58:47 TRUUS slapd[11430]: conn=6 op=0 SEARCH RESULT tag=101 err=0 nentries=1 text=
Oct  9 21:58:48 TRUUS slapd[11429]: conn=6 op=1 BIND dn="cn=Manager,dc=mydomain,dc=nl" method=163
Oct  9 21:58:49 TRUUS slapd[11430]: conn=5 op=1 BIND dn="" method=128
Oct  9 21:58:49 TRUUS slapd[11430]: conn=5 op=1 RESULT tag=97 err=0 text=
Oct  9 21:59:06 TRUUS ldapadd: DIGEST-MD5 client step 2
Oct  9 21:59:26 TRUUS ldapadd: DIGEST-MD5 client step 2
Oct  9 21:59:26 TRUUS slapd[11430]: conn=6 op=2 BIND dn="cn=Manager,dc=mydomain,dc=nl" method=163
Oct  9 21:59:26 TRUUS slapd[11430]: SASL [conn=6] Failure: no secret in database
Oct  9 21:59:26 TRUUS slapd[11430]: conn=6 op=2 RESULT tag=97 err=80 text=SASL(-13): user not found: no secret in database
Oct  9 21:59:26 TRUUS slapd[11279]: conn=6 fd=13 closed



I changed the system.property documents from ENABLETLS:yes to ENABLETLS:no.

And the /var/www/localhost/cgi-bin/login.pm, i changed the my $connection_mode = 2; to my $connection_mode = 2;

Why do i still get the ssl messages?

I just don't get it!!
Back to top
View user's profile Send private message
slaapkop
n00b
n00b


Joined: 04 Mar 2004
Posts: 66
Location: Nijmegen

PostPosted: Sun Oct 09, 2005 8:40 pm    Post subject: Reply with quote

HEEEJ...


I changed the /etc/open-xchange/admintools.conf file, the line:
Code:

LDAPCONN="-H $LDAPURI -D $BINDDN -w $BINDPW"


back into
Code:

LDAPCONN="-H $LDAPURI -D $BINDDN -w $BINDPW -x"


And now i'm finally in openXchange...!!!!!!!!!!!!!!


YES...

Thank toy verry much Dark_Hunter, your the best. Keep up the good work..


p.s. Probably won't be long for me too get another problem :wink:
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Sun Oct 09, 2005 8:56 pm    Post subject: Reply with quote

Great =)

I wish you so much fun with it - I know you will have it ;)
Back to top
View user's profile Send private message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Sun Oct 09, 2005 9:21 pm    Post subject: Reply with quote

Dark_Hunter wrote:
which version of ox do you have?

The stable 0.8.0.6 or the development 0.8.1.3 of ox?


stable 0.8.0.6.

so it might cause me more troubles to go to ebuild :(
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Sun Oct 09, 2005 9:51 pm    Post subject: Reply with quote

No, don't worry. An ebuild for stable ox will soon get in portage.
It is quite same as the current for 0.8.1.3.

So you can copy this or wait a few days - hope get this next days fixed.
Back to top
View user's profile Send private message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Sun Oct 09, 2005 9:54 pm    Post subject: Reply with quote

Dark_Hunter wrote:
No, don't worry. An ebuild for stable ox will soon get in portage.
It is quite same as the current for 0.8.1.3.

So you can copy this or wait a few days - hope get this next days fixed.


should i delete anything that i have done or should i just go ahead unmask the ebuild and emerge it?
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Sun Oct 09, 2005 10:08 pm    Post subject: Reply with quote

you should delete things under /usr/local/open-xchange, because this is obsolete.
Back to top
View user's profile Send private message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Sun Oct 09, 2005 10:23 pm    Post subject: Reply with quote

Dark_Hunter wrote:
you should delete things under /usr/local/open-xchange, because this is obsolete.


alright so thats all deleted now. i am emerging the ebuild. which how-to should i follow to configure it now?
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Mon Oct 10, 2005 5:38 am    Post subject: Reply with quote

The howto provided by the ebuild itself:

Try
Code:
ebuild /var/db/pkg/www-apps/open-xchange-0.8.your_version/open-xchange-0.8.your_version.ebuild config

Ox get configured after answering a few question and after that a little howto is printed for setting up Openldap and PostgreSQL.
Skip the sections you've already done withe Mikes howto

So far... this should be all ;)
Back to top
View user's profile Send private message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Mon Oct 10, 2005 6:37 am    Post subject: Reply with quote

i still get the old version of ox on http://localhost/cgi-bin/login.pl :(

i think i need ssl for the ebuild version. i get an error in my open-xchange log

Quote:
Oct 10 02:35:25 localhost openexchange: oxsessiond init (localhost:33333) objectstream=false
Oct 10 02:35:25 localhost openexchange: INTERNAL TLS Support: ON
Oct 10 02:35:26 localhost openexchange: oxsessiond init (localhost:33335) objectstream=true
Oct 10 02:35:39 localhost openexchange: SocketHandler.runStream: com.openexchange.ssl.SSLException:
16128:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:585:
ssl server fails to process ssl handshake

com.openexchange.ssl.SSLException:
16128:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:585:
ssl server fails to process ssl handshake

at com.openexchange.ssl.SSLServerSocket.nativeAccept(Native Method)
at com.openexchange.ssl.SSLServerSocket.accept(SSLServerSocket.java:129)
at com.openexchange.sessiond.SocketHandler.runStream(SocketHandler.java:365)
at com.openexchange.sessiond.SocketHandler.run(SocketHandler.java:243)
at java.lang.Thread.run(Thread.java:534)


mod_ssl looks like is for apache1 only. i use apache2. not sure what to emerge now.
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Mon Oct 10, 2005 7:23 am    Post subject: Reply with quote

Currently OX-0.8.1.* is buggy with SSL support for backend turned on.

Please distinguish between:

  • secured communication between backend components (currently buggy for 0.8.1 versions) can be disabled with
    Code:
    USE="-ssl" emerge open-xchange
    currently you should do this (hopefully this get soon fixed)
  • secured communictation between your browser and apache accessing ox (this is indedependent from ox), you can enable it with "-D ssl" in the "APACHE2_OPTS" line in /etc/conf.d/apache2
Back to top
View user's profile Send private message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Mon Oct 10, 2005 10:57 am    Post subject: Reply with quote

should do the ebuild command again after i reemerge?
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Mon Oct 10, 2005 12:32 pm    Post subject: Reply with quote

sonix wrote:
should do the ebuild command again after i reemerge?

Currently yes - sorry, will be fixed soon.
Back to top
View user's profile Send private message
slaapkop
n00b
n00b


Joined: 04 Mar 2004
Posts: 66
Location: Nijmegen

PostPosted: Mon Oct 10, 2005 4:05 pm    Post subject: Reply with quote

Hi,
It's me again.
Still got a question. The webmail part isn't working for me yet.

When i try too log in via a browser, i get a screen wich says:



    WebMail - OPEN-XCHANGE 0.8.1-3
    !!! SYSTEM - ERROR !!!



My log at that moment says: (/var/log/open-xchange/webmail.log)
Code:


Oct 10 17:55:20 TRUUS openexchange: DEBUG: Create new ComfireThread ComfireThread 3
Oct 10 17:55:20 TRUUS openexchange: DEBUG: Run ComfireThread ComfireThread 3
Oct 10 17:55:20 TRUUS openexchange: DEBUG: Re-use database connection org.postgresql.jdbc3.Jdbc3Connection@1ab28fe
Oct 10 17:55:20 TRUUS openexchange: Connect to sessiond server: localhost:33333
Oct 10 17:55:20 TRUUS openexchange: DEBUG: NEWSESSION: uid=pim, lang=EN, remoteip=62.131.1.42, id=daf85dc1f1fd64a80354b6e8ec87d95e, response=*** :-)
Oct 10 17:55:20 TRUUS openexchange: DEBUG: Using webmail <-> /servlet/webmail
Oct 10 17:55:20 TRUUS openexchange: DEBUG: LOGIN: uid=pim: moduleRights=addr_r cont_r bookm_r data_r task_r doc_r proj_r knowl_r forum_n pin_r webmail
Oct 10 17:55:20 TRUUS openexchange: DEBUG: LOGIN: uid=pim, imap=localhost - port=143, smtp=localhost - port= 25, MAILDOMAIN=mydomain.nl
Oct 10 17:55:20 TRUUS openexchange: DEBUG: LOGIN: uid=pim: User can change mail address=true
------------------------------------------------------------------
Oct 10 17:55:24 - pim - 0.8.1-3
AuthentificationFailedException in FolderSettings/loadFolder
Unable to authentificate user at the imap server.
Please check username and/or password.
Details: javax.mail.AuthenticationFailedException: Login failed: authentication failure
------------------------------------------------------------------
Oct 10 17:55:24 TRUUS openexchange: DEBUG: Using non-cached version noAuth
Oct 10 17:55:24 TRUUS openexchange: DEBUG: Pushing database connection org.postgresql.jdbc3.Jdbc3Connection@1ab28fe
Oct 10 17:55:24 TRUUS openexchange: DEBUG: Destroy ComfireThread ComfireThread 3



my imap.conf is like this:

Code:

# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/imapd.conf,v 1.5 2004/08/27 06:02:45 langthang Exp $

# Don't forget to use chattr +S (if you are using ext[23])
# when you change these directories (read the docs).
configdirectory:        /var/imap
partition-default:      /var/spool/imap
sievedir:               /var/imap/sieve

tls_ca_path:            /etc/ssl/certs
tls_cert_file:          /etc/ssl/cyrus/server.crt
tls_key_file:           /etc/ssl/cyrus/server.key

# Don't use an everyday user as admin.
admins:                 cyrus

hashimapspool:          yes
allowanonymouslogin:    no
allowplaintext:         yes

# Allow renaming of top-level mailboxes.
#allowusermoves:         yes

# Use this if sieve-scripts could be in ~user/.sieve.
#sieveusehomedir:       yes

# Use saslauthd if you want to use pam for imap.
# But be warned: login with DIGEST-MD5 or CRAM-MD5
# is not possible using pam.
sasl_pwcheck_method:    saslauthd

lmtp_downcase_rcpt: yes

####################################################
## This is a recommended authentication method if you
## emerge cyrus-sasl with 'postgres' or 'mysql'
## To use with mysql database uncomment those lines below.

#sasl_pwcheck_method: auxprop
#sasl_auxprop_plugin: sql

## possible values for sasl_auxprop_plugin 'mysql', 'pgsql', 'sqlite'.
#sasl_sql_engine: mysql

## all possible values.
#sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5 NTLM
## or limit to CRAM-MD5 only
#sasl_mech_list: CRAM-MD5

## change below to suit your setup.
sasl_sql_user: mailsqluser
sasl_sql_passwd: password
sasl_sql_database: mailsqldb
sasl_sql_hostnames: localhost
sasl_sql_select: SELECT clear FROM users WHERE email = '%u@%r'




Is it a autentiacation problem(via ssl) or i'm i missing something?

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


Joined: 12 Feb 2003
Posts: 102

PostPosted: Mon Oct 10, 2005 4:21 pm    Post subject: Reply with quote

could you please inform me what this command does?

Code:
 webapp-config -I -h <host> -d open-xchange open-xchange 0.8.1.3



EDIT: ha! adds /var/www/open-xchange folder :)

I'm wondering how i can reset this (i really dont think its necessary)
Quote:
slapadd -l /usr/share/open-xchange/init_ldap.ldif
slapadd: could not add entry dn="dc=vexelmedia,dc=com" (line=6): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996

EDIT: rm /var/lib/openldap-data/* should do it.


but i'm really conerned about...
Quote:
/usr/sbin/adduser_ox --username=MYUSERNAME --password=MYPASSWORD --name=FORENAME --sname=SURENAME --maildomain=vexelmedia.com --ox_timezone="Europe/Berlin"
ldap_bind: Can't contact LDAP server (-1)
LDAP Success
SQL Success


I checked /etc/open-xchange/admintools.conf, slapd.conf, ldap.conf and even saslauthd.conf and made the pass match in all cases. still no idea. i could not figure out at all how to get logging working with ldap. also, for some reason i CANNOT stop slapd after i started it. even after unmerging it and emerging again. i checked /var/lib/open-ldap/ permissions and made sure ldap:ldap owned those files. i think now would be a good time to study physics instead.
Back to top
View user's profile Send private message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Tue Oct 11, 2005 1:52 am    Post subject: Reply with quote

slaapkop:

try this:
Code:
 cyradm -user cyrus ox-domain.tld
ox-domain.tld> cm user.john
ox-domain.tld> exit


adduser_ox command does not create a mail acct for you. that is probably your issue. keep the two passwords matching so ox doesnt freak out. refer to the FINALIZING INSTALLATION section of http://www.mikefetherston.ca/OX/html/index.html .

bon chance.
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Tue Oct 11, 2005 4:38 am    Post subject: Reply with quote

slaapkop wrote:
Hi,
When i try too log in via a browser, i get a screen wich says:


    WebMail - OPEN-XCHANGE 0.8.1-3
    !!! SYSTEM - ERROR !!!




There are several things to keep in mind.

First, make sure username and password you use for ox is equal to the password for your imap-server.
Second ox tries to connect your imap server per imap protocol default - not per imapS.
If you just have imapS listening make sure to edit your /etc/open-xchange/webmail/webmail.properties

Hope that helps
Back to top
View user's profile Send private message
Dark_Hunter
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 230
Location: Germany

PostPosted: Tue Oct 11, 2005 4:50 am    Post subject: Reply with quote

sonix wrote:


I'm wondering how i can reset this (i really dont think its necessary)

One nice way is to make your apache redirect you in that directory.
The problem with necessary is, other web-apps installed by portage get their own directory with that way.
It is also possible to virtual hosting several different websites (I mean different URLs) on one apache.
This solution makes it possible to install ox one time for your complete sever and then "deploy" it for each virtual hosted server you want.

sonix wrote:

slapadd -l /usr/share/open-xchange/init_ldap.ldif
slapadd: could not add entry dn="dc=vexelmedia,dc=com" (line=6): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996

EDIT: rm /var/lib/openldap-data/* should do it.
[/quote]

try
Code:
slapadd -c -l /usr/share/open-xchange/init_ldap.ldif

This try to going on with slapadd "ignoring" all failures.


sonix wrote:

I checked /etc/open-xchange/admintools.conf, slapd.conf, ldap.conf and even saslauthd.conf and made the pass match in all cases. still no idea. i could not figure out at all how to get logging working with ldap. also, for some reason i CANNOT stop slapd after i started it. even after unmerging it and emerging again. i checked /var/lib/open-ldap/ permissions and made sure ldap:ldap owned those files. i think now would be a good time to study physics instead.

Did you change the backend for OpenLDAP. Do you've got a firewall blocking all.
Do you use ip-address or name and is it resolveable?

Hope that helps.
Back to top
View user's profile Send private message
sonix
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2003
Posts: 102

PostPosted: Tue Oct 11, 2005 10:22 am    Post subject: Reply with quote

/var/log/messages wrote:
Oct 11 06:17:40 lenin slapd[25960]: @(#) $OpenLDAP: slapd 2.2.28 (Oct 10 2005 20:35:00) $ root@lenin:/var/tmp/portage/openldap-2.2.28/work/openldap-2.2.28/servers/slapd
Oct 11 06:17:40 lenin slapd[25960]: sql_select option missing
Oct 11 06:17:40 lenin slapd[25960]: auxpropfunc error no mechanism available
Oct 11 06:17:40 lenin slapd[25960]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Oct 11 06:17:40 lenin slapd[25960]: bdb_db_init: Initializing BDB database
Oct 11 06:17:40 lenin slapd[25960]: slapd stopped.
Oct 11 06:17:40 lenin slapd[25960]: connections_destroy: nothing to destroy.


eh? sql plugin? i dont remember any note concerning that in the emerge howto for slapd.conf


here's my slapd.conf
/etc/openldap/slapd.conf wrote:
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/misc.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/openldap.schema
include /etc/openldap/schema/openxchange.schema
include /etc/openldap/slapd.ox.inc


# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org

pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
backend bdb
database bdb
checkpoint 32 30 # <kbyte> <min>
suffix "dc=vexelmedia,dc=com"
rootdn "cn=Manager,dc=vexelmedia,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/openldap-data
# Indices to maintain
index objectClass pres,eq
index gidNumber,memberUid eq
index uid,mailEnabled,cn,sn,givenname,lnetMailAccess,alias,loginDestination eq,sub


Adding index uid,mailEnabled,cn,sn,givenname,lnetMailAccess,alias,loginDestination eq,sub, backend bdb seemed to make me able to start and stop slapd. which is nice. I really think that the emerge tutorial needs some serious work. double // in the instructions will confuse some users. i'm wondering if there is any saslauthd configs i should touch.
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 ... 35, 36, 37, 38, 39  Next
Page 36 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