Link to home
Create AccountLog in
Server Software

Server Software

--

Questions

--

Followers

Top Experts

Avatar of ggets
ggets

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?

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Joe WoodhouseJoe Woodhouse

Do you actually have a c:\sybase ? What's in it?

Are you certain the services were running before?

Most likely, something's wrong with the environment - I'm guessing either PATH is wrong, or the environment variables SYBASE, SYBASE_ASE and SYBASE_OCS. If you really had lost locales.dat etc you would not have had ASE running in the first place...

Avatar of ggetsggets

ASKER

Yes I actually have a c:\sybase (see attached file)

It was working, then I stopped the service after sybase central hung and I couldn't get back in. Now it won't start back up.

locales.dat isn't present.
sybase-root.png

Avatar of ggetsggets

ASKER

Another error message in the service log is this:

server  Can not get Unilib conversion handle for default character set 'cp850' - Conversion table can not be found. The handle is set to NULL.
kernel  kscsinit: connectivity library error. Operation: cs_ctx_alloc().

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Yeah. that definitely sounds like something's wrong with the environment...

Do you get the same problem after a Windows restart?

What are the current values of your Sybase environment variables? Open a CMD prompt and run "set" and post the output, please.

Avatar of ggetsggets

ASKER

Yeah, I've tried restarting.
regil-set.png

ASKER CERTIFIED SOLUTION
Avatar of Joe WoodhouseJoe Woodhouse

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of ggetsggets

ASKER

Thanks for your help. I'm attempting a re-install now.

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.

Server Software

Server Software

--

Questions

--

Followers

Top Experts

A server is a computer program or a machine that waits for requests from other machines or software (clients) and responds to them. This architecture is called the client–server model. The clients may run on the same computer or may connect to the server over a network. The purpose of a server is to share data or hardware and software resources among clients. Typical computing servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers.