jcrodriguez-dis / vpl-jail-system

Execution/jail server for VPL
GNU General Public License v3.0
23 stars 22 forks source link

Unable to start VPL #54

Open ngoquyenbg opened 2 years ago

ngoquyenbg commented 2 years ago

**I can't start vlp-jail-system,

service status show as below:**

● vpl-jail-system.service - VPL Jail System Service Loaded: loaded (/etc/systemd/system/vpl-jail-system.service; enabled; vendor preset: enabled) Active: failed (Result: timeout) since Thu 2022-02-17 21:39:09 +07; 44s ago Docs: https://github.com/jcrodriguez-dis/vpl-xmlrpc-jail https://vpl.dis.ulpgc.es Process: 113891 ExecStart=/usr/sbin/vpl/vpl-jail-system start (code=killed, signal=TERM) Process: 115080 ExecStopPost=/usr/sbin/vpl/vpl-jail-system stop (code=exited, status=0/SUCCESS)

Feb 17 21:37:39 mimhus.edu systemd[1]: Starting VPL Jail System Service... Feb 17 21:37:39 mimhus.edu vpl-jail-system[113891]: Starting vpl-jail-system service: Feb 17 21:39:09 mimhus.edu systemd[1]: vpl-jail-system.service: start operation timed out. Terminating. Feb 17 21:39:09 mimhus.edu vpl-jail-system[115080]: Stopping vpl-jail-system service: Feb 17 21:39:09 mimhus.edu systemd[1]: vpl-jail-system.service: Failed with result 'timeout'. Feb 17 21:39:09 mimhus.edu systemd[1]: Failed to start VPL Jail System Service.

Last LOG in /etc/vpl/vpl-jail-service.log

===== vpl-jail-system ====== start Thu 17 Feb 2022 09:41:17 PM +07 Param read from config JAILPATH=/jail Param read from config MIN_PRISONER_UGID=10000 Param read from config MAX_PRISONER_UGID=12000 Param using default CONTROLPATH=/var/vpl-jail-system Param read from config PORT=6789 Param using default SECURE_PORT=443 Param read from config FIREWALL=0 Param using default ALLOWSUID=false Param using default USETMPFS=true Param using default HOMESIZE=30% Param using default SHMSIZE=30% ===== vpl-jail-system ====== stop Thu 17 Feb 2022 09:42:47 PM +07 Param read from config JAILPATH=/jail Param read from config MIN_PRISONER_UGID=10000 Param read from config MAX_PRISONER_UGID=12000 Param using default CONTROLPATH=/var/vpl-jail-system Param read from config PORT=6789 Param using default SECURE_PORT=443 Param read from config FIREWALL=0 Param using default ALLOWSUID=false Param using default USETMPFS=true Param using default HOMESIZE=30% Param using default SHMSIZE=30% umount: /jail/snap/canonical-livepatch/126: not mounted. umount: /jail/snap/core/12725: not mounted. umount: /jail/run: not mounted. umount: /jail/dev/pts: not mounted. umount: /jail/dev/shm: target is busy. umount: /jail/dev: not mounted. umount: /jail/proc: not mounted.

THIS IS System LOG by commandline : grep vpl /var/log/syslog | less

eb 17 00:46:03 mimhus vpl-jail-system[20126]: Stopping vpl-jail-system service: Feb 17 00:46:03 mimhus systemd[1393]: var-vpl\x2djail\x2dsystem.mount: Succeeded. Feb 17 00:46:03 mimhus systemd[1]: var-vpl\x2djail\x2dsystem.mount: Succeeded. Feb 17 00:46:03 mimhus systemd[1]: vpl-jail-system.service: Failed with result 'timeout'. Feb 17 19:06:04 mimhus vpl-jail-system[1025924]: Starting vpl-jail-system service: Feb 17 19:07:34 mimhus systemd[1]: vpl-jail-system.service: start operation timed out. Terminating. Feb 17 19:07:34 mimhus vpl-jail-system[1026908]: Stopping vpl-jail-system service: Feb 17 19:07:35 mimhus systemd[1]: var-vpl\x2djail\x2dsystem.mount: Succeeded. Feb 17 19:07:35 mimhus systemd[1393]: var-vpl\x2djail\x2dsystem.mount: Succeeded. Feb 17 19:07:35 mimhus systemd[1]: vpl-jail-system.service: Failed with result 'timeout'. Feb 17 19:25:22 mimhus vpl-jail-system[1042137]: Starting vpl-jail-system service: Feb 17 19:26:52 mimhus systemd[1]: vpl-jail-system.service: start operation timed out. Terminating. Feb 17 19:26:52 mimhus vpl-jail-system[1043072]: Stopping vpl-jail-system service: Feb 17 19:26:52 mimhus systemd[1393]: var-vpl\x2djail\x2dsystem.mount: Succeeded. Feb 17 19:26:52 mimhus systemd[1]: var-vpl\x2djail\x2dsystem.mount: Succeeded. Feb 17 19:26:52 mimhus systemd[1]: vpl-jail-system.service: Failed with result 'timeout'. Feb 17 19:29:35 mimhus vpl-jail-system[1045452]: Starting vpl-jail-system service: Feb 17 19:31:05 mimhus systemd[1]: vpl-jail-system.service: start operation timed out. Terminating. Feb 17 19:31:05 mimhus vpl-jail-system[1046383]: Stopping vpl-jail-system service: Feb 17 19:31:05 mimhus systemd[1]: var-vpl\x2djail\x2dsystem.mount: Succeeded. Feb 17 19:31:05 mimhus systemd[1393]: var-vpl\x2djail\x2dsystem.mount: Succeeded. Feb 17 19:31:05 mimhus systemd[1]: vpl-jail-system.service: Failed with result 'timeout'. Feb 17 19:47:24 mimhus vpl-jail-system[1095]: Starting vpl-jail-system service: Feb 17 19:48:53 mimhus systemd[1]: vpl-jail-system.service: start operation timed out. Terminating.

So please help me how to fix this error Thank you,