Posting here as its sqlanywhere really and more traffic here:
POST UPGRADE LOG:
I. 01/16 14:50:56. Starting database "vxpmdb" (/opt/SYMCOpsCenterServer/db/data/vxpmdb.db) at Thu Jan 16 2014 14:50
I. 01/16 14:50:58. Opening dbspace 'symcOpscache' in file 'symcOpscache.db' for database 'vxpmdb'
I. 01/16 14:50:58. Opening dbspace 'symcopsscratchdb' in file 'symcopsscratchdb.db' for database 'vxpmdb'
I. 01/16 14:50:58. Opening dbspace 'symcsearchdb' in file 'symcsearchdb.db' for database 'vxpmdb'
I. 01/16 14:51:00. Transaction log: /opt/SYMCOpsCenterServer/db/data/vxpmdb.log
E. 01/16 14:51:00. Error: Cannot open transaction log file -- Can't use log file "/opt/SYMCOpsCenterServer/db/data/vxpmdb.log" since the database f
ile has been used more recently
E. 01/16 14:51:00. Cannot open transaction log file -- Can't use log file "/opt/SYMCOpsCenterServer/db/data/vxpmdb.log" since the database file has
been used more recently
I. 01/16 14:51:00. Database server shutdown due to startup error
I. 01/16 14:51:00. Database server stopped at Thu Jan 16 2014 14:51
ME DOING A RESTART TODAY LOG:
I. 01/20 13:04:45. SQL Anywhere Network Server Version 12.0.1.3873
I. 01/20 13:04:45. OEM Authenticated Edition, licensed only for use with authenticated OEM applications.
I. 01/20 13:04:45.
I. 01/20 13:04:45. Copyright (c) 2001-2013, iAnywhere Solutions, Inc.
I. 01/20 13:04:45. Portions copyright (c) 1988-2013, Sybase, Inc. All rights reserved.
I. 01/20 13:04:45. Use of this software is governed by the Sybase License Agreement.
I. 01/20 13:04:45. Refer to http://www.sybase.com/softwarelicenses.
I. 01/20 13:04:45.
I. 01/20 13:04:45. Processors detected: 1
I. 01/20 13:04:45. Processor limit (licensed processors): 128
I. 01/20 13:04:45. Maximum number of physical processors the server will use: 1
I. 01/20 13:04:45. This server is licensed to:
I. 01/20 13:04:45. NetBackup
I. 01/20 13:04:45. Symantec Corporation
I. 01/20 13:04:45. Running Linux 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 on X86_64
I. 01/20 13:04:45. Server built for X86_64 processor architecture
I. 01/20 13:04:45. 25680K of memory used for caching
I. 01/20 13:04:45. Minimum cache size: 25680K, maximum cache size: 512000K
I. 01/20 13:04:45. Using a maximum page size of 8192 bytes
I. 01/20 13:04:45. Multiprogramming level: minimum:1, current:20, maximum:80
I. 01/20 13:04:45. Automatic tuning of multiprogramming level is enabled
I. 01/20 13:04:46. Starting database "vxpmdb" (/opt/SYMCOpsCenterServer/db/data/vxpmdb.db) at Mon Jan 20 2014 13:04
I. 01/20 13:04:48. Opening dbspace 'symcOpscache' in file 'symcOpscache.db' for database 'vxpmdb'
I. 01/20 13:04:48. Opening dbspace 'symcopsscratchdb' in file 'symcopsscratchdb.db' for database 'vxpmdb'
I. 01/20 13:04:48. Opening dbspace 'symcsearchdb' in file 'symcsearchdb.db' for database 'vxpmdb'
I. 01/20 13:04:50. Transaction log: /opt/SYMCOpsCenterServer/db/data/vxpmdb.log
E. 01/20 13:04:50. Error: Cannot open transaction log file -- Can't use log file "/opt/SYMCOpsCenterServer/db/data/vxpmdb.log" since the database f
ile has been used more recently
E. 01/20 13:04:50. Cannot open transaction log file -- Can't use log file "/opt/SYMCOpsCenterServer/db/data/vxpmdb.log" since the database file has
been used more recently
I. 01/20 13:04:50. Database server shutdown due to startup error
I. 01/20 13:04:50. Database server stopped at Mon Jan 20 2014 13:04
So the upgrade screwed the db. Nice work.
-r--r--r-- 1 root root 1410654208 Jan 20 13:04 /opt/SYMCOpsCenterServer/db/data/vxpmdb.db
[root@server01 bin]# !1217
ls -l /opt/SYMCOpsCenterServer/db/data/vxpmdb.log
-rw------- 1 root root 8192 Jan 16 14:49 /opt/SYMCOpsCenterServer/db/data/vxpmdb.log
How come the db has a timestamp of today? Seems the startup logic is screwed if the db timestamp can be applied without correct startup.
The only oddity of the upgrade was the script fails to check the space available (in /var) so when it decompresses certain data it can fill up the filesys but I worked around thsi via a symlink to /opt.The upgrade didnt start when this happened as it has the sense to check the prerequisites all worked before touching the db.
I have not yet attempted any bodge, like modifying the timestamp.
So I'm looking for a steer to fix if anyone has one.
Thanks in advance, forum members,Jim.