Leser: 19
2010-08-04T15:27:11 topegWo hapert es? Was für Fehlermeldungen kommst du?
1
2
3
LaunchAnywhere Error: Could not find a valid Java virtual machine to load.
You may need to reinstall a supported Java virtual machine.
1
2
Your sybase home directory is D:\managenow_nsm\database_queries\SybaseOpenClient. Check the environment variable SYBASE if it is not the one you want!
Cannot access file D:\managenow_nsm\database_queries\SybaseOpenClient\ini\objectid.dat
1
2
3
4
5
6
7
8
9
10
11
12
13
DBI connect('host=dbmaschine01:database=master;port=5000','sa',...) failed: OpenClient message: LAYER = (5) ORIGIN = (3) SEVERITY
= (5) NUMBER = (4)
Server , database
Message String: ct_connect(): network packet layer: internal net library error: Protocol driver call to parse connection informati
on failed
Operating System Error: Error in resolving the hostname - Error is 11001 No such host is known.
at D:\managenow_nsm\unicenter_nsm_configuration\bin\scriptengine\DATA\DB_CHECK\db_query.pl line 111
Couldn't connect to database: OpenClient message: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (4)
Server , database
Message String: ct_connect(): network packet layer: internal net library error: Protocol driver call to parse connection informati
on failed
Operating System Error: Error in resolving the hostname - Error is 11001 No such host is known.
1
2
$dbh = DBI->connect("DBI:Sybase:host=$args{dbhost}:database=$args {dbname};port=$args{dbport}", "$args{dbuser}", "$args{dbpass}")
or die "Couldn't connect to database: " . DBI->errstr;
1 2 3 4
$dbh = DBI->connect("DBI:Sybase:host=$args{dbhost}:database=$args {dbname};port=$args{dbport}", "$args{dbuser}", "$args{dbpass}") or die "Couldn't connect to database: " . DBI->errstr;
1 2 3 4
$dbh = DBI->connect("DBI:Sybase:host=$args{dbhost};database=$args{dbname};port=$args{dbport}", "$args{dbuser}", "$args{dbpass}") or die "Couldn't connect to database: " . DBI->errstr;
1
2
3
4
5
6
Couldn't connect to database: OpenClient message: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (4)
Server , database
Message String: ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoi
nts failed
Operating System Error: Failed to connect to the server - Error is 10061 No connection could be made because the target machine ac
tively refused it.
No connection could be made because the target machine actively refused it
The SYBASE environment is the path to the Sybase installation (eg '/usr/local/sybase'). If you need to set it in your scripts, then you must set it in a BEGIN{} block
1 2 3
BEGIN { $ENV{SYBASE} = 'D:\sybase-client\sybase\11.0.2'; # das Verzeichnis bitte auf eigenen Pfad einstellen! }