Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I installed FFP and apr-1.2.12-oarm-2.tgz, apr-util-1.2.12-oarm-1.tgz, neon-0.25.5-oarm-1.tgz, subversion-1.5.2-oarm-1.tgz, ffp-base-0.5-oarm-1.tgz. My goal is to make SVN work, and I did it. Everything worked well until I rebooted the device.
After I rebooted my DSN323 nothing works, cannot telnet. I checked ffp.log at root and I have following messages in it
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
**** fun_plug script modded by Uli (2012-02-21 ffp@wolf-u.li) ****
Thu Dec 6 20:00:50 GMT 2012
ln -snf /mnt/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
Segmentation fault
* Running /ffp/etc/rc ...
Segmentation fault
* OK
Any reason why?
Thanks
Last edited by hardywang (2012-12-07 03:24:23)
Offline
I did number of attempts, the error would occur once I installed SVN and rebooted I got this error, with or without creating repostitory.
Anyone can help me to check svnserve.sh, mine is, I don't think it is right.
#!/ffp/bin/sh
# THANKS: KyleK
# PROVIDES: svnserve
. /ffp/etc/ffp.subr
REPOSITORY="/mnt/HD_a2/svn/"
name="svnserve"
command="/ffp/bin/$name"
svnserve_flags="-d -r ${REPOSITORY}"
#required_dirs=${REPOSITORY}
run_rc_command "$1"
Last edited by hardywang (2012-12-07 05:41:16)
Offline
If you disable (chmod a-x) this start script does the system boot correctly?
And if you start it manually afterwords - does it work as expected?
If so, than the problem might be with the startup order.
run this command:
rcorder /ffp/start/*.sh
to see it. If you'd like to modify the order add
# REQUIRE: ...
directive to the startup script (if I'm not mistaken it should be provide/require not provides/requires). see the man page for rcorder for more details.
Offline
After numerous tries, I found once I installed ffp-base-0.5-oarm-1.tgz and restarted device (no subversion installed yet) then I got Segmentation fault.
The question is if I have "Segmentation fault" I cannot even telnet to the device, how can I run rcorder command?
Offline
I finally got it, I installed fun_plug 0.7, and the ffp-base is for 0.5 and it overwrites a lot of core files which caused the problem. I downgraded fun_plug 0.5 and everything works perfectly.
Offline