Table lck files
Hi All,
In SQL 2005/BPC 7(I think I am at SP1, but upgrade scheduling is in process, which might answer this question)
I am seeing an issue where table locks are getting created, and I can't figure out why. Several threads on this forum talk about input templates hanging and not sending their data due to lck[application name] holding onto a stale lock. Removing the lock seems to correct the issue.
What I can't figure out is why the locks are getting in there. Some times it's evident, a user left it open the server rebooted etc etc, but once a month we reboot the server (SQL and App) just for housekeeping. Post-reboot I check for locks, and there are none. One users opens an the input template to add forecast data, and the input never finishes. We see locks in the db from that user - I remove them, reboot again, and voila that user can now input normally.
Any thoughts appreciated -
Edward
Hi Edward,
You already have the answer to your query.
Whenever a user is trying to access a particular region, that region gets locked, so that, noone else can change that region. Because in that case, if some other user changes the data, the first user will get affected. This is the reason this region gets locked and you can see this in the lck table. Now, if the user is accessing a region and if his task doesnt get completed (the template gets hanged), then the region is not released. Only when the task gets completed, the region is cleared and the lock entries are deleted from the table. However, if the task is not completed, then the lock entries will remain in the table and no other user can work on that region. The users will definitely be able to work on other data sets but not on this region. So, the lock needs to be deleted manually.
So, instead of looking at the lock table issue, I would suggest you to look into the users as in why their task is not getting completed.
Hope this helps.
Similar Messages
-
hey everyone.
i need to delete a bunch of .LCK files from my server so
Dreamweaver
will stop telling me someone else has stuff checked-out and
that i need
to enable blah blah blah. i can't just check everything in
because A.
that would take forever and B. the "person" who has them
checked out is
actually me, from a previous site definition that is now gone
because i
had to recreate it.
unless i'm missing something (and i've been spending some
time looking
for it), there doesn't seem to be a way in Dreamweaver (at
least in
version 8, which is what i have) to search for files on the
remote view.
and even if there was, it doesn't look like the remote view
displays
hidden files, i.e. .LCK files.
my server control panel does give me the option to search for
files
using the file manager, but it only searches the folder you
have
selected, and no sub-folders. there are hundreds, maybe
thousands of
folders on this thing, and it would really take a long time
to click on
each and every folder, search for the .lck files, and then
delete them.
so, my question is, what would be the best/easiest way to
find and
delete .lck files (or really, any file for that matter) on
the remote
server?
thanks!i do NOT want check-in/check-out enabled. i'm trying to get
rid of it
altogether, but i tried selecting the checked out files to
check them
back in, and it said there were none.
there is no "unlock" option, so i guess i need to pick check
in. but
here's my question, since it's this other instance of "me"
that has them
checked out, will this work? it's not recognizing me or my
computer or
whatever as the person who has them checked out. i think it's
because i
had to recreate my site definition about a week ago or so,
and i deleted
the old one. so it's like a user that no longer exists has
them checked out.
Alan wrote:
> Do you want checkin/checkout to still be enabled when
this is done?
>
> try this or a variation of it-
>
> in the Files Panel, right-click on the root site folder
and pick checkin. Or
> unlock.
>
> -
Error when opening table container file keydb read only
Hi Guys,
We are installing solution manager 4.0 on windows/sql but we are getting following error and couldnt continue the installation
FKD-00070 Error when opening table container file C:\PROGRA1\SAPINS1\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml for writing. Possible reason: "read-only"
ERROR 2008-06-04 20:10:56.843
FKD-00049 XML - Parser error: error: no DTD specified, can't validate in line 1, 1
in file C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml.
Please help
Regards,
SantoshFurther info
keydb.xml is empty and the directory has got write access for everyone
regards
Edited by: Santosh Keerti on Jun 4, 2008 1:29 PM -
Transfer intenal table to file
Hi abaers,
i need to transfer the internal table data to file,,this file to create in application server.
internal table lineitems contains 100 fields...
i tried in the following method: but 100 fields i have to move each and evry field to t_output-data.. so it is becoming complex.
data: begin of t_output occurs 0,
data(800),
end of t_output.
loop at lineitems.
t_output-data(4) = lineitems-COMP_CODE.
t_output-data+4(10) = lineitems-VENDOR.
append t_output.
clear t_output.
endloop.
open dataset filename for output in text mode encoding default.
loop at t_output.
transfer t_output-data to filename.
clear t_outpu-data.
endloop.
close dataset filename.
endif.
is there any other method to do direct transfer from internal table to file..Hi,
I think FM: GET_COMPONENT_LIST would be very useful to u.
i have attached the complete code and it's working absolutely fine with me.
Code **********
types: begin of type_item,
f1(3),
f2(3),
f3(3),
f4(3),
end of type_item.
types: begin of type_data,
data(800),
end of type_data.
data : lineitems type table of type_item with header line,
t_output type table of type_data with header line,
fieldlist type table of RSTRUCINFO with header line.
lineitems-f1 = 'a1'.
lineitems-f2 = 'a2'.
lineitems-f3 = 'a3'.
lineitems-f4 = 'a4'.
append lineitems.
lineitems-f1 = 'b1'.
lineitems-f2 = 'b2'.
lineitems-f3 = 'b3'.
lineitems-f4 = 'b4'.
append lineitems.
lineitems-f1 = 'c1'.
lineitems-f2 = 'c2'.
lineitems-f3 = 'c3'.
lineitems-f4 = 'c4'.
append lineitems.
lineitems-f1 = 'd1'.
lineitems-f2 = 'd2'.
lineitems-f3 = 'd3'.
lineitems-f4 = 'd4'.
append lineitems.
field-symbols : <fs> type any.
CALL FUNCTION 'GET_COMPONENT_LIST'
EXPORTING
PROGRAM = sy-repid
FIELDNAME = 'lineitems'
TABLES
COMPONENTS = fieldlist.
data : fieldname like fieldlist-compname,data_line type type_data,dref
type ref to data.
format color 3.
loop at lineitems REFERENCE INTO dref. .
loop at fieldlist.
fieldname = fieldlist-compname .
assign dref->(fieldname) to <fs>.
concatenate data_line <fs> into data_line .
endloop.
append data_line to t_output.
clear data_line.
endloop.
loop at t_output.
write:/ t_output.
endloop.
Code *************
If u still have any issues please revert back.
Hope it'll help u.
Regards,
Ankur -
My Java File gets a .LCK file attached - do not want it there
I have a couple of Java files. When I go to compile them the IDE will not enable the compile option from the drop down list. I found there is a .LCK file in the same directory with the same name as my File..
IE if my file name was Basketballs.java there is a .LCKBasketball.java
When I erase the file from the directory it allows me to compile it but once I compile the file it creates a new .LCK file and the whole problem starts all over again.
What must I do to stop this .LCK file from being produced so my file does not get locked from use.
Or is this a silly virus that somebody put on my computer?This is a question the should have been asket at the unidentified IDE's website. It does not involve Java.
-
Deployed components in table or file
Hi,
I'm looking for a table or file where the level of my j2ee components is stored.
It should have the contents of the systeminfo->'all componnents', but I want to read it with a script so I need a file oder table.
Thanks
JanI have used the following link as a reference while doing coding for GOS. may this will give you some hint.
http://it.toolbox.com/wiki/index.php/Downloading_attachments_of_services_for_objects
a® -
Oracle 11g - External Table/Remote File Issue?
Oracle 11g - External Table/Remote File Issue?
=============================
I hope this is the right forum for this issue, if not let me, where to go.
We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
We are not allowed to put files on the CSV file system (Server A), where DB instance is running. We are able place CSV files on another server(Server B), where DB instance is not running.
We are trying to use oracle external table to load text files in .CSV format.
How do we create a Directory (Create Directory) on Server A DB to point to File system of Server B?
Is it feasible?
Any idea?
Thanks in helping.The Solaris DBA should be able to mount the filesystem for you. Either that or you have to get creative transferring the file like this;
http://www.linkedin.com/groups/Getting-creative-external-table-preprocessor-140609.S.50474382?qid=ba673ce4-c4bb-40c5-8367-52bd2a2dfc80&trk=group_search_item_list-0-b-ttl&goback=%2Egmp_140609
Cheers
David -
Dynamicall​y Changing Table to File - Advice?
My current setup for logging data selected by the user has been to a simple csv file with each read going to a new line.
This has proved to be very annoying as the user must then reformat this file to their liking. An example would be that the user requested a voltage and current at the same time and would like them to be in separate columns on the same row.
Example:
Before
Time,Measurement,Value
0:10:00,Voltage Measure,5.1
0:10:00,Current Measure,.12
0:20:00,Voltage Measure,4.2
0:20:00,Current Measure,.23
After
Time,Voltage Measure,Current Measure
0:10:00,5.1,.12
0:20:00,4.2,.23
and so on...
So I have decided to allow the user to assign Measurements to a certain "column" in a table. And for every measurment at that time (1 second intervals), it gets put into the apropriate column. Then if a measurement comes at a different time, go to the next row and keep going.
My issue is if there is an efficient way to go from a table to file?? I know there is ArrayToFile but didn't see any TableToArray or TableToFile (csv type) (may add that as a request).
Code replies are appreciated since I would want this to be as efficient as possible.
Dependent on people's replies would indicate how often I should flush to the output.
ThanksNever tested it against efficiency, but the easiest way of passing data table to a file is using the clipboard: the following code reads an entire table into the clipboard and creates a file with table content; columns are tab-separated, rows are ended with usual CRLF termination, empty cells are honoured; the file can be read next with notepad.
int avail, fH = 0;
char *txt = NULL;
ClipboardPutTableVals (panel, control, VAL_TABLE_ENTIRE_RANGE);
ClipboardGetText (&txt, &avail);
if (avail) {
fH = OpenFile ("table.txt", VAL_WRITE_ONLY, VAL_TRUNCATE, VAL_ASCII);
WriteFile (fH, txt, strlen (txt));
CloseFile (fH);
if (txt) free (txt);
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
Open Hub Destination Table Vs File
Hello Experts,
We have a requirement to send data from BW to 3rd party system every day. In the Open hub destination we have two options for the target.
1. Table
2. File
ETL tool like Informatica will extract the data from table or file into 3rd party sytem.
Which way is the best in performance and maintenance?
Thanks in advance
SreeHi,
If you follow the delta mechanism then table is good. You can also go for File not a problem. See the both eamples in the following articles.
If you use Fiels then go for Application Server option, i.e. AL11 becasue no one can change teh files in this location, you can restrict the authorizations.
Open Hub Destination: Part 1
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/m-o/open%20hub%20destination%3a%20part%201.pdf
Open Hub Destination: Part 2
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/m-o/open%20hub%20destination%3a%20part%202.pdf
Thanks
Reddy -
Getting the Datatype error data into a table or file
Hi experts,
I have a scenario where I need to capture the datatype mismatch records between source & target or the data length error records into a table or file.
For example.
1. I have source table column of datatype varchar which is mapped to a target table column of datatype Integer.
2. I have source table column of datatype varchar2(2000) is mapped to a target table column of datatype varchar2(200).
I know that while interface execution, if any of the above scenario comes an error occurs respectively and execution stops.
My question is whether is there anyway to capture those types of records and insert into a table or file. If yes kindly suggest me how to do it.
Thanks in advanceHi Siva,
Use SqlUnload tool to capture error out records in excel file.
Hope this will helps you
Thanks,
Phani -
LCK files being created with PAK files when processed through ODDC
I'm encountering a problem where after commit of a batch in ODDC the files are transferred to the server, but the PAK files are accompanied by a LCK file that is preventing the Distributed Document Capture service from picking them up and processing them. This started occurring after ODDC Patch 4 (14538424) was applied. I'd blame the patch, but not all users encounter the problem. Users encountering the problem are using Win7 and IE9. That said, users that don't encounter the problem are using the same OS and browser. Has anyone encountered this before? What was the resolution? I suspect it's a browser setting, but haven't identified it yet.
ThanksI stumbled on a link in the oracle forum which says that the "create or replace package XXX" at the start of the PL/SQL procedure when run seems to intermittently cause the ORA-04068: existing state of packages has been discarded problem.
As per the solution suggested an “alter package XXX compile" can be executed after the changes are made and then we would no longer get the error in BPEL/ESB and dont have to bounce the server too.
__http://forums.oracle.com/forums/thread.jspa?threadID=185762_
However the above solution does not seem to resolve the issue.
Any help in this regard would be highly appreciated.
Thanks,
Deepthi -
Hello !
I'm a forum newbie so please forgive me if this post should be in another group, but it seems to me like kind of "general" question though :).
I have to make a backup of all configuration made by IMG. Actually I have to export all tables to files.
I can't find any nice solution so I'm using S_CUS_IMG_SELECT_NODES function to get all IMG nodes and I analyze them to see where are the data related.
By reading activities and references in most cases I can get names of maintenance views or cluster tables views.
For now I have the following problems:
- how to read data from maintenance view to a internal table?
I guess I have to analyze how this view is build, make a genuine select with joins which will select the same data as the view and then store this data to a file. Any other solutions?
- how can I read and store data from cluster tables views?
This seems to be quite complicated problem so maybe any other solutions to solve it?
Thank You in advance for any insights on this matter and I would appreciate any help You can give me.
Saturnin SwedrakIn the new SQL Developer Early Adopter the export feature (now renamed to unload) has been vastly reworked and improved, and has the option to export to multiple files, you can give this a try.
Mind there is a missing feature (export to clipboard) that has been removed by mistake in the EA, it will be restored for the production release, and for the next EA's. -
Over-riding .LCK files on Inherited Website
Is there any way of over-riding .LCK files?
I’ve recently been given access to administer a
department webpage at a university and defined a site on my
computer - but when I accessed the server's directory I found the
.htm files have the .LCK extension. I was able to download the
files but am prevented from uploading any files. The original
webperson has left and no one has any information.
I was checking the archives and see that the .LCK is related
to Dreamweaver's "check-in/check-out" feature which allows tracking
of files when working in groups. But since I'm now become "the
group", how do I over-ride this feature so I can work on the .htm
files?
~CKJust delete the lck files on the server as I mentioned
before.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"Hurleyburley" <[email protected]> wrote in
message
news:[email protected]...
> Unfortunately the previous person who opened the files
and checked them
> out did
> not return/upload them - and didn't leave copies of the
files to upload.
>
> So is there a way to access the files which have been
locked when I don't
> have
> the original checked-out files to check-back-in?
>
>
>
>
quote:
Originally posted by:
Newsgroup User
> If the previous person opened the file in DW it would
have checked it out,
> in the process creating the LCK file. To remove this
file DW needs to
> check
> the file back in. If you are using another program for
this part of the
> operation then you will have problems with DW.
>
> --
> Paul Whitham
> Certified Dreamweaver MX2004 Professional
> Adobe Community Expert - Dreamweaver
>
> Valleybiz Internet Design
> www.valleybiz.net
>
> "Hurleyburley" <[email protected]>
wrote in message
> news:[email protected]...
> >
quote:
Originally posted by:
Newsgroup User
> >
> > Thanks alot for the help!
> >
> > I did enable Contribute in my Remote site. I was
able to download the
> > files
> > to my computer and make changes. When I tried to
upload the updated
> > .htm
> > files
> > I got an error message saying "Encountered 1 errors
(sic) during the
> > transfer."
> >
> >
> > Due to security reasons our university permits file
transfers using a
> > product
> > called SSH Secure File Transfer Client. Does using
the SSH FTC product
> > instead of Dreamweaver's FTP connection create a
problem for the .LCK
> > check-in/check-out feature? Or is there something
else that needs to be
> > addressed?
> >
> >
> >
> > You need to NOT do this. Have you enabled
Contribute in your Remote
> > site
> > definition?
> > --
> > Murray --- ICQ 71997575
> > Adobe Community Expert
> > (If you *MUST* email me, don't LAUGH when you do
so!)
> > ==================
> >
http://www.dreamweavermx-templates.com
- Template Triage!
> >
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
> >
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
> >
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> > ==================
> >
> >
> > "Hurleyburley" <[email protected]>
wrote in message
> > news:[email protected]...
> > > Is there any way of over-riding .LCK files?
> > >
> > > I?ve recently been given access to administer
a department webpage at
> > > a
> > > university and defined a site on my computer -
but when I accessed the
> > > server's
> > > directory I found the .htm files have the .LCK
extension. I was able
> > > to
> > > download the files but am prevented from
uploading any files. The
> > > original
> > > webperson has left and no one has any
information.
> > >
> > > I was checking the archives and see that the
.LCK is related to
> > > Dreamweaver's
> > > "check-in/check-out" feature which allows
tracking of files when
> > > working
> > > in
> > > groups. But since I'm now become "the group",
how do I over-ride this
> > > feature
> > > so I can work on the .htm files?
> > >
> > > ~CK
> > >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
> -
.lck files not automatically deleting
We save all of our .fm book and chapter files to a central server, and recently we've noticed that when we close a file the .lck file does not automatically delete. Thus, we are having to manually delete this before updating books, opening files, etc. We're using FM8 on PC's with Win 7 x64. We have FM set to run in XP x32 compatability mode, which is working pretty well for us aside from the aformentioned issue.
Has anybody else run into this? Any ideas on a fix?
Thanks! ScottDo the lock files actually still exist?
If you're discovering them because FM is complaining on open, then yes they effectively still exist (although possibly only in server FS cache).
But if you're merely seeing them in a file browser, they may or may not be there. Doing a refresh may or may not clear up matters,
Browser currency is a fundamental, and probably intractable, problem in computer science. Many OS'es don't even attempt to keep track of multiple local and remote browsers that presently have a dir open, much less asynchronously force-refresh them when the dir contents change. Windows tries to, with an assortment of performance, nuisance and failure modes.
I blame Bill Gates.
Reboot the server . -
Hundreds of .LCK files are appearing on our server - most of
them with Hidden file attribute set. The CPS log shows all these
entries, typically by a single user, at a very specific date and
time - seems to be when the user is trying to publish a file.
Anyone know what is causing this? I can search/delete them in the
file system, but I want to know the cause.
Also, other symptoms we are experiencing are "Access Denied"
and "Contact System Admin" when other users try to publish. Also, a
".new" is appended to the filename when this error occurs. Only way
to fix this is to rename the file in the file system.
I have a mixture of Contribute 3.11, Contribute 4.0 and
Dreamweaver 8 users. I have CPS version 1.1.
Any suggestions/help is greatly appreciated!!!!I'm not sure I have an answer for you on this, but I assume
you know that the LCK files are how Contribute locks the actual
files on the server to prevent 2 folks from editing the same page
simultaneously. That being said, the LCK system kicks into gear
when, at least for us, the administrator (who is in DW MX) has
enabled the "Check In-Check Out" functionality for the site. The
administrator gets messages in Contribute when a page is "locked"
by a page author (meaning they are currently editing the page, have
clicked "Save For Later", have clicked "Send for Review" or have
exited Contribute without "disposing" of their draft in one of the
above methods). Make sure folks are either publishing their drafts
or "disposing" of them in one of these ways so that the locking is
not occuring accidentally.
Aside from that, the LCK's are normal and go away when a page
is published. It's possible that you may have enabled the approval
system "Send for Review" and this is starting to tie things up (you
should probably have a lot of concurrent emails being sent as well
in this case).
As to the other errors you're getting, sometimes we get those
too, and yet we are able to just close the error box and things go
as intended. Other times not, and I think the whole thing is
related to how much traffic the CPS server is handling...we tend to
get more errors when things are really busy.
Again, not sure if this was helpful, but maybe just some
things to consider!
Maybe you are looking for
-
Photos and Podcasts won't sync to Apple TV after upgrade
I recently switched from one MacBook (10.5) to a newer one (10.6) running iTunes 9.0.2 (25) and have upgraded my Apple TV software to 3.0.1. I was able to sync the Apple TV to the iTunes library on my new MacBook, but it will only sync music and movi
-
hi, I try to install archlinux-ppc on my mini-ppc /dev/hda4 I have kubuntu already running on /dev/hda3 OK I have this yaboot.conf: boot=/dev/hda2 device=/pci@f4000000/ata-6@d/disk@0: partition=3 root=/dev/hda3 timeout=50 install=/usr/lib/yaboot/ya
-
ORA-06502: PL/SQL: numeric or value error(Run Time Error)
Hi, Intially the table structure goes something like this. CREATE TABLE CLARITY_RESPONSE_LOG REQUEST_CODE NUMBER, RESPONSE_FILE BLOB, DATE_CRATED DATE NOT NULL, CREATED_BY NUMBER NOT
-
Adobe AIR Windows app instance control
Hello! I´have an old Adobe AIR Windows app. How can I prevent multiple instances of the app. For example one user account launches the app on login, then on a user switch a new instance is started. I want only one instance of the app running. I come
-
Blank Bridge Output Module issue - When is this going to be fixed?!?!?
Hello! So I have done all of the steps necessary to install the Output Module to make a contact sheet. Though, when I click 'Output' in Bridge CC nothing happens..... & the 'Output' is shown twice I am a Mac user Below is a screenshot of what is show