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 5th June 2007, 00:17
plenkeske plenkeske is offline
Junior Member
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default segmentation fault after updating DNS settings

I saw a couple of posts about segmentation faults so maybe this can help :

After updating the default secondary DNS settings in Management > Server > Settings > DNS I noticed that my zone files were not being updated anymore. The server had been running fine for almost a year so this was new for me ...

A couple of posts mentioned running "writeconf.php" manually so when I tried this ("/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php") I got a segmentation fault.

After a lot more debugging I found that the reason for the segfault was an empty value for "server_bind_zonefile_dir" in the "isp_server table" !! Updating this field in the web did not change anything : the column stayed empty and the field in the web was set to "/etc/bind".
However after updating the database manually with the correct "server_bind_zonefile_dir" value my problem was finally fixed and the segmentation fault disappeared.

I'm running CentOS 4.4 and ISPConfig 2.2.9

hope this helps ...

Maarten
Reply With Quote
The Following User Says Thank You to plenkeske For This Useful Post:
till (5th June 2007)
Sponsored Links
  #2  
Old 5th June 2007, 11:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Please make sure that the directory where the bind files are stored is world readable, then you should be able to change it from the interface.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th June 2007, 19:35
plenkeske plenkeske is offline
Junior Member
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

You're right, the bind folder was not world readable, after changing this the field could be updated in the interface.

Thanks
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
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
Segmentation fault with /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf. AlecWeb Installation/Configuration 5 28th July 2006 20:25
Ubunt 6.06, Quota, Segmentation Fault eldaria HOWTO-Related Questions 3 23rd June 2006 00:09
PHP version... ctroyp Installation/Configuration 102 10th November 2005 13:24


All times are GMT +2. The time now is 07:45.


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