cancel
Showing results for 
Search instead for 
Did you mean: 

ERR_FILEOPEN (ERR_RTE) when trying to install a database (7.6.4.16)

Former Member
0 Kudos

Hi

I have a system that had two SAP instances and it was decided to replace one of the instances.

The steps I did was to delete the OLD instance, as this has two MaxDb database and one is still being used:

dbmcli for OLD> db_offline

dbmcli for OLD> db_drop

#> sdbuninst -package "Database Kernel" -program_dir "e:/sapdb/OLD/db"

OK

I then installed a new instance using a homogeneous copy (backup/restore) for the new instance, NEW.

When the installation process stops to restore the database from a backup I noticed that a number of the parameters are not in place and appear in the GUI as new values.

I the wrk directory, I found the file dbmsrv_hostname.prt which contained the following errors:


2009-07-23 12:48:35 0x00001b54 INF        216 DBMSrv   DBM Server client connection (established at 2009-07-23 12:48:35): PID 2616 on computer CMSAPDEV6.csenergy.com.au
2009-07-23 12:48:35 0x00001b54 INF        283 DBMSrv   Command 'inst_reg -k "E:\sapdb\EDB\db" ' is being executed.
2009-07-23 12:48:36 0x00001b54 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\config\.M760416.cfg
                    0x00001b54 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001b54 ERR     -24778 DBMSrv   1,wrong file or device name
                    0x00001b54 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file 
                    0x00001b54 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001b54 ERR     -24778 DBMSrv   1,wrong path
                    0x00001b54 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file 
                    0x00001b54 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001b54 ERR     -24778 DBMSrv   1,wrong path
2009-07-23 12:48:37 0x00001b54 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\config\.M760416.cfg
                    0x00001b54 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001b54 ERR     -24778 DBMSrv   1,wrong file or device name
                    0x00001b54 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\wrk\.M760416\dbm.cfg
                    0x00001b54 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001b54 ERR     -24778 DBMSrv   1,wrong file or device name
                    0x00001b54 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\wrk\.M760416\dbm.cfg
                    0x00001b54 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001b54 ERR     -24778 DBMSrv   1,wrong file or device name
2009-07-23 12:48:37 0x00001b54 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\config\.M760416.cfg
                    0x00001b54 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001b54 ERR     -24778 DBMSrv   1,wrong file or device name
                    0x00001b54 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\wrk\.M760416\dbm.cfg
                    0x00001b54 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001b54 ERR     -24778 DBMSrv   1,wrong file or device name
                    0x00001b54 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\wrk\.M760416\dbm.cfg
                    0x00001b54 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001b54 ERR     -24778 DBMSrv   1,wrong file or device name
2009-07-23 12:48:37 0x00001b54 INF        419 DBMSrv   Command 'inst_reg' has ended with return code 0.
2009-07-23 12:48:37 0x00001b54 INF        226 DBMSrv   DBM Server client disconnected: PID 2616 on computer CMSAPDEV6.csenergy.com.au
2009-07-23 12:49:01 0x0000141c INF        216 DBMSrv   DBM Server client connection (established at 2009-07-23 12:49:01): PID 5264 on computer CMSAPDEV6.csenergy.com.au
2009-07-23 12:49:01 0x0000141c INF        283 DBMSrv   Command 'db_create EDB ...' is being executed.
2009-07-23 12:49:01 0x0000141c ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\config\EDB.cfg
                    0x0000141c ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x0000141c ERR     -24778 DBMSrv   1,wrong file or device name
                    0x0000141c ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file 
                    0x0000141c ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x0000141c ERR     -24778 DBMSrv   1,wrong path
                    0x0000141c ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file 
                    0x0000141c ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x0000141c ERR     -24778 DBMSrv   1,wrong path
2009-07-23 12:49:01 0x0000141c INF        419 DBMSrv   Command 'db_create' has ended with return code 0.
2009-07-23 12:49:01 0x0000141c INF        226 DBMSrv   DBM Server client disconnected: PID 5264 on computer CMSAPDEV6.csenergy.com.au
2009-07-23 12:49:05 0x00000984 INF        416 DBMSrv   Rundirectory  does not exist.
2009-07-23 12:49:05 0x00000984 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\config\EDB.cfg
                    0x00000984 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00000984 ERR     -24778 DBMSrv   1,wrong file or device name
                    0x00000984 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file 
                    0x00000984 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00000984 ERR     -24778 DBMSrv   1,wrong path
                    0x00000984 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file 
                    0x00000984 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00000984 ERR     -24778 DBMSrv   1,wrong path
2009-07-23 12:49:05 0x00000984 INF        216 DBMSrv   DBM Server client connection (established at 2009-07-23 12:49:04): PID 5868 on computer CMSAPDEV6.csenergy.com.au
2009-07-23 12:49:05 0x00000984 INF        283 DBMSrv   Command 'param_checkall' is being executed.
2009-07-23 12:49:05 0x00000984 INF        419 DBMSrv   Command 'param_checkall' has ended with return code 0.
2009-07-23 12:49:05 0x00000984 INF        283 DBMSrv   Command 'param_commitsession' is being executed.
2009-07-23 12:49:05 0x00000984 INF        419 DBMSrv   Command 'param_commitsession' has ended with return code 0.
2009-07-23 12:49:05 0x00000984 INF        226 DBMSrv   DBM Server client disconnected: PID 5868 on computer CMSAPDEV6.csenergy.com.au
2009-07-23 12:49:07 0x000010d8 INF        416 DBMSrv   Rundirectory E:\sapdb\data\wrk\EDB does not exist.
2009-07-23 12:49:07 0x000010d8 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\config\EDB.cfg
                    0x000010d8 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x000010d8 ERR     -24778 DBMSrv   1,wrong file or device name
                    0x000010d8 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\wrk\EDB\dbm.cfg
                    0x000010d8 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x000010d8 ERR     -24778 DBMSrv   1,wrong path
                    0x000010d8 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\wrk\EDB\dbm.cfg
                    0x000010d8 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x000010d8 ERR     -24778 DBMSrv   1,wrong path
