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, 4 ... 37, 38, 39  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Tue Oct 19, 2004 5:04 pm    Post subject: Reply with quote

Ensure these files exist and that these are the permissions set:

Code:

ox ~ # ls -al /etc/sasl2/
total 55
drwxr-xr-x   2 root root   128 Sep 29 10:57 .
drwxr-xr-x  36 root root  3032 Oct  7 06:07 ..
-rw-r--r--   1 root root     0 Sep 29 10:54 .keep
-rw-r-----   1 root mail 49152 Oct  4 08:43 sasldb2
-rw-r--r--   1 root root   132 Oct  4 08:33 smtpd.conf


Does saslauthd -v show ldap now? You can also google for the error you're receiving, possibly a solution there too:

http://www.google.ca/search?hl=en&q=error+deleting+entry+from+sasldb%3A+DB_NOTFOUND%3A+No+matching+key%2Fdata+pair+found+&btnG=Google+Search&meta=

good luck!
Back to top
View user's profile Send private message
janh
n00b
n00b


Joined: 20 Dec 2003
Posts: 31

PostPosted: Tue Oct 19, 2004 6:36 pm    Post subject: Reply with quote

still looks exactly the same, this is why I tried to find out what happens during the install
Code:

saslauthd -v
saslauthd 2.1.19
authentication mechanisms: getpwent rimap shadow


have tried to delete the content of
/etc/sasl2
and then emerge cyrus-sasl again
this did not make me any wiser.

the configuration file :
/etc/sasl2/smtpd.conf
contained a line:
pwcheck_method:pam
have tried to change that to sasldb, but this did not get me anywhere.

when I do the command "telnet localhost imap"
the program
/usr/cyrus/bin/cyrusmaster
appears to start looping and gives lots of the following errors in the auth.log file:
Code:

Oct 19 20:29:14 tux imap[8710]: auxpropfunc error no mechanism available
Oct 19 20:29:14 tux imap[8710]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Oct 19 20:29:14 tux imap[8711]: sql_select option missing
Oct 19 20:29:14 tux imap[8711]: auxpropfunc error no mechanism available
Oct 19 20:29:14 tux imap[8711]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Oct 19 20:29:14 tux imap[8712]: sql_select option missing
Oct 19 20:29:14 tux imap[8712]: auxpropfunc error no mechanism available
Oct 19 20:29:14 tux imap[8712]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Oct 19 20:29:14 tux imap[8713]: sql_select option missing
Oct 19 20:29:14 tux imap[8713]: auxpropfunc error no mechanism available
Oct 19 20:29:14 tux imap[8713]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Oct 19 20:29:14 tux imap[8714]: sql_select option missing
Oct 19 20:29:14 tux imap[8714]: auxpropfunc error no mechanism available
Oct 19 20:29:14 tux imap[8714]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Oct 19 20:29:14 tux imap[8715]: sql_select option missing
Oct 19 20:29:14 tux imap[8715]: auxpropfunc error no mechanism available
Oct 19 20:29:14 tux imap[8715]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Oct 19 20:29:14 tux imap[8716]: sql_select option missing


this is probably just another way of looking at the same problem,
have tried a google as well, no luck so far.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Oct 20, 2004 12:50 pm    Post subject: Sample Configs Reply with quote

Here are the sample configs from a working OX install:

http://www.mikefetherston.ca/OX/configs/

Maybe there's something in those configs that can help you track down what's going wrong.
Back to top
View user's profile Send private message
janh
n00b
n00b


Joined: 20 Dec 2003
Posts: 31

PostPosted: Wed Oct 20, 2004 2:55 pm    Post subject: Reply with quote

have gone through every config file,
have found some differences but still none to solve my main problem (basically some stuff I would have solved later on anyway).

the thing that keeps me blocked is this command:
Code:

saslauthd -v
saslauthd 2.1.19
authentication mechanisms: getpwent rimap shadow

This should show ldap at the end,
no matter how I play around with USE variables etc...
ldap does not want to appear at the end.
This is something to do with how the binaries are build,
it cannot be a difference in the config files,
anybody please prove my assumption wrong.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Oct 20, 2004 5:03 pm    Post subject: Reply with quote

All I can suggest then is to ensure that your USE flags are set properly - definitely have 'sasl' and 'ldap' defined. Try to unmerge all the software listed in the HOWTO and then start from the beginning. There may be something that was skipped before the cyrus-sasl emerge that's preventing saslauthd from using ldap for authentication.
Back to top
View user's profile Send private message
peace
n00b
n00b


