Hi Jamie,

Well thats OK now. Its trying to connect to a Sybase server and failing,
probably becasue there is no server running on that box. You are now ready to
add your MS-SQL database to the /opt/sybase/interfaces file and connect to it.

Here is what I have in my /opt/sybase/interfaces. The entry you want to copy is
the one for fred, which is my NT with MS-SQL. Then you can conect to it from
Radiator with:

                DBSource        dbi:Sybase:fred
                DBUsername      sa
                DBAuth          sa

(you make need to change the user names and password to suit your database)

[mikem@charlie mikem]$ more /opt/sybase/interfaces

## charlie on charlie.open.com.au
##       Services:
##              query   tcp     ()

charlie
        query tcp ether charlie.open.com.au

## SYBASE on charlie.open.com.au
##       Services:
##              query   tcp     (4100)
##              master  tcp     (4100)

SYBASE
        query tcp ether charlie.open.com.au 4100
        master tcp ether charlie.open.com.au 4100

fred
        query tcp ether fred.open.com.au 1433
        master tcp ether fred.open.com.au 1433


On May 19,  2:17pm, Jamie Orzechowski wrote:
> Subject: (RADIATOR) sybase prob
>
> In addition to my last post
>
> if I COMMENT out the LINKTYPE=STATIC (it's commented by default)
>
> I get the following when I do I "make test"
>
>
> [root@Mail DBD-Sybase-0.13]# make test
> PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib
-I/usr/lib/perl5/i386-linux/5.00405 -I/usr/lib/perl5 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/base..............ok
> t/login.............FAILED test 2
>         Failed 1/3 tests, 66.67% okay
> t/main..............Unable for connect to SYBASE: OpenClient message: LAYER =
(5) ORIGIN = (3) SEVERITY = (4) NUMBER = (3)
> Message String: ct_connect(): network packet layer: internal net library
error: Specified server name attribute could not be found
> dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 2-12
>         Failed 11/12 tests, 8.33% okay
> t/place.............Unable for connect to SYBASE: OpenClient message: LAYER =
(5) ORIGIN = (3) SEVERITY = (4) NUMBER = (3)
> Message String: ct_connect(): network packet layer: internal net library
error: Specified server name attribute could not be found
> dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 2-11
>         Failed 10/11 tests, 9.09% okay
> Failed Test  Status Wstat Total Fail  Failed  List of failed
> -------------------------------------------------------------------------------
> t/login.t                     3    1  33.33%  2
> t/main.t        255 65280    12   11  91.67%  2-12
> t/place.t       255 65280    11   10  90.91%  2-11
> Failed 3/4 test scripts, 25.00% okay. 22/31 subtests failed, 29.03% okay.
> make: *** [test_dynamic] Error 255
>
>
>
> [ Attachment (text/x-html): 2870 bytes
>   Character set: iso-8859-1
>   Encoded with "quoted-printable" ]
>-- End of excerpt from Jamie Orzechowski



-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to