找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888广告投放联系QQ68610888
广告投放联系QQ68610888广告投放联系QQ68610888
查看: 3048|回复: 5

求助,安裝 SAMBA 3.0 出现问题

[复制链接]
发表于 2008-7-9 15:20 | 显示全部楼层 |阅读模式
[admin@WL-500GP /opt]$ /opt/etc/init.d/S08samba
Starting nmbd:
Aborted (core dumped)
Starting smbd:
Aborted (core dumped)
运行的时候总是出现这个提示。

已经按照教学文档安裝 SAMBA 3.0 做法了,过程如下
[admin@WL-500GP /opt]$ wget http://ipkg.nslu2-linux.org/feeds/optwa … mipsel.ipk
Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
samba_3.2.0-1_mipsel 100% |*********************************************************************| 31153 KB    00:00 ETA
[admin@WL-500GP /opt]$ ipkg install samba_3.2.0-1_mipsel.ipk
Installing samba (3.2.0-1) to /opt/...
package samba suggests installing cups
    Configuration file '/opt/etc/init.d/S08samba'
    ==> File on system created by you or by a script.
    ==> File also in package provided by package maintainer.
       What would you like to do about it ?  Your options are:
        Y or I  : install the package maintainer's version
        N or O  : keep your currently-installed version
          D     : show the differences between the versions (if diff is installed)
     The default action is to keep your current version.
    *** S08samba (Y/I/N/O/D) [default=N] ?Y
Configuring samba
The original samba version 2 config (/etc/samba/smb.conf) is no longer
working with this version of samba.
Please create a new samba version 3 config (/opt/etc/samba/smb.conf).
After verify your smb.conf file, modify and execute /opt/etc/init.d/S08samba
to activate the samba version 3.
Successfully terminated.
[admin@WL-500GP /opt]$ nano /opt/etc/samba/smb.conf
  GNU nano 2.1.2                       File: /opt/etc/samba/smb.conf

[global]
workgroup = Workgroup
guest account = admin
security = share
browseable = yes
guest ok = yes
guest only = no
log level = 1
max log size = 100
encrypt passwords = no
dns proxy = no
unix charset = UTF-8
display charset = UTF-8
dos charset = UTF-8

[Wl 500gP]
path=/
writeable = yes
browseable = yes
                                                   [ Read 26 lines ]

[admin@WL-500GP /opt]$ nano /opt/etc/init.d/S08samba
  GNU nano 2.1.2                      File: /opt/etc/init.d/S08samba

#!/bin/sh

# set samba_active=1 to activate samba
samba_active=1

[ 1 = $samba_active ] || exit 0

if [ -n "`pidof smbd`" ] ; then
    echo "Stopping smbd:"
    killall smbd
fi

if [ -n "`pidof nmbd`" ] ; then
    echo "Stopping nmbd:"
    killall nmbd
fi

sleep 2

                                                   [ Wrote 23 lines ]

[admin@WL-500GP /opt]$ mv /opt/etc/init.d/S97samba /opt/etc/init.d/K97samba
mv: unable to rename `/opt/etc/init.d/S97samba': No such file or directory
[admin@WL-500GP /opt]$ killall smbd
killall: smbd: no process killed
[admin@WL-500GP /opt]$ killall nmbd
killall: nmbd: no process killed
[admin@WL-500GP /opt]$ /opt/etc/init.d/S08samba
Starting nmbd:
Aborted (core dumped)
Starting smbd:
Aborted (core dumped)
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
发表于 2008-7-9 15:47 | 显示全部楼层
贴一下你的
/etc/hosts
的内容

是samba不能运行吗?
另外,安samba3.0是想解决中文乱码问题吗?好像只安samba3.0不安locales是不行的

[ 本帖最后由 showboy 于 2008-7-9 15:48 编辑 ]
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

 楼主| 发表于 2008-7-9 16:20 | 显示全部楼层
/etc/hosts内容如下,有关系吗?
127.0.0.1 localhost.localdomain localhost
192.168.19.254 WL-500GP my.router my.WL500gp
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

 楼主| 发表于 2008-7-9 16:21 | 显示全部楼层
补充下samba 2.0,也就是OLEG集成的运行是没问题的
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

发表于 2008-7-9 17:38 | 显示全部楼层
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

发表于 2008-7-10 14:03 | 显示全部楼层
哈哈,我前2天遇到你一样的问题,把samba3的安装程序下下来再安装就可以了。
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /2 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2026-8-23 23:00

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 电话:13506125623

快速回复 返回顶部 返回列表