LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   system-config-bind unable to save (https://www.linuxquestions.org/questions/linux-server-73/system-config-bind-unable-to-save-826571/)

grob115 08-16-2010 12:23 PM

system-config-bind unable to save
 
1 Attachment(s)
Hi, not sure why but I keep on getting the ERROR: Path is not writable when I'm trying to add a Slave Zone.

The server was commissioned by someone else and I remotely installed GNOME group, and vncserver as per the official CentOS instructions here.

Initially I tried using a normal (ie non root) user's credential for my VNC session. However, instead of asking me for my root password when I tried to open system-config-bind, it just doesn't load up. I ended up allowing the user "root" to connect to the server remotely via VNC, and was able to get system-config-bind to start.

However, I am now unable to save the settings, despite having done:
Code:

cd /var
chmod -R 777 named

Please help!

bathory 08-16-2010 01:04 PM

Since you're running Centos, it could be SELinux preventing the tool to write configuration.

Quote:

I ended up allowing the user "root" to connect to the server remotely via VNC, and was able to get system-config-bind to start.
You should log-in as a regular user and use su or sudo to run system commands for security reasons.

Regards

frndrfoe 08-16-2010 02:03 PM

It may be a Howto but not a Whento...
I would turn off VNC immediatly if it's not too late already.
If you are connecting from another linux machine just use 'ssh -Y remote.host' and you can open the system-config apps tunneled through ssh.
It's possible that bind is running chrooted and there is a problem saving the files from the gui due to symlinks or something.
Are your zone files symlinks to /var/named/chroot/var/named/...?
Have checked /var/log/messages?

grob115 08-22-2010 02:59 AM

Okay this is somewhat messed up. Don't know why and if someone does, please let me know so I can learn. Apparently SELinux was disabled and by enabling it I am now able to save the settings from the BIND GUI tool. How did I find out? I saw the following block in the /etc/sysconfig/named file....
Code:

# ENABLE_ZONE_WRITE=yes  --  If SELinux is disabled, then allow named to write
#                            its zone files and create files in its $ROOTDIR/var/named
#                            directory, necessary for DDNS and slave zone transfers.
#                            Slave zones should reside in the $ROOTDIR/var/named/slaves
#                            directory, in which case you would not need to enable zone
#                            writes. If SELinux is enabled, you must use only the
#                            'named_write_master_zones' variable to enable zone writes.



All times are GMT -5. The time now is 09:57 PM.