PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Annie Chaiyakul <annie at intervu dot net>
Subject: Please help.... cluster environmenet cannot see sever
Date: Mar 14 2000 2:37AM

error message when do a make test

sd-reporting-01# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.00503/sun4-solaris -I/usr/local/lib/perl5/5.00503
-e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/bcp...............Sybase error: Server name not found in interface file.
Can't call method "sql" on an undefined value at t/bcp.t line 49.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
        Failed 8/9 tests, 11.11% okay
Failed Test  Status Wstat Total Fail  Failed  List of failed
----------------------------------------------------------------------------
---
t/bcp.t         255 65280     9    8  88.89%  2-9
Failed 1/1 test scripts, 0.00% okay. 8/9 subtests failed, 11.11% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
Current working directory /tmp/install/sybperl-2.11/BCP
*** Error code 1
make: Fatal error: Command failed for target `test'



machine: e6500
os:	solaris 7
sybase:	11.9.2
openclient: 11.1.1

We are in a veritas cluster environment, and using virtual hostname to
failover
The real machine name sd-reporting-01 and the virtual hostname is
sd-history.  In case of hardware failure, the ip of sd-history will failover
to another e6500 named sd-reporting-02.
I am wondering if it grep the hostname for the operating system?  The
hostname will be

sd-reporting-01# hostname
sd-reporting-01

Please help!!!


My interface file looks like this:


sd_history
        master tli tcp /dev/tcp \x000210040a0103240000000000000000
        query tli tcp /dev/tcp \x000210040a0103240000000000000000


sd_history_back
        master tli tcp /dev/tcp \x000210680a0103240000000000000000
        query tli tcp /dev/tcp \x000210680a0103240000000000000000


SD_HISTORY_XP
        master tli tcp /dev/tcp \x000211300a0103240000000000000000
        query tli tcp /dev/tcp \x000211300a0103240000000000000000