Monkey Web Server


Forum: User Feedback
Topic: Monkey Web Server
started by: CappyCaffeine

Posted by CappyCaffeine on Jan. 05 2004,18:52
John,

I hate to report that Monkey is broken on 0.5.2. Since you moved the /home/root/monkey-0.6.3 directory to /opt/monkey-0.6.3, the  configuration files, and paths to the binaries are incorrect in the following files:

/opt/monkey-0.6.3/bin/banana (the script needs to be edited to include a path to the configuration files

under the sections for start and restart change the following:

/home/root/monkey-0.6.3/bin/monkey -D
to
/opt/monkey-0.6.3/bin/monkey -c /opt/monkey-0.6.3/conf -D

also, you need to change the paths in ~.fluxbox/menu to the new directory in /opt,

(don't forget to change the .fluxbox/menu in /etc/skel as well.)

AND.. change the the paths in /opt/monkey-0.6.3/conf/monkey.conf as well.

I think that's all i did, (I am typing this from work, not the machine with DSL on it) and got it working.

I tried simply to create a symbolic link from /home/root to /opt/monkey-0.6.3, but it didn't work.. dunno why not.

In any case, I think it is more elegant to change the configuration files instead since they are pretty easy to do.

If you want, I can upload my configuration files for you, though I believe you can probably do the above changes yourself.

Cheers!

Cappy

Posted by roberts on Jan. 05 2004,23:54
A simple quick temporary fix is to open a window and at the prompt type

sudo mv /opt/monkey-0.6.3 /home/root/.

It then will work as normal. The problem is that the monkey binary is compiled with the /home/root.

This has already been fixed for the next release.

Posted by CappyCaffeine on Jan. 06 2004,00:50
Yup, I considered doing this, but I kinda like how monkey sits in the /opt directory rather than the /home/root directory.

I retried creating a symbolic link in /home/root dir and all is well if  I ran it as root (sudo root). I have not tried running it as damnsmall.

I figured that the path to the config files was hard-coded into the binary. hard to change that tho!

Cappy.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.