Page 1 of 1

Access forbidden!

PostPosted: Mon Jan 06, 2020 5:31 am
by Yves
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.>>

Re: Access forbidden!

PostPosted: Sun Jan 19, 2020 7:27 pm
by williamconley
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.

Re: Access forbidden!

PostPosted: Mon Jan 20, 2020 9:01 am
by frequency
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