This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.
Summary
Error
Step 5 failed:
5: Create Perfspi Database Failed
See full error message in "PerfSPI_RunInitializeNPS_CreatePerfSPIDB.txt"
___________________________________________________________________________
Error! The connection to the database was closed by the server.
Connection was terminated
SQLCODE=-308, ODBC 3 State="HY000"
File: "create_database.sql" on line 1, column 9
create database '/var/opt/OV/NNMPerformanceSPI/database/perfspi.db'
COLLATION 'UTF8BIN'
IQ PATH '/var/opt/OV/NNMPerformanceSPI/database/perfspi_IQ_SYSTEM_MAIN.iq'
IQ SIZE 19587
IQ PAGE SIZE 131072
...
Died at /opt/OV/nonOV/perl/a/lib/5.8.8/NPS/npslog.pm line 194.
FATAL: Stacktrace: 0. /opt/OV/nonOV/perl/a/lib/5.8.8/NPS/nps.pm:1636 [NPS::npslog::FATAL()]
FATAL: Stacktrace: 1. /opt/OV/nonOV/perl/a/lib/5.8.8/NPS/npsini.pm:1584 [main::system_or_die()]
FATAL: Stacktrace: 2. /opt/OV/nonOV/perl/a/lib/5.8.8/NPS/npsini.pm:148 [main::createDB()]
FATAL: Stacktrace: 3. /opt/OV/nonOV/perl/a/lib/5.8.8/NPS/npsini.pm:334 [main::PerfSPIDB_actions()]
FATAL: Stacktrace: 4. initializeNPS.ovpl:132 [main::CreatePerfSPIDB()]
FATAL: Failed command system("dbisql" -onerror exit -nogui -c "DBN=UTILITY_DB;UID=DBA;PWD=sql;HOST=localhost" "/var/opt/OV/NNMPerformanceSPI/database/create_database.sql"): 1280
FATAL ERROR: initializeNPS.ovpl -a CreatePerfSPIDB Failed. (Logfile /var/tmp/PerfSPI_RunInitializeNPS_CreatePerfSPIDB.txt)
___________________________________________________________________________
Cause
Sybase IQ does not allow to create any datafile more than 4gb. That is a defect with Sybase IQ
It cannot create a temp space more than 4 GB
When server has disk space available, NPS tries to create temp space more than 4 GB causing the failure.
Fix
Contact the support to get the hotfix QCCR1B136699.zip
1. Delete all the files in /var/opt/OV/NNMPerformanceSPI/database
2. Backup original pm file "/opt/OV/nonOV/perl/a/lib/5.8.8/NPS/configureNpsServer_Db.pm"
rename the configureNpsServer_Db_modified.pm to configureNpsServer_Db.pm
copy it to "/opt/OV/nonOV/perl/a/lib/5.8.8/NPS/"
3.Run
initializeNPS.ovpl
And execute all "Failed" steps.
Note that step 16 and 18 could take time to complete (1 hour).