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 2nd November 2011, 17:53
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default HELP! New ISPConfig Upgrade Messed up server!

I was alerted to the new update of ISPConfig 3.0.4 and updated it. Now I cannot access the CPanel. All browers show "not found" still using port :8080
Luckily the sites are running, and I was able to access phpMyAdmin from the URL. Tried to do a DB repair to no avail. Still can't access CPanel.

Also, amavisd is just GONE! The mail server was working brilliantly until the update. Now Linux does not even recognize amavisd as a service.

Need help quick. Unhappy customers very soon. Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 2nd November 2011, 18:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

1) The amavis service can not have been removed by the update as there is no code to install or uninstall Linux system packages in the ispconfig updater. Please post the output of:

ls /etc/init.d/amavis*

2) When the websites are reachable, then apache is working and the controlpenal must be reachble too. Maybe you made a typo during update and it listens now to a different port. Please post the file

/etc/apache2/sites-available/ispconfig.vhost
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd November 2011, 18:15
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

For the first command line, I get a response simply to


/etc/init.d/amavisd (with no action) So I run this with "start". The outcome is:

Starting amavisd: drop_priv: No such username:

The second outcome is not available anyway, because I have never used apache2 for any commands so it is not recognized. Only httpd is recognized, so I simply followed the path in the root SSH file path like so:

/etc/httpd/conf/sites-available

Where usually my webserver is listed last, but is no longer there. What are the best ways to fix / repair amavisd and repair the webserver under "sites-available"?

Thanks Till
Reply With Quote
  #4  
Old 2nd November 2011, 18:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

1) Which Linux distribution do you use?
2) Is the whole /etc/httpd/conf/sites-available folder missing or just the file for the ispconfig vhost?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 2nd November 2011, 18:20
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Linux distro is Fedora 14 64 bit and nothing is missing. The actual file ispconfig.vhost is there.
Reply With Quote
  #6  
Old 2nd November 2011, 18:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Quote:
nothing is missing. The actual file ispconfig.vhost is there.
Ok, so please post the content of that file then.

Regarding amavis, please post the output of:

grep amavis /etc/passwd
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 3rd November 2011, 03:10
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default ISPConfig 3 update

Maybe Till will get this?
Since the upgrade of ISPConfig 3 to 3.0.4, I have been able to repair amavisd, but still get a 500 internal server error when trying to access ISPConfig CPanel on port 8080. I have checked log after log, and this is the only thing that I find (that fits the upgrade time frame). Repeated error:

PHP Notice: Use of undefined constant ISPC_CLASS_PATH - assumed 'ISPC_CLASS_PATH' in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:34:01 2011] [error] [client 173.93.151.171] PHP Warning: include_once(ISPC_CLASS_PATH/auth.inc.php): failed to open stream: No such file or directory in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:34:01 2011] [error] [client 173.93.151.171] PHP Warning: include_once(): Failed opening 'ISPC_CLASS_PATH/auth.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:34:01 2011] [error] [client 173.93.151.171] PHP Fatal error: Class 'auth' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 92
[Wed Nov 02 14:42:04 2011] [error] [client 173.93.151.171] PHP Notice: Use of undefined constant ISPC_CLASS_PATH - assumed 'ISPC_CLASS_PATH' in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:42:04 2011] [error] [client 173.93.151.171] PHP Warning: include_once(ISPC_CLASS_PATH/auth.inc.php): failed to open stream: No such file or directory in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:42:04 2011] [error] [client 173.93.151.171] PHP Warning: include_once(): Failed opening 'ISPC_CLASS_PATH/auth.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:42:04 2011] [error] [client 173.93.151.171] PHP Fatal error: Class 'auth' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 92
[Wed Nov 02 14:42:15 2011] [error] [client 173.93.151.171] PHP Notice: Use of undefined constant ISPC_CLASS_PATH - assumed 'ISPC_CLASS_PATH' in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:42:15 2011] [error] [client 173.93.151.171] PHP Warning: include_once(ISPC_CLASS_PATH/auth.inc.php): failed to open stream: No such file or directory in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:42:15 2011] [error] [client 173.93.151.171] PHP Warning: include_once(): Failed opening 'ISPC_CLASS_PATH/auth.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:42:15 2011] [error] [client 173.93.151.171] PHP Fatal error: Class 'auth' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 92

Hope you may be able to help? Amavisd was a nice chore, but it is not working. Thank you.
Reply With Quote
  #8  
Old 3rd November 2011, 09:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Quote:
Originally Posted by midcarolina View Post
Maybe Till will get this?
Since the upgrade of ISPConfig 3 to 3.0.4, I have been able to repair amavisd, but still get a 500 internal server error when trying to access ISPConfig CPanel on port 8080. I have checked log after log, and this is the only thing that I find (that fits the upgrade time frame). Repeated error:

PHP Notice: Use of undefined constant ISPC_CLASS_PATH - assumed 'ISPC_CLASS_PATH' in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:34:01 2011] [error] [client 173.93.151.171] PHP Warning: include_once(ISPC_CLASS_PATH/auth.inc.php): failed to open stream: No such file or directory in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:34:01 2011] [error] [client 173.93.151.171] PHP Warning: include_once(): Failed opening 'ISPC_CLASS_PATH/auth.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/ispconfig/interface/lib/app.inc.php on line 91
[Wed Nov 02 14:34:01 2011] [error] [client 173.93.151.171] PHP Fatal error: Class 'auth' not found in /usr/local/ispconfig/interface/lib/app.inc.php on line 92
1) What was the reason for the amavisd issue and how did you repair it?

2) Does the file /usr/local/ispconfig/interface/lib/config.inc.php exist? And does it contain this line?

define('ISPC_CLASS_PATH', ISPC_ROOT_PATH.'/lib/classes');
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3.0.4

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
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 19:10
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 13:04
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 10:32
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 13:47
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 18:02


All times are GMT +2. The time now is 02:37.


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