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, 16: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, 17:05
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

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, 17: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, 17:18
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

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, 17: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, 17:28
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:
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 2nd November 2011, 17:30
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

This is the out come:


amavis:x:492:489::/var/spool/amavisd:/sbin/nologin
Reply With Quote
  #8  
Old 2nd November 2011, 17:38
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

Please try this:

cp -pf /etc/amavisd/amavisd.conf /etc/amavisd/amavisd.conf.bak
cp -pf /etc/amavisd/amavisd.conf~ /etc/amavisd/amavisd.conf
/etc/init.d/amavisd start

and dont forget to post the requested ispconfig.vhost file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 2nd November 2011, 17:45
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

I receive the same returned error. I am asked if I want to replace the conf file, so I continue on, then run /etc/init.d/amavisd start - outcome:

Starting amavisd: drop_priv: No such username:

ispconfig.vhost is there, the file is empty (the stated size is 0 and opening it in a code editor, it is empty...nothing)
Reply With Quote
  #10  
Old 2nd November 2011, 17:54
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

Check in the /etc/amavisd/amavisd.conf file which user and group are set in the file for amavisd and then check if the user and group exist in /etc/passwd and /etc/group

- How did you install the update?
- Did you receive any errors during update on the shell?
- Is your hardisk full? Check with:

df -h


Regarding the empty ispconfig.vhost file, please find the content below:

Code:
######################################################
# This virtual host contains the configuration
# for the ISPConfig controlpanel
######################################################

NameVirtualHost *:8080

<VirtualHost _default_:8080>
  ServerAdmin webmaster@localhost
  
  <IfModule mod_fcgid.c>
    DocumentRoot /var/www/ispconfig/
    SuexecUserGroup ispconfig ispconfig
    <Directory /var/www/ispconfig/>
      Options Indexes FollowSymLinks MultiViews +ExecCGI
      AllowOverride AuthConfig Indexes Limit Options FileInfo
      AddHandler fcgid-script .php
      FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
      Order allow,deny
      Allow from all
    </Directory>
  </IfModule>
  
  <IfModule mod_php5.c>
    DocumentRoot /usr/local/ispconfig/interface/web/
    AddType application/x-httpd-php .php
    <Directory /usr/local/ispconfig/interface/web>
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
	  php_value magic_quotes_gpc        0
    </Directory>
  </IfModule>
  
  # ErrorLog /var/log/apache2/error.log
  # CustomLog /var/log/apache2/access.log combined
  ServerSignature Off
  
  <IfModule mod_security2.c>
    SecRuleEngine Off
  </IfModule>

  # SSL Configuration
  {ssl_comment}SSLEngine On
  {ssl_comment}SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
  {ssl_comment}SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key

</VirtualHost>

<Directory /var/www/php-cgi-scripts>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<Directory /var/www/php-fcgi-scripts>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>
__________________
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 18:10
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 09:32
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 12:47
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 17:02


All times are GMT +2. The time now is 08:55.


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