Fedora samba安裝報錯perl(Convert::ASN1)問題

來源:互聯網
上載者:User

[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 ]

安裝成功了,配置再說.

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.