數位天堂

Nokia:科技始終來自於人性; 拜耳:如果文明不能使我們更相愛,那科技便失去意義!
歡迎您的加入,讓我們一起討論科技與環保的整合應用...

您尚未登入。

#1 2008-07-09 00:40:00

leon.z
教士
註冊日期: 2008-06-12
文章數: 71
目前積分 :   

求助,安裝 SAMBA 3.0 出现问题

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




離線

 

#2 2008-07-09 21:24:33

leon.z
教士
註冊日期: 2008-06-12
文章數: 71
目前積分 :   

Re: 求助,安裝 SAMBA 3.0 出现问题

已经解决问题,原来是SAMBA3的版本问题,安装旧版本3.0.28a 成功:



離線

 

相關討論主題

主題 回覆 點閱 最後發表
1 12684 2011-11-15 20:32:59 作者 changeway
2 13253 2011-11-11 09:28:34 作者 wchpei
6 23528 2011-02-02 12:26:32 作者 hannahmo
10 47946 2010-02-24 18:01:05 作者 hippo
安裝 SAMBA 3 作者 Aven  [ 1 2 3 … 10 ]
97 292251 2009-12-11 23:58:02 作者 leon.z

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed