Help everyone! RHEL5SAMBA service problems

Source: Internet
Author: User
Help everyone! RHEL5SAMBA service problems-general Linux technology-Linux technology and application information. For details, refer to the following section. I recently learned how to configure the samba server in linux. I have encountered a problem. Please help me. Thank you.
After samba is configured, we find that smb cannot be disabled...
After the configuration is complete, you can connect to yourself. After changing something, you don't know how to connect yourself.
[Root @ localhost ~] # Smbclient-L \ 192.168.65.129
Error connecting to 192.168.65.129 (Connection denied)
Connection to 192.168.65.129 failed (Error NT_STATUS_CONNECTION_REFUSED)

Cannot close either.
[Root @ localhost ~] # Service smb stop
Disable the SMB service: [failed]
Disable NMB service: [failed]

The following is my smb Configuration
[Root @ localhost ~] # Testparm
Load smb config files from/etc/samba/smb. conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[Global]
Workgroup = MYGROUP
Server string = Samba Server
Interfaces = lo, eth0, 192.168.12.2/24,192.168 .13.2/24,192.168 .65.129/24
Smb passwd file = etc/smaba/smbpasswd
Guest account = pcguest
Log file =/var/log/samba/% m. log
Max log size = 50
Wins support = Yes
Hosts allow = 127., 192.168.9., 192.168.65.
Cups options = raw

[Homes]
Comment = Home Directories
Read only = No

[Printers]
Comment = All Printers
Path =/home/test
Printable = Yes
Browseable = No

[Public]
Comment = Public Stuff
Path =/home/samba
Write list = + staff
Read only = No
Guest OK = Yes

I can check the three ports.
Netbios-ns 137/tcp # NETBIOS Name Service
Netbios-ns 137/udp
Netbios-dgm 138/tcp # NETBIOS datemediservice
Netbios-dgm 138/udp
Netbios-ssn 139/tcp # NETBIOS session service
Netbios-ssn139/udp

When I finally shut down
Shutdown smb service is also failed

The old birds can help me see it online !!!
Thank you!
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.