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
  #11  
Old 20th July 2009, 13:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by kird03 View Post
the second instruction gave an error and i continued with the set-up and made a note of this.. Could this be of any reason?
error:
Code:
[root@apollo log]#mysqladmin -h apollo.youngwebsolutions.info -u root password sql.starts
mysqladmin: connect to server at 'apollo.youngwebsolutions.info' failed
error: 'Access denied for user 'root'@'apollo.youngwebsolutions.info' (using password: NO)'
[root@apollo log]
This means that MySQL is using another hostname. Take a look at chapter 8 on http://www.howtoforge.com/perfect_se...pensuse10.3_p4 , starting with "As you've seen in the netstat output, MySQL is not only listening on localhost, but on all interfaces, which means it can be accessed from the outside."
__________________
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
Sponsored Links
  #12  
Old 27th July 2009, 12:19
kird03 kird03 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, found an important clue in this subject (I think!)

Although ISPconfig tells me that smtp server is online (see first post) I cannot telnet port 25.
It times out on the external host
It times out on localhost (when i first SSH to the server and from there telnet to port 25)

Combined with the fact the log file of the mailserver is empty this is probably the cause of the problem.

Questions that remain:
- why is ISPconfig telling me the SMTP server is online
- how to proceed with the error?
Reply With Quote
  #13  
Old 28th July 2009, 14:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Any errors in your mail log?
What's the output of
Code:
netstat -tap
?
__________________
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
  #14  
Old 28th July 2009, 15:20
kird03 kird03 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

see my first post of this treat. The maillog file is totally empty, indicating something is wrong?!

