Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Cleanboot has not been working for me. So after a string of power outages and a couple days repairing my drives, I decided to move to 1.08, ext3 and run ffp off a usb stick. All seems to be working well. I am trying to keep services from touching the HD volumes as much as possible.
However, when I run:
lsof | grep HD_a2
I see the smbd is tied to the ffp.log file.
smbd 2123 root 2w REG 8,2 9947 30 /mnt/HD_a2/ffp.log
smbd 2127 root 2w REG 8,2 9947 30 /mnt/HD_a2/ffp.log
nmbd 2128 root 2w REG 8,2 9947 30 /mnt/HD_a2/ffp.log
Does anybody have any idea why this might be? I can not seem to find the connection.
BTW. I uninstalled cleanboot. So when I reboot via ssh, does that stop all the ffp services? If I work out the smbd problem then the only service that need to be shutdown for clean unmount is transmission.
Thanks in advance.
Last edited by freitas (2009-06-24 17:01:04)
Offline
Nothing seems to be here from SMB?? Could there be some other connection between smbd and this file?
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Wed Jun 24 06:54:12 GMT 2009
* Running /mnt/HD_a2/bootstrap/setup.sh ...
Success - usb-storage.ko module loaded.
Waiting 60 seconds for sdc1 to initialize.
Waiting 58 seconds for sdc1 to initialize.
Waiting 56 seconds for sdc1 to initialize.
Waiting 54 seconds for sdc1 to initialize.
Mounting /dev/sdc1 on /mnt/usb
Success - /dev/sdc1 mounted as /mnt/usb.
ln -snf /mnt/usb/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
rcorder: requirement `rcS' in file `/ffp/start/adjtimex.sh' has no providers.
* /ffp/start/adjtimex.sh ...
mode: 16384
-o offset: 0
-f frequency: 0
maxerror: 16384000
esterror: 16384000
status: 64 (UNSYNC)
-p timeconstant: 2
precision: 1
tolerance: 33554432
-t tick: 9965
time.tv_sec: 1245844460
time.tv_usec: 342161
return value: 5 (clock not synchronized)
* /ffp/start/syslogd.sh inactive
* /ffp/start/SERVERS.sh inactive
* /ffp/start/usb_all.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh ...
Linking /etc/exports ...
Starting /ffp/sbin/rpc.portmap
Starting /ffp/sbin/unfsd -e /ffp/etc/exports
* /ffp/start/transmission.sh ...
Starting transmission-daemon
* /ffp/start/test.sh inactive
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh ...
Starting /ffp/bin/ntpd -g -f /ffp/etc/ntp.drift
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
* /ffp/start/smb.sh ...
$Shutting down SMB services:
$Shutting down NMB services:
$Starting SMB services:
$Starting NMB services:
* /ffp/start/rsyncd.sh inactive
* /ffp/start/optware.sh ...
ln -snf /mnt/usb/ipkg/opt /opt
* /opt/etc/init.d/S20dbus ...
system message bus already started; not starting.
* /opt/etc/init.d/S40sshd inactive
* /opt/etc/init.d/S57rsyncd ...
* /ffp/start/openvpn.sh inactive
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh inactive
* /ffp/start/lighttpd.sh inactive
* /ffp/start/inetd.sh inactive
* /ffp/start/hosts.sh ...
* /ffp/start/editcron.sh ...
* /ffp/start/dbus_avahi.sh ...
Starting system message bus: dbus.
Starting avahi
* /ffp/start/backups.sh ...
rm: cannot remove '/home/root/.ssh': No such file or directory
ln -snf /mnt/usb/.root/.ssh/ /home/root/.ssh
* /ffp/start/aliases.sh inactive
* /ffp/start/afp.sh ...
* OK
Offline
Here is my smb.sh file
# fun_plug part if [ -r "/ffp/etc/smb.conf" ]; then cp /ffp/etc/smb.conf /etc/samba exec smb restart else echo "* /ffp/etc/smb.conf: File not found" fi
Offline
freitas wrote:
Here is my smb.sh file
Code:
# fun_plug part if [ -r "/ffp/etc/smb.conf" ]; then cp /ffp/etc/smb.conf /etc/samba exec smb restart else echo "* /ffp/etc/smb.conf: File not found" fi
It seems samba is inheriting the file descriptors that are associated with ffp.log. Try adding '>/dev/null 2>&1' or try to start smbd and nmbd directory (not using the smb program).
Offline
fonz wrote:
Try adding '>/dev/null 2>&1' or try to start smbd and nmbd directory (not using the smb program).
I restarted the smb service from the shell and now the dependency is gone. I will add the suggested changes and check the next time I reboot.
Many Thanks
Offline