icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Private Hosting » Clearing the Error Log?

Private Hosting Questions about VPS, dedicated servers and colocation.

Reply
 
LinkBack Thread Tools Search this Thread
Old December 16th, 2007, 5:17 AM   #1 (permalink)
Registered User
Comfy Contributor
 
Tsikura's Avatar
 
Joined in Apr 2006
Lives in New York
Hosted on VPS-5
172 posts
Gave thanks: 8
Thanked 8 times
Clearing the Error Log?

Anyone know where the file is that needs to be deleted to clear out the error log shown in cpanel?

I know I've done it before and this error stays behind but not a big deal.

Quote:
[2006-10-11 10:33:37]: error: file has no execute permission: (/home/xxx/public_html/w/wp-content/plugins/xinha4wp/xinha_core/plugins/ContextMenu/1.pl)
[2006-10-11 09:00:04]: error: file has no execute permission: (/home/xxx/public_html/w/wp-content/plugins/xinha4wp/xinha_core/plugins/SpellChecker/spell-check-logic.cgi)
[2006-10-10 07:54:36]: error: file has no execute permission: (/home/xxx/public_html/w/wp-content/plugins/xinha4wp/xinha_core/plugins/ContextMenu/1.pl)
[2006-10-10 06:25:54]: error: file has no execute permission: (/home/xxx/public_html/w/wp-content/plugins/xinha4wp/xinha_core/plugins/SpellChecker/spell-check-logic.cgi)
[2006-06-28 04:33:26]: error: directory is writable by others: (/home/xxx/public_html/w)
[2006-06-28 04:33:25]: error: directory is writable by others: (/home/xxx/public_html/w)
Tsikura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 19th, 2007, 4:11 PM   #2 (permalink)
Registered User
Comfy Contributor
 
shakh's Avatar
 
Joined in Mar 2005
Lives in Niagara, Canada
Hosted on just.shak.ws
170 posts
Gave thanks: 55
Thanked 5 times
Tsikura, you have two files that the server wants to execute but has no permission:

1) /home/xxx/public_html/w/wp-content/plugins/xinha4wp/xinha_core/plugins/Contex tMenu/1.pl
2) /home/xxx/public_html/w/wp-content/plugins/xinha4wp/xinha_core/plugins/SpellC hecker/spell-check-logic.cgi

You could delete those files, but you could get an error elsewhere as a consequence.
What about giving those files execute permission? You can do it in ssh (chmod a+x thefile) or using the File Manager to set "permissions".

The last error "directory is writable by others: (/home/xxx/public_html/w)" is security warning. Consequence is vulnerability to malicious code, which may penetrate your server and enslave it for evil!

Maybe Surpass Hosting support would be gracious enough to tune up those issues if you submitted a ticket. If you don't have PHPSuExec or suPHP installed for apache, consider them, especially with respect to the last error, which I would not leave unaccounted.

D.Shak
shakh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 19th, 2007, 4:58 PM   #3 (permalink)
Registered User
Comfy Contributor
 
Tsikura's Avatar
 
Joined in Apr 2006
Lives in New York
Hosted on VPS-5
172 posts
Gave thanks: 8
Thanked 8 times
Those errors are over a year old. I do not have any of those files/directory anymore.

I also have most folders as 755 as it is. I cleared the error log once, fine, but those errors above never disappeared. I don't really need a lesson about phpsuexec, been there done that and it has caused more problems than good. Not everyone will just install scripts and not update them or check for vulnerabilities. Those files above were just for testing and dissecting some php files. I have almost no clue about how to use cpanel as I prefer ssh now.

Last edited by Tsikura; December 19th, 2007 at 5:00 PM.
Tsikura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 19th, 2007, 5:35 PM   #4 (permalink)
Registered User
Comfy Contributor
 
Tsikura's Avatar
 
Joined in Apr 2006
Lives in New York
Hosted on VPS-5
172 posts
Gave thanks: 8
Thanked 8 times
Finally got rid of those errors. There was on suexec log that I didn't see before.

/usr/local/apache/logs/
Tsikura is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 20th, 2007, 12:13 PM   #5 (permalink)
Registered User
Comfy Contributor
 
shakh's Avatar
 
Joined in Mar 2005
Lives in Niagara, Canada
Hosted on just.shak.ws
170 posts
Gave thanks: 55
Thanked 5 times
Quote:
Originally Posted by Tsikura View Post
I have almost no clue about how to use cpanel as I prefer ssh now.
I prefer SSH as well, but cPanel makes some tasks easier & faster to complete. If you can use SSH, then cPanel should be a piece of cake for you.

Can you tell us about your problems with PHPSuExec? I have been running it with no problems [once the initial implementation problems were ironed out]. Maybe you should try the other solution suPHP.

D.Shak
shakh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On