plainblack.com
Username Password
search
Bookmark and Share

    

Spectre: communications error

User jdan
Date 9/3/2009 11:59 am
Views 467
Rating 0    Rate [
|
]
Previous · Next
User Message
jdan

I wrote to forum because I feel very helpless. Since migration from WebGUI 5.x I have a lot of troubles and don't know how to manage. Many thanks to BartJot who helped mi solve one big problem. It turned out that when my customer deleted HOME page, modperl process was working till server dead. Modperl swallow up all memory and after it's lack server was out of service. Now I trying reconstruct assats tree. Maybe site will run in near future.
But I have more important case. Every my sites on two independent servers have problems with Spectre CRON tasks. Because both servers work separately on independent WRE I think other people can meet the same problem.

At log I have a lot of notices like:
2009/09/03 15:17:17 - ERROR - spectre.conf - POE::Kernel::_dispatch_event[1056] - CRON: Response for job mysite.com.c
onf-pbcron0000000000000004 had a communications error. <html>                                                        
<head><title>An Error Occurred</title></head>                                                                        
<body>                                                                                                               
<h1>An Error Occurred</h1>                                                                                           
<p>500 Internal Server Error</p>                                                                                     
</body>                                                                                                              
</html>

I read a lot of messages at WebGUI forum and many articles. But I haven't sought out any proper solution for my case. What I made and checked on:
I have proper /etc/hosts definitions

All firewalls rules had turned off and nothing happened

Spectre works and appear trying launch methods:
2009/09/03 15:05:47 - DEBUG - spectre.conf - POE::Kernel::_dispatch_event[1056] - CRON: Preparing to run a job walz.i
g.pl.conf-pbcron0000000000000004.                                                                                    
2009/09/03 15:05:47 - DEBUG - spectre.conf - POE::Kernel::_dispatch_event[1056] - CRON: Posting job mysite.com.conf-p
bcron0000000000000004 to http://mysite.com:8081/.                                                                     2009/09/03 15:05:47 - DEBUG - spectre.conf - POE::Kernel::_dispatch_event[1056] - CRON: Cron job mysite.com.conf-pbcr
on0000000000000004 posted.

Unfortunately nothing be going on because Spectre reports:
009/09/03 15:32:17 - ERROR - spectre.conf - POE::Kernel::_dispatch_event[1056] -CRON: Response for job www.new.walz.
ig.pl.conf-pbcron0000000000000004 had a communications error. <html>                                                  <head><title>An Error Occurred</title></head>                                                                         <body>                                                                                                               
<h1>An Error Occurred</h1>                                                                                           
<p>500 Internal Server Error</p>                                                                                     
</body>                                                                                                              
</html>

When I check Spectre status I see that there is no any planet actions at quque:
# ./spectre.pl --status Suspended Workflows    0
Waiting Workflows    0
Running Workflows    0
Total Workflows    0

Erros appear practically in all configured sites. Old, which I upgrated from previous WebGUI verions, and new which I made only for test by WRECONSOLE.

Moreover, Spectre works in my opinion properly. For example version tags are commited, messages sent etc.


What else I should check?



Back to Top
Rate [
|
]
 
 
jdan

Finally I worked out problem. My servers have DNS service so I didn't set domains in /etc/hosts. But it appeared Spectre uses this files getting IP addresses. In my configuration Spectre probably couldn't locate proper IP. Or something in this manner.



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved