Question : Sybase services not starting. Possible localisation Issue.

I'm new to Sybase.

Recently I tried to restart the services, but they won't start. I tried from the services console and the main sql server service throws back an error message saying that that it started then stopped. The MON service failed with error 1068 "the dependancy service or group failed to start" and the backup service failed with error 1067 "The process terminated unexpectedly."

I then tried running the batch files from c:\sybase\ase-15_0\install and I get an error file generated that says:
[
The context allocation routine failed when it tried to load localization files!!
One or more following problems may caused the failure

Your sybase home directory is c:\sybase. Check the environment variable SYBASE if it is not the one you want!
Cannot access file c:\sybase\ini\objectid.dat
]

I've looked that up and apparently that has to do with the localisation files. I looked for locales.dat, but the file is no where to be found. Nor can objectid.dat.

Can anyone help with this error?

Answer : Sybase services not starting. Possible localisation Issue.

Yeah, that all looks ok. Sorry for asking annoying questions but these really do fix most of these kinds of problems.

You should normally see locales.dat in C:\sybase\locales. If it isn't there, then I'd suggest reinstalling your Sybase software (either client-side or server-side). This will not break any local databases, their device files etc will still be intact.

Make sure all Sybase components are down when you do this, and if you've applied any patches, reinstall the patches afterwards as well.

We could try to figure out some complicated recovery scenario but seriously this is all you'll need.
Random Solutions  
 
programming4us programming4us