JZ006 connection refused

CENTOS 7.3.1611

SYBASE ase 16.0安装时出现错误:


Building Job Scheduler 'LOCALHOST_JSAGENT':
Writing entry into directory services...
Directory services entry complete.
Installing required script(s) in related SAP Adaptive Server Enterprise...
installjsdb: 10% complete.
installjsdb: 20% complete.
installjsdb: 30% complete.
installjsdb: 40% complete.
installjsdb: 50% complete.
installjsdb: 60% complete.
installjsdb: 70% complete.
installjsdb: 80% complete.
installjsdb: 90% complete.
installjsdb: 100% complete.
jst_get_object_quoted_name: 10% complete.
jst_get_object_quoted_name: 20% complete.
jst_get_object_quoted_name: 30% complete.
jst_get_object_quoted_name: 100% complete.
jst_check_reorg_space: 10% complete.
jst_check_reorg_space: 20% complete.
jst_check_reorg_space: 30% complete.
jst_check_reorg_space: 100% complete.
jst_database_names: 10% complete.
jst_database_names: 20% complete.
jst_database_names: 30% complete.
jst_database_names: 100% complete.
jst_get_index_names: 10% complete.
jst_get_index_names: 20% complete.
jst_get_index_names: 30% complete.
jst_get_index_names: 100% complete.
jst_get_datachange: 10% complete.
jst_get_datachange: 20% complete.
jst_get_datachange: 100% complete.
jst_get_datestr: 10% complete.
jst_get_datestr: 20% complete.
jst_get_datestr: 30% complete.
jst_get_datestr: 100% complete.
jst_get_freespace: 10% complete.
jst_get_freespace: 20% complete.
jst_get_freespace: 100% complete.
jst_get_mdcache_type_config: 10% complete.
jst_get_mdcache_type_config: 20% complete.
jst_get_mdcache_type_config: 30% complete.
jst_get_mdcache_type_config: 40% complete.
jst_get_mdcache_type_config: 100% complete.
jst_get_usedspace: 10% complete.
jst_get_usedspace: 20% complete.
jst_get_usedspace: 100% complete.
jst_reconf_mdcache_type: 10% complete.
jst_reconf_mdcache_type: 20% complete.
jst_reconf_mdcache_type: 30% complete.
jst_reconf_mdcache_type: 100% complete.
jst_version_num: 10% complete.
jst_version_num: 20% complete.
jst_version_num: 30% complete.
jst_version_num: 100% complete.
jst_valid_ase_version: 10% complete.
jst_valid_ase_version: 20% complete.
jst_valid_ase_version: 30% complete.
jst_valid_ase_version: 40% complete.
jst_valid_ase_version: 50% complete.
jst_valid_ase_version: 100% complete.
jst_delete_statistics: 10% complete.
jst_delete_statistics: 20% complete.
jst_delete_statistics: 30% complete.
jst_delete_statistics: 100% complete.
jst_dump_databases: 10% complete.
jst_dump_databases: 20% complete.
jst_dump_databases: 30% complete.
jst_dump_databases: 40% complete.
jst_dump_databases: 50% complete.
jst_dump_databases: 60% complete.
jst_dump_databases: 100% complete.
jst_dump_logs: 10% complete.
jst_dump_logs: 20% complete.
jst_dump_logs: 30% complete.
jst_dump_logs: 40% complete.
jst_dump_logs: 50% complete.
jst_dump_logs: 60% complete.
jst_dump_logs: 70% complete.
jst_dump_logs: 100% complete.
jst_reclaim_index_space: 10% complete.
jst_reclaim_index_space: 20% complete.
jst_reclaim_index_space: 30% complete.
jst_reclaim_index_space: 100% complete.
jst_reclaim_table_space: 10% complete.
jst_reclaim_table_space: 20% complete.
jst_reclaim_table_space: 30% complete.
jst_reclaim_table_space: 100% complete.
jst_reconf_locks: 10% complete.
jst_reconf_locks: 20% complete.
jst_reconf_locks: 100% complete.
jst_reconf_mdcache: 10% complete.
jst_reconf_mdcache: 20% complete.
jst_reconf_mdcache: 100% complete.
jst_reconf_usr_conns: 10% complete.
jst_reconf_usr_conns: 20% complete.
jst_reconf_usr_conns: 30% complete.
jst_reconf_usr_conns: 100% complete.
jst_reorg_rebuild_indexes: 10% complete.
jst_reorg_rebuild_indexes: 20% complete.
jst_reorg_rebuild_indexes: 100% complete.
jst_reorg_rebuild_tables: 10% complete.
jst_reorg_rebuild_tables: 20% complete.
jst_reorg_rebuild_tables: 30% complete.
jst_reorg_rebuild_tables: 100% complete.
jst_update_statistics: 10% complete.
jst_update_statistics: 20% complete.
jst_update_statistics: 30% complete.
jst_update_statistics: 40% complete.
jst_update_statistics: 100% complete.
jst_svr_update_statistics: 10% complete.
jst_svr_update_statistics: 20% complete.
jst_svr_update_statistics: 30% complete.
jst_svr_update_statistics: 40% complete.
jst_svr_update_statistics: 50% complete.
jst_svr_update_statistics: 100% complete.
Installing SybBackupDbToDiskTemplate.xml in the SAP Adaptive Server
Enterprise...
Task failed

----------------------------------------------------------------
                  W E L C O M E   T O

  TemplateImport Utility [version 1.11]    Feb 18, 2017 1:52:59 PM

    Runtime Switches:

    TemplateImport Properties:

               Server_Machine_Name: localhost
                       Server_Name: LOCALHOST
                       Server_Port: 5000
     Template_Description_Override: Dumps specified database(s).
      Template_Group_Path_Override: Backups
                 Template_Language: en
            Template_Name_Override: Backup Database to Disk Template
         Template_Version_Override: 3.1
                 Template_XML_File: /opt/sap/ASE-16_0/jobscheduler/Templates/xml/en/SybBackupDbToDiskTemplate.xml
----------------------------------------------------------------
Reading XML File: /opt/sap/ASE-16_0/jobscheduler/Templates/xml/en/SybBackupDbToDiskTemplate.xml
XML File Read Completed Successfully
Creating Initial Template Record
SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
SQLException during getConnection: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
Exception  : SQLException when trying to connect
SQLException: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused
Exception in thread "main" java.lang.NullPointerException: while trying to invoke the method com.sybase.util.template.Connection.execUpdate(java.lang.String) of a null object loaded from field com.sybase.util.template.TemplateBase._conn of an object loaded from local variable 'this'
    at com.sybase.util.template.TemplateBase.execUpdate(TemplateBase.java:3296)
    at com.sybase.util.template.TemplateBase.createTemplate(TemplateBase.java:2311)
    at com.sybase.util.template.TemplateImport.importTemplate(TemplateImport.java:436)
    at com.sybase.util.template.TemplateImport.mainRoutine(TemplateImport.java:360)
    at com.sybase.util.template.TemplateImport.main(TemplateImport.java:348)
Server 'LOCALHOST_JSAGENT' was not created.

解决方法为:
禁用 IPV6

你可能感兴趣的:(Database)