Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd: failed to add systemd socket #73

Open
scifinder opened this issue Feb 8, 2024 · 0 comments
Open

systemd: failed to add systemd socket #73

scifinder opened this issue Feb 8, 2024 · 0 comments

Comments

@scifinder
Copy link

Hello!
I want to use systemd. I do everything according to this instruction. My OS is Debian, so files are placed along these paths: /etc/systemd/system/openswoole.socket and /etc/systemd/system/openswoole.service. On run sudo systemctl start openswoole.socket I get an error:

[2024-02-08 22:59:50 @2706.0]   WARNING Server::add_systemd_socket(): invalid LISTEN_PID
PHP Fatal error:  OpenSwoole\Server::__construct(): failed to add systemd socket in /var/www/openswoole/server.php on line 2

Tell me, what could be the reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant