From: L. <fr...@ta...> - 2004-05-16 12:40:32
|
Hi, I have installed tdiary 1.5.6 with a debian SID package. Like you see here http://fredix.taonix.net/diary/ i have some problem. Can somebody help me ? Thanks. |
From: zunda <zun...@ya...> - 2004-05-16 22:01:32
|
Hi, > I have installed tdiary 1.5.6 with a debian SID package. Like you see > here http://fredix.taonix.net/diary/ I saw the 500 Internal Server Error. First thing you might want to check is the error log of the www server. Does somebody know where the error log is on a debian? zunda __________________________________________________ Do You Yahoo!? http://bb.yahoo.co.jp/ |
From: L. <fr...@ta...> - 2004-05-17 17:20:43
|
Le lun, 17/05/2004 à 10:22 +0900, Takuya YAMAGUCHI a écrit : > Hi, > > > Does somebody know where the error log > > is on a debian? > > See /var/log/apache/*.log. > It's important to check suexec.log as well as error.log > using debian. ruby: Permission denied -- /var/www/home/fredix/diary/index.rb (LoadError) [Mon May 17 19:13:19 2004] [error] [client 62.4.18.125] Premature end of script headers: /var/www/home/fredix/diary/index.rb |
From: Takuya Y. <ta...@ya...> - 2004-05-18 04:14:22
|
Hi, > ruby: Permission denied -- /var/www/home/fredix/diary/index.rb > (LoadError) > [Mon May 17 19:13:19 2004] [error] [client 62.4.18.125] Premature end of > script headers: /var/www/home/fredix/diary/index.rb Do you check permission of: index.rb executable? each path directory readable? Is suexec.log empty? Regards, -- YAMAGUCHI Takuya(ta...@ya...) |
From: L. <fr...@ta...> - 2004-05-18 17:30:47
|
Le mar, 18/05/2004 à 13:14 +0900, Takuya YAMAGUCHI a écrit : > Hi, > > > ruby: Permission denied -- /var/www/home/fredix/diary/index.rb > > (LoadError) > > [Mon May 17 19:13:19 2004] [error] [client 62.4.18.125] Premature end of > > script headers: /var/www/home/fredix/diary/index.rb > > Do you check permission of: > index.rb executable? armitage:/var/www/home/fredix/diary# ls -l total 32 -rwx-----x 1 fred fred 55 May 16 21:51 index.rb -rwx-----x 1 fred fred 9954 May 16 21:51 squeeze.rb -rw-r--r-- 1 fred fred 10622 May 16 21:51 tdiary.conf -rwx-----x 1 fred fred 56 May 16 21:51 update.rb and if i change permission of index.rb : chmod 766 index.rb -rwxr-xr-x 1 fred fred 55 May 16 21:51 index.rb Now check the new error on http://fredix.taonix.net/diary/ : `load_cgi_conf': stack level too deep (SystemStackError) > each path directory readable? armitage:/var/www/home/fredix# ls -ld diary/ drwxr-xr-x 2 fred fred 88 May 16 21:51 diary/ > Is suexec.log empty? yes |
From: zunda <zun...@ya...> - 2004-05-18 18:03:49
|
Hi, > Now check the new error on http://fredix.taonix.net/diary/ : > > `load_cgi_conf': stack level too deep (SystemStackError) We have finally reached errors in tDiary. It seems that your @data_path in /var/www/home/fredix/diary/tdiary.conf points to the directory where the tdiary.conf itself is. You have to set @data_path somewhere else, preferably a path which is not exposed to the Internet (that is, not under DocumentRoot of apache or ~public_html). You will also have to set permission or owner of the directory which @data_path points so that apache can write and read. tDiary will run as the same user which apache is running as. (In case you activate SuEXEC and you have your CGIs under ~/public_html, the process will be running as yourself.) I hope this helps. Regards, zunda PS. Is there a document describing installation of tDiary in English? If not someone has to prepare one... At least, it might be a good idea to add English comments in tdiary.conf. __________________________________________________ Do You Yahoo!? http://bb.yahoo.co.jp/ |
From: L. <fr...@ta...> - 2004-05-18 19:20:40
|
Le mer, 19/05/2004 à 03:03 +0900, zunda a écrit : > Hi, > > > Now check the new error on http://fredix.taonix.net/diary/ : > > > > `load_cgi_conf': stack level too deep (SystemStackError) > > We have finally reached errors in tDiary. It seems that your > @data_path > in /var/www/home/fredix/diary/tdiary.conf points to the directory where the > tdiary.conf > itself is. You have to set @data_path somewhere else, preferably a path which is > not > exposed to the Internet (that is, not under DocumentRoot of apache or > ~public_html). > > You will also have to set permission or owner of the directory which @data_path > points > so that apache can write and read. tDiary will run as the same user which > apache is running as. (In case you activate SuEXEC and you have your CGIs under > ~/public_html, the process will be running as yourself.) > > I hope this helps. Ok it works, sorry for my stupid error ! |
From: Takuya Y. <ta...@ya...> - 2004-05-17 01:22:43
|
Hi, > Does somebody know where the error log > is on a debian? See /var/log/apache/*.log. It's important to check suexec.log as well as error.log using debian. -- YAMAGUCHI Takuya(ta...@ya...) |