Edit report at http://pear.php.net/bugs/bug.php?id=17634&edit=1
ID: 17634
Comment by: kami911@gmail.com
Reported By: gergund at gmail dot com
Summary: System_Daemon script couldn't daemonize on Zend
Server platform
Status: Bogus
Type: Bug
Package: System_Daemon
Operating System: CentOS 5.5 x86_64
Package Version: 0.10.3
PHP Version: 5.3.2
Roadmap Versions:
New Comment:
Hi!
I have same problem.
I had to drop Ubuntu distribution (10.04/64 bit) provided PHP version
(5.3.3) because Zen Guard Loader (5.5.0 ) is crashing time to time on
Zend encoded php files (Apache SEGFAULT 11 described here:
http://forums.zend.com/viewtopic.php?f=57&t=9208&start=0). This problem
is gone when I switch to Zend Server (Community Edition) (PHP version
5.3.5) but Daemon doesn't working. I have same problem as the reporter.
Previous Comments:
------------------------------------------------------------------------
[2010-07-27 20:30:37] kvz
-Status: Open
+Status: Bogus
Don't know about Zend Server platform, but you need to compile a PHP (or
be lucky
with your distro; Ubuntu ships a good one by default) that supports
pcntl & posix.
------------------------------------------------------------------------
[2010-07-27 13:05:45] gergund
Fatal error: Uncaught System_Daemon_Exception: PHP is compiled without
--enable-pcntl directive in
/var/www/vhosts/bugfixes.eztexting.com/scripts/jobs/ExpressReceiverDaemon.php
on line 88
#0
/var/www/vhosts/bugfixes.eztexting.com/scripts/jobs/ExpressReceiverDaemon.php(88):
System_Daemon::start()
#1 {main}
thrown in /usr/local/zend/share/pear/System/Daemon.php on line 532
------------------------------------------------------------------------
[2010-07-27 12:49:09] gergund
Notice: Use of undefined constant SIGHUP - assumed 'SIGHUP' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGINT - assumed 'SIGINT' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGQUIT - assumed 'SIGQUIT' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGILL - assumed 'SIGILL' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGTRAP - assumed 'SIGTRAP' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGABRT - assumed 'SIGABRT' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGBUS - assumed 'SIGBUS' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGFPE - assumed 'SIGFPE' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGUSR1 - assumed 'SIGUSR1' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGSEGV - assumed 'SIGSEGV' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGUSR2 - assumed 'SIGUSR2' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGPIPE - assumed 'SIGPIPE' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGALRM - assumed 'SIGALRM' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGTERM - assumed 'SIGTERM' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGCONT - assumed 'SIGCONT' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGTSTP - assumed 'SIGTSTP' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGTTIN - assumed 'SIGTTIN' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGTTOU - assumed 'SIGTTOU' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGURG - assumed 'SIGURG' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGXCPU - assumed 'SIGXCPU' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGXFSZ - assumed 'SIGXFSZ' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGVTALRM - assumed 'SIGVTALRM' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGPROF - assumed 'SIGPROF' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGWINCH - assumed 'SIGWINCH' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGIO - assumed 'SIGIO' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIGBABY - assumed 'SIGBABY' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
Notice: Use of undefined constant SIG_IGN - assumed 'SIG_IGN' in
/usr/local/zend/share/pear/System/Daemon.php on line 1567
2
Notice: Use of undefined constant SIGCONT - assumed 'SIGCONT' in
/var/www/vhosts/bugfixes.eztexting.com/scripts/jobs/ExpressReceiverDaemon.php
on line 82
------------------------------------------------------------------------
[2010-07-27 12:37:17] gergund
Description:
------------
System_Daemon script couldn't daemonize on Zend Server platform
------------------------------------------------------------------------