
2nd November 2011, 16:53
|
|
Senior Member
|
|
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
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.
|

2nd November 2011, 17:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
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
|

2nd November 2011, 17:15
|
|
Senior Member
|
|
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
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
|

2nd November 2011, 17:18
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
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?
|

2nd November 2011, 17:20
|
|
Senior Member
|
|
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Linux distro is Fedora 14 64 bit and nothing is missing. The actual file ispconfig.vhost is there.
|

2nd November 2011, 17:28
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
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
|

2nd November 2011, 17:30
|
|
Senior Member
|
|
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
This is the out come:
amavis:x:492:489::/var/spool/amavisd:/sbin/nologin
|

2nd November 2011, 17:38
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
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.
|

2nd November 2011, 17:45
|
|
Senior Member
|
|
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
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)
|

2nd November 2011, 17:54
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
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>
|
| 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:37.
|
Recent comments
1 day 5 hours ago
1 day 7 hours ago
1 day 19 hours ago
1 day 22 hours ago
2 days 2 hours ago
2 days 9 hours ago
2 days 18 hours ago
2 days 20 hours ago
3 days 4 hours ago
3 days 5 hours ago