Fedora Samba installation error Perl (convert: ASN1)

Source: Internet
Author: 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

The above indicates that the samba client has been installed on your machine, and there is no server. Load your CD,

[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 is what we currently lack, so to install it, sometimes, it will prompt:

Error: Missing dependency: Perl (convert: ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)

Then you need:

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

The installation is successful.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.