Link to home
Start Free TrialLog in
Avatar of IDCSSupport
IDCSSupportFlag for United States of America

asked on

error modifing sybase configuration file.

We are getting this error when we try to modify the configuration using sp_cpnfigure:

DBMS      SERVERNAME -- Number (5854) Severity (18) State (1) Server (SERVERNAME) Procedure (sp_configure) Configuration Error: Cannot rename file 'c:\sybase\SERVERNAME.cfg' due to system error 'Permission denied' (status = 0).

The premission seems correct, they haven't been changed on either the file or folder and this is config change is something we do regularly. System specs are:

Adaptive Server Enterprise/12.5.0.3/EBF 11449 ESD#4/P/NT (IX86)/OS 4.0/rel12503/1939/32-bit/OPT/Sat Sep 20 22:28:57 2003

running on:
Windows Server 2003 Enterprise x64 Edition
Avatar of alpmoon
alpmoon
Flag of Australia image

Old config files are renamed as SERVERNAME.001, SERVERNAME.002, and so on. Could it be a problem that you have already changed the config 999 times? If it is the case you can copy them somewhere else for archive purposes and remove them from sybase directory.
Avatar of IDCSSupport

ASKER

There were 300 + files in there but I moved then to another folder and was still getting the error.
Have you tried to create such a file in that directory as Sybase user (the user starts ASE)? It must be related to creating those old config files.
SOLUTION
Avatar of Joe Woodhouse
Joe Woodhouse

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good.