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 24th September 2008, 21:06
mytux mytux is offline
Junior Member
 
Join Date: Sep 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Firewall config not updated in 2.2.25

I have upgraded to ISPConfig 2.2.25. I wanted now to add a port and disable some others in the Firewall section. In the GUI I see all the changes, but they are not written to /etc/Bastille/bastille-firewall.cfg and also by checking with 'iptables -L' my changes are not done.

What is wrong in my setup?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 25th September 2008, 00:05
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 416
Thanks: 33
Thanked 23 Times in 18 Posts
Send a message via ICQ to radim_h
Default same problem

as described here
http://www.howtoforge.com/forums/sho...725#post146725
Reply With Quote
  #3  
Old 25th September 2008, 10:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

But the firewall config from radim_h is written as you can see from the iptables output.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 25th September 2008, 11:00
mytux mytux is offline
Junior Member
 
Join Date: Sep 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
But the firewall config from radim_h is written as you can see from the iptables output.
No, he just has the defaults set. But radim_h has configured a lot more ports than that. IMAPS, POP3S, VMWARE, FTPS, SMTPS, MYSQL, ... are all missing in iptables output.
Reply With Quote
  #5  
Old 26th September 2008, 16:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

Are there any warnings in /home/admispconfig/ispconfig/ispconfig.log?
What's the output of
Code:
ls -la /root/ispconfig
?
__________________
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 28th September 2008, 22:43
mytux mytux is offline
Junior Member
 
Join Date: Sep 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No Warnings in the log file.

Output is:

[root@tux ~]# ls -la /root/ispconfig
insgesamt 100
drwxr-xr-x 9 root root 4096 16. Sep 23:38 .
drwxr-x--- 27 root root 4096 16. Sep 22:45 ..
-rwxr-xr-x 1 root root 33526 16. Sep 22:45 cronolog
-rwxr-xr-x 1 root root 9673 16. Sep 22:45 cronosplit
drwxr-xr-x 12 root root 4096 16. Sep 22:39 httpd
drwxr-xr-x 16 root root 4096 16. Sep 22:45 isp
-rw-r--r-- 1 root root 0 24. Sep 21:57 .ispconfig_lock
-rw-r--r-- 1 root root 14 24. Sep 21:57 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 16. Sep 22:38 openssl
drwxr-xr-x 6 root root 4096 16. Sep 22:43 php
drwxr-xr-x 4 root root 4096 16. Sep 22:45 scripts
drwxr-xr-x 4 root root 4096 16. Sep 22:45 standard_cgis
drwxr-xr-x 2 root root 4096 16. Sep 22:45 sv
-rwx------ 1 root root 9389 16. Sep 22:45 uninstall
Reply With Quote
  #7  
Old 29th September 2008, 09:23
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 416
Thanks: 33
Thanked 23 Times in 18 Posts
Send a message via ICQ to radim_h
Default

Here is mine:

web1:~# ls -la /root/ispconfig
total 108
drwxr-xr-x 9 root root 4096 2008-09-28 15:51 .
drwxr-xr-x 12 root root 4096 2008-09-25 00:15 ..
-rwxr-xr-x 1 root root 41628 2008-09-02 23:38 cronolog
-rwxr-xr-x 1 root root 9673 2008-09-02 23:38 cronosplit
drwxr-xr-x 12 root root 4096 2008-09-02 23:31 httpd
drwxr-xr-x 15 root root 4096 2008-09-03 01:42 isp
-rw-r--r-- 1 root root 8 2008-09-28 15:51 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 2008-09-02 23:29 openssl
drwxr-xr-x 6 root root 4096 2008-09-02 23:37 php
drwxr-xr-x 4 root root 4096 2008-09-02 23:38 scripts
drwxr-xr-x 4 root root 4096 2008-09-02 23:38 standard_cgis
drwxr-xr-x 2 root root 4096 2008-09-02 23:38 sv
-rwx------ 1 root root 9389 2008-09-02 23:38 uninstall
Reply With Quote
  #8  
Old 29th September 2008, 17:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

Quote:
Originally Posted by mytux View Post
No Warnings in the log file.

Output is:

[root@tux ~]# ls -la /root/ispconfig
insgesamt 100
drwxr-xr-x 9 root root 4096 16. Sep 23:38 .
drwxr-x--- 27 root root 4096 16. Sep 22:45 ..
-rwxr-xr-x 1 root root 33526 16. Sep 22:45 cronolog
-rwxr-xr-x 1 root root 9673 16. Sep 22:45 cronosplit
drwxr-xr-x 12 root root 4096 16. Sep 22:39 httpd
drwxr-xr-x 16 root root 4096 16. Sep 22:45 isp
-rw-r--r-- 1 root root 0 24. Sep 21:57 .ispconfig_lock
-rw-r--r-- 1 root root 14 24. Sep 21:57 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 16. Sep 22:38 openssl
drwxr-xr-x 6 root root 4096 16. Sep 22:43 php
drwxr-xr-x 4 root root 4096 16. Sep 22:45 scripts
drwxr-xr-x 4 root root 4096 16. Sep 22:45 standard_cgis
drwxr-xr-x 2 root root 4096 16. Sep 22:45 sv
-rwx------ 1 root root 9389 16. Sep 22:45 uninstall
Please run
Code:
rm -f /root/ispconfig/.ispconfig_lock
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
Does the last command show any errors?
__________________
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 30th September 2008, 08:21
mytux mytux is offline
Junior Member
 
Join Date: Sep 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Please run
Code:
rm -f /root/ispconfig/.ispconfig_lock
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
Does the last command show any errors?
No Errors so far, but two warnings (removed the domainname):


postmap: warning: /etc/postfix/virtusertable.db: duplicate entry: "admin@xxxxx.com"
postmap: warning: /etc/postfix/virtusertable.db: duplicate entry: "admin@yyyyy.com"

After that it stops with a segmentation fault!

I the log /home/admispconfig/ispconfig/ispconfig.log I can see this:
30.09.2008 - 08:15:07 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
30.09.2008 - 08:15:07 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
30.09.2008 - 08:15:07 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
30.09.2008 - 08:15:07 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1265: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf~
30.09.2008 - 08:15:07 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/postfix stop &> /dev/null
30.09.2008 - 08:15:08 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/postfix start &> /dev/null

So it breaks after restarting postfix somewhere...

Any idea?

Last edited by mytux; 30th September 2008 at 08:25. Reason: log entries
Reply With Quote
  #10  
Old 30th September 2008, 09:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
 
Default

Most likely ist a problem with bind.

1) Which Linux distribution do you use?
2) Which path to the named files is shown in ispaconfig under management > server > settings on the dns tab?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 18:37
Postfix problem vaio1 General 4 17th October 2007 10:27
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
Anyone figured out to integrate FuzzyOCR into ISPConfig on Ubuntu? friday Installation/Configuration 16 10th May 2007 16:25
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 00:09


All times are GMT +2. The time now is 16:11.


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