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

Discussion in 'General' started by Mr. Spinnas, Jun 8, 2011.

  1. Mr. Spinnas

    Mr. Spinnas New Member

    Alright thanks I post again when I see that error occurs again. I dont think admincp/modcp was the issue of it
  2. NiteWave

    NiteWave Administrator

    the popup box prompt "Please reload the window", does that help?
  3. Mr. Spinnas

    Mr. Spinnas New Member

    Yeah when i hit ok it load just fine
  4. NiteWave

    NiteWave Administrator

    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.
  5. Mr. Spinnas

    Mr. Spinnas New Member

    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.
  6. NiteWave

    NiteWave Administrator

    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 {} \;
  7. Mr. Spinnas

    Mr. Spinnas New Member

    # find /dev/shm/lsdiskcache -type f --exec ls --full-time {} \;
    find: invalid predicate `--exec'
  8. NiteWave

    NiteWave Administrator

    typo -- should be:
    #find /dev/shm/lsdiskcache -type f -exec ls --full-time {} \;
  9. Mr. Spinnas

    Mr. Spinnas New Member

    -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
  10. NiteWave

    NiteWave Administrator

    your cron job looks not work right. please paste your cron job here
  11. Mr. Spinnas

    Mr. Spinnas New Member

    How can i check it? I added that cron job command on that tutorial on ssh
  12. NiteWave

    NiteWave Administrator

    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
  13. Mr. Spinnas

    Mr. Spinnas New Member

    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: Jun 9, 2011
  14. NiteWave

    NiteWave Administrator

    as long as it runs every 10 minutes, it's ok :)

    how about the cache files' time stamp now?
  15. Mr. Spinnas

    Mr. Spinnas New Member

    Scratch that I added on crontab instead

Share This Page