using DBD::Sybase

using DBD::Sybase

Post by chor » Sun, 17 Mar 2002 13:49:22



Hello all,
        I have a clustered web server setup -- I'd like to use the dbi to
connect to the database machine from a different one in the cluster.
The machines in the cluster mount a filer via nfs... and that partition
is where I have my modules LIB directory at...

What do I need to do to connect using DBD::Sybase from anywhere in the
cluster?

 
 
 

using DBD::Sybase

Post by Michael Pepple » Wed, 20 Mar 2002 01:51:38



> Hello all,
>    I have a clustered web server setup -- I'd like to use the dbi to
> connect to the database machine from a different one in the cluster. The
> machines in the cluster mount a filer via nfs... and that partition is
> where I have my modules LIB directory at...

> What do I need to do to connect using DBD::Sybase from anywhere in the
> cluster?

The Sybase libraries need to be available on each of the machines in the
web cluster, as well as the interfaces file. So installing the libs, etc.
on the nfs partition somewhere should work fine.

Michael
--
Michael Peppler                              Data Migrations, Inc.

http://www.mbay.net/~mpeppler
International Sybase User Group: http://www.isug.com

 
 
 

1. problems connecting to a ms sql server (using DBD-Sybase and sybase libs)

the problem is this....

I have installed the sybase libraries and the dbd-sybase perl module
but when a i do a make test i get this error message.

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/i386-linux -I/usr/lib/perl5 -e 'use Test::Harness

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "default",
        LC_ALL = "default",
        LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
t/autocommit........perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "default",
        LC_ALL = "default",
        LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

The context allocation routine failed when it tried to load
localization
files!!
One or more following problems may caused the failure

Your sybase home directory is /opt/sybase-12.5/OCS-12_5. Check the
environment variable SYBASE if it is not the one you want!
Using locale name "default" defined in environment variable LC_ALL
install_driver(Sybase) failed: DBD::Sybase initialize: cs_ctx_alloc()
failed
at /usr/lib/perl5/i386-linux/DynaLoader.pm line 219.
Compilation failed in require at (eval 1) line 3.

what am i doing wrong??
i have the SYBASE variable pointing to the correcto sybase directory
(/opt/sybase-12.5/OCS-12_5), i think it's something with the locale
files
but i'm not shure.

thanks for the help

2. Install Oracle Client 8.0.x without user interaction

3. problem on using DBD:Sybase on Linux

4. Paradox and Codd...

5. Using Sybase DBD under NT?

6. Help! Access/Internet Assnt/DBWeb on WWW

7. Problem selecting a column from a view in Sybase using DBI/DBD

8. A Frustrating Access Violation Problem

9. DBD::Pg & DBD::PgPP Cpan question

10. DBD::Sybase & MSSQL

11. dbd querys of sybase tablles

12. Problem with DBD::Sybase and perl2exe

13. integrating DBD-Sybase-0.94 to use FreeTDS