Access forbidden!

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Access forbidden!

Postby Yves » Mon Jan 06, 2020 5:31 am

Dear Team ,
MySQL table is marked as crashed and last (automatic?) repair failed
I have tried to do repair table tablename and it doesn't seem to do anything

I have tried to run the below command as ssh shell ie: from putty

mysqlcheck -u cron -p --auto-repair --all-databases
mysqlcheck -u cron -p --check --all-databases
mysqlcheck -u cron -p --optimize --all-databases
/usr/share/astguiclient/AST_DB_optimize.pl --debug
and it doesn't repair still it giving below error when trying to access through web
<<Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.>>
Yves
 
Posts: 1
Joined: Tue Mar 12, 2019 5:26 am

Re: Access forbidden!

Postby williamconley » Sun Jan 19, 2020 7:27 pm

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) If the error is "access forbidden", why would you think the problem is a crashed table? You are trying to execute a web page and being told you can't because access to the page in question is forbidden. Check the apache logs.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Access forbidden!

Postby frequency » Mon Jan 20, 2020 9:01 am

Yves wrote:Dear Team ,
MySQL table is marked as crashed and last (automatic?) repair failed
I have tried to do repair table tablename and it doesn't seem to do anything

I have tried to run the below command as ssh shell ie: from putty

mysqlcheck -u cron -p --auto-repair --all-databases
mysqlcheck -u cron -p --check --all-databases
mysqlcheck -u cron -p --optimize --all-databases
/usr/share/astguiclient/AST_DB_optimize.pl --debug
and it doesn't repair still it giving below error when trying to access through web
<<Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.>>


Folder permission issues
chmod -R 755 /var/spool/asterisk
frequency
 
Posts: 117
Joined: Mon Jun 13, 2016 11:18 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 70 guests