当前位置: 技术问答>linux和unix
求助!!REDHAT AS 5 下Samba 服务启动问题!
来源: 互联网 发布时间:2016-05-11
本文导语: 我在redhat as 5 默认安装了 samba 服务, 我用rpm -qa | grep samba 显示的是:samba-common-3.0.23c-2 !我配置好了smb.conf 后 !发现 跟AS4 有了很大差别 我/etc/init.d/下没有smb 我用service smb start 提示:smb:unrecogni...
我在redhat as 5 默认安装了 samba 服务, 我用rpm -qa | grep samba 显示的是:samba-common-3.0.23c-2 !我配置好了smb.conf 后 !发现 跟AS4 有了很大差别 我/etc/init.d/下没有smb 我用service smb start 提示:smb:unrecognized service ! 请教各位大大们 怎么启动smb服务???它的服务名是啥??如果我想查某一个服务的服务名怎么查?用什么命令???谢谢各位大大!!!!
|
1、SAMBA没有安装完整,还缺少服务器端,可从光盘上查找。
2、大部份REDHAT服务名基本上:名称+d(daemon)的格式
3、查询某个服务名,可通过服务器管理器:
#chkconfig --list |grep servicename
2、大部份REDHAT服务名基本上:名称+d(daemon)的格式
3、查询某个服务名,可通过服务器管理器:
#chkconfig --list |grep servicename
|
[root@localhost ~]# rpm -qa *samba*
samba-client-3.0.10-1.4E.9
samba-common-3.0.10-1.4E.9
[root@localhost ~]# rpm -ql samba-common-3.0.10-1.4E.9
/etc/rc.d/init.d/winbind
/etc/samba
/etc/samba/lmhosts
/etc/samba/smb.conf
/lib/libnss_winbind.so.2
/lib/libnss_wins.so.2
/lib/security/pam_winbind.so
/usr/bin/net
/usr/bin/ntlm_auth
/usr/bin/pdbedit
/usr/bin/profiles
/usr/bin/smbcquotas
/usr/bin/smbpasswd
/usr/bin/testparm
/usr/bin/testprns
/usr/bin/wbinfo
/usr/include/libsmbclient.h
/usr/lib/libnss_winbind.so
/usr/lib/libnss_wins.so
/usr/lib/libsmbclient.a
/usr/lib/libsmbclient.so
/usr/lib/samba
/usr/lib/samba/charset
/usr/lib/samba/charset/CP437.so
/usr/lib/samba/charset/CP850.so
/usr/lib/samba/lowcase.dat
/usr/lib/samba/upcase.dat
/usr/lib/samba/valid.dat
/usr/sbin/winbindd
/usr/share/man/man1/ntlm_auth.1.gz
/usr/share/man/man1/profiles.1.gz
/usr/share/man/man1/smbcquotas.1.gz
/usr/share/man/man1/testparm.1.gz
/usr/share/man/man1/testprns.1.gz
/usr/share/man/man1/wbinfo.1.gz
/usr/share/man/man5/lmhosts.5.gz
/usr/share/man/man5/smb.conf.5.gz
/usr/share/man/man8/net.8.gz
/usr/share/man/man8/pam_winbind.8.gz
/usr/share/man/man8/smbpasswd.8.gz
/usr/share/man/man8/winbindd.8.gz
/usr/share/samba
/usr/share/samba/codepages
/var/cache/samba
/var/cache/samba/winbindd_privileged
/var/log/samba
/var/run/winbindd
[root@localhost ~]#
samba-client-3.0.10-1.4E.9
samba-common-3.0.10-1.4E.9
[root@localhost ~]# rpm -ql samba-common-3.0.10-1.4E.9
/etc/rc.d/init.d/winbind
/etc/samba
/etc/samba/lmhosts
/etc/samba/smb.conf
/lib/libnss_winbind.so.2
/lib/libnss_wins.so.2
/lib/security/pam_winbind.so
/usr/bin/net
/usr/bin/ntlm_auth
/usr/bin/pdbedit
/usr/bin/profiles
/usr/bin/smbcquotas
/usr/bin/smbpasswd
/usr/bin/testparm
/usr/bin/testprns
/usr/bin/wbinfo
/usr/include/libsmbclient.h
/usr/lib/libnss_winbind.so
/usr/lib/libnss_wins.so
/usr/lib/libsmbclient.a
/usr/lib/libsmbclient.so
/usr/lib/samba
/usr/lib/samba/charset
/usr/lib/samba/charset/CP437.so
/usr/lib/samba/charset/CP850.so
/usr/lib/samba/lowcase.dat
/usr/lib/samba/upcase.dat
/usr/lib/samba/valid.dat
/usr/sbin/winbindd
/usr/share/man/man1/ntlm_auth.1.gz
/usr/share/man/man1/profiles.1.gz
/usr/share/man/man1/smbcquotas.1.gz
/usr/share/man/man1/testparm.1.gz
/usr/share/man/man1/testprns.1.gz
/usr/share/man/man1/wbinfo.1.gz
/usr/share/man/man5/lmhosts.5.gz
/usr/share/man/man5/smb.conf.5.gz
/usr/share/man/man8/net.8.gz
/usr/share/man/man8/pam_winbind.8.gz
/usr/share/man/man8/smbpasswd.8.gz
/usr/share/man/man8/winbindd.8.gz
/usr/share/samba
/usr/share/samba/codepages
/var/cache/samba
/var/cache/samba/winbindd_privileged
/var/log/samba
/var/run/winbindd
[root@localhost ~]#