Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th July 2006, 10:58
Esuk Esuk is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default can't access the admin interface, apache lost the conf?

A couple of days ago the hosting company where my server is standing had some netissues and my server was offline for a couple of hours. When the server came back again I couldn't access the ISPConfig Admin page anymore.
(located at https://87.237.208.94:81)

I have browsed these forums for a while to see if I can find a solution to my problem but nothing seems to do the trick for me.

- I checked wheter or not ISPconfig was running but it wasn't so I started it but still no luck in accessing the admin page.

- I checked my "netstat -tap" but can't find any problems there

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 13655/dovecot
tcp 0 0 *op3s *:* LISTEN 13655/dovecot
tcp 0 0 *:mysql *:* LISTEN 13844/mysqld
tcp 0 0 *op3 *:* LISTEN 13655/dovecot
tcp 0 0 *:imap *:* LISTEN 13655/dovecot
tcp 0 0 *:http *:* LISTEN 21712/httpd
tcp 0 0 *:ftp *:* LISTEN 21852/proftpd: (acc
tcp 0 0 87.237.208.95:domain *:* LISTEN 21829/named
tcp 0 0 87.237.208.94:domain *:* LISTEN 21829/named
tcp 0 0 217042:domain *:* LISTEN 21829/named
tcp 0 0 *:ssh *:* LISTEN 13692/sshd
tcp 0 0 217042:rndc *:* LISTEN 21829/named
tcp 0 0 *:smtp *:* LISTEN 21802/master
tcp 0 0 *:https *:* LISTEN 21712/httpd
tcp 0 0 87.237.208.94:ssh 1-1-13-47a.gmt.gbg.bos:2872 ESTABLISHED 17848/sshd: root@no
tcp 0 968 87.237.208.94:ssh 1-1-13-47a.gmt.gbg.bos:2873 ESTABLISHED 17881/0

- I then turned to apache and the httpd.conf and when I looked thrue it I can't find any directions to listen on port 81 for ISPConfig. The only things I have is my vhosts and they are working nice.

I suspect that it's the apache conf that is missing but I don't know how to restore it.

My httpd.conf can be found here http://www.esuk.se/temp/httpd.conf
and the vhosts here http://www.esuk.se/temp/Vhosts_ispconfig.conf
Reply With Quote
Sponsored Links
  #2  
Old 24th July 2006, 11:03
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Well I can't see any apache listening on Port 81.

There is an http on 80 and 443 but that's the one for your website, not the one ISPConfig is using.
Try /etc/init.d/ispconfig_server start

Because if I make a netstat -tap then there is sth like
Quote:
tcp 0 0 *:81 *:* LISTEN 1450/ispconfig_http
Reply With Quote
  #3  
Old 24th July 2006, 11:03
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 820
Thanked 5,321 Times in 4,174 Posts
Default

First, the directions to listen on port 81 are not in your apache configuration, ISPConfig has its own apache installed in /root/ispconfig/httpd/ so your apache configuration is OK.

Please run:

/etc/init.d/ispconfig_server start
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 24th July 2006, 11:11
Esuk Esuk is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your quick response

/etc/init.d/ispconfig_server start
Starting ISPConfig system...
[Mon Jul 24 11:05:26 2006] [alert] ispconfig_httpd: Could not determine the server's fully qualified domain name, using 0.3.79.210 for ServerName
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
FreshClam is already running!
ISPConfig system is now up and running!

netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 13655/dovecot
tcp 0 0 *op3s *:* LISTEN 13655/dovecot
tcp 0 0 *:mysql *:* LISTEN 13844/mysqld
tcp 0 0 *op3 *:* LISTEN 13655/dovecot
tcp 0 0 *:imap *:* LISTEN 13655/dovecot
tcp 0 0 *:http *:* LISTEN 9749/httpd
tcp 0 0 *:ftp *:* LISTEN 9874/proftpd: (acce
tcp 0 0 87.237.208.95:domain *:* LISTEN 9855/named
tcp 0 0 87.237.208.94:domain *:* LISTEN 9855/named
tcp 0 0 217042:domain *:* LISTEN 9855/named
tcp 0 0 *:ssh *:* LISTEN 13692/sshd
tcp 0 0 217042:rndc *:* LISTEN 9855/named
tcp 0 0 *:smtp *:* LISTEN 9832/master
tcp 0 0 *:https *:* LISTEN 9749/httpd
tcp 0 0 87.237.208.94:ssh 1-1-13-47a.gmt.gbg.bos:2872 ESTABLISHED 17848/sshd: root@no
tcp 0 1452 87.237.208.94:ssh 1-1-13-47a.gmt.gbg.bos:2873 ESTABLISHED 17881/0
tcp 0 0 87.237.208.95op3 1-1-13-47a.gmt.gbg.bos:4036 TIME_WAIT -

doesn't seem to get the :81 for ISPConfig and the Admin interface isn't avaiable :/
Reply With Quote
  #5  
Old 24th July 2006, 11:14
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

does /root/ispconfig/httpd/logs/error.log tell anything between a stop and restart?
Maybe is httpd crashed?
Reply With Quote
  #6  
Old 24th July 2006, 11:20
Esuk Esuk is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had a look and it shows a lot of errors.

[Mon Jul 24 09:15:01 2006] [alert] ispconfig_httpd: Could not determine the serv
er's fully qualified domain name, using 0.3.79.210 for ServerName
[Mon Jul 24 09:15:01 2006] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?
[Mon Jul 24 09:15:02 2006] [error] mod_ssl: Init: (87.237.208.94:81) Unable to c
onfigure RSA server private key (OpenSSL library error follows)
[Mon Jul 24 09:15:02 2006] [error] OpenSSL: error:0B080074:x509 certificate rout
ines:X509_check_private_key:key values mismatch
[Mon Jul 24 09:37:41 2006] [alert] ispconfig_httpd: Could not determine the serv
er's fully qualified domain name, using 0.3.79.210 for ServerName
[Mon Jul 24 09:37:41 2006] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?
[Mon Jul 24 09:37:41 2006] [error] mod_ssl: Init: (87.237.208.94:81) Unable to c
onfigure RSA server private key (OpenSSL library error follows)
[Mon Jul 24 09:37:41 2006] [error] OpenSSL: error:0B080074:x509 certificate rout
ines:X509_check_private_key:key values mismatch
[Mon Jul 24 09:44:14 2006] [alert] ispconfig_httpd: Could not determine the serv
er's fully qualified domain name, using 0.3.79.210 for ServerName
[Mon Jul 24 09:44:14 2006] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?
[Mon Jul 24 09:44:15 2006] [error] mod_ssl: Init: (87.237.208.94:81) Unable to c
onfigure RSA server private key (OpenSSL library error follows)
[Mon Jul 24 09:44:15 2006] [error] OpenSSL: error:0B080074:x509 certificate rout
ines:X509_check_private_key:key values mismatch
[Mon Jul 24 11:05:27 2006] [alert] ispconfig_httpd: Could not determine the serv
er's fully qualified domain name, using 0.3.79.210 for ServerName
[Mon Jul 24 11:05:27 2006] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?
[Mon Jul 24 11:05:27 2006] [error] mod_ssl: Init: (87.237.208.94:81) Unable to c
onfigure RSA server private key (OpenSSL library error follows)
[Mon Jul 24 11:05:27 2006] [error] OpenSSL: error:0B080074:x509 certificate rout
ines:X509_check_private_key:key values mismatch
[Mon Jul 24 11:13:54 2006] [alert] ispconfig_httpd: Could not determine the serv
er's fully qualified domain name, using 0.3.79.210 for ServerName
[Mon Jul 24 11:13:54 2006] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?
[Mon Jul 24 11:13:55 2006] [error] mod_ssl: Init: (87.237.208.94:81) Unable to c
onfigure RSA server private key (OpenSSL library error follows)
[Mon Jul 24 11:13:55 2006] [error] OpenSSL: error:0B080074:x509 certificate rout
ines:X509_check_private_key:key values mismatch
[Mon Jul 24 11:15:30 2006] [alert] ispconfig_httpd: Could not determine the serv
er's fully qualified domain name, using 0.3.79.210 for ServerName
[Mon Jul 24 11:15:30 2006] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?
[Mon Jul 24 11:15:30 2006] [error] mod_ssl: Init: (87.237.208.94:81) Unable to c
onfigure RSA server private key (OpenSSL library error follows)
[Mon Jul 24 11:15:30 2006] [error] OpenSSL: error:0B080074:x509 certificate rout
ines:X509_check_private_key:key values mismatch
Reply With Quote
  #7  
Old 24th July 2006, 11:30
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Quote:
[Mon Jul 24 09:37:41 2006] [error] mod_ssl: Init: (87.237.208.94:81) Unable to c
onfigure RSA server private key (OpenSSL library error follows)
[Mon Jul 24 09:37:41 2006] [error] OpenSSL: error:0B080074:x509 certificate rout
ines:X509_check_private_key:key values mismatch
That seems if anything with your ssl certs is broken...

if i look at
Quote:
[Mon Jul 24 09:15:01 2006] [warn] pid file /root/ispconfig/httpd/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?
Would that time match the "network" crash of your provider? If yes, sure that it was only the network not the powerline? Maybe a power loss on your server caused a demage on your filesystem destroying any certs?
Or just take a look at you uptime to see if your server was rebooted withoud you knowledge...
Reply With Quote
  #8  
Old 24th July 2006, 11:35
Esuk Esuk is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I re-generated the server cert as described by falko in this thread http://www.howtoforge.com/forums/sho...58&postcount=4 and after restarting ISPConfig the problem was solved.
(I can now access the admin interface and I got ISPConfig listening on port 81)

netstat -tap
tcp 0 0 *:81 *:* LISTEN 22042/ispconfig_htt

Thank you all for your help, I don't regret changing from "the Pleskvirus" to ISPConfig, my best decission ever!
Reply With Quote
Reply

Bookmarks

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
Problems with Apache and Updating Jubalint Installation/Configuration 2 21st May 2006 19:50
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26
Lost all access to vps after install Median Installation/Configuration 6 22nd January 2006 10:37
Admin Tools for Apache and/or VSFTP slken Server Operation 1 9th October 2005 12:26


All times are GMT +2. The time now is 16:05.


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