Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th February 2012, 14:26
Christovampaynes Christovampaynes is offline
Member
 
Join Date: Jan 2012
Posts: 41
Thanks: 1
Thanked 0 Times in 0 Posts
Default ubuntu-11.10, saslauthd sasl plain authentication failed no mechanism available

I changed the server and almost everything is working, I can send and receive mail through the webmail in outlook I just can not send and receive email, this message appears in the logs .. "Feb 27 12:34:36 server postfix / smtpd [25749]: warning: unknown [177.xx.xxx.xxx]: SASL LOGIN authentication failed: no mechanism available" I followed the steps here "http://www.howtoforge.com/ubuntu-11.10-saslauthd-sasl-plain-authentication-failed-no-mechanism-available" however to no avail .. Can someone help me?


I removed the packages and, "libsasl2-2 libsasl2-dev libsasl2-modules libsasl2-modules-sql", then installed with dpkg.


root@server:/opt/sasl# ls -la
total 592
drwxr-xr-x 2 root root 4096 2012-02-27 13:58 .
drwxr-xr-x 6 root root 4096 2012-02-20 16:50 ..
-rw-r--r-- 1 root root 73224 2011-01-07 12:05 libsasl2-2_2.1.23.dfsg1-5ubuntu3_amd64.deb
-rw-r--r-- 1 root root 253608 2011-01-07 12:05 libsasl2-dev_2.1.23.dfsg1-5ubuntu3_amd64.deb
-rw-r--r-- 1 root root 116342 2011-01-07 12:05 libsasl2-modules_2.1.23.dfsg1-5ubuntu3_amd64.deb
-rw-r--r-- 1 root root 27508 2011-01-07 12:05 libsasl2-modules-sql_2.1.23.dfsg1-5ubuntu3_amd64.deb
-rw-r--r-- 1 root root 121916 2011-01-07 12:05 sasl2-bin_2.1.23.dfsg1-5ubuntu3_amd64.deb


root@server:/opt/sasl# dpkg -i *.deb
dpkg: aviso: a fazer downgrade a libsasl2-2 de 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 para 2.1.23.dfsg1-5ubuntu3.
dpkg: erro processando libsasl2-2_2.1.23.dfsg1-5ubuntu3_amd64.deb (--install):
libsasl2-2:amd64 2.1.23.dfsg1-5ubuntu3 (Multi-Arch: no) is not co-installable with libsasl2-2:i386 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 (Multi-Arch: same) which is currently installed
dpkg: aviso: a fazer downgrade a libsasl2-dev de 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 para 2.1.23.dfsg1-5ubuntu3.
(Lendo banco de dados ... 80792 ficheiros e directórios actualmente instalados.)
Preparando para substituir libsasl2-dev 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 (usando libsasl2-dev_2.1.23.dfsg1-5ubuntu3_amd64.deb) ...
Desempacotando substituto libsasl2-dev ...
dpkg: aviso: a fazer downgrade a libsasl2-modules de 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 para 2.1.23.dfsg1-5ubuntu3.
dpkg: erro processando libsasl2-modules_2.1.23.dfsg1-5ubuntu3_amd64.deb (--install):
libsasl2-modules:amd64 2.1.23.dfsg1-5ubuntu3 (Multi-Arch: no) is not co-installable with libsasl2-modules:i386 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 (Multi-Arch: same) which is currently installed
dpkg: aviso: a fazer downgrade a libsasl2-modules-sql de 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 para 2.1.23.dfsg1-5ubuntu3.
Preparando para substituir libsasl2-modules-sql 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 (usando libsasl2-modules-sql_2.1.23.dfsg1-5ubuntu3_amd64.deb) ...
Desempacotando substituto libsasl2-modules-sql ...
Preparando para substituir sasl2-bin 2.1.23.dfsg1-5ubuntu3 (usando sasl2-bin_2.1.23.dfsg1-5ubuntu3_amd64.deb) ...
* Stopping SASL Authentication Daemon saslauthd [ OK ]
Desempacotando substituto sasl2-bin ...
dpkg: problemas de dependência impedem a configuração de libsasl2-dev:
libsasl2-dev depende de libsasl2-modules (= 2.1.23.dfsg1-5ubuntu3); porém:
Versão de libsasl2-modules no sistema é 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2.
dpkg: erro processando libsasl2-dev (--install):
problemas de dependência - deixando desconfigurado
dpkg: problemas de dependência impedem a configuração de libsasl2-modules-sql:
libsasl2-modules-sql depende de libsasl2-modules (= 2.1.23.dfsg1-5ubuntu3); porém:
Versão de libsasl2-modules no sistema é 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2.
dpkg: erro processando libsasl2-modules-sql (--install):
problemas de dependência - deixando desconfigurado
Configurando sasl2-bin (2.1.23.dfsg1-5ubuntu3) ...
update-rc.d: warning: saslauthd stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)
* Starting SASL Authentication Daemon saslauthd [ OK ]
Processando gatilhos para man-db ...
Processando gatilhos para ureadahead ...
Erros foram encontrados durante o processamento de:
libsasl2-2_2.1.23.dfsg1-5ubuntu3_amd64.deb
libsasl2-modules_2.1.23.dfsg1-5ubuntu3_amd64.deb
libsasl2-dev
libsasl2-modules-sql
Reply With Quote
Sponsored Links
  #2  
