dimbor-ru / freenx-server

Evolution of classic nx technology - FreeNX. All these years, the classic nx was not as dead as it seemed ;) It is used in production and develops as fast as it can.
GNU General Public License v2.0
11 stars 5 forks source link

Not found sessions.sq3 after nxsetup or nxserver --cleanup #2

Closed Djelff closed 4 years ago

Djelff commented 4 years ago

root@addm-VirtualBox:/var/lib/nxserver/db# nxserver --restart /usr/bin/nxserver: строка 178: /var/lib/nxserver/db/sessions.sq3: Нет такого файла или каталога chown: невозможно получить доступ к '/var/lib/nxserver/db/sessions.sq3': Нет такого файла или каталога chmod: невозможно получить доступ к '/var/lib/nxserver/db/sessions.sq3': Нет такого файла или каталога NX> 100 NXSERVER - Version 3.5.0-0.2-CE OS (GPL, using backend: 3.5.99.22) NX> 123 Service stopped NX> 122 Service started NX> 999 Bye

root@addm-VirtualBox:/var/lib/nxserver/db# nxserver --cleanup /usr/bin/nxserver: строка 178: /var/lib/nxserver/db/sessions.sq3: Нет такого файла или каталога chown: невозможно получить доступ к '/var/lib/nxserver/db/sessions.sq3': Нет такого файла или каталога chmod: невозможно получить доступ к '/var/lib/nxserver/db/sessions.sq3': Нет такого файла или каталога NX> 100 NXSERVER - Version 3.5.0-0.2-CE OS (GPL, using backend: 3.5.99.22) /usr/bin/nxserver: строка 178: /var/lib/nxserver/db/sessions.sq3: Нет такого файла или каталога NX> 500 Error: No running sessions found. NX> 999 Bye

Djelff commented 4 years ago

Is need to check installed sqlite3, expect and other before executing nxsetup And autorun nxsetup --check after nxsetup

dimbor-ru commented 4 years ago

I drop "set -e" string in nxsetup. And nxserver on first start could to create session db - (here)