output of netstat is as follows:
Code:
[root@apollo ~]#netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:imaps                     *:*                         LISTEN      27231/couriertcpd
tcp        0      0 *:pop3s                     *:*                         LISTEN      27249/couriertcpd
tcp        0      0 young01:10024               *:*                         LISTEN      27154/amavisd (mast
tcp        0      0 young01:10025               *:*                         LISTEN      27102/master
tcp        0      0 *:mysql                     *:*                         LISTEN      28264/mysqld
tcp        0      0 *:pop3                      *:*                         LISTEN      27237/couriertcpd
tcp        0      0 young01:dyna-access         *:*                         LISTEN      27177/clamd
tcp        0      0 *:imap                      *:*                         LISTEN      27224/couriertcpd
tcp        0      0 *:webcache                  *:*                         LISTEN      14761/httpd
tcp        0      0 *:http                      *:*                         LISTEN      14761/httpd
tcp        0      0 *:ndmp                      *:*                         LISTEN      1666/perl
tcp        0      0 apollo.youngwebsolut:domain *:*                         LISTEN      27289/mydns
tcp        0      0 young01:domain              *:*                         LISTEN      27289/mydns
tcp        0      0 *:ftp                       *:*                         LISTEN      27275/pure-ftpd (SE
tcp        0      0 *:ssh                       *:*                         LISTEN      1251/sshd
tcp        0      0 *:smtp                      *:*                         LISTEN      27102/master
tcp        1      0 young01:smtp                young01:44548               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:33541               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:45833               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:50443               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:44558               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:50706               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:53270               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:47128               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:36891               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:54812               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:38941               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:35359               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:54304               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:47651               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:53283               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:38182               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-:portgate-auth CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:45356               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:42540               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:60460               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:55089               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:41522               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:42034               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:38451               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:54579               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:51254               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:45367               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:38199               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:4203 CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:39229               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:39750               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-:avocent-adsap CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:48456               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:41544               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:55113               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:37705               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:33353               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:33362               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.ads:drmsfsd CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:44376               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:45922               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:40546               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:38755               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:58214               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87:vvr-control CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:56935               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:57193               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:52332               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:55917               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:37745               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:60790               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:59254               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:4128 CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87:ept-machine CLOSE_WAIT  -
tcp        0   8108 apollo.youngwebsolution:ssh a80-101-51-26.adsl.xs:52323 ESTABLISHED 1017/0
tcp        1      0 young01:smtp                young01:36224               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210:ni-visa-remote CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:50321               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:51091               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:33428               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:56212               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:ubxd CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:58519               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:59290               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:nirp CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:55709               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:48549               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.adsl2.:4092 CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:41132               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:38573               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:34479               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:48315               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.ad:sdbproxy CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:51904               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:43458               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:55239               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:32973               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:49370               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:47837               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:46307               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:51684               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:50918               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:34794               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:36843               CLOSE_WAIT  -
tcp        1      0 apollo.youngwebsolutio:smtp ip16-196-210-87.ad:pxc-splr CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:56049               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:35315               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:36597               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:60667               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:48126               CLOSE_WAIT  -
tcp        1      0 young01:smtp                young01:52479               CLOSE_WAIT  -
[root@apollo ~]#
In a retry i was able to telnet to port 25, but i got nothing 'normal' like a helo message, just an escape message:
Code:
[root@apollo ~]#telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
This is not wat i suspect when telnetting to a mailserver!
Reply With Quote
  #15  
Old 29th July 2009, 15:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

And there's still nothing in your mail log?
What's the output of
Code:
ls -la /var/log/
?
__________________
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
  #16  
Old 29th July 2009, 15:25
kird03 kird03 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Output of ls -la /var/log

Code:
[root@apollo ~]#ls -la /var/log/
total 14244
drwxr-xr-x  7 root   root       4096 Jul 28 04:02 .
drwxr-xr-x 27 root   root       4096 Jul 15 11:33 ..
-rw-------  1 root   utmp   13539072 Jul 28 14:00 btmp
drwxr-xr-x  2 clamav clamav     4096 Jul 26 04:02 clamav
-rw-r--r--  1 root   root     409017 Jul 26 04:02 denyhosts
-rw-r--r--  1 root   root       5775 Jul 15 11:54 dmesg
-rw-------  1 root   root          0 Jun 14 18:02 fail2ban.log
-rw-------  1 root   root     160160 Jul 15 11:33 faillog
drwx------  2 root   root       4096 Jul 26 04:02 httpd
drwxr-xr-x  3 root   root       4096 Jul 17 05:19 ispconfig
-rw-r--r--  1 root   root      75262 Jul 15 12:10 ispconfig_install.log
-rw-r--r--  1 root   root    1461460 Jul 29 03:16 lastlog
-rw-r--r--  1 root   root          0 Jul 26 04:02 maillog
-rw-r--r--  1 root   root          0 Jul 19 04:02 maillog.1
-rw-r--r--  1 root   root          0 Jul 12 04:02 maillog.2
-rw-r--r--  1 root   root          0 Jul  5 04:02 maillog.3
-rw-r--r--  1 root   root          0 Jun 28 04:02 maillog.4
-rw-r--r--  1 root   root          0 Jul 26 04:02 messages
-rw-r--r--  1 root   root          0 Jul 19 04:02 messages.1
-rw-r--r--  1 root   root          0 Jul 12 04:02 messages.2
-rw-r--r--  1 root   root          0 Jul  5 04:02 messages.3
-rw-r--r--  1 root   root          0 Jun 28 04:02 messages.4
-rw-r-----  1 mysql  mysql     18861 Jul 15 12:30 mysqld.log
drwxr-xr-x  2 root   root       4096 Jun 14 15:18 pm
drwxr-xr-x  2 root   root       4096 Jun 19 04:02 prelink
-rw-------  1 root   root          0 Jun 21 04:02 pureftpd.log
-rw-------  1 root   root      75757 Jun 18 10:23 pureftpd.log.1
-rw-r--r--  1 root   root      23727 Jul 28 04:02 rpmpkgs
-rw-r--r--  1 root   root      23697 Jul 25 04:02 rpmpkgs.1
-rw-r--r--  1 root   root      23697 Jul 18 04:02 rpmpkgs.2
-rw-r--r--  1 root   root      23325 Jul 11 04:02 rpmpkgs.3
-rw-r--r--  1 root   root      23325 Jul  4 04:02 rpmpkgs.4
-rw-r--r--  1 root   root          0 Jun 18 06:06 sa-update.log
-rw-------  1 root   root          0 Jul 26 04:02 secure
-rw-------  1 root   root          0 Jul 19 04:02 secure.1
-rw-------  1 root   root          0 Jul 12 04:02 secure.2
-rw-------  1 root   root          0 Jul  5 04:02 secure.3
-rw-------  1 root   root          0 Jun 28 04:02 secure.4
-rw-------  1 root   root          0 Jul 26 04:02 spooler
-rw-------  1 root   root          0 Jul 19 04:02 spooler.1
-rw-------  1 root   root          0 Jul 12 04:02 spooler.2
-rw-------  1 root   root          0 Jul  5 04:02 spooler.3
-rw-------  1 root   root          0 Jun 28 04:02 spooler.4
-rw-------  1 root   root          0 Jun 14 15:21 tallylog
-rw-rw-r--  1 root   utmp     159360 Jul 29 03:16 wtmp
-rw-r--r--  1 root   root      37653 Jul 26 23:59 yum.log
[root@apollo ~]#
a log rotation file is created every week, but the size stays zero, so nothing is logged in my opion. File is really empty, when opening with VI it's an empty file.
Reply With Quote
  #17  
Old 30th July 2009, 19:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Hm, then I'm at my wit's end...
__________________
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
  #18  
Old 30th July 2009, 20:40
kird03 kird03 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

well.. as soon as i have some time, i might just gonna go over the whole thing once more, and redo the mail server part of the how-to, or try to get it working with webmin configuration or somehthing like that..

I'm lost as welll
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
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
CGI and FormMail Cracklefish Installation/Configuration 17 13th October 2009 13:40
some problem after installing perfect server setup for centos 5.3 and ispconfig 3 cobro Installation/Configuration 12 16th July 2009 21:45
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 06:27.


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