Chinaunix首页 | 论坛 | 博客
  • 博客访问: 841327
  • 博文数量: 339
  • 博客积分: 3151
  • 博客等级: 中校
  • 技术积分: 3425
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-10 14:47
文章分类

全部博文(339)

文章存档

2023年(43)

2022年(44)

2021年(3)

2020年(13)

2019年(39)

2018年(25)

2015年(2)

2014年(18)

2013年(12)

2012年(48)

2011年(79)

2010年(13)

分类:

2011-06-09 20:18:53

检查  samba 服务。

bash-3.00# svcs -v | grep samba

legacy_run     -             11:07:04     75 lrc:/etc/rc3_d/S90samba 

bash-3.00# ps -eaf | grep mbd

root   731     1   0 15:50:31 ?           0:00 /usr/sfw/sbin/smbd -D

root   733     1   0 15:50:31 ?           0:02 /usr/sfw/sbin/nmbd –D

 

启动samba服务

root@suzwktst02 # ps -eaf | grep mbd

    root 14284 14281   0 20:17:52 pts/1       0:00 grep mbd

    root  2598  2596   0   May 13 ?           0:00 /usr/sbin/smbd -D

    root  2596     1   0   May 13 ?           0:00 /usr/sbin/smbd -D

root@suzwktst02 # svcs -v | grep samba

online         -             May_13      130 svc:/network/samba:default

root@suzwktst02 # svcadm disable samba

root@suzwktst02 # ps -eaf | grep mbd

root@suzwktst02 # svcs | grep samba

 

root@suzwktst02 # ps -eaf | grep mbd

    root 14284 14281   0 20:17:52 pts/1       0:00 grep mbd

    root  2598  2596   0   May 13 ?           0:00 /usr/sbin/smbd -D

    root  2596     1   0   May 13 ?           0:00 /usr/sbin/smbd -D

root@suzwktst02 # svcs -v |grep samba

online         -             May_13      130 svc:/network/samba:default

root@suzwktst02 # svcadm disable samba

root@suzwktst02 # ps -eaf | grep mbd

root@suzwktst02 # svcs | grep samba

root@suzwktst02 # /etc/init.d/samba start

bash: /etc/init.d/samba: No such file or directory

root@suzwktst02 # cd /etc/init.d

root@suzwktst02 # ps -eaf |grep mbd

root@suzwktst02 # svcs | grep samba

root@suzwktst02 # svcadm enable samba

root@suzwktst02 # svcs |grep samba

online         20:22:54 svc:/network/samba:default

root@suzwktst02 # ps -eaf |grep mbd

    root 14309 14308   0 20:22:55 ?           0:00 /usr/sbin/smbd -D

    root 14308     1   0 20:22:55 ?           0:00 /usr/sbin/smbd –D

阅读(1063) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~