View previous topic :: View next topic |
Author |
Message |
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
|
Back to top |
|
|
janh n00b
Joined: 20 Dec 2003 Posts: 31
|
Posted: Tue Oct 19, 2004 6:36 pm Post subject: |
|
|
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 |
|
|
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
Posted: Wed Oct 20, 2004 12:50 pm Post subject: Sample Configs |
|
|
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 |
|
|
janh n00b
Joined: 20 Dec 2003 Posts: 31
|
Posted: Wed Oct 20, 2004 2:55 pm Post subject: |
|
|
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 |
|
|
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
Posted: Wed Oct 20, 2004 5:03 pm Post subject: |
|
|
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 |
|
|
peace n00b
Joined: 08 Oct 2004 Posts: 7
|
Posted: Thu Oct 21, 2004 7:19 pm Post subject: sasl and ldap |
|
|
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
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 |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Fri Oct 22, 2004 11:12 am Post subject: |
|
|
Moved from Gentoo Chat. |
|
Back to top |
|
|
amigafan Tux's lil' helper
Joined: 10 Jul 2003 Posts: 134 Location: Ahrensburg, Germany
|
Posted: Sun Oct 24, 2004 8:49 pm Post subject: |
|
|
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 |
|
|
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
Posted: Sun Oct 24, 2004 9:46 pm Post subject: |
|
|
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 |
|
|
fosstux Apprentice
Joined: 01 Oct 2002 Posts: 274 Location: Vienna, Austria
|
Posted: Tue Oct 26, 2004 8:16 am Post subject: BIG OX problems |
|
|
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 |
|
|
redog n00b
Joined: 06 Nov 2002 Posts: 35
|
Posted: Tue Oct 26, 2004 6:29 pm Post subject: |
|
|
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 |
|
|
Stormy n00b
Joined: 04 Aug 2004 Posts: 20
|
Posted: Fri Oct 29, 2004 11:59 am Post subject: Sun's Javamail Updated Ebuild needs updated |
|
|
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 |
|
|
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
Posted: Mon Nov 01, 2004 1:05 pm Post subject: Virtual Domains |
|
|
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 |
|
|
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
Posted: Mon Nov 01, 2004 2:01 pm Post subject: HOWTO v0.13 Released |
|
|
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 |
|
|
bdraw n00b
Joined: 24 Nov 2003 Posts: 21 Location: Tampa
|
Posted: Mon Nov 01, 2004 4:49 pm Post subject: |
|
|
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 |
|
|
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
Posted: Mon Nov 01, 2004 4:51 pm Post subject: Troubleshooting section |
|
|
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 |
|
|
silent_runner n00b
Joined: 02 Nov 2004 Posts: 1
|
Posted: Tue Nov 02, 2004 12:10 pm Post subject: getting there problems with sessiond |
|
|
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 |
|
|
dashnu l33t
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Tue Nov 02, 2004 6:53 pm Post subject: |
|
|
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 killall java and forgot... Tomcat appeared to be running but it was not.. :p _________________ write quit bang |
|
Back to top |
|
|
dashnu l33t
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Tue Nov 02, 2004 7:45 pm Post subject: |
|
|
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 |
|
|
odborg Tux's lil' helper
Joined: 12 Apr 2002 Posts: 89 Location: Aalborg, Denmark
|
Posted: Tue Nov 02, 2004 7:48 pm Post subject: |
|
|
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 |
|
|
dashnu l33t
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Tue Nov 02, 2004 8:03 pm Post subject: |
|
|
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 |
|
|
odborg Tux's lil' helper
Joined: 12 Apr 2002 Posts: 89 Location: Aalborg, Denmark
|
Posted: Tue Nov 02, 2004 8:22 pm Post subject: |
|
|
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 |
|
|
dashnu l33t
Joined: 21 Jul 2004 Posts: 703 Location: Casco Maine
|
Posted: Tue Nov 02, 2004 8:47 pm Post subject: |
|
|
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 |
|
|
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
Posted: Wed Nov 03, 2004 2:54 pm Post subject: |
|
|
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 |
|
|
bitwh0re Apprentice
Joined: 29 Apr 2004 Posts: 214
|
Posted: Wed Nov 03, 2004 2:58 pm Post subject: |
|
|
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 |
|
|
|