Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th August 2006, 01:02
brightshadow brightshadow is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig httpd

Alright, I got everything working now, I can access my server, but when I go to view the services on ISPConfig, it shows httpd is offline. I check on the server and it's running and I've tried restarting ispconfig and the whole server, but still shows the same thing.

Also, I am getting the error that says that it's currently updating the feature or whatever when trying to restart httpd and other things on ISPConfig.

Last edited by brightshadow; 5th August 2006 at 01:19.
Reply With Quote
Sponsored Links
  #2  
Old 6th August 2006, 06:56
brightshadow brightshadow is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Whew, I was messing around with the settings and almost killed my ISPConfig installation, it wouldn't even start anymore for a while, but set it back to normal but the problem still remains. I still can't get httpd to show up online and instead of ISPConfig handling the domain i have pointed to it, my fedora default page shows up.
Reply With Quote
  #3  
Old 6th August 2006, 13:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please make sure APache is listening als on 127.0.0.1 because that's the IP address that ISPConfig checks to see if APache is up. What's the output of
Code:
netstat -tap
?
What's in Vhosts_ispconfig.conf?
__________________
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
  #4  
Old 7th August 2006, 06:59
brightshadow brightshadow is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 2538/mysqld
tcp 0 0 *:47279 *:* LISTEN 2181/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 2162/portmap
tcp 0 0 75.27.81.221:http *:* LISTEN 2944/httpd
tcp 0 0 localhost:50000 *:* LISTEN 2405/hpiod
tcp 0 0 *:hosts2-ns *:* LISTEN 2922/ispconfig_http
tcp 0 0 localhost:50002 *:* LISTEN 2410/python
tcp 0 0 192.168.1.79:domain *:* LISTEN 3039/named
tcp 0 0 75.27.81.221:domain *:* LISTEN 3039/named
tcp 0 0 localhost:domain *:* LISTEN 3039/named
tcp 0 0 localhost:ipp *:* LISTEN 22794/cupsd
tcp 0 0 localhost:rndc *:* LISTEN 3039/named
tcp 0 0 *:smtp *:* LISTEN 3013/master
tcp 0 0 *:imaps *:* LISTEN 2561/dovecot
tcp 0 0 *op3s *:* LISTEN 2561/dovecot
tcp 0 0 *op3 *:* LISTEN 2561/dovecot
tcp 0 0 *:imap *:* LISTEN 2561/dovecot
tcp 0 0 *:ftp *:* LISTEN 3057/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN 2429/sshd
tcp 0 0 ::1:rndc *:* LISTEN 3039/named
tcp 0 0 *:https *:* LISTEN 2944/httpd
tcp 0 2780 ::ffff:75.27.81.221:ssh c-71-57-112-173.hs:datusorb ESTABLISHED 5833/1

Ok, the status was the 127.0.0.1 on apache. Got that working. But I am still getting the error that it's updating. I'll post that contents of the file tomorrow

Last edited by brightshadow; 7th August 2006 at 07:12.
Reply With Quote
  #5  
Old 7th August 2006, 13:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by brightshadow
But I am still getting the error that it's updating. I'll post that contents of the file tomorrow
Also post the output of
Code:
ls -la /root/ispconfig
These threads might be interesting for you: http://www.howtoforge.com/forums/sho...d_zonefile_dir
http://www.howtoforge.com/forums/sho...d_zonefile_dir
__________________
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
  #6  
Old 7th August 2006, 14:34
brightshadow brightshadow is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
ls -la /root/ispconfig
total 108
drwxr-xr-x  9 root root  4096 Aug  4 17:27 .
drwxr-x--- 18 root root  4096 Aug  7 07:22 ..
-rwxr-xr-x  1 root root 40157 Jul 21 12:02 cronolog
-rwxr-xr-x  1 root root  9673 Jul 21 12:02 cronosplit
drwxr-xr-x 12 root root  4096 Jul 21 11:25 httpd
drwxr-xr-x 12 root root  4096 Jul 21 12:02 isp
-rw-r--r--  1 root root     0 Aug  7 00:16 .ispconfig_lock
-rw-r--r--  1 root root     8 Aug  7 00:16 .old_path_httpd_root
drwxr-xr-x  6 root root  4096 Jul 21 11:21 openssl
drwxr-xr-x  6 root root  4096 Jul 21 11:30 php
drwxr-xr-x  4 root root  4096 Jul 21 12:02 scripts
drwxr-xr-x  4 root root  4096 Jul 21 12:02 standard_cgis
drwxr-xr-x  2 root root  4096 Jul 21 12:02 sv
-rwx------  1 root root  9389 Jul 21 12:02 uninstall
Vhosts_ispconfig.conf:
Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost 75.27.81.221:80
<VirtualHost 75.27.81.221:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 75.27.81.221:80
<VirtualHost 75.27.81.221:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: db.er-center.com:80
######################################
#
#
<VirtualHost 75.27.81.221:80>
ServerName db.er-center.com:80
ServerAdmin webmaster@er-center.com
DocumentRoot /var/www/web8/web
ServerAlias er-center.com 
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web8/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web8/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web8/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web8/phptmp/
php_admin_value session.save_path /var/www/web8/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web8/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3
</VirtualHost>
#
#
#
Reply With Quote
  #7  
Old 8th August 2006, 10:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

Your httpd is not listening on localhost, thats why ISPConfig shows the httpd offline.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 8th August 2006, 17:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please run
Code:
rm -f /root/ispconfig/.ispconfig_lock
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
What's the output?
Also, what's the output of
Code:
ifconfig
?
__________________
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
  #9  
Old 8th August 2006, 21:01
brightshadow brightshadow is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah, I solved the 127.0.0.1 listen problem.

here is if config
Code:
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:17:31:C4:4F:33
          inet addr:75.27.81.221  Bcast:75.27.81.255  Mask:255.255.255.0
          inet6 addr: fe80::217:31ff:fec4:4f33/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:303716 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20209947 (19.2 MiB)  TX bytes:17768809 (16.9 MiB)
          Interrupt:10 Base address:0xa000

eth1      Link encap:Ethernet  HWaddr 00:17:31:C4:56:74
          inet addr:192.168.1.79  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::217:31ff:fec4:5674/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:499790 errors:0 dropped:0 overruns:0 frame:0
          TX packets:138634 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:246756385 (235.3 MiB)  TX bytes:14051134 (13.4 MiB)
          Interrupt:11 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8072 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8072 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2693366 (2.5 MiB)  TX bytes:2693366 (2.5 MiB)
Reply With Quote
  #10  
Old 9th August 2006, 15:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

What about this?
Quote:
Originally Posted by falko
Please run
Code:
rm -f /root/ispconfig/.ispconfig_lock
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
What's the output?
__________________
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
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
cannot access ispconfig site Nu2Linux Installation/Configuration 13 3rd January 2009 15:29
ISPConfig Install Error badenzer Installation/Configuration 2 23rd June 2006 00:20
ISPconfig error: ERROR: The syntax of your httpd.conf is not ok marclar Installation/Configuration 5 3rd June 2006 22:25
ISPConfig 2.3.1-dev released till General 0 8th May 2006 22:18
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 09:57.


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