[Netarchivesuite-users] NAS 4.2.0 shows active jobs as localhost under "Running Jobs"

Søren Vejrup Carlsen svc at kb.dk
Tue Nov 19 11:55:29 CET 2013


Hi Meelis.
Have you checked your /etc/hosts file on your new server?
This file is often checked before asking a DNS server.

Best Regards
Søren V. Carlsen, Netarchivesuite developer

-----Oprindelig meddelelse-----
Fra: netarchivesuite-users-bounces at ml.sbforge.org [mailto:netarchivesuite-users-bounces at ml.sbforge.org] På vegne af Meelis Mihhailov
Sendt: 18. november 2013 15:38
Til: netarchivesuite-users at ml.sbforge.org
Emne: Re: [Netarchivesuite-users] NAS 4.2.0 shows active jobs as localhost under "Running Jobs"

Hi Bjarne

We did not move to distributed system. Just got a new server and installed another quickstart setup on that. Now we have two NAS servers
- old one will be used to do tests and provides archive access and new server is for final harvesting (with all the settings that were created during tests).

Main difference in the servers:

Old server is debian and new server CentOS. New server uses PostgreSQL and has more harvester applications.

Other settings should be the same in both servers as I used the old one as a reference.

I just can't figure out why new server shows localhost intead of the real server name :)


Meelis Mihhailov
----------------
National Library Of Estonia
meelis at nlib.ee

On 18.11.2013 16:00, Bjarne Andersen wrote:
> Hi Meelis.
> Im afraid my answer was not correct. The setting I found in the settings-files in our installation is only for RemoteFile (FTP-server).
> As far as I remember each application should encounter its own hostname directly from the machine on which its running. So there should be no need to set anything.
> If that is true its rather strange if an application on a remote machine is still calling itself localhost.
>
> Did you restart your system (especially the GUIAplication) after you moved the harvest-applications to another machine ? (I think the setting might be cached in the GUIApplication)
>
> I hear you started with the QUICKSTART installation - how did you go to a distributed installation from there ?
>
> Søren on KB knows much more than I about this but he is not at work today. Hopefully tomorrow he will be back and can help answering this question.
>
> best
> Bjarne
> ________________________________________
> Fra: netarchivesuite-users-bounces at ml.sbforge.org [netarchivesuite-users-bounces at ml.sbforge.org] På vegne af Meelis Mihhailov [meelis at nlib.ee]
> Sendt: 18. november 2013 10:05
> Til: netarchivesuite-users at ml.sbforge.org
> Emne: Re: [Netarchivesuite-users] NAS 4.2.0 shows active jobs as localhost under "Running Jobs"
>
> Hi Bjarne and thank you for the replay.
>
> I would like to avoid the whole redeploy scenario :) Can I add this
> <serverName>...</serverName> to a specific config file without
> reinstalling everything?
>
> Meelis Mihhailov
> ----------------
> National Library Of Estonia
> meelis at nlib.ee
>
> On 18.11.2013 10:55, Bjarne Andersen wrote:
>> It is possible to change this.
>> The QuickStart-guide is aimed at running everything at one machine - therefore localhost makes good sense.
>> If you start to distribute the applications to multiple machines you should have all settings include: <serverName>...</serverName>
>> This should be set in your deploy.xml file to generate all settings files for your entire installation so you dont have to set this manually on every machine.
>>
>> -
>> Bjarne
>> ________________________________________
>> Fra: netarchivesuite-users-bounces at ml.sbforge.org [netarchivesuite-users-bounces at ml.sbforge.org] På vegne af Meelis Mihhailov [meelis at nlib.ee]
>> Sendt: 18. november 2013 09:14
>> Til: Netarchive Suite Users
>> Emne: [Netarchivesuite-users] NAS 4.2.0 shows active jobs as localhost  under "Running Jobs"
>>
>> Hi all!
>>
>> I have a strange issue under "Running Jobs" and I hope you can help me
>> to resolve this.
>>
>>
>> In an old system when job a was running I saw "servername.ee" in the
>> list. When I clicked on it we could access heritrix frontend. Now as we
>> installed version 4.2.0 with PostgreSQL database (QuickStart) we see
>> "localhost" instead of "servername.ee". Is there a way to change it
>> after installation? At the moment we have to change address every time
>> we want to access heritrix frontend.
>>
>> Meelis Mihhailov
>> ----------------
>> Nationa
>> Süsteemiadministraator
>>
>> Telefon : 6307 178
>> E-post : meelis at nlib.ee
>> _______________________________________________
>> NetarchiveSuite-users mailing list
>> NetarchiveSuite-users at ml.sbforge.org
>> http://ml.sbforge.org/mailman/listinfo/netarchivesuite-users
>>
>> _______________________________________________
>> NetarchiveSuite-users mailing list
>> NetarchiveSuite-users at ml.sbforge.org
>> http://ml.sbforge.org/mailman/listinfo/netarchivesuite-users
>>
> _______________________________________________
> NetarchiveSuite-users mailing list
> NetarchiveSuite-users at ml.sbforge.org
> http://ml.sbforge.org/mailman/listinfo/netarchivesuite-users
>
> _______________________________________________
> NetarchiveSuite-users mailing list
> NetarchiveSuite-users at ml.sbforge.org
> http://ml.sbforge.org/mailman/listinfo/netarchivesuite-users
>
_______________________________________________
NetarchiveSuite-users mailing list
NetarchiveSuite-users at ml.sbforge.org
http://ml.sbforge.org/mailman/listinfo/netarchivesuite-users



More information about the NetarchiveSuite-users mailing list