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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th September 2007, 17:32
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default Migrate server A to server B problem

Hi ISPConfig team,

I have migrate server A to server B (Server B was installing with the perfect debian etch setup with ispconfig 2.2.16), but I have two problem :

1) My server can't receive e-mail, when I look /var/log/mail.log, I have this :

Quote:
cronos:/var/log# tail -n20 /var/log/mail.log
Sep 11 17:15:34 cronos postfix/master[529]: warning: process /usr/lib/postfix/cleanup pid 858 exit status 1
Sep 11 17:15:34 cronos postfix/master[529]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Sep 11 17:15:34 cronos postfix/cleanup[859]: fatal: trace: remove EE85C10070 log: Permission denied
Sep 11 17:15:35 cronos postfix/pickup[532]: warning: premature end-of-input on public/cleanup socket while reading input attribute name
Sep 11 17:15:35 cronos postfix/master[529]: warning: process /usr/lib/postfix/cleanup pid 859 exit status 1
Sep 11 17:15:44 cronos postfix/smtpd[862]: connect from smtp27.orange.fr[80.12.242.94]
Sep 11 17:16:34 cronos postfix/cleanup[925]: fatal: trace: remove CAFDD10070 log: Permission denied
Sep 11 17:16:34 cronos postfix/cleanup[926]: fatal: trace: remove CCE9B10071 log: Permission denied
Sep 11 17:16:35 cronos postfix/master[529]: warning: process /usr/lib/postfix/cleanup pid 925 exit status 1
Sep 11 17:16:35 cronos postfix/master[529]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Sep 11 17:16:35 cronos postfix/pickup[532]: warning: premature end-of-input on public/cleanup socket while reading input attribute name
Sep 11 17:16:35 cronos postfix/master[529]: warning: process /usr/lib/postfix/cleanup pid 926 exit status 1
Sep 11 17:16:35 cronos postfix/smtpd[862]: warning: premature end-of-input on public/cleanup socket while reading input attribute name
Sep 11 17:16:35 cronos postfix/smtpd[862]: fatal: unable to connect to the public cleanup service
Sep 11 17:16:36 cronos postfix/master[529]: warning: process /usr/lib/postfix/smtpd pid 862 exit status 1
Sep 11 17:16:36 cronos postfix/master[529]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Sep 11 17:17:35 cronos postfix/cleanup[975]: fatal: trace: remove 163CB10070 log: Permission denied
Sep 11 17:17:36 cronos postfix/master[529]: warning: process /usr/lib/postfix/cleanup pid 975 exit status 1
Sep 11 17:17:36 cronos postfix/master[529]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Sep 11 17:17:36 cronos postfix/pickup[532]: warning: premature end-of-input on public/cleanup socket while reading input attribute name
2) I have problem for restart mysql :

Quote:
cronos:/var/log# /etc/init.d/mysql restart
Stopping MySQL database server: mysqld failed!
Starting MySQL database server: mysqld already running.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
cronos:/var/log#
I've search on google with no result ... If you are an answer about this ?

Thank you for your help
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's

Last edited by Gimly; 11th September 2007 at 17:34.
Reply With Quote
Sponsored Links
  #2  
Old 12th September 2007, 18:14
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

No answers ?
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
Reply With Quote
  #3  
Old 12th September 2007, 18:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

What exactly did you move to the new server? It looks as if you have overridden the mysql system tables and the /var/log directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 12th September 2007, 18:21
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

I have move all my folder and database server A to B, I used this script Total Desaster Recovery
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
Reply With Quote
  #5  
Old 12th September 2007, 20:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I think it's better to do it this way: http://www.howtoforge.com/forums/sho...ving+ispconfig
__________________
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
  #6  
Old 12th September 2007, 21:31
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

I reinstall postfix and move my backup of server A to B with your directive in the other post and now I have this error :

Code:
Sep 12 21:24:20 cronos postfix/cleanup[22751]: fatal: trace: remove 50B1710091 log: Permission denied
Sep 12 21:24:21 cronos postfix/pickup[21549]: warning: premature end-of-input on public/cleanup socket while reading input attribute name
Sep 12 21:24:21 cronos postfix/master[21547]: warning: process /usr/lib/postfix/cleanup pid 22751 exit status 1
Sep 12 21:24:21 cronos postfix/master[21547]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Sep 12 21:24:21 cronos postfix/cleanup[22752]: fatal: trace: remove 53CAA10091 log: Permission denied
Sep 12 21:24:22 cronos postfix/pickup[21549]: warning: premature end-of-input on public/cleanup socket while reading input attribute name
Sep 12 21:24:22 cronos postfix/master[21547]: warning: process /usr/lib/postfix/cleanup pid 22752 exit status 1
Sep 12 21:25:01 cronos postfix/anvil[22681]: statistics: max connection rate 1/60s for (smtp:80.12.242.97) at Sep 12 21:23:15
Sep 12 21:25:01 cronos postfix/anvil[22681]: statistics: max connection count 1 for (smtp:80.12.242.97) at Sep 12 21:23:15
Sep 12 21:25:01 cronos postfix/anvil[22681]: statistics: max cache size 1 at Sep 12 21:23:15
Sep 12 21:25:21 cronos postfix/cleanup[22823]: fatal: trace: remove 8BD7710091 log: Permission denied
Sep 12 21:25:22 cronos postfix/pickup[21549]: warning: premature end-of-input on public/cleanup socket while reading input attribute name
Sep 12 21:25:22 cronos postfix/master[21547]: warning: process /usr/lib/postfix/cleanup pid 22823 exit status 1
I've search on postfix website, but no answer ...
I think, i will send e-mail on mailing list support postfix.
Or if you have an other idea ... thank you
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
Reply With Quote
  #7  
Old 13th September 2007, 18:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in your /etc/postfix/main.cf?
__________________
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
  #8  
Old 13th September 2007, 21:22
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

There are :

Quote:
cronos:/home/romain# cat /etc/postfix/main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = cronos.<my domain>.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = cronos.<my domain>.org, localhost.<my domain>.org, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
cronos:/home/romain#
Thank you
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's

Last edited by Gimly; 17th September 2007 at 18:46.
Reply With Quote
  #9  
Old 14th September 2007, 18:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Looks good.

It seems to be some permission problem. Have you tried to reboot the system?
__________________
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
  #10  
Old 16th September 2007, 19:13
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
 
Default

No,

Ok reboot it and I test.
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
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
Mail Server Problem after "How To Fight Spam Using Your Postfix Configuration" bluegrass Installation/Configuration 3 27th December 2006 16:03
Postfix and external mail server problem! JimmiJames Server Operation 2 6th September 2006 15:32
Postfix problem or no? blackbeard Server Operation 1 28th July 2006 09:12
Mail not working Roadracer Installation/Configuration 16 30th December 2005 23:40
POP3 SMTP FTP problem arsu Installation/Configuration 1 11th November 2005 09:32


All times are GMT +2. The time now is 10:57.


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