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 19th October 2011, 11:26
louitz louitz is offline
Junior Member
 
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 19th October 2011, 11:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Seems as if postfix is not installed on your server. Which tutorial did you use to install the server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th October 2011, 11:37
louitz louitz is offline
Junior Member
 
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
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.
Reply With Quote
  #4  
Old 19th October 2011, 11:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 19th October 2011, 12:00
louitz louitz is offline
Junior Member
 
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
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?
Reply With Quote
  #6  
Old 19th October 2011, 12:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,177
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
louitz (19th October 2011)
  #7  
Old 19th October 2011, 19:48
louitz louitz is offline
Junior Member
 
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
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
Reply With Quote
  #8  
Old 19th October 2011, 20:14
louitz louitz is offline
Junior Member
 
Join Date: Oct 2011
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
 
Default

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
Reply With Quote
The Following User Says Thank You to louitz For This Useful Post:
falko (20th October 2011)
Reply

Bookmarks

Tags
10.04, install, ispconfig 3.0.3.3, main.cf, postfix

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
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 17 19th June 2013 22:58
Maia MailGuard in ISPC3 warlock Tips/Tricks/Mods 7 23rd December 2010 05:51
Maia Mailguard with ISPconfig seangee Installation/Configuration 4 24th June 2010 09:08
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 14:42
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46


All times are GMT +2. The time now is 22:46.


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