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 10th November 2008, 14:55
lexthoonen lexthoonen is offline
Junior Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation upgrading problem - web server can't start

Hi, this morning i noticed a subdomain not being reachable. Then I found out BIND service wasn't running and I couldn't get it to restart. I figured I might upgrade ispconfig. I'm running ubuntu 6.06

(I backed up the 'old' ispconfig database)

When I did as explained on this page: http://www.ispconfig.org/manual_installation.htm

I never got a 'upgrading' message or so, everything looked as if it was a new install.

At the end, I got this as address to login to:
http://88.208.xx.xx:81

doesn't work, neither does the 'old' one.

I can still reach the server using putty. The sites are still there, but when I try to start apache it gives me a 'fail' message.

What do I do apart from freaking out completely? Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 10th November 2008, 17:16
lexthoonen lexthoonen is offline
Junior Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now, I've been retrying several times to upgrade, learning about the settings as I went, and somehow it now works. ispconfig has even picked up the old sites, no need to restore the database or so. However, BIND-Server is still 'offline'. What could cause that?

(Now off to a relax-clinic)
Reply With Quote
  #3  
Old 11th November 2008, 14:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's the output of
Code:
netstat -tap
? Do you see any errors when you start BIND manually?
__________________
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 12th November 2008, 09:56
lexthoonen lexthoonen is offline
Junior Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