Old 29th February 2012, 12:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Is this a 32- or a 64-bit system? What's the output of
Code:
uname -a
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th February 2012, 17:06
Christovampaynes Christovampaynes is offline
Member
 
Join Date: Jan 2012
Posts: 41
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Is this a 32- or a 64-bit system? What's the output of
Code:
uname -a
?
Hello Falko, I ended up doing a downgrade to "ubuntu-11.04".
follows the output of the command, you can tell me what could be?

uname -a:
Linux domain.tld 3.0.0-12-server #20-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Reply With Quote
  #4  
Old 1st March 2012, 20:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Not sure, but according to ...
Code:
libsasl2-2:amd64 2.1.23.dfsg1-5ubuntu3 (Multi-Arch: no) is not co-installable with libsasl2-2:i386 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 (Multi-Arch: same) which is currently installed
... you had the i386 version installed already (not sure how...).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th March 2012, 18:25
Christovampaynes Christovampaynes is offline
Member
 
Join Date: Jan 2012
Posts: 41
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Not sure, but according to ...
Code:
libsasl2-2:amd64 2.1.23.dfsg1-5ubuntu3 (Multi-Arch: no) is not co-installable with libsasl2-2:i386 2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2 (Multi-Arch: same) which is currently installed
... you had the i386 version installed already (not sure how...).

strange .. however now I downgrade to Ubuntu-11.04, everything was working and stopped! the logs show it to me "SASL LOGIN authentication failed: generic failure"

restart:

/etc/init.d/courier-authdaemon restart
/etc/init.d/courier-imap restart
/etc/init.d/courier-imap-ssl restart
/etc/init.d/courier-pop restart
/etc/init.d/courier-pop-ssl restart


I need to reboot the server when this problem. logs shows "conecction refused".


Mar 5 11:59:20 server pop3d: authentication error: Connection refused
Mar 5 11:59:25 server pop3d: Connection, ip=[::ffff:177.xx.xx.xxx]
Mar 5 11:59:25 server pop3d: authdaemon: s_connect() failed: Connection refused
Mar 5 11:59:25 server pop3d: [Hint: perhaps authdaemond is not running?]
Mar 5 11:59:25 server pop3d: LOGIN FAILED, user=test@test.com.br, ip=[::ffff:xx.xx.xx.xxx]
Mar 5 11:59:25 server pop3d: authentication error: Connection refused



Someone has gone through this?

Last edited by Christovampaynes; 5th March 2012 at 20:24.
Reply With Quote
  #6  
Old 7th March 2012, 17:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Is courier-authdaemon running?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
Christovampaynes (7th March 2012)
  #7  
Old 7th March 2012, 19:06
Christovampaynes Christovampaynes is offline
Member
 
Join Date: Jan 2012
Posts: 41
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Is courier-authdaemon running?
he is falling, it may be the number of connections? is to increase?
Reply With Quote
  #8  
Old 8th March 2012, 13:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Do you get any errors when you restart courier-authdaemon?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 8th March 2012, 17:30
Christovampaynes Christovampaynes is offline
Member
 
Join Date: Jan 2012
Posts: 41
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Do you get any errors when you restart courier-authdaemon?


no, no errors!!! there comes my doubts that the number of connections!

Mar 8 09:24:41 server pop3d-ssl: Maximum connection limit reached for ::ffff:167.42.xxx.xx
Mar 8 09:31:18 server pop3d-ssl: Maximum connection limit reached for ::ffff:167.42.xxx.xxx

Last edited by Christovampaynes; 8th March 2012 at 19:37.
Reply With Quote
  #10  
Old 8th March 2012, 19:46
Christovampaynes Christovampaynes is offline
Member
 
Join Date: Jan 2012
Posts: 41
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

I decided to think!

I had a look at the pop3d set up and changed
root directory\etc\courier\pop3d
##NAME: MAXPERIP:4
#
# Maximum number of connections to accept from the same IP address

MAXDAEMONS=80
MAXPERIP=116
-----------------------------------------------
My doubt is:
I performed a backup through phpmyadmin, is there a command to create the directories ispconfig3 automatic? (Bind, virtual hosts, users of e-mails) I tried to run update.php but did not work!

thanks!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with ISPConfig Mail and Squirrelmail m.xander Installation/Configuration 109 3rd February 2012 00:15
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 02:29
Fail2ban + sasl problem and Solution pititis General 1 2nd March 2011 07:02
Cannot login to SquirrelMail sellotape Installation/Configuration 13 26th October 2010 11:03
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17


All times are GMT +2. The time now is 20:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.