Can't change DNS options: "Your changes cannot be saved...item updated" For a day

Discussion in 'General' started by bpmee, Sep 4, 2006.

  1. bpmee

    bpmee New Member

    Hi All,

    I'm trying setup my own nameservers.

    So far I've added all the domains and IPs to the ISPconfig control panel.

    Now, I'm trying to edit the nameserver section under the DNS manager.

    When I try to change a nameserver, however, I get this error:

    "Your changes cannot be saved because this item is currently being updated"
    :confused:

    I saw this error elsewhere on the board, and it was suggested that I wait a few minutes.

    So I did........but now 1.5 days later, I still get this message! What's going on???:(

    Thanks for your help........:)
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Which distribution do you use? What's the output of
    Code:
    ls -la /root/ispconfig
    ?
     
  3. bpmee

    bpmee New Member

    Thanks for your reply Falko, here is the output

    Hi Falko,

    Thanks so much for your reply:) , Here is the output:

    Code:
    
    [root@XXXXXXXXx~]# ls -la /root/ispconfig
    total 104
    drwxr-xr-x  9 root root  4096 Sep  1 23:22 .
    drwxr-x---  4 root root  4096 Aug 30 18:45 ..
    -rwxr-xr-x  1 root root 33120 Aug 16 08:12 cronolog
    -rwxr-xr-x  1 root root  9673 Aug 16 08:12 cronosplit
    drwxr-xr-x 12 root root  4096 Aug 16 07:58 httpd
    drwxr-xr-x 12 root root  4096 Aug 16 08:12 isp
    -rw-r--r--  1 root root     0 Sep  4 13:32 .ispconfig_lock
    -rw-r--r--  1 root root     8 Sep  4 13:32 .old_path_httpd_root
    drwxr-xr-x  6 root root  4096 Aug 16 07:50 openssl
    drwxr-xr-x  6 root root  4096 Aug 16 08:02 php
    drwxr-xr-x  4 root root  4096 Aug 16 17:00 scripts
    drwxr-xr-x  4 root root  4096 Aug 16 08:12 standard_cgis
    drwxr-xr-x  2 root root  4096 Aug 16 08:12 sv
    -rwx------  1 root root  9389 Aug 16 08:12 uninstall
    
    Note, I also signed up for the paid installation, so there might be some company records of this. I believe my OS is Fedora Core 4....
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run:

    rm -f /root/ispconfig/.ispconfig_lock

    and then:

    /etc/init.d/ispconfig_server restart
     
  5. bpmee

    bpmee New Member

    No luck, I still get the same error message

    Hi Till,

    Thanks for your reply...

    I ran the commands you suggested, and also double checked by logging into my server with an SSH FTP connection, and the .ispconfig_lock file was gone...

    But, when I returned to the DNS manager and tried to update the nameservers, the same error "the item is updating please try again later" appeared!:confused:

    Code:
    [root@xxxxxxxx ~]# rm -f /root/ispconf/.ispconfig_lock
    [root@xxxxxxxx ~]# /etc/init.d/ispconfig_server restart
    Shutting down ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl stop: httpd stopped
    ISPConfig system stopped!
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    ISPConfig system is now up and running!
    
    Any other thoughts? Thanks!:)
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    please run:

    rm -f /root/ispconf/.ispconfig_lock
    /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

    do you get a segfault when you run the second command?
     
  7. bpmee

    bpmee New Member

    Yes, I get a segmentation fault

    Hi Till,

    Thanks for your reply - Yes, I get a segmentation fault - Not sure what to do with this......

    Code:
    [root@xxxxx ~]# rm -f /root/ispconf/.ispconfig_lock
    [root@xxxxx ~]# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
    start
    Segmentation fault
    [root@xxxxx ~]#
    
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

  9. falko

    falko Super Moderator ISPConfig Developer

  10. bpmee

    bpmee New Member

    Still Not Working!

    :confused:

    Hi Till, Falko,

    Thanks for your tips, but it is not working!

    First, I ran the hotfix and downgraded to PHP 5_0_4 :
    From: http://www.howtoforge.com/forums/showthread.php?t=3695

    Then, I ran the command above again, to double check that the Segmentation Fault was fixed:
    Code:
    /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
    
    ... and I received the following error:
    Code:
    [root@XXXXXX /]# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
    start
    Segmentation fault
    
    ...The Segmentation Fault is not fixed!

    I wasn't sure if this would affect my original problem of changing DNS settings, so I went to this thread and followed the instructions:

    http://www.howtoforge.com/forums/showthread.php?t=5397&highlight=server_bind_zonefile_dir

    And I attempted to change the settings in the DNS manager, but the new path would not save! I tried deleting the path /etc/bind and pasting the above path in its place, but ISPconfig would not save the new setting!

    What's going on???? I really need to get my server up and running!!!:confused:
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Please run these commands from the Fedora tutorial again:
    Code:
    chmod 755 /var/named/
    chmod 775 /var/named/chroot/
    chmod 775 /var/named/chroot/var/
    chmod 775 /var/named/chroot/var/named/
    chmod 775 /var/named/chroot/var/run/
    chmod 777 /var/named/chroot/var/run/named/
    cd /var/named/chroot/var/named/
    ln -s ../../ chroot
    Then try to change the Bind path again.
     
  12. bpmee

    bpmee New Member

    Success ! It worked ! Thanks!

    :D

    Thanks Falko, Till - It worked!

    For anyone else with a similar problem, here is the syntax that was used to fix the update problem on my server:

    Code:
    [root@xxxxxxxxx ~]# chmod 755 /var/named/
    [root@xxxxxxxxx ~]# chmod 775 /var/named/chroot/
    [root@xxxxxxxxx ~]# chmod 775 /var/named/chroot/var/
    [root@xxxxxxxxx ~]# chmod 775 /var/named/chroot/var/named/
    [root@xxxxxxxxx ~]# chmod 775 /var/named/chroot/var/run/
    [root@xxxxxxxxx ~]# chmod 777 /var/named/chroot/var/run/named/
    [root@xxxxxxxxx ~]# cd /var/named/chroot/var/named/
    [root@xxxxxxxxx named]# ln -s ../../ chroot
    ln: creating symbolic link `chroot/..' to `../../': File exists
    [root@xxxxxxxxx named]# /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
    start
    ende
    [root@xxxxxxxxx named]# rm -f /root/ispconfig/.ispconfig_lock
    [root@xxxxxxxxx named]# /etc/init.d/ispconfig_server restart
    Shutting down ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl stop: httpd stopped
    ISPConfig system stopped!
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    ISPConfig system is now up and running!
    [root@xxxxxxxxx named]#
    
     

Share This Page