Zentyal Forum, Linux Small Business Server
Zentyal Server => Directory and Authentication => Topic started by: spravce on November 25, 2019, 07:52:36 am
-
Hi,
I have btrfs mounted on /data. There is here subvolume "samba" and its subvolume "drivers" ( as folder /data/samba/drivers ). I cannot share this folder by webUI, only /data allow me . /data/samba is rejected with "Error getting filesystem format in /data/samba".
When I edit /etc/samba/shares, it works. What matter ?
Thanks
-
Ok, problem is still not solved by UI, but I found workaround by modifying /etc/zentyal/stubs/samba/shares.mas
But there is another problem:
root@zendc:~# service zentyal
zentyal: unrecognized service
not matter service zentyal samba or service zentyal dns ... unrecognized. What do I wrong ?
I have Zentyal 6.0 ...
-
:)
Zentyal has his own shell.
root@zentyal:~# zs module start
module is not a valid module name
Module list:
network firewall antivirus audit dns ebackup logs ntp samba webadmin
root@zentyal:~# zs
Usage: /usr/bin/zs start|stop|restart
/usr/bin/zs <module> start|stop|status|enabled|restart
Also useful OS level:
root@zentyal:~# systemctl list-units | grep zentyal
zentyal.loggerd.service loaded active running Zentyal logger daemon
zentyal.lxdm.service loaded active running Zentyal LXDE Display Manager
zentyal.samba-sync.service loaded active running Zentyal daemon to check uid and gid numbers
zentyal.service loaded active exited Zentyal start/stop task
zentyal.webadmin-nginx.service loaded active running Nginx http daemon for Zentyal web admin
zentyal.webadmin-uwsgi.service loaded active running uWSGI daemon for Zentyal webadmin
And so, for instance:
root@zentyal:~# systemctl status zentyal.service
● zentyal.service - Zentyal start/stop task
Loaded: loaded (/lib/systemd/system/zentyal.service; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2019-12-13 12:16:17 CET; 4h 35min ago
Process: 820 ExecStart=/usr/bin/zs start (code=exited, status=0/SUCCESS)
Main PID: 820 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 3573)
CGroup: /system.slice/zentyal.service
dic 13 12:16:17 zentyal sudo[2316]: pam_unix(sudo:session): session opened for user root by (uid=0
dic 13 12:16:17 zentyal sudo[2316]: pam_unix(sudo:session): session closed for user root
dic 13 12:16:17 zentyal sudo[2321]: ebox : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh -
dic 13 12:16:17 zentyal sudo[2321]: pam_unix(sudo:session): session opened for user root by (uid=0
dic 13 12:16:17 zentyal zs[820]: * Starting Zentyal module: webadmin
dic 13 12:16:17 zentyal zs[820]: ...done.
dic 13 12:16:17 zentyal sudo[2321]: pam_unix(sudo:session): session closed for user root
dic 13 12:16:17 zentyal systemd[1]: Started Zentyal start/stop task.
dic 13 12:18:19 zentyal sudo[1775]: pam_unix(sudo:session): session closed for user root
dic 13 12:18:19 zentyal sudo[1635]: pam_unix(sudo:session): session closed for user root
Most of time you will use the zs command.
Cheers