Check the database engine output logs to isolate migration problems. There are separate output logs for the Sybase IQ 15.4 and Sybase IQ 12.7 database engines.
Use the -new_startline parameter on the iqunload command to specify diagnostic parameters -z and -zr all to start the Sybase IQ 15 server with extra logging.
iqunload -au -c "UID=DBA;PWD=SQL;DBF=W:\\iq-15\\unload\\127\\db\\iq127db.db" -new_startline "-z -zr all" -o d:\\iq15db.out
This statement causes the new iqsrv15 database engine to produce more verbose logging output to the file d:\iq15db.out.
iqunload -v -au -c "UID=DBA;PWD=SQL;DBF=W:\\iq-15\\unload\\127\\db\\iq127db.db;START=-z -zr all -o d:\\iq127db.out"
This statement causes the bundled Sybase IQ 12.7 engine to produce more verbose logging output. Examine the output file iq15db.out or iq127db.out for server error messages.
For details about the -z diagnostic parameter, see the Utility Guide. For information about request logging, see SQL Anywhere Server - SQL Usage > Monitoring and improving database performance > Diagnosing performance issues > Using other diagnostic tools and techniques.
SQL error:Database server not found
Check to see if an iqunlspt process is running, and stop the process before retrying iqunload.
load averages: 1.45, 1.19, 0.80; up 3+16:22:31 10:2 172 processes: 168 sleeping, 2 zombie, 2 on cpu CPU states: 79.1% idle, 18.9% user, 1.9% kernel, 0.0% iowait, 0.0% swap Memory: 16G phys mem, 13G free mem, 16G swap, 16G free swap PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND 21223 ybrown 1 59 0 2908K 1844K cpu 0:00 0.12% top 21172 ybrown 476 59 0 319M 264M sleep 0:01 0.05% iqunlspt 24890 ybrown 14 29 10 79M 43M sleep 0:49 0.03% java 20103 ybrown 1 59 0 7916K 2080K sleep 0:00 0.00% sshdTo stop the process, enter the command kill –9 and supply the process ID, for example:
kill –9 21172
In Task Manager, click the Processes tab, and locate the image name iqunlspt. Right-click iqunlspt and choose End Process.
SQL error: Unable to start specified database: autostarting database failed.
Migration replaces 12.7 login procedures to support new Sybase IQ 15 login management functionality.
E. 10/31 16:53:40. Login procedure 'DBA.sp_iq_process_login' caused SQLSTATE '52W09' E. 10/31 16:53:40. Procedure 'sp_iq_process_login' not found