![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Yep. I checked the open source and that was definitly the gist of what I read in dm0c.c etc. This has me puzzelled! I've opened and closed the files to edit them. Nothing else should be holding a lock on them so I'm stumped. Is a lock status written into the config file itself? Something that’s says 'Hi I've been opened by application X.'? Marty From: Ian Kirkham [mailto:Ian.Kirkham (AT) actian (DOT) com] Sent: 25 November 2011 14:36 To: Ingres and related product discussion forum Subject: Re: [Info-Ingres] Editing a configuration file Hi Marty, You usually get this if another session is in CBF or the like & hence has the config.dat locked. Regards, Ian From: info-ingres-bounces (AT) kettleriver...ting (DOT) com [mailto:info-ingres-bounces (AT) kettleriverconsulting (DOT) com] On Behalf Of Martin Bowes Sent: 25 November 2011 11:32 To: Ingres and related product discussion forum Subject: [Info-Ingres] Editing a configuration file Hi All, As part of a Disaster Recovery Plan I'm in the process of trialling a Perl based configuration file editor. All I'm changing is the database extent directory. I'm not adding new locations, I'm simply amending the path strings to reflect the new host and installation. Other than the path name, I'm changing only the integer field which holds the path length. The amended file is then written to disk. It has the same length as the original. My editor has no problem re-reading the amended file and displaying its contents….but Ingres sure doesn't like it! An infodb bombs out with E_DM923A_CONFIG_OPEN_ERROR And in the errlog we see: E_DM923C_CONFIG_FORMAT_ERROR Error in configuration file format. E_DM923A_CONFIG_OPEN_ERROR Error occurred opening configuration file (aaaaaaaa.cnf). Anyone got any idea what else I need to change? Martin Bowes _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://ext-cando.kettleriverconsulti...fo/info-ingres |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hi All, As part of a Disaster Recovery Plan I'm in the process of trialling a Perl based configuration file editor. All I'm changing is the database extent directory. I'm not adding new locations, I'm simply amending the path strings to reflect the new host and installation. Other than the path name, I'm changing only the integer field which holds the path length. The amended file is then written to disk. It has the same length as the original. My editor has no problem re-reading the amended file and displaying its contents….but Ingres sure doesn't like it! An infodb bombs out with E_DM923A_CONFIG_OPEN_ERROR And in the errlog we see: E_DM923C_CONFIG_FORMAT_ERROR Error in configuration file format. E_DM923A_CONFIG_OPEN_ERROR Error occurred opening configuration file (aaaaaaaa.cnf). |
#8
| |||
| |||
|
|
Hi All, As part of a Disaster Recovery Plan I'm in the process of trialling a Perl based configuration file editor. All I'm changing is the database extent directory. I'm not adding new locations, I'm simply amending the path strings to reflect the new host and installation. Other than the path name, I'm changing only the integer field which holds the path length. The amended file is then written to disk. It has the same length as the original. My editor has no problem re-reading the amended file and displaying its contents....but Ingres sure doesn't like it! An infodb bombs out with E_DM923A_CONFIG_OPEN_ERROR And in the errlog we see: E_DM923C_CONFIG_FORMAT_ERROR Error in configuration file format. E_DM923A_CONFIG_OPEN_ERROR Error occurred opening configuration file (aaaaaaaa.cnf). |
#9
| |||
| |||
|
|
Hi All, As part of a Disaster Recovery Plan I'm in the process of trialling a Perl based configuration file editor. All I'm changing is the database extent directory. I'm not adding new locations, I'm simply amending the path strings to reflect the new host |
|
Other than the path name, I'm changing only the integer field which holds the path length. The amended file is then written to disk. It has the same length as the original. My editor has no problem re-reading the amended file and |
|
An infodb bombs out with E_DM923A_CONFIG_OPEN_ERROR And in the errlog we see: E_DM923C_CONFIG_FORMAT_ERROR Error in configuration file format. E_DM923A_CONFIG_OPEN_ERROR Error occurred opening configuration file (aaaaaaaa.cnf). |
#10
| |||
| |||
|
|
Hi All, As part of a Disaster Recovery Plan I'm in the process of trialling a Perl based configuration file editor. All I'm changing is the database extent directory. I'm not adding new locations, I'm simply amending the path strings to reflect the new host and installation. Other than the path name, I'm changing only the integer field which holdsthe path length. The amended file is then written to disk. It has the same length as the original. My editor has no problem re-reading the amended file and displaying its contents....but Ingres sure doesn't like it! An infodb bombs out with E_DM923A_CONFIG_OPEN_ERROR And in the errlog we see: E_DM923C_CONFIG_FORMAT_ERROR Error in configuration file format. E_DM923A_CONFIG_OPEN_ERROR Error occurred opening configuration file (aaaaaaaa.cnf). |
![]() |
| Thread Tools | |
| Display Modes | |
| |