Did you verify (ping, nslookup, rpcinfo) that the AR server is actually 
reachable from/known to the client running ARSperl?

If you run a really basic test script, e.g.

   use ARS;
   my $ctrl = ars_Login( "server", "user", "passwd" );
   die "ars_Login(): $ars_errstr\n" if $ars_errstr;


does it stop after waiting 2-3 minutes? And if so, what's the error 
message returned?

Regards,
Thilo Stapff


Georg Grabler schrieb:
> No, the server runs on the standard AR port. Other systems (AIX, HPUX)
> also don't have set this environment variable.
> 
> Kind Regards,
> Grabler Georg
> 
> On 1/12/07, Thilo Stapff <[EMAIL PROTECTED]> wrote:
>> Does your AR server use a specific TCP port?
>> If so, you need to set (and export) the ARTCPPORT environment variable
>> to run the tests.
>>
>> Georg Grabler schrieb:
>>> Hello,
>>>
>>> I'm trying to bind arsperl with the 5.01 api version of arslib.
>>>
>>> The appropriate files are in the directory
>>> /usr/ar/api/
>>>
>>> what seems quite fine for the Makefile.PL
>>>
>>> I'm using a automated build system called makepkg on the distribution
>>> archlinux, so don't get too confused by the following lines:
>>>
>>> I'm using a patch to do the following (i felt the whole patchfile has
>>> too much overhead):
>>> -$ARSVERSION = 6.3;
>>> +$ARSVERSION = 5.01;
>>> ...
>>> ...
>>> +$SERVER = '';
>>> +$PASSWORD='';
>>> +$USERNAME='';
>>>
>>> At all, the first shall switch the version to my api version, the
>>> server password and username skips the tests for the final build, i
>>> won't do them as soon as it's working.
>>>
>>> Anyway, i've a problem doing the quests anyway. I start make test
>>> (have set the right username / password / server) and it keeps hanging
>>> at the first test.
>>>
>>> [EMAIL PROTECTED] ARSperl-1.85]$ make test
>>> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>>> t/00connect..........
>>>
>>> Also, i've simply installed arsperl without testing, same occurs
>>> there: can't login at all, it seems as if RPC isn't working.
>>>
>>> Do you have any suggestions on this? Am i missing something? Or any
>>> ideas what i could try?
>>>
>>> // STi
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Arsperl-users mailing list
>>> Arsperl-users@arsperl.org
>>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Arsperl-users mailing list
>> Arsperl-users@arsperl.org
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Arsperl-users mailing list
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to