Hi Alex,
It seems the problem is related to RemoteBind class called inside
class.DNSZoneListUpdateProcess.php.
I put some logging statement before calling RemoteBind, and it gets to
the system log.
After RemoteBind call, all codes after were not executed anymore(even
the call to log something).
No PHP error were seen on the php logs. :)
See codes below:
foreach((array)$db->GetAll("SELECT * FROM nameservers WHERE
isproxy='0'") as $ns)
{
if ($ns["host"]!='')
{
$this->Logger->debug("currently
here before calling RemoteBind class.");
$nameservers[$ns["host"]] = new RemoteBIND($ns["host"],
$ns["port"],
array("type" => "password", "login" => $ns["username"],
"password" => $this->Crypto->Decrypt($ns["password"], $cpwd)),
$ns["rndc_path"],
$ns["namedconf_path"],
$ns["named_path"],
CONFIG::$NAMEDCONFTPL
);
}
$this->Logger->debug("currently here
AFTER calling RemoteBind class.");
}
See logs:
NO LUCK With DNSZoneListUpdate:
211086 INFO 2008-12-19 06:36:03 Starting DNSZoneListUpdate
cronjob...
211087 DEBUG 2008-12-19 06:36:03 Process initialized.
211088 DEBUG 2008-12-19 06:36:03 Number of MaxChilds set to 5
211089 DEBUG 2008-12-19 06:36:03 Executing 'OnStartForking' routine
211090 DEBUG 2008-12-19 06:36:03 Value for NS host
'server1.tm.local'
211091 DEBUG 2008-12-19 06:36:03 BEFORE: RemoteBIND call
DNS MAINTENANCE goes ok.
211052 INFO 2008-12-19 06:36:03 Starting DNSMaintenance
cronjob...
211053 DEBUG 2008-12-19 06:36:03 Process initialized.
211054 DEBUG 2008-12-19 06:36:03 Number of MaxChilds set to 5
211055 DEBUG 2008-12-19 06:36:03 Executing 'OnStartForking' routine
211056 INFO 2008-12-19 06:36:03 Fetching completed farms...
211057 INFO 2008-12-19 06:36:03 Found 1 farms.
211058 DEBUG 2008-12-19 06:36:03 'OnStartForking' successfully
executed.
211059 DEBUG 2008-12-19 06:36:03 Begin add handler to signals...
211060 DEBUG 2008-12-19 06:36:03 Handle SIGCHLD = 1
211061 DEBUG 2008-12-19 06:36:03 Handle SIGTERM = 1
211062 DEBUG 2008-12-19 06:36:03 Handle SIGABRT = 1
211063 DEBUG 2008-12-19 06:36:03 Handle SIGUSR2 = 1
211064 DEBUG 2008-12-19 06:36:03 Executing
ProcessObject::ForkThreads()
211065 INFO 2008-12-19 06:36:03 [FarmID: 12] Checking DNS zones
211066 INFO 2008-12-19 06:36:03 [FarmID: 12] Checking zomby records
211067 INFO 2008-12-19 06:36:03 [FarmID: 12] Checking for malformed
NS records
211068 INFO 2008-12-19 06:36:03 [FarmID: 12] Checking for malformed
A records
211069 INFO 2008-12-19 06:36:03 [FarmID: 12] DNS zones check
complete
211070 DEBUG 2008-12-19 06:36:03 Child with PID# 4123 successfully
forked
211092 DEBUG 2008-12-19 06:36:03 HandleSignals received signal 17
211093 DEBUG 2008-12-19 06:36:03 Application received signal 17
from child with PID# 4123 (Exit code: 0)
211094 DEBUG 2008-12-19 06:36:03 All childs exited. Executing
OnEndForking routine
211095 DEBUG 2008-12-19 06:36:03 Main process complete. Exiting...
I wonder is it because /etc/bind is a symlink to /var/lib/bind? Hmm..
Still trying to fix and trying to browse some codes.
Rodney
On Dec 18, 9:53 pm, Alex Kovalyov <
alex.koval...@gmail.com> wrote: