Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Install/Upgrade Help > WebGUI cannot communicate with Spectre

WebGUI cannot communicate with Spectre

User UBeierlein
Date 2/24/2008 2:48 pm
Views 766
Rating 2    Rate [
|
]
Previous · Next
User Message
UBeierlein

Hello,

I did a source-install on openSuSE 10.2 and can't persuade spectre to run on my system:

Some background informations: 

perl testEnvironment.pl

WebGUI is checking your system environment:

Operating System:                                 Linuxish
WebGUI Root:                                      ..
Perl Interpreter:                                 OK
Checking for module LWP:                          OK
Checking for module HTTP::Request:                OK
Checking for module HTTP::Headers:                OK
Checking for module Test::More:                   OK
Checking for module Test::MockObject:             OK
Checking for module Test::Deep:                   OK
Checking for module Pod::Coverage:                OK
Checking for module Text::Balanced:               OK
Checking for module Digest::MD5:                  OK
Checking for module DBI:                          OK
Checking for module DBD::mysql:                   OK
Checking for module HTML::Parser:                 OK
Checking for module Archive::Tar:                 OK
Checking for module Archive::Zip:                 OK
Checking for module IO::Zlib:                     OK
Checking for module Compress::Zlib:               OK
Checking for module Net::SMTP:                    OK
Checking for module MIME::Tools:                  OK
Checking for module Net::POP3:                    OK
Checking for module Tie::IxHash:                  OK
Checking for module Tie::CPHash:                  OK
Checking for module XML::Simple:                  OK
Checking for module SOAP::Lite:                   OK
Checking for module DateTime:                     OK
Checking for module Time::HiRes:                  OK
Checking for module DateTime::Format::Strptime:   OK
Checking for module DateTime::Format::Mail:       OK
Checking for module Image::Magick:                OK
Checking for module Graphics::Magick:             Not Installed, but it's optional anyway
Checking for module Log::Log4perl:                OK
Checking for module Net::LDAP:                    OK
Checking for module HTML::Highlight:              OK
Checking for module HTML::TagFilter:              OK
Checking for module HTML::Template:               OK
Checking for module HTML::Template::Expr:         OK
Checking for module XML::RSSLite:                 OK
Checking for module JSON:                         OK
Checking for module Config::JSON:                 OK
Checking for module Text::CSV_XS:                 OK
Checking for module Net::Subnets:                 OK
Checking for module Finance::Quote:               OK
Checking for module POE:                          OK
Checking for module POE::Component::IKC::Server:  OK
Checking for module POE::Component::Client::HTTP: OK
Checking for module Data::Structure::Util:        OK
Checking for module Apache2::Request:             OK
Checking for module URI::Escape:                  OK
Checking for module POSIX:                        OK
Checking for module List::Util:                   OK
Checking for module Color::Calc:                  OK
Checking for module Text::Aspell:                 Not Installed, but it's optional anyway
Checking for module Locale::US:                   OK
Checking for module Weather::Com::Finder:         OK
Checking for module Class::InsideOut:             OK
Checking for module HTML::TagCloud:               OK
WebGUI modules:                                   OK
Getting current WebGUI version:                   OK
Your version:                                     OK
Locating WebGUI configs:                          OK

Checking config file:
www_xyz.conf
Verifying uploads folder:                         OK
Verifying DSN:                                    OK
Verifying database connection:                    OK

Testing complete!

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

perl spectre.pl --test

Running connectivity tests.
Testing www_xyz.conf
ERROR: WebGUI cannot communicate with Spectre. Perhaps you need to adjust the spectreIp or spectrePort setting the this config file: www_xyz.conf.

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Content of www_xyz.conf.

# also tried: "spectreSubnets" : [ "127.0.0.1/32" ],
"spectreSubnets" : [ "89.217.125.39/32" ],
# also tried: "spectreIp" : "127.0.0.1",
"spectreIp" : "89.217.125.39",
"spectrePort" : 32133,

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Content of /etc/hosts

127.0.0.1       localhost
::1             localhost ipv6-localhost ipv6-loopback
fe00::0         ipv6-localnet
ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
89.217.125.39       www.xyz.com
89.217.125.39       xyz.com
#also tried: 127.0.0.1  www.xyz.com
#also tried: 127.0.0.1  xyz.com

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

ifconfig

eth0   inet addr:89.217.125.39
          Bcast:89.217.125.39  Mask:255.255.255.255
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
         
lo       Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv 

WebGui itself is running and WebGui.log is empty.

"http://xyz.com/?op=spectreTest" just returns: "subnet"

I do not have a (http) proxy running nor do I have any proxy-variables set in /etc/profile

Any ideas??

 

--- (Edited on 2/24/2008 2:48 pm [GMT-0600] by UBeierlein) ---



Back to Top
Rate [
|
]
 
 
UBeierlein

Still, spectre can't communicate to WebGUI and I don't have a clue,  why. The firewall is not running, There is no proxy, I've changed the subnet-range to accept the whole world, updated all involved packages/libraries - but still - it does not want to work.

I've read all Discussions about spectre here and on other web-sites, but can't find a hint that I did not already try.

I've spent a lot of nights (in the last two months) to get WebGUI running under suse 10.2. I do not want to switch to a different CMS, now...

Is there a way to always commit all changes (without TAGs/history) ? I do not urgently need this functionality - when there is no way to get spectre working, I do not want to depend on spectre! 

 

--- (Edited on 2/29/2008 3:49 pm [GMT-0600] by UBeierlein) ---



Back to Top
Rate [
|
]
 
 
UBeierlein

I've digged a bit and noticed that "POE::Component::IKC::ClientLite::error()" returned
"Error: Unable to connect to 127.0.0.1:32133: Connection refused".

The same error was reported by a local telnet-session on that port. From outside, the telnet-session succeeded.

Finally I noticed that there was a mismatch between spectre.conf and <WebGUI>.conf. Right after switching back to the very first configuration (127.0.0.1), spectre succeed in testing the connection Laughing

--- (Edited on 3/3/2008 4:19 pm [GMT-0600] by UBeierlein) ---



Back to Top
Rate [
|
]
 
 

Re: Survey2 JSON Reporting by JT - Fri @ 12:50pm

Re: Pagination and Navigation Menus. by eleger81 - Fri @ 12:38pm

Re: Corrupt Asset Tree by bartjol - Fri @ 09:04am

Re: Corrupt Asset Tree by mwille64 - Fri @ 09:01am

Survey2 JSON Reporting by perlmonkey2 - Fri @ 08:46am

7.5.18 translation too by bartjol - Fri @ 06:58am

Re: Corrupt Asset Tree by bartjol - Fri @ 06:42am

Smoketest For nightly_2008-07-25 by Visitor - Fri @ 01:39am

Re: Pagination and Navigation Menus. by colink - Thu @ 04:05pm

Re: Corrupt Asset Tree by mwille64 - Thu @ 02:12pm

Pagination and Navigation Menus. by eleger81 - Thu @ 11:52am

Re: Corrupt Asset Tree by preaction - Thu @ 11:44am

Corrupt Asset Tree by mwille64 - Thu @ 11:18am

Smoketest For nightly_2008-07-24 by Visitor - Thu @ 01:39am

Re: Hello! by crythias - Wed @ 01:13pm