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
  #11  
Old 27th February 2007, 12:38
mtoom mtoom is offline
Junior Member
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

its not a port forwarding issue...

it's an ISPconfig configuration issue.
Reply With Quote
Sponsored Links
  #12  
Old 27th February 2007, 12:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

The ISPConfig httpd never listens on port 80 if you did not cahnge the ports in the file /root/ispconfig/httpd/conf/httpd.conf manually.

Please start your normal webserver and the the ispconfig_server and then post the output of: netstat -tap
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 27th February 2007, 13:07
mtoom mtoom is offline
Junior Member
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default okay here you go

netstap tap
Quote:
[root@matthew web]# /etc/rc.d/init.d/ispconfig_server restart
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd stopped
ISPConfig system stopped!
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
You have new mail in /var/spool/mail/root
[root@matthew web]# netstat -e -a -l -T -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 *:mysql *:* LISTEN root 6848 3150/mysqld
tcp 0 0 *:sunrpc *:* LISTEN root 6282 2852/portmap
tcp 0 0 matthew.theplanet.host:http *:* LISTEN root 157263 2946/ispconfig_http
tcp 0 0 e2.dc.344a.static.theplanet.com:http *:* LISTEN root 157262 2946/ispconfig_http
tcp 0 0 *:81 *:* LISTEN root 157261 2946/ispconfig_http
tcp 0 0 e6.dc.344a.static.theplanet.com:domain *:* LISTEN named 157703 3063/named
tcp 0 0 e5.dc.344a.static.theplanet.com:domain *:* LISTEN named 157701 3063/named
tcp 0 0 e4.dc.344a.static.theplanet.com:domain *:* LISTEN named 157699 3063/named
tcp 0 0 e3.dc.344a.static.theplanet.com:domain *:* LISTEN named 157697 3063/named
tcp 0 0 e2.dc.344a.static.theplanet.com:domain *:* LISTEN named 157695 3063/named
tcp 0 0 matthew.theplanet.host:domain *:* LISTEN named 157693 3063/named
tcp 0 0 *:ipp *:* LISTEN root 6631 2986/cupsd
tcp 0 0 matthew.theplanet.host:rndc *:* LISTEN named 157706 3063/named
tcp 0 0 *:smtp *:* LISTEN root 157495 3035/master
tcp 0 0 matthew.theplanet.host:rndc matthew.theplanet.host:33321 TIME_WAIT root 0 -
tcp 0 0 *:imaps *:* LISTEN root 6881 3173/dovecot
tcp 0 0 *op3s *:* LISTEN root 6883 3173/dovecot
tcp 0 0 *op3 *:* LISTEN root 6882 3173/dovecot
tcp 0 0 *:imap *:* LISTEN root 6880 3173/dovecot
tcp 0 0 *:ftp *:* LISTEN nobody 157744 3081/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN root 6656 3031/sshd
tcp 0 5024 e2.dc.344a.static.theplanet.com:ssh cust-65-110-31-90.sfu-reznet.connectwest.net:61004 ESTABLISHED root 139683 28069/1
[root@matthew web]#
Reply With Quote
  #14  
Old 27th February 2007, 13:09
mtoom mtoom is offline
Junior Member
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i dont know if it is running on port 80 or not... what i mean is, maybe control panel is set up for both http & https by accident!
Reply With Quote
  #15  
Old 27th February 2007, 13:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

Your ISPConfig httpd is listening on port 80 too which is not possible without manually changing the httpd.conf file that I mentioned above.

Did you do any manual changes to this file? If yes, undo them.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 27th February 2007, 13:24
mtoom mtoom is offline
Junior Member
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
#Listen 3000
Listen 127.0.0.1:80
Listen 74.52.220.226:80
If I remove these lines and reboot, then http://www.domain.com/ goes dead...


Quote:
[root@matthew web]# netstat -e -a -l -T -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 *:mysql *:* LISTEN root 6848 3150/mysqld
tcp 0 0 *:sunrpc *:* LISTEN root 6282 2852/portmap
tcp 0 0 *:81 *:* LISTEN root 162248 4707/ispconfig_http
tcp 0 0 e6.dc.344a.static.theplanet.com:domain *:* LISTEN named 162734 4817/named
tcp 0 0 e5.dc.344a.static.theplanet.com:domain *:* LISTEN named 162732 4817/named
tcp 0 0 e4.dc.344a.static.theplanet.com:domain *:* LISTEN named 162730 4817/named
tcp 0 0 e3.dc.344a.static.theplanet.com:domain *:* LISTEN named 162728 4817/named
tcp 0 0 e2.dc.344a.static.theplanet.com:domain *:* LISTEN named 162726 4817/named
tcp 0 0 matthew.theplanet.host:domain *:* LISTEN named 162724 4817/named
tcp 0 0 *:ipp *:* LISTEN root 6631 2986/cupsd
tcp 0 0 matthew.theplanet.host:rndc *:* LISTEN named 162737 4817/named
tcp 0 0 *:smtp *:* LISTEN root 162533 4791/master
tcp 0 0 *:imaps *:* LISTEN root 6881 3173/dovecot
tcp 0 0 *op3s *:* LISTEN root 6883 3173/dovecot
tcp 0 0 *op3 *:* LISTEN root 6882 3173/dovecot
tcp 0 0 *:imap *:* LISTEN root 6880 3173/dovecot
tcp 0 0 *:ftp *:* LISTEN nobody 162775 4835/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN root 6656 3031/sshd
tcp 0 4328 e2.dc.344a.static.theplanet.com:ssh cust-65-110-31-90.sfu-reznet.connectwest.net:61004 ESTABLISHED root 139683 28069/1
[root@matthew web]#
netstat -tap after removing the lines & restarting ispconfig...

