(02-04-2015, 06:15 AM)Enelotrom Wrote:Hello, I finally got it to work by renaming the original file and creating another with permissions 666 and applying permissions to the folder /var/zpanel/logs/bind/ 775, with 755 service was not started fail error. Although the script stop working, do not rename the file (rename log file '/var/zpanel/logs/bind/bind.log' to '/var/zpanel/logs/bind/bind.log.0), the file still generating log and you did not renamed.(11-27-2014, 08:24 PM)Tango Wrote:(11-27-2014, 07:15 AM)TGates Wrote: Bind may be keeping the file open and active. Stop bind service, then try renaming the file. Restart Bind.
When mv to bind.log.0, and restart service, says:
Code:nov 27 11:20:40 panel.domain.es named[28056]: isc_stdio_open '/var/sentora/logs/bind/bind.log' failed: permission denied
I had to create a new -empty- bind.log and chown named:apache to get named service working again.
Hello Tango, i have the same problem, how chown exactly? thanks
Any idead? thanks
Bye.