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 12th August 2011, 04:46
unsichtbare unsichtbare is offline
Senior Member
 
Join Date: Sep 2007
Posts: 111
Thanks: 18
Thanked 7 Times in 6 Posts
Default Webserver shows offline but is online

So I just did a new ISPConfig on Ubuntu 10.04 and (after I fixed the password), I noticed that under Services, the Web-server and BIND-Server shows offline:

Web-Server:
Offline
FTP-Server:
Online
SMTP-Server:
Online
POP3-Server:
Online
BIND-Server:
Offline
mySQL-Server:
Online

But it is clearly serving websites and at the command line:
Code:
root@main:/# /etc/init.d/apache2 status
Apache is running (pid 3582).
root@main:/# /etc/init.d/bind9 restart
 * Stopping domain name service... bind9                                                                                                              [ OK ]
 * Starting domain name service... bind9                                                                                                              [ OK ]
root@main:/# /etc/init.d/bind9 status
 * could not access PID file for bind9
root@main:/# netstat -tap | grep www
tcp        0      0 *:www                   *:*                     LISTEN      3582/apache2
root@main:/etc/apache2# httpd -t
httpd: bad user name ${APACHE_RUN_USER}
So what's going on?
__________________
Ubuntu 14.04 - The Perfect Setup
ISPConfig 3.0.5
http://www.vmsources.com

Last edited by unsichtbare; 12th August 2011 at 05:33.
Reply With Quote
Sponsored Links
  #2  
Old 13th August 2011, 11:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Sometimes there's a delay in updating the Monitoring details. Does it still show these services as offline?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th August 2011, 19:31
unsichtbare unsichtbare is offline
Senior Member
 
Join Date: Sep 2007
Posts: 111
Thanks: 18
Thanked 7 Times in 6 Posts
Default

Yes, still offline.

What about the:

root@main:/etc/apache2# httpd -t
httpd: bad user name ${APACHE_RUN_USER}
__________________
Ubuntu 14.04 - The Perfect Setup
ISPConfig 3.0.5
http://www.vmsources.com
Reply With Quote
  #4  
Old 14th August 2011, 00:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Make sure that you apache server listens on localhost too.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th August 2011, 02:32
unsichtbare unsichtbare is offline
Senior Member
 
Join Date: Sep 2007
Posts: 111
Thanks: 18
Thanked 7 Times in 6 Posts
Default

Where do I check?
__________________
Ubuntu 14.04 - The Perfect Setup
ISPConfig 3.0.5
http://www.vmsources.com
Reply With Quote
  #6  
Old 14th August 2011, 12:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

You can check that with:

netstat -tap | grep apache

or


netstat -tap | grep http
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 14th August 2011, 15:52
unsichtbare unsichtbare is offline
Senior Member
 
Join Date: Sep 2007
Posts: 111
Thanks: 18
Thanked 7 Times in 6 Posts
Default

I apologize; I get a bit rusty between webserver deployments.

Code:
root@main:~# netstat -tap | grep apache
tcp        0      0 *:www                   *:*                     LISTEN      1405/apache2
tcp        0      0 *:https                 *:*                     LISTEN      1405/apache2
root@main:~# netstat -tap | grep http
tcp        0      0 *:81                    *:*                     LISTEN      1365/ispconfig_http
tcp        0      0 *:https                 *:*                     LISTEN      1405/apache2
root@main:~#
__________________
Ubuntu 14.04 - The Perfect Setup
ISPConfig 3.0.5
http://www.vmsources.com
Reply With Quote
  #8  
Old 16th August 2011, 11:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

That's ok. Please post the content of the /etc/hosts file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 16th August 2011, 20:37
unsichtbare unsichtbare is offline
Senior Member
 
Join Date: Sep 2007
Posts: 111
Thanks: 18
Thanked 7 Times in 6 Posts
Default

Code:
127.0.0.1       localhost.localdomain
24.156.37.146   main.azwebdesigns.com   main

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
__________________
Ubuntu 14.04 - The Perfect Setup
ISPConfig 3.0.5
http://www.vmsources.com
Reply With Quote
  #10  
Old 16th August 2011, 21:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
 
Default

Ändere bitte die Zeile:

127.0.0.1 localhost.localdomain

in

127.0.0.1 localhost localhost.localdomain
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
unsichtbare (17th August 2011)
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
HTTP service online but offline at ISPCONFIG3-Centos5.3 RomaSvcs Installation/Configuration 6 17th January 2014 23:23
Courier issues, new install, cant connect Smitherines Server Operation 9 14th April 2011 16:25
Clamd dying same time each day. mpl Server Operation 13 15th February 2011 15:03
User constantly loggin into mail? bswinnerton Installation/Configuration 2 24th March 2008 00:12


All times are GMT +2. The time now is 15:45.


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