AW: [Arsperl-users] GetServerInfo Error
Brought to you by:
jeffmurphy
|
From: Stapff, T. <thi...@ma...> - 2005-08-16 15:23:22
|
Try calling ars_GetServerInfo with specific server options, e.g. the
complete list from 1 to 184 (184 =3D AR_MAX_SERVER_INFO_USED for ARS =
5.1.2),
but with options 10 (AR_SERVER_INFO_DB_PASSWORD, which is write-only) =
and
171 explicitly excluded:=20
@info =3D grep {$_ !=3D 10 && $_ !=3D 171} (1..184);=20
(%h =3D ars_GetServerInfo($c,@info)) || die "ERR: $ars_errstr\n";
You might get other "Unrecognized ..." errors with other tag numbers =
than
171, in which case you need to modify the "grep" statement accordingly.
I don't really know why this error occurs; maybe only DSO-enabled =
servers
know about server option 171 (=3D =
AR_SERVER_INFO_DSO_MARK_PENDING_RETRY).
Regards,
Thilo Stapff
-----Urspr=FCngliche Nachricht-----
Von: D.Roberts [mailto:d.r...@ba...]=20
Gesendet: Dienstag, 16. August 2005 16:25
An: ars...@ar...
Betreff: [Arsperl-users] GetServerInfo Error
Hi,
We are running:
Solaris 9
perl, v5.6.1 built for sun4-solaris
ARS 5.1.2
ARSperl 1.81
When I try the example program ars_GetServerInfo.pl that comes with the
distribution
I get:
./ars_GetServerInfo.pl servername username password
Calling GetServerInfo ..
ERR: [ERROR] Unrecognized server information tag (171) (ARERR #123)
This occurs for both root and non-root login.
Other examples seem to work OK.
What should I change?
Thanks,
Dafydd Roberts
IT Services
University of Wales Bangor
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle =
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & =
QA
Security * Process Improvement & Measurement * =
http://www.sqe.com/bsce5sf
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|