Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a problem starting a background process. I always get the message:
Typ bg_process
Datum Dienstag, Juni 12, 2012 - 02:15
Benutzer test
Standort http://www.some-server.com/bgp%3Astart/ab348a8a76d544e777a1ae9438b3dd2f/a223792cf368a14feebd84c03ea43ded
Referrer http://www.some-server.com/node/add/poi?field_poi_reference=1379&render=overlay
Message Unknown process: ab348a8a76d544e777a1ae9438b3dd2f
Schweregrad Mitteilung
Operationen
And after that:
Typ Zugriff verweigert (access denied)
Datum Dienstag, Juni 12, 2012 - 02:15
Benutzer test
Standort http://www.some-server.com/bgp%3Astart/ab348a8a76d544e777a1ae9438b3dd2f/a223792cf368a14feebd84c03ea43ded
Referrer http://www.some-server.com/node/add/poi?field_poi_reference=1379&render=overlay
Message bgp:start/ab348a8a76d544e777a1ae9438b3dd2f/a223792cf368a14feebd84c03ea43ded
Schweregrad Warnung
And the process will not start. The strange thing is, that this problem occurs after I migrated to an other server although it has exactly the same configuration. Before everything worked well.
I'am using the actual version 7.x-1.12.
Does anybody know, would could be the cause?
Comments
Comment #1
gielfeldt CreditAttribution: gielfeldt commentedHi
Yes. When migrating db to another system, some of the background process configuration is copied as well, and this might cause problems. Go to the Background Process settings page and click "Determine default service host". Let me know if this works.
Comment #2
gunwald CreditAttribution: gunwald commentedThank you very much for your fast reply. That was the solution, it works know very well.
Comment #3
gunwald CreditAttribution: gunwald commentedIt seems that unfortunately I was a little but too enthusiastic. The problem occurs again but not alway like before but sometimes. To click "Determine default service host" always helps for a while.
The strange thing is, that is seems the problem only occurs when I start the bg_process within a menu_hook (hook_node_update), but not starting it manually.
Don't know whether or not this hint could be useful.
Do I have to check some server configurations? Or what else cloud I do?
Comment #4
gielfeldt CreditAttribution: gielfeldt commentedAha. This might be a known bug that I'm working on a solution for. I assume your using MySQL and InnoDB?
If so, you can change the database engine for the background_process table to MyISAM. See this thread for an example of how to do it and to follow the progress of the bugfix.
EDIT: Grammar correction...
Comment #5
gielfeldt CreditAttribution: gielfeldt commentedWere you able to get it to work?
Comment #6
gunwald CreditAttribution: gunwald commentedThank you again for your help! My problem is, that can't change the table to MyISAM at this moment. I have to talk to the other developers working on my project first. When it is done, I will tell you whether or not i could get it to work.
Comment #7
gunwald CreditAttribution: gunwald commentedMy problem is solved, to "Determine default service host" and changing the table type did the trick! Thank you again.
Comment #8
gielfeldt CreditAttribution: gielfeldt commentedA better alternative to change table type has been committed: http://drupal.org/node/1489316#comment-6157798
Also, the need for doing a "Determine default service host" after db migration has been eliminated in many (if not most) use cases, namely when $base_url actually does work.
Comment #9.0
(not verified) CreditAttribution: commentedSpelling