Recent Posts by adot

Subscribe to Recent Posts by adot 2 post(s) found

Feb 20, 2008
Avatar adot 2 post(s)

Topic: KnowledgeTree / knowledgetree-3.5.2-beta1 error

Okay my bad.

After rebooting I started the stack without sudo and everything works fine.

So all that needs doing is to fix the permissions on the log folder.

I guess I still got the error message due to not flushing my cache and httpd not being able to serve up something new. I don’t know. I guess the good old principle of “Have you tried turning it on and off again?” isn’t so old after all.

If you still need that log let me know.

 
Feb 20, 2008
Avatar adot 2 post(s)

Topic: KnowledgeTree / knowledgetree-3.5.2-beta1 error

G’Day,

I think I’ve got a related problem.

I installed the KT-Stack under Mac OSX 10.4 and everything ran fine. After restarting my machine I started the Stack using

sudo sh /Applications/knowledgetree-3.5.2-beta1-1/ctlscript.sh start

But when accessing KT I get following error:

Failed to create log file /Applications/knowledgetree-3.5.2-beta1-1/apps/knowledgetree/var/log/log-2008-02-20.nobody.txt (check permissions)

I set the permissions of the appropriate folder to 777 and ran

sudo sh /Applications/knowledgetree-3.5.2-beta1-1/ctlscript.sh restart

and get following output:

localhost:/Applications/knowledgetree-3.5.2-beta1-1 dahaarhoff$ sudo sh ctlscript.sh restart
Syntax OK
/Applications/knowledgetree-3.5.2-beta1-1/apache2/scripts/ctl.sh : httpd stopped
/Applications/knowledgetree-3.5.2-beta1-1/mysql/scripts/ctl.sh : mysql not running
/Applications/knowledgetree-3.5.2-beta1-1/mysql/scripts/ctl.sh : mysql started at port 3306
Starting mysqld.bin daemon with databases from /Applications/knowledgetree-3.5.2-beta1-1/mysql/data
STOPPING server from pid file /Applications/knowledgetree-3.5.2-beta1-1/mysql/data/localhost.pid
080220 20:10:59 mysqld ended

Syntax OK
/Applications/knowledgetree-3.5.2-beta1-1/apache2/scripts/ctl.sh : httpd started at port 8080

And I still get the error message when trying to access KT.

I’m guessing it’s got something to do with mysql being stopped. But couldn’t figure out why…

Thanks,

Roger