Page Index Toggle Pages: 1
Topic Tools
Hot Topic (More than 10 Replies) Permission denied - unable to open (Read 2,718 times)
Captain John
Ex Member


Re: Permission denied - unable to open
Reply #11 - Nov 2nd, 2010 at 2:44pm
Post Tools
Great ... it is rare, but for some reasons unknown, a host server will require 777 to enable scripts to run.  Glad you found it.
  
Back to top
 
IP Logged
 
Average user
YaBB Newcomer
*
Offline



Posts: 11
Re: Permission denied - unable to open [Solved]
Reply #10 - Nov 2nd, 2010 at 10:24am
Post Tools
OK. I managed to fix all problems. The installation guide says one should use chmod  755 on many files/directory permission but I changed it to 777 as suggested here elsewhere. That solved all the "Unable to open/Permission denied" problems in my case. I also deleted the zeroed files and ran maintenance.

Thank you for you time and help.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Permission denied - unable to open
Reply #9 - Nov 1st, 2010 at 3:42am
Post Tools
See the YaBB Codex for file structures > http://www.yabbforum.com/codex/YaBB.pl?num=1224094402
  
Back to top
 
IP Logged
 
Average user
YaBB Newcomer
*
Offline



Posts: 11
Re: Permission denied - unable to open
Reply #8 - Oct 31st, 2010 at 7:53pm
Post Tools
I do not have a backup - or I think my backup is from the corrupted state. Domain does not do a backup.

What I am now looking is just to start from clean slate (users data preserverd, though). I'll return the messages by hand but currently I cannot do that: I get the "Unable to open/Permission denied" to just about anything, deleting a message, adding a message, etc.

A few weeks back all was ok. The server had crashed, some messages were zero, but others were ok. I think some Admin operation could have rendered some data file corrupt and prevented futher operation.

  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Permission denied - unable to open
Reply #7 - Oct 31st, 2010 at 3:48pm
Post Tools
Quote:
An upgrade ?
Do you have a backup ???????
Does your domain host have one??

  
Back to top
 
IP Logged
 
Average user
YaBB Newcomer
*
Offline



Posts: 11
Re: Permission denied - unable to open
Reply #6 - Oct 31st, 2010 at 8:37am
Post Tools
I am runnin version 2.5
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Permission denied - unable to open
Reply #5 - Oct 30th, 2010 at 6:22pm
Post Tools
What version of YaBB are you running ?
An upgrade ?
Do you have a backup ???????
Does your domain host have one??
« Last Edit: Oct 30th, 2010 at 6:24pm by »  
Back to top
 
IP Logged
 
Average user
YaBB Newcomer
*
Offline



Posts: 11
Re: Permission denied - unable to open
Reply #4 - Oct 30th, 2010 at 3:47pm
Post Tools
I deleted all ctb and txt files from Messages.

No I get: Unable to open ./Boards/general.txt
Verbose: Permission denied

I am not able to do just about anything. Any maintenance or anything else. What files I need to delete to get back to some working state.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Permission denied - unable to open
Reply #3 - Oct 30th, 2010 at 1:06am
Post Tools
What version you running? Do you still have "zero'd" files ?, they must be removed or overwritten with your message backup files.
« Last Edit: Oct 30th, 2010 at 1:07am by »  
Back to top
 
IP Logged
 
Average user
YaBB Newcomer
*
Offline



Posts: 11
Re: Permission denied - unable to open
Reply #2 - Oct 29th, 2010 at 7:56pm
Post Tools
Messages has 755.

When I run Rebuild indexes I get
Unable to open ./Messages/-55826513002.ctb
Verbose: Permission denied


All "Rebuild" return similar errors. Ie. Rebuild members I get:
Unable to open ./Members/membercalc.txt.rebuild
Verbose: Permission denied
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Permission denied - unable to open
Reply #1 - Oct 29th, 2010 at 4:10pm
Post Tools
Does the folder (Messages) have a 755 CHMOD ?  Are the User/Group correct for this folder ?   Have you run the Maintenance functions in Admin Center ?
  
Back to top
 
IP Logged
 
Average user
YaBB Newcomer
*
Offline



Posts: 11
Permission denied - unable to open
Oct 29th, 2010 at 7:59am
Post Tools
I get this message when clicking on a message
Unable to open ./Messages/1280259288.ctb
Verbose: Permission denied

I checked the file 1280259288.ctb and using FileZilla and it has attributes 644. Also the file 1280259288.ctb has 644

I tried changing both to 755 just to see if that helped to no avail.

What can I check next?

I had the server crash sometime ago and some files were corrupted (the files had just nulls instead of text).
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top