Hi to all,
I have a problem with pyLoad. I can install it without any problem BUT when i need to restart my VPS for some reason pyLoad isnt restarting. Every time i need to restart my VPS or lets say for some reason the VPS restarts by itself i need to uninstall pyLoad and then again reinstall it from scratch. I issued some commands as root to figure out what is going on. For example right now i restarted my VPS and pyLoad shows up in the Service Control Center with a red dot and is not accesible at all. So i typed both two commands as root:
systemctl restart [email protected]
systemctl start [email protected]
For both commands in got the following:
Job for [email protected] failed because a configured resource limit was exceeded. See "systemctl status [email protected]" and "journalctl -xe" for details.
So i typed the following command:
systemctl status [email protected]
The output was:
â—Ź [email protected] - pyLoad
Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
Active: failed (Result: resources) since Sat 2017-01-14 17:19:27 EET; 1min 55s ago
Process: 4823 ExecStart=/usr/bin/python /home/mantax/.pyload/pyLoadCore.py --config=/home/mantax/.pyload --pidfile=/var/run/pyload/pid --daemon (code=exited, status=0/SUCCESS)
Jan 14 17:19:26 mantax systemd[1]: Stopped pyLoad.
Jan 14 17:19:26 mantax systemd[1]: Starting pyLoad...
Jan 14 17:19:27 mantax python[4823]: Daemon PID 4855
Jan 14 17:19:27 mantax systemd[1]: [email protected]: PID file /var/run/pyload/pid not readable (yet?) after start: No such file or directory
Jan 14 17:19:27 mantax systemd[1]: [email protected]: Daemon never wrote its PID file. Failing.
Jan 14 17:19:27 mantax systemd[1]: Failed to start pyLoad.
Jan 14 17:19:27 mantax systemd[1]: [email protected]: Unit entered failed state.
Jan 14 17:19:27 mantax systemd[1]: [email protected]: Failed with result 'resources'.
mantax:~#
I also typed the command:
journalctl -xe
And the output was:
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit [email protected] has finished shutting down.
Jan 14 17:19:26 mantax systemd[1]: Starting pyLoad...
-- Subject: Unit [email protected] has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit [email protected] has begun starting up.
Jan 14 17:19:27 mantax python[4823]: Daemon PID 4855
Jan 14 17:19:27 mantax systemd[1]: [email protected]: PID file /var/run/pyload/pid not readable (yet?) after start: No such file or directory
Jan 14 17:19:27 mantax systemd[1]: [email protected]: Daemon never wrote its PID file. Failing.
Jan 14 17:19:27 mantax systemd[1]: Failed to start pyLoad.
-- Subject: Unit [email protected] has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit [email protected] has failed.
--
-- The result is failed.
Jan 14 17:19:27 mantax systemd[1]: [email protected]: Unit entered failed state.
Jan 14 17:19:27 mantax systemd[1]: [email protected]: Failed with result 'resources'.
Jan 14 17:20:01 mantax CRON[5053]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 14 17:20:01 mantax CRON[5054]: (root) CMD (bash /usr/local/bin/quickbox/system/set_interface)
Jan 14 17:20:01 mantax CRON[5053]: pam_unix(cron:session): session closed for user root
Jan 14 17:21:01 mantax CRON[5395]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 14 17:21:01 mantax CRON[5396]: (root) CMD (bash /usr/local/bin/quickbox/system/set_interface)
Jan 14 17:21:01 mantax CRON[5395]: pam_unix(cron:session): session closed for user root
Jan 14 17:22:01 mantax CRON[5738]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 14 17:22:01 mantax CRON[5739]: (root) CMD (bash /usr/local/bin/quickbox/system/set_interface)
Jan 14 17:22:01 mantax CRON[5738]: pam_unix(cron:session): session closed for user root
Jan 14 17:23:01 mantax CRON[6079]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 14 17:23:01 mantax CRON[6080]: (root) CMD (bash /usr/local/bin/quickbox/system/set_interface)
Jan 14 17:23:01 mantax CRON[6079]: pam_unix(cron:session): session closed for user root
Jan 14 17:24:01 mantax CRON[6381]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 14 17:24:01 mantax CRON[6382]: (root) CMD (bash /usr/local/bin/quickbox/system/set_interface)
Jan 14 17:24:01 mantax CRON[6381]: pam_unix(cron:session): session closed for user root
Jan 14 17:25:01 mantax CRON[6718]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 14 17:25:01 mantax CRON[6719]: (root) CMD (bash /usr/local/bin/quickbox/system/set_interface)
Jan 14 17:25:01 mantax CRON[6718]: pam_unix(cron:session): session closed for user root
Jan 14 17:25:42 mantax systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
Jan 14 17:25:42 mantax systemd-tmpfiles[6964]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
Jan 14 17:25:42 mantax systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is done.
mantax:~#
So pyLoad is a great piece of software but for me it has the bug that when i need to restart the VPS, pyLoad doesnt want to start as a service. I have to box remove pyload then install it again via box install pyload and then issue the command setup-pyLoad to set it up from scratch. Then and only then pyLoad is appearing with a green dot in the Service Command Center and it is working. Until again for some reason lets say my VPS reboots etc and then again i need to do all again.
Any clue?
Thanks in advance
George