alirezamarzban / ocserv-with-user-management

automaticly install and configure, fully control on ocserv
GNU General Public License v3.0
59 stars 5 forks source link

I can't log in after installing and restarting the system. #5

Closed do02fw closed 1 year ago

do02fw commented 1 year ago

Traceback (most recent call last): File "/usr/bin/landscape-sysinfo",line 22,in runlsys.argyl1:reactor) File "/usr/lib/python3/dist-packages/landscape/sysinfo/deployment.py”,line 115,in run for plugin in config.get_plugins(): File "/usr/lib/python3/dist-packages/landscape/sysinfo/deployment.py”,line 69,in get_plugins return[namedClass( landscape.sysinfo.%s.%s File "/usr/lib/python3/dist-packages/landscape/sysinfo/deployment.py",line 69,in return[namedClass( landscape.sysinfo.%s.&s' File "/usr/lib/python3/dist-packages/twisted/python/reflect.py",line 169,in namedob ject module = namedModule .join(classSplit[:-11) File "/usr/lib/python3/dist-packages/twisted/python/reflect.py",line 156,in namedModule toplevel = importinamel File"/usr/lib/python3/dist-packages/landscape/sysinfo/disk.py",line 7,in from landscape.lib.disk import (get_mount_info, get_filesystem_for-path) File "/usr/lib/python3/dist-packages/landscape/lib/disk.py",line 7,in from twisted.python.compat importPY3 Py3' from'twisted.python.compat (unknown location) ImportError: cannotimport name run-parts: /etc/update-motd.d/50-landscape-sysinfo exited with return code 1 1111

do02fw commented 1 year ago

After I installed ocserv using the script, I restarted the system and it became like this.

do02fw commented 1 year ago

Maybe there is something wrong with the image, this also appeared after I reinstalled the system and executed the apt ugrade command. 000

do02fw commented 1 year ago

I updated my system to Ubuntu 22.04 and I don't have this problem anymore, I can boot my system normally.