samba安装报错 perl(Convert::ASN1)问题

samba安装报错perl(Convert::ASN1)问题

LINUX 2009-10-30 11:38:29 阅读244 评论1 字号:

[root@lang Packages]# rpm -qa|grep samba

samba-winbind-3.2.4-0.22.fc10.i386

samba-common-3.2.4-0.22.fc10.i386

samba-client-3.2.4-0.22.fc10.i386

[root@lang Packages]# rpm -qa|grep smb

libsmbios-2.0.1-2.fc10.1.i386

libsmbclient-3.2.4-0.22.fc10.i386

gvfs-smb-1.0.2-3.fc10.i386

pam_smb-1.1.7-9.fc10.i386

smbios-utils-2.0.1-2.fc10.1.i386

[root@lang Packages]# service smb start

smb: unrecognized service

[root@lang Packages]# service samba status

samba: unrecognized service

以上说明你的机器上只是安装好了samba的client,没有服务端.加载你的光盘,

[root@lang Packages]# ls samba*.*

samba-3.2.4-0.22.fc10.i386.rpm  samba-client-3.2.4-0.22.fc10.i386.rpm  samba-common-3.2.4-0.22.fc10.i386.rpm  samba-winbind-3.2.4-0.22.fc10.i386.rpm

samba-3.2.4-0.22.fc10.i386.rpm 就是我们目前还缺少的,所以要安装好它,有时候,它会提示说:

Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)

那你就要:

[root@lang Packages]# rpm -ivh perl-Convert-ASN1-0.21-3.fc9.noarch.rpm

Preparing...                ########################################### [100%]

   1:perl-Convert-ASN1      ########################################### [100%]

[root@lang Packages]# ls samba*.*

samba-3.2.4-0.22.fc10.i386.rpm  samba-client-3.2.4-0.22.fc10.i386.rpm  samba-common-3.2.4-0.22.fc10.i386.rpm  samba-winbind-3.2.4-0.22.fc10.i386.rpm

[root@lang Packages]# rpm -ivh samba-3.2.4-0.22.fc10.i386.rpm

Preparing...                ########################################### [100%]

   1:samba                  ########################################### [100%]

[root@lang Packages]# service samba status

samba: unrecognized service

[root@lang Packages]# service smb status

smbd is stopped

[root@lang Packages]# service smb start

Starting SMB services:                                     [  OK  ]

安装成功了,配置再说.

你可能感兴趣的:(linux,perl)