Thread: Re: [Arsperl-users] Issues on Linux
Brought to you by:
jeffmurphy
|
From: Thilo S. <thi...@ap...> - 2007-01-12 11:08:25
|
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. > > [n501931@n501931pc 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 > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Georg G. <ggr...@gm...> - 2007-01-12 11:18:28
|
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 <thi...@ap...> 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. > > > > [n501931@n501931pc 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 > > Ars...@ar... > > 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 > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Thilo S. <thi...@ap...> - 2007-01-12 15:20:26
|
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 <thi...@ap...> 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. >>> >>> [n501931@n501931pc 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 >>> Ars...@ar... >>> 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 >> Ars...@ar... >> 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 > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Georg G. <ggr...@gm...> - 2007-01-13 14:05:10
|
First of all, hello again. The AR Server is reachable within the network (ping, nslookup). I couldn't try rpcinfo yet, i'll try on monday, when i'm on my work pc again. I actually already tried the code you wrote. It returns after some minutes, with an error i don't remember yet. I'll give closer information on monday. Kind reagards, Georg On Friday 12 January 2007 16:18, Thilo Stapff wrote: > 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 <thi...@ap...> 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. > >>> > >>> [n501931@n501931pc 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=DEVD > >>>EV _______________________________________________ > >>> Arsperl-users mailing list > >>> Ars...@ar... > >>> 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=DEVDE > >>V _______________________________________________ > >> Arsperl-users mailing list > >> Ars...@ar... > >> 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 > > Ars...@ar... > > 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 > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users |