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.
Old September 17th, 2006, 1:15 AM   #1 (permalink)
Insanely
Super #1
 
Skipdawg's Avatar
 
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
cPanel errors!

File manager and error log issues!

In file manager trying to add a small piece of code and keep getting this. Any ideas. I've never recived this before in the past 14 months!

Quote:
[a fatal error or timeout occurred while processing this directive]
Also getting this in my forum index.php
Quote:
"file has no execute permission"
Seems I was getting that before. I'm thinking this is related to that phpsuexec. If so it is getting close to being gone if it is still screwing with my ability to work with my forums.
__________________
Skipdawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 17th, 2006, 1:48 AM   #2 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
make sure ownership = defined forum user, and permissions on all files = 644 with directories 755
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 17th, 2006, 1:56 AM   #3 (permalink)
Insanely
Super #1
 
Skipdawg's Avatar
 
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
Quote:
Originally Posted by Bigjohn View Post
make sure ownership = defined forum user, and permissions on all files = 644 with directories 755
Yep those are with the correct permissions.
__________________
Skipdawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 17th, 2006, 3:56 AM   #4 (permalink)
Insanely
Super #1
 
Skipdawg's Avatar
 
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
OK weirdness factor!!

Decided I would try writing the code in an re-uploading the file. Noticed from the ftp client the file is 777 but file manager says 755 and it won't let me upload the changed file get same error and it won't let me change the permissions either. Any ideas? Double checked other files folder they all seem fine just this one weirdo!

More and more this is convincing me phpsuexec is screwing things up!
__________________
Skipdawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 17th, 2006, 4:32 AM   #5 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
Quote:
Originally Posted by Skipdawg View Post
OK weirdness factor!!

Decided I would try writing the code in an re-uploading the file. Noticed from the ftp client the file is 777 but file manager says 755 and it won't let me upload the changed file get same error and it won't let me change the permissions either. Any ideas? Double checked other files folder they all seem fine just this one weirdo!

More and more this is convincing me phpsuexec is screwing things up!
Your ownership is most likely wrong. If you use your root password to upload an original file, root will be the owner and will not work with username account. With the root password you can change the owner to the username. When logged in as username, you cannot change ownership to username from root, nor can you change root's permissions. Permissions will not necessarily be the same for both logins, so use the permissions when logged in as username.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 17th, 2006, 4:39 AM   #6 (permalink)
Insanely
Super #1
 
Skipdawg's Avatar
 
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
Well that reads real good. I've read it 3 times and it must be going over my head for I have no clue what your trying to tell me. LaughLaughLaugh
__________________
Skipdawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 17th, 2006, 4:43 AM   #7 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
Quote:
Originally Posted by Skipdawg View Post
Well that reads real good. I've read it 3 times and it must be going over my head for I have no clue what your trying to tell me. LaughLaughLaugh
Who owns the file?
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 17th, 2006, 4:56 AM   #8 (permalink)
Insanely
Super #1
 
Skipdawg's Avatar
 
Joined in Jul 2005
Lives in Northwest USA
4,154 posts
Gave thanks: 39
Thanked 78 times
Quote:
Originally Posted by cowboy View Post
Who owns the file?
I'm not sure. From the ftp it looks like I do and in file manager it acts like nobody dose.

I thought that blasted phpsuexec took everything away from nobody??
__________________
Skipdawg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 17th, 2006, 5:27 AM   #9 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
Quote:
Originally Posted by Skipdawg View Post
I'm not sure. From the ftp it looks like I do and in file manager it acts like nobody dose.

I thought that blasted phpsuexec took everything away from nobody??
A good FPT client, like FileZilla, will show owner and group as either owner/group or #####/#####. Don't even bother with cPanel's File Manager. You can also use SSH and the command:
Code:
ls -al
which owner and group will appear in the third and fourth columns.

With Set User enabled, the ownership of the file is the most important.
Before you can attempt to diagnose a phpSUexec problem the File Ownership has to be known first!

Since you have root access (SSH) you can change the ownership using the root password with the linux command:
Code:
chown owner:group filename
Owner and Group are both the username of the account throughout the public_html directory. When you convert php from Apache to CGI, you have to verify the file ownerships yourself. Once SU is in place subsequent uploads will have the proper owner/group, unless, you inadvertently upload using the root password and forget to change the ownership.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy 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
Rate This Thread
Rate This Thread:

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