[solved]Need Help. 500 Internal Server Error "Please Read"

NiteWave

Administrator
#24
looks not a problem at all and be normal.

for worst guess, it looks to be a side effect of page cache. But won't cause any problem except one extra popup box. I believe this side effect can be eliminated after further investigation to the php scripts or it's one normal exception which already under the scripts' consideration.
 
#25
It fixed not doing that anymore. I think it was a vbseo or the admin/modcp when i change it to the real folder name. I realize I forgot a important file for vbseo as well when I upgrade it.

12M /dev/shm/lsdiskcache

Not sure if the cron job is really working and thanks for all the support.
 

NiteWave

Administrator
#26
Not sure if the cron job is really working
1.can you post your cron job here?

2.check each cache file's time stamp, if no too old ones, the cron job should be working fine:
#find /dev/shm/lsdiskcache -type f --exec ls --full-time {} \;
 
#29
-rw------- 1 apache apache 9237 2011-06-09 12:53:33.599426363 +0200 /dev/shm/lsd iskcache/1/1/4/1147668e
-rw------- 1 apache apache 9077 2011-06-09 14:08:52.617426363 +0200 /dev/shm/lsd iskcache/1/1/d/11d20b6c
-rw------- 1 apache apache 298 2011-06-09 09:25:44.089426363 +0200 /dev/shm/lsdi skcache/1/1/d/11d2ab57
-rw------- 1 apache apache 10083 2011-06-09 05:02:34.252426363 +0200 /dev/shm/ls diskcache/1/1/e/11e22126
-rw------- 1 apache apache 9811 2011-06-09 00:17:10.146426363 +0200 /dev/shm/lsd iskcache/1/1/8/11821afb
-rw------- 1 apache apache 9082 2011-06-09 13:39:08.322426363 +0200 /dev/shm/lsd iskcache/1/1/2/112ac006
-rw------- 1 apache apache 10144 2011-06-08 22:59:31.749426363 +0200 /dev/shm/ls diskcache/1/1/2/1126901f
-rw------- 1 apache apache 13403 2011-06-09 11:32:17.107426363 +0200 /dev/shm/ls diskcache/1/1/5/1151f95c
-rw------- 1 apache apache 10076 2011-06-08 18:12:51.326426363 +0200 /dev/shm/ls diskcache/1/1/1/111b59c6
-rw------- 1 apache apache 9990 2011-06-09 13:07:25.096426363 +0200 /dev/shm/lsd iskcache/1/a/9/1a9bd742
-rw------- 1 apache apache 10629 2011-06-09 10:04:50.171426363 +0200 /dev/shm/ls diskcache/1/a/e/1ae73412
-rw------- 1 apache apache 9949 2011-06-09 00:19:08.931426363 +0200 /dev/shm/lsd iskcache/1/a/b/1abb04b8

took off a - on exec
 

NiteWave

Administrator
#32
sorry, looks the blog need update. should be:
add one line at the end of /etc/crontab:
*/10 * * * * root find /tmp/diskcache -type f -mmin +8 -delete 2>/dev/null
in your case, replace above /tmp/diskcache to /dev/shm/lsdiskcache
 
#33
Ah alright so i added that command to ssh. How can i see if it actually working? wait 10 min and use

#find /dev/shm/lsdiskcache -type f -exec ls --full-time {} \;

How can I see a list of cronjob added to server? If it possible.


I added the cronjob on directadmin is that ok?
 
Last edited:
#36
The 500 Internal Server Error is the general catch all error when the server throws an exception. It is the error message when no more specific error message is suitable. It may be difficult to troubleshoot this error because it can be triggered out by many different issues. This error means there is a problem on the server side. However, there are often ways to quickly get around the problem:

Reload the web page.
Clear your browser's cache
Delete your browser's cookies
Or Come back later.
 
Top