Joined: 08 Oct 2004
Posts: 7

PostPosted: Thu Oct 21, 2004 7:19 pm    Post subject: sasl and ldap Reply with quote

janh,

you can test your USE flag settings with

Code:
emerge -pv cyrus-sasl


Make sure that +ldap is in the list of flags. If it is not, maybe there is an error in your make.conf file. Otherwise maybe there is another saslauthd on your system that is being used? Check your paths and use

Code:
which saslauthd


To find the version that is being executed. My saslauthd is in /usr/sbin

Code:
find / -name "saslauthd" -print


should locate any dups as well (or "locate saslauthd" if you have find-utils installed. do an "updatedb" before you search to be safe)

Kind Regards
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Fri Oct 22, 2004 11:12 am    Post subject: Reply with quote

Moved from Gentoo Chat.
Back to top
View user's profile Send private message
amigafan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 134
Location: Ahrensburg, Germany

PostPosted: Sun Oct 24, 2004 8:49 pm    Post subject: Reply with quote

I am trying to follow your guide but the
Code:
install Net::SSLeay
within cpan doesn't work.
Code:
cpan> install Net::SSLeay
CPAN: Storable loaded ok
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.perl.org

Trying with "/usr/bin/wget -O -" to get
    ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
--23:36:35--  ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
           => `-'
Resolving ftp.perl.org... 209.221.142.118, 64.74.207.33
Connecting to ftp.perl.org[209.221.142.118]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/CPAN/authors ... done.
==> PORT ...
Invalid PORT.
Retrying.
The "PORT" thing guides me to my shorewall but there are all connections from loc to net allowed.

Another question is: Do I have to use a local DNS-Server? The guide says:
Quote:

foobar ~ # nano –w /etc/hosts

12.34.56.78 ox-domain.tld
12.34.56.78 foobar.ox-domain.tld
. What to insert here when using a setup without local DNS-Server?

Thank you,

Kai
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Sun Oct 24, 2004 9:46 pm    Post subject: Reply with quote

Try emerging this instead:

http://packages.gentoo.org/search/?sstring=net%3A%3Assleay

It's been suggested to use the CPAN modules by using Portage instead of CPAN. I would like to try that and if it works, change that section in my document. Right now I'm working on DSPAM/ClamAV/Amavis.

That /etc/hosts addition is a kludge. It's there to fix some crazy issue I had. You can remove it, but if you experience problems put something back in there. :) Of course, use your own name besides ox-domain.tld.
Back to top
View user's profile Send private message
fosstux
Apprentice
Apprentice


Joined: 01 Oct 2002
Posts: 274
Location: Vienna, Austria

PostPosted: Tue Oct 26, 2004 8:16 am    Post subject: BIG OX problems Reply with quote

Sorry, but I'm new to virtual transport in Postfix, Cyrus and LDAP.

My questions are:
1. What do I have to do to set up Postfix to use the vmail user for cyrus and with ldap?
2. How do I setup cyrus propery?
3. And how do I get LDAP working from Evolution for Calendars and Contacts? I don't find a spot to enter my password to connect to my ldap server !!!
4. When I enter my Openxchange site, it is not formatted an also not working!

Please help!!!

I's urgent!!!
_________________
Windows = a 64 bit rewrite for a 32 bit extension to a 16 bit GUI on an
8 bit OS written for a 4 bit architecture by a 2 bit company who can't
stand 1 bit of competition.
Back to top
View user's profile Send private message
redog
n00b
n00b


Joined: 06 Nov 2002
Posts: 35

PostPosted: Tue Oct 26, 2004 6:29 pm    Post subject: Reply with quote

bitwh0re wrote:

It's been suggested to use the CPAN modules by using Portage instead of CPAN. I would like to try that and if it works, change that section in my document. Right now I'm working on DSPAM/ClamAV/Amavis.


don't use cpan, if there is not already a ebuild for the module use g-cpan so portage can properly track deps.
Back to top
View user's profile Send private message
Stormy
n00b
n00b


Joined: 04 Aug 2004
Posts: 20

PostPosted: Fri Oct 29, 2004 11:59 am    Post subject: Sun's Javamail Updated Ebuild needs updated Reply with quote

Hi folks,

It seems that sun's javamail went to 1.3.2 in the recent days, and the ebuild needs updating and commiting to the portage servers, I would do this although I am not proficent in ebuilds (or even close), could someone drop a line when this is fixed so I can get this server up and running. Also I know this is kinda a side topic, but with the current howto does it support virtual domains? because I just have gone threw the postfix howto which is all sql and now were into ldap here and I know nothing of ldap (i've tryed a few times to get it tho)

--Stormy
_________________
"If you give up freedom for justice, you deserve neither" -- Thomas Jefferson
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Mon Nov 01, 2004 1:05 pm    Post subject: Virtual Domains Reply with quote

I'm sure it's possible but I haven't tried doing it yet. It's on my list of things to document beside my list of many other things to do.... :/
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Mon Nov 01, 2004 2:01 pm    Post subject: HOWTO v0.13 Released Reply with quote

Just released v0.13 of the HOWTO. I've added a section on getting ClamAV and Amavisd-New integrated as well as a slew of minor additions and corrections.

Thanks to all for reading and giving me your input!

http://www.mikefetherston.ca/OX/
Back to top
View user's profile Send private message
bdraw
n00b
n00b


Joined: 24 Nov 2003
Posts: 21
Location: Tampa

PostPosted: Mon Nov 01, 2004 4:49 pm    Post subject: Reply with quote

Have you considered adding a Troubleshooting section?

I was able to fix a few issues by reading this thread, but the document would be more complete if it had these tips.

I had to re-emerge cyrus-sasl despite having the USE flags set correctly, and I had to add the postfix user to the mail group.

Thanks again for writing this doc.
_________________
If it's too easy it's boring.
Ben
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Mon Nov 01, 2004 4:51 pm    Post subject: Troubleshooting section Reply with quote

Maybe what I'll do for now is reference this thread.. I can always sum this thread up in an FAQ or something in the document.
Back to top
View user's profile Send private message
silent_runner
n00b
n00b


Joined: 02 Nov 2004
Posts: 1

PostPosted: Tue Nov 02, 2004 12:10 pm    Post subject: getting there problems with sessiond Reply with quote

my session terminates on login. The sessiond gives me a session the groupwared trys to check it gets an Sdc Exception:Connection Refused and kicks me back to login screen am confused. Any ideas
Back to top
View user's profile Send private message
dashnu
l33t
l33t


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

PostPosted: Tue Nov 02, 2004 6:53 pm    Post subject: Reply with quote

I have followed your guide (thanks a lot btw!) And I am having an issue loging in.

Code:
Redirecting to Groupware ...
SessionID: 86d7a966b1bab09b55a03992034bb510


After login I get that on my browser..

In my openxchange-session log I get the following
Code:
addSession <86d7a966b1bab09b55a03992034bb510>
Session Data: {lang=EN, passwd=test, host=ox-mydomainl.net, uid=test, localip=192.168.1.83} POS --> 2
(OK) SEND to client -->


It just sits there.. any ideas would be great..

TIA

**edit my apache error log

Code:
[Tue Nov 02 14:15:43 2004] [error] [client 192.168.1.83] File does not exist: /var/www/localhost/htdocs/favicon.ico
[Tue Nov 02 14:15:43 2004] [notice] child pid 17764 exit signal Segmentation fault (11)
[Tue Nov 02 14:15:43 2004] [notice] child pid 17768 exit signal Segmentation fault (11)
[Tue Nov 02 14:15:43 2004] [notice] child pid 17769 exit signal Segmentation fault (11)
[Tue Nov 02 14:15:43 2004] [notice] child pid 17770 exit signal Segmentation fault (11)


**edit again
Im an ass :oops: killall java and forgot... Tomcat appeared to be running but it was not.. :p
_________________
write quit bang
Back to top
View user's profile Send private message
dashnu
l33t
l33t


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

PostPosted: Tue Nov 02, 2004 7:45 pm    Post subject: Reply with quote

Ok, After my first dumb mistake lets see if I can make another one....

I can login but all I see is the portal icon up top, no other icons.. I can only click "Overview" and "current" tabs . . . . .

I do not have permissions to view any of the calender stuff when I click a day.. I have double checked my configs and stuff but still no luck. This of course Is the first time ever touching ldap for me and it seems pretty confusing.. It seems I am logging in with ldap but where do the web-based permissions get set and how do I change them ?
_________________
write quit bang
Back to top
View user's profile Send private message
odborg
Tux's lil' helper
Tux's lil' helper


Joined: 12 Apr 2002
Posts: 89
Location: Aalborg, Denmark

PostPosted: Tue Nov 02, 2004 7:48 pm    Post subject: Reply with quote

I managed to get to page 18 in the pdf. When i try web i receive internal server error 500. I the start the procces manually and get this when i start openexchange-sessiond:
Code:
oxsessiond init (Port=<33333>)
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/open-xchange/liboxssl.so: /usr/lib/open-xchange/liboxssl.so: undefined symbol: BIO_s_mem
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at com.openexchange.ssl.SSLCtx.<clinit>(SSLCtx.java:100)
        at com.openexchange.sessiond.SocketHandler.<init>(SocketHandler.java:140)
        at com.openexchange.sessiond.oxsessiond.<init>(oxsessiond.java:54)
        at com.openexchange.sessiond.oxsessiond.main(oxsessiond.java:59)
Back to top
View user's profile Send private message
dashnu
l33t
l33t


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

PostPosted: Tue Nov 02, 2004 8:03 pm    Post subject: Reply with quote

Are you using the ebuild or something.... I dont have a /usr/lib/open-xchange nor do I have the file it is complaining about anywhere on my system..
_________________
write quit bang
Back to top
View user's profile Send private message
odborg
Tux's lil' helper
Tux's lil' helper


Joined: 12 Apr 2002
Posts: 89
Location: Aalborg, Denmark

PostPosted: Tue Nov 02, 2004 8:22 pm    Post subject: Reply with quote

yeah im using the ebuild from bugs.gentoo.org
but i used this pdf afterwards coz the ebuild didnt setup postgresql and many other things
Back to top
View user's profile Send private message
dashnu
l33t
l33t


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

PostPosted: Tue Nov 02, 2004 8:47 pm    Post subject: Reply with quote

I tried the ebuild but had _no_ luck what so ever .. Get the source and do it the old fashin way ;)

on my issues.... if anyone is watching

I can send and recieve mail from my mail client with out errors.. But I can not connect to the webmail app

OPEN-XCHANGE 0.7.4
[authentification_failed] [nopermission]

I cant seem to find any logs that error... I see

Code:
File does not exist: /var/www/localhost/htdocs/favicon.ico

in my apache logs
Code:
getSession <a4e3191c0198e79b7efea0b3395a5c9b>
(OK) SEND to client -->YmN1cnRpcwF0ZXN0AUVOATE5Mi4xNjguMS44MwFveC1pd2ZpbmFuY2lhbC5uZXQ=

that in my session log

nothing in my webmail log or groupware log..
_________________
write quit bang
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Nov 03, 2004 2:54 pm    Post subject: Reply with quote

odborg wrote:
I managed to get to page 18 in the pdf. When i try web i receive internal server error 500. I the start the procces manually and get this when i start openexchange-sessiond:
Code:
oxsessiond init (Port=<33333>)
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/open-xchange/liboxssl.so: /usr/lib/open-xchange/liboxssl.so: undefined symbol: BIO_s_mem
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at com.openexchange.ssl.SSLCtx.<clinit>(SSLCtx.java:100)
        at com.openexchange.sessiond.SocketHandler.<init>(SocketHandler.java:140)
        at com.openexchange.sessiond.oxsessiond.<init>(oxsessiond.java:54)
        at com.openexchange.sessiond.oxsessiond.main(oxsessiond.java:59)


Rebuild OX without SSL support. I just read recently that SSL support within OX is not for internet traffic, only for encrypting interprocess communications on the local server.
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Nov 03, 2004 2:58 pm    Post subject: Reply with quote

init-zero wrote:
I tried the ebuild but had _no_ luck what so ever .. Get the source and do it the old fashin way ;)

on my issues.... if anyone is watching

I can send and recieve mail from my mail client with out errors.. But I can not connect to the webmail app

OPEN-XCHANGE 0.7.4
[authentification_failed] [nopermission]

I cant seem to find any logs that error... I see

Code:
File does not exist: /var/www/localhost/htdocs/favicon.ico

in my apache logs
Code:
getSession <a4e3191c0198e79b7efea0b3395a5c9b>
(OK) SEND to client -->YmN1cnRpcwF0ZXN0AUVOATE5Mi4xNjguMS44MwFveC1pd2ZpbmFuY2lhbC5uZXQ=

that in my session log

nothing in my webmail log or groupware log..


I've had issues similar to what you're experiencing with this and your posts above. What I've found is killing/restarting all processes usually does the trick. You may have to wait a few minutes between stopping them and then restarting them. If that fails, try a reboot. I know Linux fans don't want to hear that, but it has fixed mysterious problems like that.

You should also look in your other log files such as auth, ldap, and tomcat for more information. If you're starting your OX processes manually watch that terminal for info as well.
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, 4 ... 37, 38, 39  Next
Page 3 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