[7.470][QUESTION][ANSWERED] Error about iplocator in system.log ?

Hi

I've such errors into system.log:


2009:07:14-15:32:19 asg470a-2 iplocator[12024]: >=========================================================================
2009:07:14-15:32:19 asg470a-2 iplocator[12024]: Error parsing device location file '/etc/location': Document requires an element [Ln: 1, Col: 0]
2009:07:14-15:32:19 asg470a-2 iplocator[12024]: 
2009:07:14-15:32:19 asg470a-2 iplocator[12024]:  1. main::run:145() iplocator.pl
2009:07:14-15:32:19 asg470a-2 iplocator[12024]:  2. main::top-level:40() iplocator.pl


this is on a HA system in active/passive mode...

is this a problem/bug ? what is it used for ?

thx
Parents
  • hi,

    iplocator.pl is the program which create the country flags to your reports. Could you please check if the file /etc/location exist on your system? If yes could you please provide us the content of this file?

    Greetings
    Andreas
  • Hi BuBu,

    Actually the tool is used to lookup a probable high-resolution location of the AxG itself. It is or should only be invoked by either the new or legcay device-agent when initially connecting to an ACC. This happens the first time or when being requested by an ACC to refresh its location information.

    AFAIK you are using an ACC (as you have been one of the ACC V2 Beta participants and winners).

    The file contents look clean though. I haven't had any luck reproducing the error you described. You can try to recreate the location file on the master like this:


    # rm -f /etc/location
    # iplocator.plx --srvlist /etc/up2date/servers.geoip
    Guess the error might be related to the fact that the slave node should not be allowed to contact the outside world.

    Thanks and regards,
    Henning
  • I just reproduced this again... on my main asg...

    I just activated the acc into my main asg, but the acc is not running atm...


    2009:07:15-14:01:45 asg iplocator[1627]: Error parsing device location file '/etc/location': Document requires an element [Ln: 1, Col: 0]
    2009:07:15-14:01:45 asg iplocator[1627]:
    2009:07:15-14:01:45 asg iplocator[1627]: 1. main::run:145() iplocator.pl
    2009:07:15-14:01:45 asg iplocator[1627]: 2. main::top-level:40() iplocator.pl 


    and I renamed the location to location.bak then ran your command and I get:


    asg:/etc # diff -u /etc/location.bak /etc/location
    --- /etc/location.bak 2009-07-15 14:06:20.000000000 +0200
    +++ /etc/location 2009-07-15 14:06:28.000000000 +0200
    @@ -8,6 +8,6 @@
         B9
       
       
    -    1247659307
    +    1247659588
       
     


    for the diff... so problem should still be there...

    thx
  • also don't know if this is a bug for 7.470 or for acc but in the acc inventory for my main asg where I've 2 CPUs, in acc it shows 4 ! [[:)]] should I fill a new bug for the 7.470 beta ? [[:)]]

    and for the RAM I see a ? and if I still on it I get:


    1 -> 1GB DIMM RAM
    2 -> 1GB DIMM RAM


    whereas I've only 1GB installed...

    thx
Reply
  • also don't know if this is a bug for 7.470 or for acc but in the acc inventory for my main asg where I've 2 CPUs, in acc it shows 4 ! [[:)]] should I fill a new bug for the 7.470 beta ? [[:)]]

    and for the RAM I see a ? and if I still on it I get:


    1 -> 1GB DIMM RAM
    2 -> 1GB DIMM RAM


    whereas I've only 1GB installed...

    thx
Children
  • Hi BuBu,

    okay - I could reproduce the error entry within the system.log here as well. Basically, it should be a warning, nothing to worry about. It only occurs if there is no data to compare to (e.g. the location file does not yet exist) - then the iplocator will complain.

    From my point of view not a bug - just a rather cosmetic logging behavior issue.

    Regarding your other issue with ACC, please post a new thread within the ACC forum - as we did not change anything in the Agent related to the Device Inventory. Please send some details to acc-support@astaro.com regarding:


    • /etc/product
    • /etc/asg (only exists on appliances)
    • /proc/cpuinfo
    • lshw -C cpu
    • lshw -C memory

    That would be great.

    Thanks and regards,
    Henning