Not sure where to start looking to fix. But crawler is working or trying to work.. yipee, half way home, lol.
; Information added by drupal.org packaging script on 2009-08-21
version = "6.x-1.x-dev"
core = "6.x"
project = "boost"
datestamp = "1250856404"
(downloaded Aug 29th, 2 am)
directory permissions 755
caching html, gz, css, js --all seem to be fine
URL, www.bexleymarine.com
Boost is producing cached files upon request.
Repeats the same actions for every cron run.
Drupal Db log:
access denied 08/29/2009 - 5:18pm boost-crawler Anonymous
boost 08/29/2009 - 5:18pm Crawler Start Anonymous
boost 08/29/2009 - 5:18pm Expired stale files from static page cache. Anonymous
no errors in server log.
apache, Debian
Mysql, 5.0.45
PHP, 5.2.2
any hints as to where to look would be great awesome
| Comment | File | Size | Author |
|---|---|---|---|
| #35 | boost-563380.patch | 4.4 KB | mikeytown2 |
| #34 | boost-563380.patch | 920 bytes | mikeytown2 |
| #25 | boost-563380.patch | 965 bytes | mikeytown2 |
| #2 | robots.txt | 1.66 KB | dbeall |
| htaccess.txt | 7.12 KB | dbeall |
Comments
Comment #1
mikeytown2 commentedHere's my guess...
Crawler grabs all url's from your url_alias table, inside that are some non-published url's that also have an alias. Crawler hit's it and gets a 403 as expected. Can you check to see if this is the case; is the access denied message legitimate? Looks like I need to make the url_alias table import only get published url's.
Comment #2
dbeall commentedcould this be from the robots file?
addition info: normal install, single domain, shared host, installed in root.
running poormanscron.dev
edit: I will have a look, but I am almost positive all aliases are published and available to all users
Comment #3
mikeytown2 commentedeh scratch that... for some reason the menu hook is not working for anonymous users.
access callback inside boost_menu() isn't happy...
Try doing a flush_all_caches on the performance page at the bottom.
Comment #4
dbeall commentedThere was one page not published as it was a base path for views tabs page, changed it to published. Have cron set to every hour for now, will see.
Comment #5
dbeall commentedflushed caches on performance page. you want in there...
Comment #6
dbeall commentedstill same result:
Db log:
access denied 08/29/2009 - 7:42pm boost-crawler Anonymous
boost 08/29/2009 - 7:42pm Crawler Start Anonymous
boost 08/29/2009 - 7:42pm Expired stale files from static page cache. Anonymous
user 08/29/2009 - 6:24pm Session closed for batman. batman (this is last log out)
boost 08/29/2009 - 6:24pm Flushed ALL files from static page cache. batman (cleared cache performance page)
content 08/29/2009 - 6:22pm page: updated Service BASE PAGE. batman view (set page to published)
Comment #7
mikeytown2 commentedwould you mind running this in a php block?
It should return 1
Comment #8
dbeall commentedI put it in a block, on front page rt, bottom.. It just shows the php code.. howto?
Comment #9
mikeytown2 commentedInput format should be PHP code. Select below the text area
Comment #10
mikeytown2 commentedyou might have to enable the php filter, on the module page
Comment #11
dbeall commentedI added an input format as php with no filters, block shows, but no code and no characters.
..never have used php format,.. am i doing something wrong... can you say noob...
edit... ok module page...
Comment #12
mikeytown2 commentedok that means for some reason that didn't get set right... Can your try pressing the 'Clear cached data' button at the bottom of the performance page again? Then check the output from the block again.
Comment #13
dbeall commenteddamit. added module, shows php code selection, selected. now block shows nothing or no block
Comment #14
mikeytown2 commentedDo this to keep your self sane. It should print output before the result from the database.
Comment #15
dbeall commentedcleared cache, php input format is set to default, all users, no block shows.
Comment #16
mikeytown2 commentedwhat region is the block located in? footer is a good place.
Comment #17
dbeall commentedout put==1
.. I hate being stupid...
Comment #18
mikeytown2 commentedgo ahead and disable the block, the database has the correct setting. Run cron and let me know; after this I'll have to think of another reason why it wouldn't be working. I hoping the 'Clear cached data' this time did the trick. It's now in my list of things to do #563408: flush all caches before releasing RC3
Comment #19
dbeall commentedblock is right, bottom, front page.. not an issue, my client(friend) is just tickled...
Comment #20
dbeall commentedok, back to normal... This is not a priority, as in this second... a work in progress.
Did I say thank you...
Comment #21
dbeall commentedcleared all caches, including the performance page and ran manual cron before logout.
Comment #22
dbeall commenteddon't know if this would help, I do have access to set php.ini
I assume clearing Boost database(clean boost database, use caution) is left as is or(not cleared)
Comment #23
mikeytown2 commentedyeah you don't need to clear the boost database
Comment #24
dbeall commentedupdate, no change.
cron 08/29/2009 - 10:13pm Cron run completed (via poormanscron). Anonymous
cron 08/29/2009 - 10:13pm Cron run completed. Anonymous
warning access denied 08/29/2009 - 10:13pm boost-crawler Anonymous
boost 08/29/2009 - 10:13pm Crawler Start Anonymous
boost 08/29/2009 - 10:13pm Expired stale files from static page cache.
Thank You.
Will be checking out your new stuff tomorrow..
Comment #25
mikeytown2 commentedhere is the patch. going to commit it, so it should be in the latest dev
Comment #26
mikeytown2 commentedonce this issue if fixed, expect RC3 :)
Comment #27
dbeall commentedbeen up sudo-ing all night(lol), finally got my first networked linux(lamp) server running(rough, but running)named it DRU.
by the time i get sleep, your commits will be cycled or i will apply patches where needed.
-The php(block) server test you did, checks to see that mysql is responding properly to boost? yes.
I noticed this was the URL listed in details at access denied time, http://bexleymarine.com/boost-crawler?nocache=1
Comment #28
mikeytown2 commented@dbeall, have you tried the latest dev yet?
ps this is how I do it with XAMPP
http://drupal.org/node/505974
Comment #29
dbeall commentedwell, still getting same result, access denied. It just has me thinking that I am doing something wrong. ?
You know what they say, It's not the computer, It's the idiot using it(that would be me).
Comment #30
mikeytown2 commented@dbeall
what modules are installed? Out of those what has to do with access control?
Comment #31
dbeall commentedhave block visible www.bexleymarine.com front page, rt side, bottom. No access controls that I am aware of other than core permissions(which are mostly open to all). There are only 2 auth users, admin(me) and the business owner.
also running test on my site db.com
Comment #32
dbeall commentedThis may or may not be an issue:
noticed that the access denied has my host IP address listed.. Is there a way to assign an IP other than the host for crawler?
Trying this:
I have set an 'allow host rule' in the Drupal access settings and added the host IP address into htaccess for 'allow'.
It has to be something, because it faithfully tries at each cron run.
Comment #33
dbeall commentednope, adding rules to allow host IP address didn't do anything.
Comment #34
mikeytown2 commentedK figured it out... now I need a solution. Your guesses at the IP address where correct, but for another reason. I do a test to make sure the crawler can only be called by its self, which does a simple IP address comparison. Your server doesn't set the $_SERVER['SERVER_ADDR'] variable. I might end up doing something similar to a cron key, thats now in drupal 7 core, in order to protect access from outsiders http://api.drupal.org/api/function/system_update_7001/7. I should also put in a test on the requirements page to make sure drupal allows access to this url.
Attached is a patch that removes this logic, but it's not the correct solution. It's a way to confirm that this is the problem. Apply the patch or remove-manually/comment-out the 4 lines and let me know if this fixed it.
Comment #35
mikeytown2 commentedthis should do it
Comment #36
dbeall commented!!! You nailed it !!!
mikeytown2 == Boost Drupal PHP server wizard
Comment #37
mikeytown2 commentedComment #38
mikeytown2 commentedcommitted
Comment #39
dbeall commentedPossibly the final post here, and it should read something like this;
Thank You mikeytown2 for your patients, persistence, goals, knowledge and know-how.
The developers do play a huge role in making Drupal the best it can be, what a crowd.
Boost is awesome, get yours today!