|
书上说用/etc/rc.d/init.d/smb start启动samba,也可用chkconfig --level 3 smb on来启动。可我用find命令也找不到smb这个命令呢。
执行testparm时出错
[root@ecat init.d]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[sharedir]"
Loaded services file OK.
ERROR: lock directory /var/cache/samba does not exist
ERROR: pid directory /var/run/samba does not exist
Press enter to see a dump of your service definitions
[root@ecat init.d]# chkconfig --list
没有smb
[root@ecat init.d]#
[root@ecat init.d]# rpm -qa |grep samba
samba-common-2.2.5-10
samba-client-2.2.5-10
[root@ecat init.d]# |
|