baarni
15th July 2005, 14:56
Before I backup the database (Oracle 9i), I stop the Baan and oracle-services
in a batchscript. After the backup I start the services in the other way round.
The entry's in the batchscript are like net stop/start "OracleServiceBAAN4".
For 'stop services', 'backup' and 'start services' I use the Windows scheduling. When I start the Service manager to check if the services are running, it seemed to be all is right. The status of the services are started.
But it is not possible to log on Baan, in the eventlog I'll find the following entry:

> Env Baan4 (e:\baan)
> Prog bshell file \general\lib\al_1\AL_SHM.C # 1481
> Keyword shared memory
> Username rkristov type N language 2
> Process 0x744
> Lasterror 2 (The system cannot find the file specified.)
> Errno 0
> bdberrno 0
> Message OpenMutex( 'Global\e:_baan_lib_shm_param.0' ) failed (error 2).
> Check whether Shared Memory Manager is running.

To work on with Baan, I have to reboot the server.

The Server is running with Windows 2003 SP1

any ideas ?

croezen
25th July 2005, 13:34
I am doing the same ( only BaaN IV ).
It works fine and my script looks like this ;

net stop "BaanSharedMemory BAAN"
net stop "BaanLogicService"
net stop "BaanLicencing"
net stop "SQLServerAgent"
net stop "MSSQLServer"
BACKUP HERE
net start "MSSQLServer"
net start "SQLServerAgent"
net start "BaanLicencing"
net start "BaanLogicService"
net start "BaanSharedMemory BAAN"

baarni
25th July 2005, 19:26
Thanks for your reply croezen,

I checked the Batchscripte and the services again. I found a tiny error in the
script: One of the servicename in the script was not corresponding with the servicename in the Service Manager. After correct this, it works.