netstat -tap:
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:imaps                 *:*                     LISTEN     4002/couriertcpd
tcp        0      0 *:mysql                 *:*                     LISTEN     4096/mysqld
tcp        0      0 *:pop3                  *:*                     LISTEN     4317/dovecot
tcp        0      0 *:imap2                 *:*                     LISTEN     5138/couriertcpd
tcp        0      0 server2.penghost.co:www *:*                     LISTEN     5028/apache2
tcp        0      0 server2.penghost.co:www cpc1-rdng8-0-0-cu:60054 SYN_RECV   -
tcp        0      0 server2.penghost.co:www a88-113-69-245.el:60094 SYN_RECV   -
tcp        0      0 server2.penghost.co:www a88-113-69-245.el:60091 SYN_RECV   -
tcp        0      0 server2.penghost.co:www cpc1-rdng8-0-0-cu:60052 SYN_RECV   -
tcp        0      0 server2.penghost.co:www cpc1-rdng8-0-0-cu:60041 SYN_RECV   -
tcp        0      0 server2.penghost.co:www a88-113-69-245.el:60085 SYN_RECV   -
tcp        0      0 server2.penghost.co:www cpc1-rdng8-0-0-cu:60053 SYN_RECV   -
tcp        0      0 server2.penghost.co:www a88-113-69-245.el:60092 SYN_RECV   -
tcp        0      0 server2.penghost.co:www a88-113-69-245.el:60095 SYN_RECV   -
tcp        0      0 server2.penghost.co:www a88-113-69-245.el:60086 SYN_RECV   -
tcp        0      0 server2.penghost.co:www a88-113-69-245.el:60093 SYN_RECV   -
tcp        0      0 localhost:www           *:*                     LISTEN     5028/apache2
tcp        0      0 *:81                    *:*                     LISTEN     4489/ispconfig_http
tcp        0      0 *:ftp                   *:*                     LISTEN     4381/proftpd: (acce
tcp        0      0 *:ssh                   *:*                     LISTEN     4271/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN     31269/master
tcp        0      0 server2.penghost.c:smtp smtp1.sbb.co.yu:40075   ESTABLISHED16976/smtpd
tcp        0      0 server2.penghost.co:www dsl-roibrasgw1-fe:21568 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www server2.penghost.:42779 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www dsl-roibrasgw1-fe:21573 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www 193.34.231.234:53051    TIME_WAIT  -
tcp        0      0 server2.penghost.co:www 84-104-176-117.cab:1209 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www 84-104-176-117.cab:1206 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www 62.140.137.30:51968     ESTABLISHED18816/apache2
tcp        0      0 server2.penghost.co:www 84-104-176-117.cab:1207 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www 62.140.137.30:51990     ESTABLISHED19020/apache2
tcp        0      0 server2.penghost.co:www 193.34.231.234:53059    TIME_WAIT  -
tcp        0      0 server2.penghost.co:www dsl-roibrasgw1-fe:21565 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www dsl-roibrasgw1-fe:21553 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www 62.140.137.30:53314     ESTABLISHED18136/apache2
tcp        0      0 server2.penghost.co:www dsl-roibrasgw1-fe:21559 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www dsl-roibrasgw1-fe:21547 TIME_WAIT  -
tcp        0      0 server2.penghost.c:smtp muzinda.com:3032        ESTABLISHED19073/smtpd
tcp        0      0 server2.penghost.co:www 62.140.137.30:49565     ESTABLISHED19358/apache2
tcp        0      0 server88-208-232-:55800 hsphere.cc:www          TIME_WAIT  -
tcp        0      0 server88-208-232-:55801 hsphere.cc:www          TIME_WAIT  -
tcp        0      0 server88-208-232-:55795 hsphere.cc:www          TIME_WAIT  -
tcp        0      0 server88-208-232-:55793 hsphere.cc:www          TIME_WAIT  -
tcp        0      0 server88-208-232-:55799 hsphere.cc:www          TIME_WAIT  -
tcp        0      0 server88-208-232-:55796 hsphere.cc:www          TIME_WAIT  -
tcp        0      0 localhost:34040         localhost:www           TIME_WAIT  -
tcp        0      0 server2.penghost.co:www 62.140.137.30:51967     ESTABLISHED19444/apache2
tcp        0      0 server2.penghost.co:www llf320046.crawl.y:45970 ESTABLISHED17967/apache2
tcp        0      0 server2.penghost.co:www ip4da21b3c.direct:63042 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www llf520177.crawl.y:32947 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www llf520177.crawl.y:60859 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www 212.159.198.12:24425    FIN_WAIT2  -
tcp        0  13141 server2.penghost.co:www a163151.upc-a.che:49546 FIN_WAIT1  -
tcp        0      0 server2.penghost.co:www host86-156-127-251:1122 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www dh112.public.mod.:38337 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www host86-156-127-251:1121 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www host86-156-127-251:1120 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www llf520177.crawl.y:35326 TIME_WAIT  -
tcp        0   1688 server2.penghost.co:ssh 12.Red-88-28-226.s:1176 ESTABLISHED19663/0
tcp        0      0 server2.penghost.co:www host86-156-127-251:1115 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www host86-156-127-251:1114 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www llf520177.crawl.y:60608 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www host86-156-127-251:1119 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www host86-156-127-251:1118 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www host86-156-127-251:1117 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www host86-156-127-251:1116 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www llf520177.crawl.y:60366 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www llf520177.crawl.y:59962 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www llf520177.crawl.y:59690 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www llf520177.crawl.y:60163 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www dh108.public.mod.:26173 TIME_WAIT  -
tcp        0      0 server2.penghost.co:www llf520177.crawl.y:59473 TIME_WAIT  -
When I try to start bind manually:
Code:
root@server2:~# /etc/init.d/bind9 start
/etc/default/bind9: line 1: -t: command not found
 * Starting domain name service...                                                  [ ok ]
But if I then go to ispconfig - services, BIND still shows as offline.

Thanks for replying by the way!
Reply With Quote
  #5  
Old 13th November 2008, 15:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's in /etc/default/bind9?
__________________
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 13th November 2008, 17:02
lexthoonen lexthoonen is offline
Junior Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just this:

OPTIONS="-u bind" -t /var/lib/named
# Set RESOLVCONF=no to not run resolvconf
RESOLVCONF=yes
~
Reply With Quote
  #7  
Old 14th November 2008, 13:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Change
Code:
OPTIONS="-u bind" -t /var/lib/named
to

Code:
OPTIONS="-u bind -t /var/lib/named"
__________________
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
  #8  
Old 14th November 2008, 13:30
lexthoonen lexthoonen is offline
Junior Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for that. Made the change, tried starting manually, got the 'ok' message again, went to ispconfig, DNS Service still showing as offline, and can't get it to work...
Reply With Quote
  #9  
Old 15th November 2008, 13:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Do you get any other errors now? What's in /var/log/syslog when you start BIND? What's the output of
Code:
netstat -tap
?
__________________
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

Tags
services not running, upgrade

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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Reciving mail problem kaliszakpl Installation/Configuration 1 18th March 2008 10:15
Can't start apache Musty Server Operation 12 9th March 2008 13:58
Loadbalanced apache web server with sticky sessions jorge.gonzalez HOWTO-Related Questions 6 19th June 2007 15:25


All times are GMT +2. The time now is 04:37.


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