Drupal 'Access Denied' on all pages
Drupal site was showing "Access Denied" errors for all pages for anonymous users. It didn't appear to be a permissions problem.
A bit of Googling found a bunch of posts like this that say that, for some mysterious reason, Drupal can lose the contents of the node_access table and you need to repopulate them.
insert into node_access (nid, gid, realm,grant_view, grant_update,grant_delete) values ('0', '0', 'all','1', '0', '0')
If U dont have database access then do this thing visit to
/admin/content/node_settings/rebuild
would fire off an internal process to do the same thing as database inser query to node_access table
would fire off an internal process to do the same thing as database inser query to node_access table