#1 2008-07-09 00:40:00
求助,安裝 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)
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
如果N13U B1刷DD-WRT下QoS,P2P,BT,架設FTP,Samba,Web+php 作者 hollowaysxp
|
1 | 12684 | 2011-11-15 20:32:59 作者 changeway |
RT-n16 DD samba 和FTP傳輸問題 作者 wchpei
|
2 | 13253 | 2011-11-11 09:28:34 作者 wchpei |
samba 3 nas 無法由主機名稱找到 只能從ip找 作者 ted_chou12
|
6 | 23528 | 2011-02-02 12:26:32 作者 hannahmo |
|
10 | 47946 | 2010-02-24 18:01:05 作者 hippo |
|
97 | 292251 | 2009-12-11 23:58:02 作者 leon.z |