Last edited by mtoom; 27th February 2007 at 13:53.
Reply With Quote
  #17  
Old 27th February 2007, 13:30
mtoom mtoom is offline
Junior Member
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

no still not working ...

Last edited by mtoom; 27th February 2007 at 13:33.
Reply With Quote
  #18  
Old 27th February 2007, 13:32
mtoom mtoom is offline
Junior Member
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i thought it was fixed but no...

www.domain.com gives a dead link when i removed those lines

Last edited by mtoom; 27th February 2007 at 13:53.
Reply With Quote
  #19  
Old 27th February 2007, 13:41
mtoom mtoom is offline
Junior Member
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
[root@matthew web]# killall httpd
[root@matthew web]# ps aux | grep httpd
root 5888 0.0 1.7 17024 8684 ? Ss 06:37 0:00 /root/ispconfig/httpd/bin/ispconfig_httpd -DSSL
102 5902 0.4 1.7 17276 8764 ? S 06:37 0:00 /root/ispconfig/httpd/bin/ispconfig_httpd -DSSL
102 6044 0.1 1.7 17180 8588 ? S 06:37 0:00 /root/ispconfig/httpd/bin/ispconfig_httpd -DSSL
root 6145 0.0 0.1 4128 644 pts/1 S+ 06:40 0:00 grep httpd
[root@matthew web]# killall ispconfig_httpd
[root@matthew web]# ps aux | grep httpd
root 6150 0.0 0.1 3680 644 pts/1 S+ 06:40 0:00 grep httpd
[root@matthew web]# /etc/rc.d/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...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
[root@matthew web]# httpd -k start
[root@matthew web]# netstat -e -a -l -T -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 *:mysql *:* LISTEN root 6848 3150/mysqld
tcp 0 0 *:sunrpc *:* LISTEN root 6282 2852/portmap
tcp 0 0 matthew.theplanet.host:http *:* LISTEN root 168478 6408/httpd
tcp 0 0 e2.dc.344a.static.theplanet.com:http *:* LISTEN root 168480 6408/httpd
tcp 0 0 *:81 *:* LISTEN root 167896 6270/ispconfig_http
tcp 0 0 e6.dc.344a.static.theplanet.com:domain *:* LISTEN named 168382 6380/named
tcp 0 0 e5.dc.344a.static.theplanet.com:domain *:* LISTEN named 168380 6380/named
tcp 0 0 e4.dc.344a.static.theplanet.com:domain *:* LISTEN named 168378 6380/named
tcp 0 0 e3.dc.344a.static.theplanet.com:domain *:* LISTEN named 168376 6380/named
tcp 0 0 e2.dc.344a.static.theplanet.com:domain *:* LISTEN named 168374 6380/named
tcp 0 0 matthew.theplanet.host:domain *:* LISTEN named 168372 6380/named
tcp 0 0 *:ipp *:* LISTEN root 6631 2986/cupsd
tcp 0 0 matthew.theplanet.host:rndc *:* LISTEN named 168385 6380/named
tcp 0 0 *:smtp *:* LISTEN root 168174 6354/master
tcp 0 0 matthew.theplanet.host:rndc matthew.theplanet.host:33364 TIME_WAIT root 0 -
tcp 0 0 *:imaps *:* LISTEN root 6881 3173/dovecot
tcp 0 0 *op3s *:* LISTEN root 6883 3173/dovecot
tcp 0 0 *op3 *:* LISTEN root 6882 3173/dovecot
tcp 0 0 *:imap *:* LISTEN root 6880 3173/dovecot
tcp 0 0 *:ftp *:* LISTEN nobody 168423 6398/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN root 6656 3031/sshd
tcp 0 0 *:https *:* LISTEN root 168483 6408/httpd
tcp 0 5024 e2.dc.344a.static.theplanet.com:ssh cust-65-110-31-90.sfu-reznet.connectwest.net:61004 ESTABLISHED root 139683 28069/1
[root@matthew web]#
Doing this appears to make everything work... but only if I type "httpd -k start" ... Just starting the ISP config server doesn't make the httpd work...

Is that normal?
Reply With Quote
  #20  
Old 27th February 2007, 14:03
mtoom mtoom is offline
Junior Member
 
Join Date: Feb 2007
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

thank you very very much for all your help Till

the reason I am so crazy about getting this working... is because in 36 hours my old server goes offline (if I want to keep it longer, I have to pay $99 US)... and I must transfer all client websites and switch DNS within 36 hours or I lose $100
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
Dspam planet_fox General 6 20th January 2007 18:42
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
jamed up my table borders?? Boon-Dog-Danny Installation/Configuration 5 23rd September 2006 16:12
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 03:44.


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