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 18th April 2011, 02:48
Akina Akina is offline
Junior Member
 
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 2 Times in 1 Post
Default

i am new linux user (Newbie) , but check this :


Debian LSB Info - http://wiki.debian.org/LSBInitScripts

For Bastille - firewall Info: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460860
Resources: http://ftp.debian.org/debian/pool/main/b/bastille/


vi /etc/init.d/bastille-firewall

Code:
#!/bin/bash
#
### BEGIN INIT INFO
# Provides:          bastille-firewall
# Required-Start:    $network
# Required-Stop:     $network
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Load/unload ipchains rulesets
# Description:       A firewall/packet-filter script for Linux systems 
#                    that allows the machine to be used as a gateway system
### END INIT INFO
#
# chkconfig: 2345 5 98
#
# $Id: bastille-firewall,v 1.6 2002/02/24 17:19:14 peterw Exp $
# Copyright (c) 1999-2002 Peter Watkins
-vi /etc/init.d/ispconfig_server

Code:
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: ispconfig_server
# Required-Start: $network $syslog
# Required-Stop: $network
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Description: Start or stop the ISPConfig server
### END INIT INFO
Reply With Quote
The Following 2 Users Say Thank You to Akina For This Useful Post:
sinjab (24th May 2011), xrat (16th August 2011)
Sponsored Links
  #12  
Old 24th May 2011, 23:36
sinjab sinjab is offline
Junior Member
 
Join Date: Jan 2007
Posts: 21
Thanks: 3
Thanked 1 Time in 1 Post
Smile [SOLVED] ISPConfig 2 won't auto start on boot on Debian Squeeze

Thanks Akina,

I have followed The Perfect Server guide for Debian 6 with ISPConfig 2.2.38. But, ispconfig_server won't auto start on boot. I have added the lines you mentioned in the headers of /etc/init.d/bastille-firewall and /etc/init.d/ispconfig_server. Then I ran:
Code:
insserv ispconfig_server
Reboot, and now ISPConfig 2 will auto start on boot .

Quote:
Originally Posted by Akina View Post
i am new linux user (Newbie) , but check this :


Debian LSB Info - http://wiki.debian.org/LSBInitScripts

For Bastille - firewall Info: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460860
Resources: http://ftp.debian.org/debian/pool/main/b/bastille/


vi /etc/init.d/bastille-firewall

Code:
#!/bin/bash
#
### BEGIN INIT INFO
# Provides:          bastille-firewall
# Required-Start:    $network
# Required-Stop:     $network
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Load/unload ipchains rulesets
# Description:       A firewall/packet-filter script for Linux systems 
#                    that allows the machine to be used as a gateway system
### END INIT INFO
#
# chkconfig: 2345 5 98
#
# $Id: bastille-firewall,v 1.6 2002/02/24 17:19:14 peterw Exp $
# Copyright (c) 1999-2002 Peter Watkins
-vi /etc/init.d/ispconfig_server

Code:
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: ispconfig_server
# Required-Start: $network $syslog
# Required-Stop: $network
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Description: Start or stop the ISPConfig server
### END INIT INFO
Reply With Quote
  #13  
Old 24th August 2011, 09:22
xrat xrat is offline
Member
 
Join Date: Nov 2006
Location: Vienna, Austria
Posts: 56
Thanks: 68
Thanked 15 Times in 12 Posts
Exclamation

Be warned that an ISPconfig upgrade overwrites the init.d scripts.
I've upgraded 2.2.40 to 2.2.40 (no typo here) and found that
Code:
/etc/init.d/bastille-firewall
/etc/init.d/ispconfig_server
were overwritten, hence I lost the LSB info.
A backup was created of bastille-firewall, but not of the ispconfig_server script.

Last edited by xrat; 24th August 2011 at 09:23. Reason: cosmetics
Reply With Quote
  #14  
Old 30th May 2012, 09:42
Spaetzle Spaetzle is offline
Member
 
Join Date: Sep 2005
Posts: 56
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi

I put the headers given by Akina into /etc/insserv/overrides/bastille-firewall and /etc/insserv/overrides/ispconfig_server.
This solved my problems with errors when running "dpkg-reconfigure sysv-rc".

This might be a solution that is not overwritten when an update of ispconfig is done. But I hope the next version (will there be another) of ispconfig2 will handle this out of the box.


Best regars
Bernd
Reply With Quote
  #15  
Old 30th May 2012, 09:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

The ISPConfig 2 software reached end of life, there will be no updates released in future.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 30th May 2012, 10:48
Spaetzle Spaetzle is offline
Member
 
Join Date: Sep 2005
Posts: 56
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

Hi
Too bad.
So we will need to go for ispconfig3. Is there a good howto for migrating an ispconfig2 server to ispconfig3?

Best regards ...
Bernd

EDIT: Sorry for hijacking this thread ...

Last edited by Spaetzle; 30th May 2012 at 10:49. Reason: One mor line of text.
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
HowTo start developing ISPConfig till Developers' Forum 15 16th October 2012 10:36
ispconfig together with other portal app Mr_Miyagi Installation/Configuration 2 24th March 2007 17:19
ISPConfig not reponding fbnewtz General 2 10th September 2006 14:27
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 21:01
Ispconfig doesn't start at boot? natewlew Installation/Configuration 2 25th June 2006 20:55


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


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