https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15253

--- Comment #27 from Colin Campbell <colin.campb...@ptfs-europe.com> ---
Theres a problem handling STDOUT/STDERR output I have two test servers both
work ok on master - with these patches applied one consistently crashes on
startup with the message:

Can't locate object method "OPEN" via package "C4::SIP::Trapper" at
/usr/share/perl5/vendor_perl/Net/Server.pm line 170.

Heres Net::Server.pm

    if (length($prop->{'log_file'})
        && !$prop->{'log_function'}) {
        open STDERR, '>&_SERVER_LOG' || die "Cannot open STDERR to _SERVER_LOG
[$!]";
    } elsif ($prop->{'setsid'}) { # completely daemonize by closing STDERR
(should be done after fork)
        open STDERR, '>&STDOUT' || die "Cannot open STDERR to STDOUT [$!]";
    }

line 170 being the final open

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to