|||
samba改名叫samba_server了?handbook貌似miss了。
root@nas:/usr/local/etc # nano /etc/rc.conf
root@nas:/usr/local/etc # service samba start
samba does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
root@nas:/usr/local/etc # service smbd start
smbd does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
root@nas:/usr/local/etc # cd /usr/local/etc/rc.d/
root@nas:/usr/local/etc/rc.d # ls
apache24 avahi-dnsconfd dnsmasq htcacheclean php-fpm samba_server tpmd vboxguest vboxservice virtlogd
aria2 cupsd ffserver libvirtd postgresql smartd transmission vboxheadless vboxwatchdog xrdp
avahi-daemon dbus hald miniupnpc rsyncd tcsd uuidd vboxnet vboxwebsrv
root@nas:/usr/local/etc/rc.d # service samba_server start
Cannot 'start' samba_server. Set samba_server_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.
root@nas:/usr/local/etc/rc.d # nano /etc/rc.conf
root@nas:/usr/local/etc/rc.d # service samba_server start
Performing sanity check on Samba configuration: OK
Starting nmbd.
Starting smbd.
root@nas:/usr/local/etc/rc.d #
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-23 15:25
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社