
19th October 2011, 11:26
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
ISPConfig 3.0.3.3, postfix error during clean install
-Issue resolved-
Hi,
I followed the tutorial for Ubuntu 10.04 lts to install ISPConfig 3.0.3.3. During the actual install of ISPConfig (last part) I receive the following error so I assume the install failed and would need to reinstall (preferably not of course)?
1. How to remove failed install to reinstall?
2. Error:
PHP Warning: copy(/etc/postfix/main.cf): failed to open stream: No such file or directory in /root/temp/ispconfig3_install/install/lib/installer_base.lib.php on line 789
I do not see a main.cf in /etc/postfix/
Any hints would be much appreciated,
thanks
Last edited by louitz; 19th October 2011 at 20:17.
|

19th October 2011, 11:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Seems as if postfix is not installed on your server. Which tutorial did you use to install the server?
|

19th October 2011, 11:37
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
Quote:
Originally Posted by till
Seems as if postfix is not installed on your server. Which tutorial did you use to install the server?
|
Hi till thanks for your quick reply!
I used this tutorial:
http://www.howtoforge.com/perfect-se...nx-ispconfig-3
I installed postfix as per the tutorial, I will post the tap later today.
|

19th October 2011, 11:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Postfix is not installed on the server when main.cf is missing. Maybe there was a typo in the install commands, so that apt could not install it.
Please redo the whole mail installation chapter from the tutorial and then try to install ispconfig again.
|

19th October 2011, 12:00
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
Quote:
Originally Posted by till
Postfix is not installed on the server when main.cf is missing. Maybe there was a typo in the install commands, so that apt could not install it.
Please redo the whole mail installation chapter from the tutorial and then try to install ispconfig again.
|
Ok, will reinstall postfix because I do see the daemon starting when the machine boots.
Do I need to uninstall the current ispconfig installation, or just start the installer again?
|

19th October 2011, 12:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
|
Ok, will reinstall postfix because I do see the daemon starting when the machine boots.
|
Then you might try to reinstall postfix by adding "--reinstall" to the apt-get statement, as it can not work when all its config files are missing.
Quote:
|
Do I need to uninstall the current ispconfig installation, or just start the installer again?
|
Use the update.php script instead of the instll script and choose to reconfigure services during update.
|
|
The Following User Says Thank You to till For This Useful Post:
|
louitz (19th October 2011)
|

19th October 2011, 19:48
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
Quote:
Originally Posted by till
Then you might try to reinstall postfix by adding "--reinstall" to the apt-get statement, as it can not work when all its config files are missing.
Use the update.php script instead of the instll script and choose to reconfigure services during update.
|
Hey till,
I reinstalled the postfix items using --reinstall option in apt, and noticed this message when it was completed:
"Postfix is not set up, start with
cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf <snip>"
Post fix is running, will do the update install of ISPconfig now, I'll let you know - thanks for the hint
|

19th October 2011, 20:14
|
|
Junior Member
|
|
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
The manual mentions installing multiple packages in one syntax regarding the mail part, which is perfectly fine:
"aptitude install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl getmail4 rkhunter binutils maildrop "
However I wasn't paying close enough attention to the output/feedback of the scripts of the various packages and missed the message:
"Postfix is not set up, start with
cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf <snip>"
This caused the following error message when setting loose the ISPConfig3 install script, and stuff didn't work afterwards:
PHP Warning: copy(/etc/postfix/main.cf): failed to open stream: No such file or directory in /root/temp/ispconfig3_install/install/lib/installer_base.lib.php on line 789
I copied main.cf as described above and started postfix, without issues.
So thanks to till for the above and below, then I reinstalled the postfix packages:
apt-get install --reinstall postfix postfix-mysql postfix-doc
And then ran the ispconfig3 update script instead of install script, and chose the 'reconfigure packages option':
php -q update.php
Admin page reachable and able to login after that, so all working fine.
I have the new ispconfig3 manual, so stuff is only starting now.
Thanks for your help!
Louis
|
|
The Following User Says Thank You to louitz For This Useful Post:
|
falko (20th October 2011)
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 03:22.
|
|
Recent comments
1 day 2 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 13 hours ago
2 days 3 hours ago
2 days 3 hours ago
2 days 8 hours ago
2 days 15 hours ago
2 days 16 hours ago
2 days 17 hours ago