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 21st May 2011, 09:28
Djamu Djamu is offline
Member
 
Join Date: Sep 2007
Posts: 51
Thanks: 2
Thanked 12 Times in 7 Posts
Default no authentication on pop / imap > Access denied for user 'ispconfig'@'localhost'

Seems my update troubles aren't over yet.

I think something is wrong in either
/etc/courier/authmysqlrc
/etc/courier/authdaemonrc

After updating mysql and a couple of other packages my courier-imap & pop seems to be dead.
Mails are getting delivered but I can not retrieve them.

Ispconfig status shows all services online. but no imap / pop access.

running > mysql -h localhost -u ispconfig

gives a strange result as with phpmyadmin I can login as user ispconfig and the password provided in authmysqlrc

( i'm getting > Access denied for user 'ispconfig'@'localhost' )
are those brackets normal ?

I did a manual update > php -q update.php on the extracted source allready.
and had to reinstall maildrop to squash another issue
but now i'm out of ideas

system = debian squeeze

netstat -tap looks normal

Code:
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      2239/amavisd (maste
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      4001/master
tcp        0      0 localhost.localdo:mysql *:*                     LISTEN      12169/mysqld
tcp        0      0 *:sunrpc                *:*                     LISTEN      1928/portmap
tcp        0      0 *:ssmtp                 *:*                     LISTEN      4001/master
tcp        0      0 *:epmd                  *:*                     LISTEN      3382/epmd
tcp        0      0 *:munin                 *:*                     LISTEN      4318/munin-node
tcp        0      0 *:ftp                   *:*                     LISTEN      4016/pure-ftpd (SER
tcp        0      0 hosted-by.leasew:domain *:*                     LISTEN      3897/mydns
tcp        0      0 3d.uk.to:domain         *:*                     LISTEN      3897/mydns
tcp        0      0 localhost.locald:domain *:*                     LISTEN      3897/mydns
tcp        0      0 *:ssh                   *:*                     LISTEN      2214/sshd
tcp        0      0 localhost.localdoma:ipp *:*                     LISTEN      4190/cupsd
tcp        0      0 localhost.localdoma:855 *:*                     LISTEN      4071/famd
tcp        0      0 *:47511                 *:*                     LISTEN      3496/beam
tcp        0      0 *:3000                  *:*                     LISTEN      3910/ntop
tcp        0      0 *:smtp                  *:*                     LISTEN      4001/master
tcp        0      0 3d.uk.to:ssh            eu62-88-25-20.ads:56426 ESTABLISHED 2229/sshd: root@not
tcp        0      0 localhost.localdom:epmd localhost.localdo:47226 ESTABLISHED 3382/epmd
tcp        1      0 localhost.localdo:58027 localhost.localdo:mysql CLOSE_WAIT  2470/amavisd (ch2-a
tcp        0      0 3d.uk.to:ssh            eu62-88-25-20.ads:56427 ESTABLISHED 2230/sshd: root@not
tcp        0      0 localhost.localdo:47226 localhost.localdom:epmd ESTABLISHED 3496/beam
tcp        0      0 3d.uk.to:ssh            eu62-88-25-20.ads:56428 ESTABLISHED 2231/sshd: root@not
tcp        1      0 localhost.localdo:41393 localhost.localdo:mysql CLOSE_WAIT  2471/amavisd (ch2-a
tcp        0      0 3d.uk.to:ssh            eu62-88-25-20.ads:56749 ESTABLISHED 11958/sshd: root@no
tcp        0    248 3d.uk.to:ssh            eu62-88-25-20.ads:56466 ESTABLISHED 5083/0
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      3237/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      3332/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      3256/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      3199/couriertcpd
tcp6       0      0 [::]:http-alt           [::]:*                  LISTEN      4264/apache2
tcp6       0      0 [::]:www                [::]:*                  LISTEN      4264/apache2
tcp6       0      0 [::]:tproxy             [::]:*                  LISTEN      4264/apache2
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      4016/pure-ftpd (SER
tcp6       0      0 localhost:domain        [::]:*                  LISTEN      3897/mydns
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      2214/sshd
tcp6       0      0 localhost:ipp           [::]:*                  LISTEN      4190/cupsd
tcp6       0      0 [::]:https              [::]:*                  LISTEN      4264/apache2
thanks in advance
__________________
Windows, the only virus you pay for
Reply With Quote
Sponsored Links
  #2  
Old 21st May 2011, 09:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Quote:
( i'm getting > Access denied for user 'ispconfig'@'localhost' )
are those brackets normal ?
Yes, thats ok.

Please check taht the mysql password in the courier config for the ispconfig user is the same then the password that you find in /usr/local/ispconfig/server/lib/config.inc.php and that you are able to login with the login details of the config.inc.php file into the ispconfig mysql database.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st May 2011, 09:34
Djamu Djamu is offline
Member
 
Join Date: Sep 2007
Posts: 51
Thanks: 2
Thanked 12 Times in 7 Posts
Default

thanks for the quick reply

yes the password in /usr/local/ispconfig/server/lib/config.inc.php is identical

with phpmyadmin I can login using those credentials
__________________
Windows, the only virus you pay for
Reply With Quote
  #4  
Old 21st May 2011, 09:51
Djamu Djamu is offline
Member
 
Join Date: Sep 2007
Posts: 51
Thanks: 2
Thanked 12 Times in 7 Posts
Default

mmm I found that the password in the mysql database > user ispconfig is different from the other passwords..

shouldn't those be identical ?
__________________
Windows, the only virus you pay for
Reply With Quote
  #5  
Old 21st May 2011, 10:01
Djamu Djamu is offline
Member
 
Join Date: Sep 2007
Posts: 51
Thanks: 2
Thanked 12 Times in 7 Posts
Default

ok I made sure the database mysql user ispconfig entry is identical...

I can login using mysql -h localhost -u ispconfig -p


still no imap / pop access
__________________
Windows, the only virus you pay for

Last edited by Djamu; 21st May 2011 at 10:08.
Reply With Quote
  #6  
Old 21st May 2011, 10:28
Djamu Djamu is offline
Member
 
Join Date: Sep 2007
Posts: 51
Thanks: 2
Thanked 12 Times in 7 Posts
 
Default Fixed !

solution was kind of stupid.....

as I didn't get any errors in my logs, and I was out of options
( triple checked everything )
I decided to toggle all mail accounts off / on .... & lo and behold ...
It works

__________________
Windows, the only virus you pay for
Reply With Quote
Reply

Bookmarks

Tags
authmysqlrc

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
Postfix doesn't have Nolan Installation/Configuration 5 13th April 2011 05:00
MySQL Error Nolan Installation/Configuration 12 16th February 2011 02:15
Forbidden 403; Samba access; config of maildeamon fawkes Installation/Configuration 4 14th January 2010 18:16
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26


All times are GMT +2. The time now is 15:13.


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