pcjacobse
-
Posts
13 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by pcjacobse
-
-
Only one.
Apparently your version of slackware is using a different version of the "bash" shell (or you are using a different shell entirely) and the
disown %%
command is not recognized. This would exhibit exactly the symptoms you described.
So, if not using "bash", use it. If using a different version of the "bash" shell, change to one with a working "disown" command.
If your environment does not have the
$SHELL
variable set, set it to /bin/bash before invoking the script.
If your version of "bash" is not in /bin/bash, make a link for it there, or modify the first few lines in the script to where it lives on your system.
Joe L.
Thanks for the suggestion!
I edited the cache_dirs files and added:
as 2nd line. Now it seems to work correctly.SHELL=/bin/bashMy ssh shell was /bin/bash, however the boot script (and the simpleFeatures invoker) used /bin/sh as shell.
-
I have a strange problem using this script (the latest version 1.6.6). I run unraid 5.0-rc8a on a full slackware 14 distro.
in my /boot/config/go i have:
/usr/bin/cache_dirs -d 5 -m 3 -M 5 -w
After the boot the cache_dirs script takes up 99% cpu in the foreground. Preventing my other bootscripts to run.
When I login on ssh and try to stop it using cache_dirs -q, i get the message that its not running. And indeed there is no lock file at /var/lock/cache_dirs.LCK, but the process is running.
I can kill the script. And than my boot scripts continue (starting sickbeard etc.)
When i run it in the foreground i get the following output:
# /usr/bin/cache_dirs -d 5 -m 3 -M 5 -w -FExecuted find in 0.076995 seconds, weighted avg=0.076995 seconds, now sleeping 4 seconds
rm: cannot remove '/var/lock/cache_dirs.LCK': No such file or directory
/usr/bin/cache_dirs: line 1: kill: (6493) - No such process
rm: cannot remove '/var/lock/cache_dirs.LCK': No such file or directory
I guess this happens because i rebooted, so there is still a line 'kernel: mdcmd (11): stop' in the syslog
The script does work when I use `/usr/bin/cache_dirs -d 5 -m 3 -M 5 -w -F -B`.
Any suggestions on how to fix this?
unRAID 6 NerdPack - CLI tools (iftop, iotop, screen, kbd, etc.)
in Plugin Support
Posted
Could you add Joe's Own Editor to this?
http://joe-editor.sourceforge.net/