HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   bastille-firewall startup script not running (http://www.howtoforge.com/forums/showthread.php?t=57408)

ryan_lsq 25th May 2012 03:50

bastille-firewall startup script not running
 
Hi there,

I have an odd issue. The Bastille-firewall is not running at startup.

I can run /etc/init.d/bastille-firewall start manually and it executes perfectly fine and sets up iptables exactly as stated in my ISPConfig admin panel.

However, it seems I must do this after every reboot of the server.

I've tried
Code:

# update-rc.d bastille-firewall defaults
and all I get back is
Code:

System start/stop links for /etc/init.d/bastille-firewall already exist.
but they don't seem to want to run.

any ideas?

I'm running on Ubuntu 12.04 Server.

Thanks in advance,

Ryan.

ryan_lsq 25th May 2012 05:19

I managed to fix it. Two reboots have shown it now works.

Somewhere along the line, the script /etc/init.d/bastille-firewall had become unexecutable, so a simple chmod +x /etc/init.d/bastille-firewall did the trick.

I honestly have NO idea why this happened, but I'm glad it's sorted now.


All times are GMT +2. The time now is 23:34.

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