Author Topic: Unable to Save Changes in Some Modules When Setting Up DNS  (Read 1595 times)

SamK

  • Zen Samurai
  • ****
  • Posts: 283
  • Karma: +3/-0
    • View Profile
Unable to Save Changes in Some Modules When Setting Up DNS
« on: April 21, 2009, 03:44:13 pm »
On a clean install from eBox CD-ROM and applying updates available as at 21 April 2009, the following occurs when attempting to activate DNS.

Module Status-->Tick DNS to activate, save changes and confirm changes to be saved.  The save routine generates the following error message:
"Some modules reported error when saving changes. More information on the logs in /var/log/ebox   
The following modules failed while saving their changes"
   
No modules are listed.

Attached is /var/log/ebox/ebox.log
The following logs are 258Kb & 147Kb respectively and are over the size limit allowed for attachments.
access.log
error.log

The Dashboard shows DNS as running and Module Status shows DNS as ticked.

A Domain name of TESTDOM is added and saved without errors.
Adding a hostname generates the same error message as shown above.

Is anyone able to advise what is causing the problem and how to resolve it?

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Unable to Save Changes in Some Modules When Setting Up DNS
« Reply #1 on: April 21, 2009, 07:20:34 pm »
Could you please try enable it again while you watch the output of:

Quote
sudo tail -f /var/log/ebox/ebox.log

SamK

  • Zen Samurai
  • ****
  • Posts: 283
  • Karma: +3/-0
    • View Profile
Re: Unable to Save Changes in Some Modules When Setting Up DNS
« Reply #2 on: April 22, 2009, 11:44:34 am »
This matter is now resolved and was not a problem with eBox.

The problem was due to amending the hostname in /etc/hostname without making a corresponding change in /etc/hosts.  Once they were both changed to match, the matter of eBox reporting an error during saving disappeared. DNS, domain and hostnames are now reported by eBox as OK.

@ Javi
Thanks for taking the time to offer assistance with this matter, especially at a time that I presume is quite busy for you.  There might be an issue with resolving names but I will investigate this and open a separate thread if needed as the original purpose of this thread is now resolved.