Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0

Bug #17634 System_Daemon script couldn't daemonize on Zend Server platform
Submitted: 2010-07-27 16:37 UTC
From: gergund Assigned: kvz
Status: Bogus Package: System_Daemon (version 0.10.3)
PHP Version: 5.3.2 OS: CentOS 5.5 x86_64
Roadmaps: (Not assigned)    
Subscription  


 [2010-07-27 16:37 UTC] gergund (Dennis Gergun)
Description: ------------ System_Daemon script couldn't daemonize on Zend Server platform

Comments

 [2010-07-27 16:49 UTC] gergund (Dennis Gergun)
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 17:05 UTC] gergund (Dennis Gergun)
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-28 00:30 UTC] kvz (Kevin van Zonneveld)
-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.
 [2011-03-29 12:27 UTC] kami (Kami Kami)
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.
 [2011-03-29 12:35 UTC] cweiske (Christian Weiske)
You both miss the PHP pcntl extension.
 [2011-03-29 16:36 UTC] kami (Kami Kami)
Hi Christoph! I found this way: apt-get install php-5.3-pcntl-zend-server It seems it installs the required extension. Thank you guy! Cheers, KAMI
 [2011-03-29 23:54 UTC] kvz (Kevin van Zonneveld)
Sorry, but your problem does not imply a bug in PEAR itself. For a list of more appropriate places to ask for help using PEAR, please visit http://pear.php.net/support/ as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PEAR. Thanks for supplying the answer. Not a System_Daemon bug though.
 [2012-07-17 16:14 UTC] kvz (Kevin van Zonneveld)
-Assigned To: +Assigned To: kvz