Solved

error modifing sybase configuration file.

Posted on 2011-02-14
7
886 Views
Last Modified: 2012-08-13
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
0
Comment
Question by:IDCSSupport
  • 3
  • 2
  • 2
7 Comments
 
LVL 13

Expert Comment

by:alpmoon
Comment Utility
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.
0
 

Author Comment

by:IDCSSupport
Comment Utility
There were 300 + files in there but I moved then to another folder and was still getting the error.
0
 
LVL 13

Expert Comment

by:alpmoon
Comment Utility
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.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 24

Assisted Solution

by:Joe Woodhouse
Joe Woodhouse earned 333 total points
Comment Utility
The error is straightforward - the OS has told ASE that it doesn't have permissions to do something to the .CFG file in its current directory. Does the .CFG file still exist in the directory it's supposed to be in? You mentioned you moved 300 files so I'm wondering if you moved the current .CFG file as well.

Also re. above, when you get to [server].999 it just wraps around and starts overwriting [server].000 again.
0
 
LVL 13

Accepted Solution

by:
alpmoon earned 167 total points
Comment Utility
Actually, the message clearly says that it is about renaming, which means "rename SERVERNAME.cfg SERVERNAME.001" didn't work. ASE have to do that before creating a new config file. I am not a Windows person. But could it be a permission preventing only renaming?
0
 
LVL 24

Assisted Solution

by:Joe Woodhouse
Joe Woodhouse earned 333 total points
Comment Utility
Renaming needs permissions on the file, yes. Read and write, I think.

Good catch about the renaming though! :)
0
 

Author Closing Comment

by:IDCSSupport
Comment Utility
Good.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the fileā€¦
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now