Error building 'sysmaster' database
Posted in 2009
Topics: High Availability & Replication, Installation, Setup & Upgrades, Storage & Space Management, Stored Procedures & SPL, Error Codes & Troubleshooting, Server Administration, Security, Permissions & Auditing, Logging & Checkpoints, Migration, Import/Export & Data Conversion, Versions, Editions & End-of-Life
I installed IDS11.5UC4 in my RHEL5. When i start the instance oninit -ivy, it
goes to online mode. But when i looked into the online log file it says that
Error building 'sysmaster' database. Here is the part of online log file
(followed by : '/tmp/buildsmi.7379'). What i observed is that, its creating
all the database like sysmaster, sysadmin, sysutils but in any of these
databases are not having a single table. So i dropped the database using
dbaccess, and ran buildsmi it also returning error.
19:29:39 Event alarms enabled. ALARMPROG =
'/home/informix/inf11.5/etc/alarmprogram.sh'
19:29:39 Booting Language <c> from module <>
19:29:39 Loading Module <CNULL>
19:29:39 Booting Language <builtin> from module <>
19:29:39 Loading Module <BUILTINNULL>
19:29:44 DR: DRAUTO is 0 (Off)
19:29:44 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled)
19:29:44 Event notification facility epoll enabled.
19:29:44 IBM Informix Dynamic Server Version 11.50.UC4 Software Serial Number
AAA#B000000
19:30:13 IBM Informix Dynamic Server Initialized -- Complete Disk Initialized.
19:30:13 Started 1 B-tree scanners.
19:30:13 B-tree scanner threshold set at 5000.
19:30:13 B-tree scanner range scan size set to -1.
19:30:13 B-tree scanner ALICE mode set to 6.
19:30:13 B-tree scanner index compression level set to med.
19:30:13 Dataskip is now OFF for all dbspaces
19:30:13 Checkpoint Completed: duration was 1 seconds.
19:30:13 Wed Sep 16 - loguniq 1, logpos 0x33c, timestamp: 0xb8 Interval: 2
19:30:13 Maximum server connections 0
19:30:13 Checkpoint Statistics - Avg. Txn Block Time 0.001, # Txns blocked 0,
Plog used 6, Llog used 1
19:30:13 On-Line Mode
19:30:13 Building 'sysmaster' database ...
19:30:23 Checkpoint Completed: duration was 0 seconds.
19:30:23 Wed Sep 16 - loguniq 1, logpos 0x458018, timestamp: 0x51b7 Interval: 3
19:30:23 Maximum server connections 1
19:30:23 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0,
Plog used 7, Llog used 1112
19:30:29 Checkpoint Completed: duration was 0 seconds.
19:30:29 Wed Sep 16 - loguniq 1, logpos 0x8b0018, timestamp: 0x9e60 Interval: 4
19:30:29 Maximum server connections 1
19:30:29 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0,
Plog used 8, Llog used 1112
19:30:34 Checkpoint Completed: duration was 0 seconds.
19:30:34 Wed Sep 16 - loguniq 1, logpos 0xd14018, timestamp: 0xebb2 Interval: 5
19:30:34 Maximum server connections 1
19:30:34 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 0,
Plog used 7, Llog used 1124
19:30:34 Error building 'sysmaster' database.
19:30:34 See '/tmp/buildsmi.7379'.
19:30:36 Building 'sysadmin' database ...
19:30:37 Booting Language <spl> from module <>
19:30:37 Loading Module <SPLNULL>
19:30:38 Unloading Module <SPLNULL>
19:30:38 Loading Module <SPLNULL>
19:30:38 'sysadmin' database built successfully.
19:30:38 Logical Log 1 Complete, timestamp: 0x15e2a.
19:30:38 SCHAPI: Started dbScheduler thread.
19:30:38 SCHAPI: Started 2 dbWorker threads.
19:30:38 SCHAPI: Error -206 The specified table (sysmaster:sysconfig) is not
in the database.
19:30:38 SCHAPI: Type: SENSOR, Name: mon_config, Location: NULL.
19:30:38 SCHAPI: Error -111 ISAM error: no record found.
19:30:38 SCHAPI: Type: SENSOR, Name: mon_config, Location: NULL.
19:30:38 SCHAPI: Error -206 The specified table (sysmaster:sysdbstab) is not
in the database.
19:30:38 SCHAPI: Type: TASK, Name: check_backup, Location: NULL.
19:30:38 SCHAPI: Error -111 ISAM error: no record found.
......................
......................
......................
......................
19:30:38 SCHAPI: Type: STARTUP SENSOR, Name: mon_config_startup, Location:
NULL.
19:30:38 SCHAPI: Type: STARTUP SENSOR, Name: mon_config_startup, Error
Message: Unable to execute function [ onconfig_save_diffs(integer,integer) ] .
19:30:38 SCHAPI: Error -206 The specified table (sysmaster:sysenv) is not in
the database.
19:30:38 SCHAPI: Type: STARTUP SENSOR, Name: mon_sysenv, Location: NULL.
19:30:38 SCHAPI: Error -111 ISAM error: no record found.
19:30:38 SCHAPI: Type: STARTUP SENSOR, Name: mon_sysenv, Location: NULL.
19:30:38 Checkpoint Completed: duration was 0 seconds.
19:30:38 Wed Sep 16 - loguniq 2, logpos 0x159018, timestamp: 0x1647f Interval:
6
19:30:38 Maximum server connections 1
19:30:38 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked 1,
Plog used 7, Llog used 2098
=============================
/tmp/buildsmi.7379
=============================
The output below is from the dbaccess command in the shell script:
/home/informix/inf11.5/etc/bldutil.sh
This script is run when Informix OnLine is first initialized. It
builds the database and tables which support Administration databases.
If you were directed to see this file a problem probably occurred
while building the database and/or its tables and views. See below
for more information regarding any problems.
Problems may have occurred if OnLine was shutdown after initialization
but before the entire database was created. If this was the case,
login as 'informix', rerun 'oninit', and wait for the message
"'sysutils' database created successfully"
to appear in the database server message log before shutting down. Once
the database is created successfully, it should never need to be recreated.
329: Database not found or no system permission.
Begin: dbaccess - /home/informix/inf11.5/etc/sysutils.sql
Lockmode set.
Database created.
Database closed.
329: Database not found or no system permission.
Error in line 21Near character position 26
349: Database not selected yet.
Error in line 35Near character position 13
......................
......................
......................
349: Database not selected yet.
Error in line 130Near character position 13
End: dbaccess - /home/informix/inf11.5/etc/sysutils.sql
\\
Error - Cleaning up whatever was successfully created
329: Database not found or no system permission.
Error in line 1Near character position 22
Lockmode set.
349: Database not selected yet.
Error in line 1Near character position 41
I googled the above error, and found some places to remove all files from
/INFORMIXTMP direcory and run oninit again, but the result is same. Somewhere
some says that contact IBM Tech Support.
Please advice.
Thanks,
Dhananjay
That happens occasionally during instance initialization. Just rerun the
buildsmi script which is in $INFORMIXDIR/etc
Art
Art S. Kagel
Oninit (www.oninit.com)
IIUG Board of Directors (art@iiug.org)
Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Oninit, the IIUG, nor any other organization
with which I am associated either explicitly or implicitly. Neither do
those opinions reflect those of other individuals affiliated with any entity
with which I am affiliated nor those of the entities themselves.
On Thu, Sep 17, 2009 at 4:56 AM, DHANANJAY KUMAR <
dhananjay_kumar2k@yahoo.com> wrote:
> I installed IDS11.5UC4 in my RHEL5. When i start the instance oninit -ivy,
> it
> goes to online mode. But when i looked into the online log file it says
> that
> Error building 'sysmaster' database. Here is the part of online log file
> (followed by : '/tmp/buildsmi.7379'). What i observed is that, its creating
> all the database like sysmaster, sysadmin, sysutils but in any of these
> databases are not having a single table. So i dropped the database using
> dbaccess, and ran buildsmi it also returning error.
>
> 19:29:39 Event alarms enabled. ALARMPROG =
> '/home/informix/inf11.5/etc/alarmprogram.sh'
> 19:29:39 Booting Language <c> from module <>
> 19:29:39 Loading Module <CNULL>
> 19:29:39 Booting Language <builtin> from module <>
> 19:29:39 Loading Module <BUILTINNULL>
> 19:29:44 DR: DRAUTO is 0 (Off)
> 19:29:44 DR: ENCRYPT_HDR is 0 (HDR encryption Disabled)
> 19:29:44 Event notification facility epoll enabled.
> 19:29:44 IBM Informix Dynamic Server Version 11.50.UC4 Software Serial
> Number
> AAA#B000000
> 19:30:13 IBM Informix Dynamic Server Initialized -- Complete Disk
> Initialized.
> 19:30:13 Started 1 B-tree scanners.
> 19:30:13 B-tree scanner threshold set at 5000.
> 19:30:13 B-tree scanner range scan size set to -1.
> 19:30:13 B-tree scanner ALICE mode set to 6.
> 19:30:13 B-tree scanner index compression level set to med.
> 19:30:13 Dataskip is now OFF for all dbspaces
> 19:30:13 Checkpoint Completed: duration was 1 seconds.
> 19:30:13 Wed Sep 16 - loguniq 1, logpos 0x33c, timestamp: 0xb8 Interval: 2
>
> 19:30:13 Maximum server connections 0
> 19:30:13 Checkpoint Statistics - Avg. Txn Block Time 0.001, # Txns blocked
> 0,
> Plog used 6, Llog used 1
>
> 19:30:13 On-Line Mode
> 19:30:13 Building 'sysmaster' database ...
> 19:30:23 Checkpoint Completed: duration was 0 seconds.
> 19:30:23 Wed Sep 16 - loguniq 1, logpos 0x458018, timestamp: 0x51b7
> Interval:
> 3
>
> 19:30:23 Maximum server connections 1
> 19:30:23 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked
> 0,
> Plog used 7, Llog used 1112
>
> 19:30:29 Checkpoint Completed: duration was 0 seconds.
> 19:30:29 Wed Sep 16 - loguniq 1, logpos 0x8b0018, timestamp: 0x9e60
> Interval:
> 4
>
> 19:30:29 Maximum server connections 1
> 19:30:29 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked
> 0,
> Plog used 8, Llog used 1112
>
> 19:30:34 Checkpoint Completed: duration was 0 seconds.
> 19:30:34 Wed Sep 16 - loguniq 1, logpos 0xd14018, timestamp: 0xebb2
> Interval:
> 5
>
> 19:30:34 Maximum server connections 1
> 19:30:34 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked
> 0,
> Plog used 7, Llog used 1124
>
> 19:30:34 Error building 'sysmaster' database.
> 19:30:34 See '/tmp/buildsmi.7379'.
> 19:30:36 Building 'sysadmin' database ...
> 19:30:37 Booting Language <spl> from module <>
> 19:30:37 Loading Module <SPLNULL>
> 19:30:38 Unloading Module <SPLNULL>
> 19:30:38 Loading Module <SPLNULL>
> 19:30:38 'sysadmin' database built successfully.
> 19:30:38 Logical Log 1 Complete, timestamp: 0x15e2a.
> 19:30:38 SCHAPI: Started dbScheduler thread.
> 19:30:38 SCHAPI: Started 2 dbWorker threads.
> 19:30:38 SCHAPI: Error -206 The specified table (sysmaster:sysconfig) is
> not
> in the database.
> 19:30:38 SCHAPI: Type: SENSOR, Name: mon_config, Location: NULL.
> 19:30:38 SCHAPI: Error -111 ISAM error: no record found.
> 19:30:38 SCHAPI: Type: SENSOR, Name: mon_config, Location: NULL.
> 19:30:38 SCHAPI: Error -206 The specified table (sysmaster:sysdbstab) is
> not
> in the database.
> 19:30:38 SCHAPI: Type: TASK, Name: check_backup, Location: NULL.
> 19:30:38 SCHAPI: Error -111 ISAM error: no record found.
> .......................
> .......................
> .......................
> .......................
>
> 19:30:38 SCHAPI: Type: STARTUP SENSOR, Name: mon_config_startup, Location:
> NULL.
> 19:30:38 SCHAPI: Type: STARTUP SENSOR, Name: mon_config_startup, Error
> Message: Unable to execute function [ onconfig_save_diffs(integer,integer)
> ] .
> 19:30:38 SCHAPI: Error -206 The specified table (sysmaster:sysenv) is not
> in
> the database.
> 19:30:38 SCHAPI: Type: STARTUP SENSOR, Name: mon_sysenv, Location: NULL.
> 19:30:38 SCHAPI: Error -111 ISAM error: no record found.
> 19:30:38 SCHAPI: Type: STARTUP SENSOR, Name: mon_sysenv, Location: NULL.
> 19:30:38 Checkpoint Completed: duration was 0 seconds.
> 19:30:38 Wed Sep 16 - loguniq 2, logpos 0x159018, timestamp: 0x1647f
> Interval:
> 6
>
> 19:30:38 Maximum server connections 1
> 19:30:38 Checkpoint Statistics - Avg. Txn Block Time 0.000, # Txns blocked
> 1,
> Plog used 7, Llog used 2098
>
> =============================
> /tmp/buildsmi.7379
> =============================
>
> The output below is from the dbaccess command in the shell script:
> /home/informix/inf11.5/etc/bldutil.sh
>
> This script is run when Informix OnLine is first initialized. It
> builds the database and tables which support Administration databases.
> If you were directed to see this file a problem probably occurred
> while building the database and/or its tables and views. See below
> for more information regarding any problems.
>
> Problems may have occurred if OnLine was shutdown after initialization
> but before the entire database was created. If this was the case,
> login as 'informix', rerun 'oninit', and wait for the message
>
> "'sysutils' database created successfully"
>
> to appear in the database server message log before shutting down. Once
> the database is created successfully, it should never need to be recreated.
>
> 329: Database not found or no system permission.>
> Begin: dbaccess - /home/informix/inf11.5/etc/sysutils.sql
>
> Lockmode set.
>
> Database created.
>
> Database closed.
>
> 329: Database not found or no system permission.
> Error in line 21> Near character position 26
>
> 349: Database not selected yet.
> Error in line 35> Near character position 13
>
> .......................
> .......................
> .......................
> 349: Database not selected yet.
> Error in line 130> Near character position 13
>
> End: dbaccess - /home/informix/inf11.5/etc/sysutils.sql
>
> \\
> Error - Cleaning up whatever was successfully created
>
> 329: Database not found or no system permission.
> Error in line 1> Near cha
Yes Art, i did rerun buildsmi from $INFORMIXDIR/etc after-before dropping the sysmaster database multiple time. Always i was getting error like: error in line 21 error in line 25 ..... ..... May be something to do with sqlhosts and onconfig file, pertaining to DBSERVERNAME, DBSERVERALLIAS and NETTYPE. Regards, Dhananjay
Call IBM tech support. Art Art S. Kagel Oninit (www.oninit.com) IIUG Board of Directors (art@iiug.org) Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Oninit, the IIUG, nor any other organization with which I am associated either explicitly or implicitly. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Thu, Sep 17, 2009 at 7:18 AM, DHANANJAY KUMAR < dhananjay_kumar2k@yahoo.com> wrote: > Yes Art, i did rerun buildsmi from $INFORMIXDIR/etc after-before dropping > the > sysmaster database multiple time. Always i was getting error like: > error in line 21 > error in line 25 > ...... > ...... > > May be something to do with sqlhosts and onconfig file, pertaining to > DBSERVERNAME, DBSERVERALLIAS and NETTYPE. > > Regards, > Dhananjay > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --001517448ad21471850473c4592b