无法使用sudo /etc/init.d/samba restart命令

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
头像
陈甜甜
帖子: 11
注册时间: 2009-05-16 5:57

无法使用sudo /etc/init.d/samba restart命令

#1

帖子 陈甜甜 » 2009-05-16 10:21

本来配置好了samba服务器打开使用重启命令来重启samba,可是却出现以下的情况:
stop: 缺少任务名
键入’stop --help'获取更多信息
start: 缺少任务名
键入’start --help'获取更多信息
exit: 122: Illegal number: 3ff
sweet@sweet-laptop:~$
求救怎么一回事哦?
头像
pityonline
帖子: 3864
注册时间: 2008-12-09 12:44
来自: 北京
联系:

Re: 无法使用sudo /etc/init.d/samba restart命令

#2

帖子 pityonline » 2009-05-16 10:41

代码: 全选

ls/etc/init.d
is samba there?
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接
头像
pityonline
帖子: 3864
注册时间: 2008-12-09 12:44
来自: 北京
联系:

Re: 无法使用sudo /etc/init.d/samba restart命令

#3

帖子 pityonline » 2009-05-16 10:52

代码: 全选

ls /etc/init.d
is samba there?
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接
头像
陈甜甜
帖子: 11
注册时间: 2009-05-16 5:57

Re: 无法使用sudo /etc/init.d/samba restart命令

#4

帖子 陈甜甜 » 2009-05-16 18:10

pityonline 写了:

代码: 全选

ls/etc/init.d
is samba there?
是在那里呢
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 无法使用sudo /etc/init.d/samba restart命令

#5

帖子 hcym » 2009-05-16 18:13

陈甜甜 写了:
pityonline 写了:

代码: 全选

ls/etc/init.d
is samba there?
是在那里呢
得问陈圆圆
头像
pityonline
帖子: 3864
注册时间: 2008-12-09 12:44
来自: 北京
联系:

Re: 无法使用sudo /etc/init.d/samba restart命令

#7

帖子 pityonline » 2009-05-16 18:19

你已经够幸运的了,我的smart q5装了samba-common和samba-client后,/etc/init.d下面根本就没有samba这个服务,手动添加也无效.
看我跟的你的另一个帖子.
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接
头像
陈甜甜
帖子: 11
注册时间: 2009-05-16 5:57

Re: 无法使用sudo /etc/init.d/samba restart命令

#8

帖子 陈甜甜 » 2009-05-16 22:57

hcym 写了:
陈甜甜 写了:
pityonline 写了:

代码: 全选

ls/etc/init.d
is samba there?
是在那里呢
得问陈圆圆
已经装了 都可以用了呢
头像
陈甜甜
帖子: 11
注册时间: 2009-05-16 5:57

Re: 无法使用sudo /etc/init.d/samba restart命令

#9

帖子 陈甜甜 » 2009-05-16 22:59

photor 写了:你可能没装samba,用新立得搜索一下看看 :em09
已经装了 都可以用了 但是就是那条命令总是用不了 :em20
头像
陈甜甜
帖子: 11
注册时间: 2009-05-16 5:57

Re: 无法使用sudo /etc/init.d/samba restart命令

#10

帖子 陈甜甜 » 2009-05-16 23:00

pityonline 写了:你已经够幸运的了,我的smart q5装了samba-common和samba-client后,/etc/init.d下面根本就没有samba这个服务,手动添加也无效.
看我跟的你的另一个帖子.
:em02 我的是有这个服务呢
头像
pityonline
帖子: 3864
注册时间: 2008-12-09 12:44
来自: 北京
联系:

Re: 无法使用sudo /etc/init.d/samba restart命令

#11

帖子 pityonline » 2009-05-17 0:54

可以按一叶教的,在你要共享的文件夹下打开终端,输入

代码: 全选

python -m SimpleHTTPServer
可临时通过网页共享一下。
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接
nathand
帖子: 19
注册时间: 2010-05-10 13:40

Re: 无法使用sudo /etc/init.d/samba restart命令

#12

帖子 nathand » 2011-05-18 9:54

陈甜甜 写了:本来配置好了samba服务器打开使用重启命令来重启samba,可是却出现以下的情况:
stop: 缺少任务名
键入’stop --help'获取更多信息
start: 缺少任务名
键入’start --help'获取更多信息
exit: 122: Illegal number: 3ff
sweet@sweet-laptop:~$
求救怎么一回事哦?
不叫samba 叫smbd
头像
qlhn
帖子: 736
注册时间: 2006-08-25 10:37
联系:

Re: 无法使用sudo /etc/init.d/samba restart命令

#13

帖子 qlhn » 2011-06-21 9:01

试试:
sudo service smbd restart
不应抓取诸相。
头像
pityonline
帖子: 3864
注册时间: 2008-12-09 12:44
来自: 北京
联系:

Re: 无法使用sudo /etc/init.d/samba restart命令

#14

帖子 pityonline » 2011-06-21 9:30

前年的这个时候我多可爱啊…… :em03
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: 无法使用sudo /etc/init.d/samba restart命令

#15

帖子 nmsfan » 2011-06-21 9:33

12L也很可爱 :em04 :em04
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
回复