plainblack.com
Username Password
search
Bookmark and Share

    

spectre

User c_thomas
Date 10/5/2011 2:49 pm
Views 244
Rating 0    Rate [
|
]
Previous · Next
User Message
c_thomas

I have WebGUI 7.10.23 on Redhat Fedora 9, source install. I believer I have a problem with spectre. At the command line when I type perl /data/WebGUI/sbin/spectre.pl --test it reports:

Running connectivity tests.
Testing tombryant.conf
ERROR: Couldn't connect to WebGUI site tombryant.conf
Testing midmofyi.conf
ERROR: Couldn't connect to WebGUI site midmofyi.conf
Tests completed.

When I type  perl /data/WebGUI/sbin/spectre.pl --ping 192.168.2.40:32133 it reports:
Spectre is Alive!

When I type curl http://www.tombryant.org/?op=spectreGetSiteData, it responds:
{"workflow":[{"sitename":"tombryant","priority":"2","instanceId":"Muyk9ZmMOOQlZ71OkqtG6w","gateway":"/","cookieName":"wgSession"}],"cron":[{"sitename":"tombryant","dayOfWeek":"*","dayOfMonth":"*","taskId":"pbcron0000000000000001","hourOfDay":"23","minuteOfHour":"30","gateway":"/","cookieName":"wgSession","runOnce":"0","monthOfYear":"*"},{"sitename":"tombryant","dayOfWeek":"0","dayOfMonth":"*","taskId":"pbcron0000000000000002","hourOfDay":"1","minuteOfHour":"30","gateway":"/","cookieName":"wgSession","runOnce":"0","monthOfYear":"*"},{"sitename":"tombryant","dayOfWeek":"*","dayOfMonth":"*","taskId":"pbcron0000000000000003","hourOfDay":"*","minuteOfHour":"15","gateway":"/","cookieName":"wgSession","runOnce":"0","monthOfYear":"*"},{"sitename":"tombryant","dayOfWeek":"*","dayOfMonth":"*","taskId":"pbcron0000000000000004","hourOfDay":"*","minuteOfHour":"*/5","gateway":"/","cookieName":"wgSession","runOnce":"0","monthOfYear":"*"}]}

It would seem that WebGUI can respond to communication but Spectre can't initiate it. Does any one have an idea what could be the problem. I believe that as of 7.9.26 everything was ok but after updates to 7.9.28, 7.9.32 and 7.10.23 I began having problems.

thanks- Tom (c_thomas)

--- (Edited on 10/5/2011 2:49 pm [GMT-0500] by c_thomas) ---



Back to Top
Rate [
|
]
 
 
perlDreamer

You should check that configs in spectre.conf and your WebGUI sites is correct.

--- (Edited on 10/5/2011 2:36 pm [GMT-0700] by perlDreamer) ---



Back to Top
Rate [
|
]
 
 
c_thomas

I have been over the WebGUI site configs and the spectre.conf and as best I know they are correct. I am using the administration user guide and documentation in the config files as reference. Since I believe it worked ok before I did some upgrades it causes me to question if as a part of one of the upgrades there was a change in the require configuration for which I have not found the documentation.

--- (Edited on 10/5/2011 5:13 pm [GMT-0500] by c_thomas) ---

--- (Edited on 10/5/2011 5:15 pm [GMT-0500] by c_thomas) ---



Back to Top
Rate [
|
]
 
 
perlDreamer

Before releasing WebGUI, we upgrade two different sets of servers.  All of them have continued to work normally, so I doubt that the upgrade caused the problem.

It's still possible, but it's very unlikely.

--- (Edited on 10/5/2011 9:46 pm [GMT-0700] by perlDreamer) ---



Back to Top
Rate [
|
]
 
 
xootom

What I found was that you need to put an entry in your hosts file for each site name in your webgui config files. So if you have a site www.example.com you need to add an entry to /etc/hosts with the loopback address to www.example.com thus:

127.0.0.1   www.example.com

Then when you run spectre --test it should connect.

--- (Edited on 05-10-2011 23:39:24 [GMT+0100] by xootom) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved