|
|
|
|
 samba出错 - eaux [ 2003-06-30 16:04 | 3,894 byte(s)]
 Re: samba出错 - NetSnake [ 2003-06-30 17:20 | 115 byte(s)]
 Re: samba出错 - eaux [ 2003-06-30 17:53 | 197 byte(s)]
 Re: samba出错 - NetSnake [ 2003-07-01 08:07 | 146 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
书上说用/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
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
random 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rawdevices 0:off 1:off 2:off 3:on 4:on 5:on 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off
apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
irda 0:off 1:off 2:off 3:off 4:off 5:off 6:off
isdn 0:off 1:off 2:on 3:on 4:on 5:on 6:off
keytable 0:off 1:on 2:on 3:on 4:on 5:on 6:off
kudzu 0:off 1:off 2:off 3:on 4:on 5:on 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmptrapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:off 4:on 5:on 6:off
nfs 0:off 1:off 2:off 3:on 4:off 5:off 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rhnsd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
pcmcia 0:off 1:off 2:on 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
lpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
firstboot 0:off 1:off 2:off 3:off 4:off 5:on 6:off
winbind 0:off 1:off 2:off 3:on 4:off 5:off 6:off
xinetd based services:
chargen-udp: off
chargen: off
daytime-udp: off
daytime: off
echo-udp: off
echo: off
services: off
servers: off
time-udp: off
time: off
wuftp: on
sgi_fam: on
telnet: on
rsync: off
[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]#
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
是在redhat8安装的时候自动装的。应该是rpm包的。有/etc/samba目录。可是没有smb脚本。我想rpm 方式安装的samba不可能没有smb脚本,没天理去让我写一个用呀。我还不知道用哪个类似in.ftpd的程序来启动samba的呢。
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
不好意思,没看见,你好像没安装samba服务器,你的rpm查询结果只有samba-common和samba-client,smb脚本是启动Samba服务的,再安装一个samba-server-xxx吧。
|
|
|
----
学习。
|
|
[Original]
[Print]
[Top]
|
|
« Previous thread
Help!!!! |
文件及打印服务器
第5页 |
Next thread »
刚才去下载nfs,有一事不明 |
|