Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: wolf_core on June 18, 2012, 04:55:57 PM
-
Hi, i have installed in sequence cherokee, python, php5, fcgi as explained in "Topic: How do you set up a webserver?" Than in console i type all the commands
cd /usr/local/etc/cherokee
sudo mv cherokee.conf cherokee.conf.bak
sudo cp cherokee.conf.bak cherokee.conf
cd /var/log
sudo touch cherokee.access cherokee.error
sudo chown tc.staff cherokee.*
echo usr/local/etc/cherokee/cherokee.conf >> /opt/.filetool.lst
echo var/log/cherokee.access >> /opt/.filetool.lst
echo var/log/cherokee.error >> /opt/.filetool.lst
filetool.sh -b
but then i type in console
sudo cherokee-admin
to set-up cherokee there is an error that say that .conf file refer to an interpreter that is not in the system.
What I have missed, i don't understand my errors.
Thanks in advance Luca
-
Hi wolf_core
there is an error that say that .conf file refer to an interpreter that is not in the system.
Posting the actual error message might be helpful. Also, maybe you need to run:
sudo /usr/local/etc/init.d/cherokee start
before you run sudo cherokee-admin ?
-
Hi Rich, il I run
sudo /usr/local/etc/init.d/cherokee start
cherokee start and i can see the welcome page.
But if I run sudo cherokee-admin
I have an error (error) source_interpreter.c:479 - Could not find interpreter '/usr/local/share/cherokee/admin/server.py 4000 /usr/local/etc/cherokee.conf' | The server configuration refer to an interpreter that is not installedin the system. main_admin.c:425 - Could not initialize the sever
After installed all the package i have also error when shut off the system
Errors occurred during backup! - See: /tmp/backup_status
in the backup_status file there is the message Tar: removing leading '/' from member name
Thanks Luca
-
After installed all the package i have also error when shut off the system
Errors occurred during backup! - See: /tmp/backup_status
in the backup_status file there is the message Tar: removing leading '/' from member name
need to do the next
sed -i "s/^\///g" /opt/.filetool.lst
ie to remove leading / from member name in /opt/.filetool.lst
-
Thanks AbNoRMiS, your code fix backup problem ;D.
sed -i "s/^\///g" /opt/.filetool.lst
-
but unfortunately i can't say why /usr/local/etc/cherokee.conf
refers to the missing /usr/local/share/cherokee/admin/server.py
-
may can solve this problem by taking the script cherokee-1.2.101/admin/server.py from the source
http://mirror.aarnet.edu.au/pub/cherokee/1.2/1.2.101/cherokee-1.2.101.tar.gz
and putting it to the desired location and then add this to the backup list
sudo cp server.py /usr/local/share/cherokee/admin && echo usr/local/share/cherokee/admin/server.py >> /opt/.filetool.lst
-
Thanks AbNoRMiS, I look in the package .tar.gz and there are a lot of file .py that aren't in .tcz. It seems that all WEBGUI files called from cherokee-admin aren't included in .tcz :'( .
-
may needed to send a request to correct this?