View Full Version : problem with upgrade to 2.2.34
brianetilley
5th November 2009, 16:04
After what appeared to be a successful upgrade I can no longer login to the ISPConfig Web Manager. All of my sites are OK. Any suggestions greatly appreciated.
falko
6th November 2009, 14:58
Which distribution do you use?
Did you try to restart ISPConfig?
/etc/init.d/ispconfig_server restart
brianetilley
6th November 2009, 16:46
I am Using Debian 4.0
When trying to restart the system I received this error;
www:~# /etc/init.d/ispconfig_server restart
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
Syntax error on line 1073 of /root/ispconfig/httpd/conf/httpd.conf:
ServerName takes one argument, The hostname of the server
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
No results found!ISPConfig system is now up and running!
Brian
till
6th November 2009, 17:28
Please post line 1073 of the file /root/ispconfig/httpd/conf/httpd.conf
brianetilley
6th November 2009, 20:46
When I open /root/ispconfig/httpd/conf/httpd.conf with vi this is what I get;
This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://www.apache.org/docs/> for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# After this file is processed, the server will look for and process
# /root/ispconfig/httpd/conf/srm.conf and then /root/ispconfig/httpd/conf/access
.conf
# unless you have overridden these with ResourceConfig and/or
# AccessConfig directives here.
#
# The configuration directives are grouped into three basic sections:
/root/ispconfig/httpd/conf/httpd.conf: unmodified: line 1
Brian
falko
7th November 2009, 20:20
Try this:
vi +1073 /root/ispconfig/httpd/conf/httpd.conf
brianetilley
7th November 2009, 22:49
This is what I get;
<IfDefine SSL>
##
## SSL Virtual Host Context
##
<VirtualHost _default_:81>
# General setup for the virtual host
DocumentRoot "/home/admispconfig/ispconfig/web"
ServerName
ServerAdmin root@
ErrorLog /root/ispconfig/httpd/logs/error_log
TransferLog /root/ispconfig/httpd/logs/access_log
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
# See the mod_ssl documentation for a complete list.
/root/ispconfig/httpd/conf/httpd.conf: unmodified: line 1073
falko
8th November 2009, 14:49
ServerName
ServerAdmin root@This is where the problem is. Try
ServerName localhost
ServerAdmin root@localhost
brianetilley
8th November 2009, 16:09
When I enter;
ServerName localhost
ServerAdmin root@localhost
at the command line, this is what I get.
www:~# ServerName localhost
-bash: ServerName: command not found
www:~# ServerAdmin root@localhost
-bash: ServerAdmin: command not found
localhost
returns
www.hostesp1.com
This is correct
falko
9th November 2009, 14:12
You must change the lines in /root/ispconfig/httpd/conf/httpd.conf. These are no commands for the command line.
brianetilley
9th November 2009, 16:27
I am not sure on how to do this. Should I copy a generic httpd.conf file to the server and then modify the appropriate lines? If this OK what changes should I make? thanks...
falko
10th November 2009, 18:27
You can edit a file on the command line with vi. Take a look here: http://www.howtoforge.com/faq/12_15_en.html
brianetilley
10th November 2009, 18:41
I apologize for not making myself clear. I have already tried to edit the file using vi at the command line...the results are what I have already posted. I need to know what changes need to be made to either the existing file or to a new generic file. As an alternative, can I do a remote install of the new version of ISPConfig. thanks...
falko
11th November 2009, 15:10
You must change
ServerName
ServerAdmin root@
to
ServerName localhost
ServerAdmin root@localhost
in the existing file.
brianetilley
11th November 2009, 17:22
That worked :) and I was able to access the web admin page. Every website I open under 'Sites' in 'ISP Manager' has the 'Domain:' and all other options blank. When I enter the correct values I get the following error message;
[QUOTE]
This website already has 0 user(s). You cannot decrease the number of users.
This website already has 0 domain(s). You cannot decrease the number of domains.
This website already has 0 database(s). You cannot decrease the number of databases.
Invalid domain name: ""/QUOTE]
I did update to 2.2.34, but am still getting this same error. Thanks very much for your help...
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.