FAQ
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

------------------------------------------------------------------------

Search Discussions

  • Cweiske at Mar 29, 2011 at 7:33 am
    Edit report at http://pear.php.net/bugs/bug.php?id=17634&edit=1

    ID: 17634
    Updated by: cweiske@php.net
    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:

    You both miss the PHP pcntl extension.


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-03-29 08:27:04] 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.

    ------------------------------------------------------------------------

    [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

    ------------------------------------------------------------------------
  • Kami911 at Mar 29, 2011 at 11:34 am
    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 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


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-03-29 08:35:30] cweiske

    You both miss the PHP pcntl extension.

    ------------------------------------------------------------------------

    [2011-03-29 08:27:04] 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.

    ------------------------------------------------------------------------

    [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

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=17634
  • Kvz at Mar 29, 2011 at 6:52 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17634&edit=1

    ID: 17634
    Updated by: kvz@php.net
    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:

    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.


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-03-29 12:36:30] 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 08:35:30] cweiske

    You both miss the PHP pcntl extension.

    ------------------------------------------------------------------------

    [2011-03-29 08:27:04] 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.

    ------------------------------------------------------------------------

    [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

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=17634

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 29, '11 at 7:24a
activeMar 29, '11 at 6:52p
posts4
users3
websitepear.php.net

3 users in discussion

Kami911: 2 posts Cweiske: 1 post Kvz: 1 post

People

Translate

site design / logo © 2022 Grokbase