Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Monkey Web Server, Problems with Monkey on 0.5.2< Next Oldest | Next Newest >
CappyCaffeine Offline





Group: Members
Posts: 64
Joined: Jan. 2004
Posted: Jan. 05 2004,18:52 QUOTE

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
Back to top
Profile PM MSN 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 05 2004,23:54 QUOTE

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.
Back to top
Profile PM WEB 
CappyCaffeine Offline





Group: Members
Posts: 64
Joined: Jan. 2004
Posted: Jan. 06 2004,00:50 QUOTE

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.
Back to top
Profile PM MSN 
2 replies since Jan. 05 2004,18:52 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Monkey Web Server

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code