2009-07-23 12:49:08 0x000010d8 INF        216 DBMSrv   DBM Server client connection (established at 2009-07-23 12:49:07): PID 6780 on computer CMSAPDEV6.csenergy.com.au
2009-07-23 12:49:08 0x000010d8 INF        283 DBMSrv   Command 'param_directput CACHE_SIZE 128000 ' is being executed.
2009-07-23 12:49:08 0x000010d8 INF        419 DBMSrv   Command 'param_directput' has ended with return code 0.
2009-07-23 12:49:08 0x000010d8 INF        226 DBMSrv   DBM Server client disconnected: PID 6780 on computer CMSAPDEV6.csenergy.com.au
2009-07-23 12:49:09 0x00001588 INF        416 DBMSrv   Rundirectory E:\sapdb\data\wrk\EDB does not exist.
2009-07-23 12:49:09 0x00001588 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\config\EDB.cfg
                    0x00001588 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001588 ERR     -24778 DBMSrv   1,wrong file or device name
                    0x00001588 ERR     -24748 DBMSrv   ERR_FILEOPEN: Error opening file E:\sapdb\data\wrk\EDB\dbm.cfg
                    0x00001588 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                    0x00001588 ERR     -24778 DBMSrv   1,wrong path

I have tried installing a different SID but I get the same result.

Any help would be appreciated.

Regards

Doug

Accepted Solutions (1)

Accepted Solutions (1)

lbreddemann
Active Contributor
0 Kudos

Hi Doug,

your post is plain unreadable.

Anyhow, it looks like that the MaxDB software installation on your system is broken.

Please run sdbverify to check this.

Also post the output of

dbmcli inst_enum

dbmcli db_enum

regards,

Lars

Former Member
0 Kudos

Hi Lars

Thanks for the reply. Not sure why my original post looks like that (?).

Here is the output from the commands:

VERIFICATION SUMMARY:

*********************

INVALID PACKAGES: 0

VALID PACKAGES: 21

INCONSISTENT PACKAGES: 0

TOTAL FILES: 1195

MISSED FILES: 0

MODIFIED FILES: 0

FILES WITH MODIFIED PERMISSIONS: 0

E:\>dbmcli inst_enum

OK

7.6.04.16 E:\sapdb\EPT\db

7.6.04.16 E:\sapdb\EHP\db

7.6.04.16 E:\sapdb\EDB\db

E:\>dbmcli db_enum

OK

EPT E:\sapdb\EPT\db 7.6.04.16 fast running

EPT E:\sapdb\EPT\db 7.6.04.16 quick offline

EPT E:\sapdb\EPT\db 7.6.04.16 slow offline

EPT E:\sapdb\EPT\db 7.6.04.16 test offline

EHP E:\sapdb\EHP\db 7.6.04.16 fast running

EHP E:\sapdb\EHP\db 7.6.04.16 quick offline

EHP E:\sapdb\EHP\db 7.6.04.16 slow offline

EHP E:\sapdb\EHP\db 7.6.04.16 test offline

E:\>

Please note that the instance EPT is still active.

EDB was installed but had the error I mentioned. I have dropped the EDB database with db_drop so that I could try and install another instance (EHP). The main reason I installed EHP was that all my previous attempts to install reused the same .M???? service. EHP installed but has the same issue.

Thanks

Doug

lbreddemann
Active Contributor
0 Kudos

Hi Doug,

the .M7640 instance is the service instance which is shared amongst all instances that use the same version of MaxDB.

Somehow this service instance seems to be damaged.

Without further investigating into this (to do that you would have to open a support message and provide remote access), I'd try to simply install the current patch to the installation you want to re-create a database into.

By that a new service instance will be created.

Afterwards you just should be able to run the db_create again.

regards,

Lars

Former Member
0 Kudos

Hi Lars

Thanks again.

Just to clarify, by current patch do you mean 7.6.6?

Am I still able to import a 7.6.4 db into a 7.6.6 database (I'm building a sandbox instance for enhancement pack testing)?

Regards

Doug

lbreddemann
Active Contributor
0 Kudos

> Just to clarify, by current patch do you mean 7.6.6?

Yes, I do.

> Am I still able to import a 7.6.4 db into a 7.6.6 database (I'm building a sandbox instance for enhancement pack testing)?

Sure.

It's just a patch.

It's not a new major release.

It's the same MaxDB 7.6 - just with (hopefully) less bugs and improved feature implementations.

regards,

Lars

Former Member
0 Kudos

Hi Lars

Unfortunately I'm still getting the same error for the .M7606?? service.

Thanks

Doug

lbreddemann
Active Contributor
0 Kudos

Ok, then it's time to open a support message at SAP.

KR Lars

Answers (0)