Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Pages: 1
Hi, I have a dns-323, brand new, with firmware 1.05. 2x seagate 1tB drives
I installed fun_plug last night, everything was working fun, got ssh going, added AFP server + bonjour support, transfered all my data across.
This morning, I tried to add a start script to setup cron to do a nightly rsync backup. After setting it all up, I restarted my dns-323 (using cleanboot's "reboot" command) to make sure it was adding to the crontab. On startup I noticed the share did not show up on bonjour.
The DNS-323 did not start fun_plug. ssh is inaccessible.
For some reason, my Volume_1 hard drive light is blinking constantly now, and I can hear it being accessed, however no data is being transfered on the network. Edit: After waiting about 10 minutes the drive light is no longer blinking, and the access noises have stopped, however, the problem of fun_plug not starting remains.
accessing the drive using samba is still functional, as is the dlink web interface. The ffp.log file is empty.
Any suggestions?
Here is the script I put in /mnt/HD_a2/ffp/start/editcron.sh
#!/bin/sh CRONTXT=/mnt/HD_a2/crontab.txt # start with existing crontab /bin/crontab -l > $CRONTXT # add the Rsync job to execute at 2:05 am - also create a logfile /bin/echo "5 2 * * * /mnt/HD_a2/ffp/bin/rsync -rlptDv --delete /mnt/HD_a2 /mnt/HD_b2 >/mnt/HD_a2/ffp/log/rsync.last.log 2>&1" >> $CRONTXT # install the new crontab /bin/crontab $CRONTXT # clean up /bin/rm $CRONTXT
Edit again: It seems now there is another problem. I have 400+ GB on the dns-323, however, two of the largest folders (my movies (340GB) and my music (75GB) Are showing as being empty (0 items), and the dns-323 is showing 454.54GB available.
Last edited by Gimp (2009-01-09 21:14:39)
Offline
Did you disable telnet when you installed ssh?
If not the telnet server could be running to give you telnet access to your DNS-323.
One other question about your editcron.sh,
in the 9th line, which starts with /bin/echo,
this must be one continuous statement (no carriage return or line breaks) from the /bin/echo
all the way through to the $CRONTEXT. This statement can word warp but it can't have
any line breaks in it, or it will be interpreted as two separate commands
The first command would be the rsync command (without the logging part) and
that could be causing the disk activity you are experiencing at startup.
Offline
mig wrote:
Did you disable telnet when you installed ssh?
If not the telnet server could be running to give you telnet access to your DNS-323.
One other question about your editcron.sh,
in the 9th line, which starts with /bin/echo,
this must be one continuous statement (no carriage return or line breaks) from the /bin/echo
all the way through to the $CRONTEXT. This statement can word warp but it can't have
any line breaks in it, or it will be interpreted as two separate commands
The first command would be the rsync command (without the logging part) and
that could be causing the disk activity you are experiencing at startup.
Yeah, I disabled telnet.
It seems there is a linebreak in there, I guess I missed one.
/bin/echo "5 2 * * * /mnt/HD_a2/ffp/bin/rsync -rlptDv --delete /mnt/HD_a2 /mnt/HD_b2 >/mnt/HD_a2/ffp/log/rsync.last.log 2>&1" >> $CRONTXT
But I can't edit the file to remove it.
Offline
The first step in fun_plug is to start writing to the log. Perhaps the permissions are incorrect.
What can you do? Can you edit fun_plug? If you can access the shares, get telnet back up.
Offline
duhblow7 wrote:
The first step in fun_plug is to start writing to the log. Perhaps the permissions are incorrect.
What can you do? Can you edit fun_plug? If you can access the shares, get telnet back up.
I can access the shares and edit fun_plug. How would I go about re-enabling telnet if fun_plug doesn't seem to be loading?
Offline
I'm not convinced that fun_plug is not loading. It could load, but once it tries to write it's failing. Try this.
http://dns323.kood.org/howto:telnet
Offline
Alright, well, it seems my NAS is now in-accessable. I'd like to start from scratch. Are there instructions on how to completely reset / remove fun_plug etc?
Offline
I believe if you copy the fun_plug.tgz to the root of the drive,
the fun_plug script will re-install ffp over the previous ffp directory.
This should get telnet working again. Of course this will overwrite
and changes you made since the first installation, and the flawed
editcron.sh script will still be executed (I think?), until you remove it
from the ffp/start directory or remove the executable permissions.
Last edited by mig (2009-01-10 02:11:25)
Offline
Well, thanks guys, I've reset the NAS, and reformatted the drives. I'll start again and hopefully not miss that line break this time.
Offline
Pages: 1