Db_associate fails with : Lock table is out of available lock entries
Hi
Occasionally on startup my app needs to rebuild its secondary database, so I call db_associate with DB_CREATE set. If the primary db is large the associate fails with "Lock table is out of available lock entries". Both databases are hashes, so I have not configured any special lock sizes as I didn't think I needed to.
What lock configuration does db_associate need to succeed?
I am using version 4.7.25
Thanks
Ashley
Hi Ashley,
You should be sizing the locking subsystem with high enough values so the secondary database rebuilds successfully, then run the "db_stat -C" utility and see how many locks, lock objects and lockers did you need to perform the operation and reconfigure the locking subsystem with values slightly bigger than what you needed, so you make sure that you'll have enough resources for the next time you'll rebuild the secondary.
"Lock table is out of available lock entries" means that the Berkeley DB locking subsystem has not been configured for enough locks. For more information, see the "Configuring locking: sizing the system" section of the Berkeley DB Reference Guide, included in your download package and also available at:
http://download.oracle.com/docs/cd/E17076_01/html/programmer_reference/lock_max.html
To see what locks are held in the database environment at any time, you can dump the lock table using the -Cl options:
% db_stat -h [database environment directory] -Cl -N
Additional documentation:
db_stat: http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/db_stat.html
set_lk_max_locks: http://download.oracle.com/docs/cd/E17076_01/html/api_reference/C/envset_lk_max_locks.html
Bogdan Coman
Similar Messages
-
Perl & "Lock table is out of available lock entries"
Hi,
i use to retrieve about ten thousand results with ./dbxml,
but when i use the same query within a perl script,
i get the error:
Lock table is out of available lock entries
Query collection("frwiki_10_0.dbxml")/DOCUMENT/Sentence failed (1)
Error: Could not fetch next DOM element for doc id: 2, nid: 8CB6 in /Users/francois/Desktop/INRIA/EasyRef2_DBXML/script/../lib/session.pm, line 175
Database handles still open at environment close
Open database handle: frwiki_10_0.dbxml/structural_stats
Open database handle: frwiki_10_0.dbxml/secondary_document_statistics_double
Open database handle: frwiki_10_0.dbxml/secondary_document_index_double
Open database handle: frwiki_10_0.dbxml/secondary_document_statistics_string
Open database handle: frwiki_10_0.dbxml/secondary_document_index_string
Open database handle: frwiki_10_0.dbxml/node_nodestorage
Open database handle: frwiki_10_0.dbxml/secondary_document
Open database handle: frwiki_10_0.dbxml/secondary_dictionary
Open database handle: frwiki_10_0.dbxml/primary_dictionary
Open database handle: frwiki_10_0.dbxml/secondary_sequence
Open database handle: frwiki_10_0.dbxml/secondary_configuration
Segmentation fault
Somewhere on other forums, one's talking about Configuring locking: sizing the system & DB_ENV->set_lk_max_locks(),
but how can I my environment the same way with a perl script?I'm configuring my environment in my Java application via this DB_CONFIG file, and it definitely works. When I had problems like you have, I just increased the number of locks, lockers, objects and everything started to work just fine. Are you sure that you have put DB_CONFIG into environment home directory. Did you increase the number of locks, lockers, objects sufficiently?
Vyacheslav
UPD. Does your application have enough permissions to read DB_CONFIG file?
Edited by: detonator413 on Oct 21, 2009 12:33 PM -
Lock table is out of available locker entries
My mail server version is -->
Sun Java(tm) System Messaging Server STORE 6.3-0.15 (built Feb 9 2007)
Not always this thing happened but sometimes, I can find follow error message in deault log file.
---- default log --
[12/May/2009:12:00:00 +0900] epajo01 imdbverify[4106]: General Notice: verify database snapshots started
[12/May/2009:12:00:00 +0900] epajo01 imdbverify[4106]: General Notice: verify snapshots finished: Total verified 3 Total failed = 0
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Notice: imexpire started, functions: expire purge
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Lock table is out of available locker entries
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: DBERR: can't get locker id for file descriptor 20: Not enough space
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Critical: Unable to lock index for user/journal_ms08_i: Not enough space
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Locker does not exist
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Error: locking {StoreRoot}/=user/02/91/=journal_ms08_i/store.exp: Invalid argument
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Locker does not exist
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Critical: Unable to lock index for user/journal_ms08_y: Invalid argument
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Locker does not exist
-------- omit ---------
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Error: locking {StoreRoot}/=user/e1/91/=journal_ms08_g/store.exp: Invalid argument
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Lock table is out of available locker entries
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Locker does not exist
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: DBERR: can't get locker id for file descriptor 23: Not enough space
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Critical: Unable to lock index for user/journal_ms08_w: Invalid argument
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Error: locking {StoreRoot}/=user/73/e5/=journal/store.exp: Not enough space
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Locker does not exist
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Error: locking {StoreRoot}/=user/e2/91/=journal_ms08_w/store.exp: Invalid argument
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Locker does not exist
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Critical: Unable to lock index for user/journal_ms08_h: Invalid argument
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Locker does not exist
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Error: locking {StoreRoot}/=user/f1/91/=journal_ms08_h/store.exp: Invalid argument
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Locker does not exist
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Critical: Unable to lock index for user/journal_ms08_x: Invalid argument
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Error: locking error: Locker does not exist
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: Store Error: locking {StoreRoot}/=user/f2/91/=journal_ms08_x/store.exp: Invalid argument
[12/May/2009:12:00:01 +0900] epajo01 imexpire[4115]: General Notice: Expire finished
When I can see this error message in default log files, all emails are enqueued but not dequeued.
Emails are just piled up in a queue directory, and getting increased.
To solve this thing, I just restart mail server(with stop-msg, start-msg command) and then emails are dequeued.
In a web site, I found those error messages can be found when some interrption occurred like Control-c in product using Berkeley DB .
I know JMS is using Berkeley DB but at that time there is no chance to use Control-c.
With those log, I just can assum imexpire started when snapshots job is not finished completely(although log file shows snapshots job is finished).
Imexpire started before snapshots not release locker
But I am not Sure.
I don't know why this thing happened and what is solid workaround.
If someone had the same problem as mine, plz reply
Thanks in advance.
Edited by: leeky41 on May 12, 2009 7:22 AMleeky41 wrote:
Sun Java(tm) System Messaging Server STORE 6.3-0.15 (built Feb 9 2007) Please always provide the full output of ./imsimta version. I cannot tell for example what platform you are using (Solaris SPARC/x86/Linux).
I don't know why this thing happened and what is solid workaround.I suggest your first step is to upgrade to a recent release of MS6.3 and see if the problem persists.
Regards,
Shane. -
Issue: Lock table is out of available object entries
Hi all,
We have a method to add records into BDB, and after there are more than 10000 records, if we continue add records into BDB, such as add 400 records into BDB, then do other update/add operation to BDB, it will be failed.
The error message is Lock table is out of available object entries.
How to resolve it?
Thanks.
Jane.Frist the BDB stat as bellow:
1786 Last allocated locker ID
0x7fffffff Current maximum unused locker ID
9 Number of lock modes
2000 Maximum number of locks possible
2000 Maximum number of lockers possible
2000 Maximum number of lock objects possible
52 Number of current locks
1959 Maximum number of locks at any one time
126 Number of current lockers
136 Maximum number of lockers at any one time
26 Number of current lock objects
1930 Maximum number of lock objects at any one time
21M Total number of locks requested (21397151)
21M Total number of locks released (21397099)
0 Total number of lock requests failing because DB_LOCK_NOWAIT was set
0 Total number of locks not immediately available due to conflicts
0 Number of deadlocks
0 Lock timeout value
0 Number of locks that have timed out
0 Transaction timeout value
0 Number of transactions that have timed out
736KB The size of the lock region
0 The number of region locks that required waiting (0%)
Then I run the method to insert 29 records into BDB, the BDB isn't locked yet, and the stat:
1794 Last allocated locker ID
0x7fffffff Current maximum unused locker ID
9 Number of lock modes
2000 Maximum number of locks possible
2000 Maximum number of lockers possible
2000 Maximum number of lock objects possible
52 Number of current locks
1959 Maximum number of locks at any one time
134 Number of current lockers
136 Maximum number of lockers at any one time
26 Number of current lock objects
1930 Maximum number of lock objects at any one time
22M Total number of locks requested (22734514)
22M Total number of locks released (22734462)
0 Total number of lock requests failing because DB_LOCK_NOWAIT was set
0 Total number of locks not immediately available due to conflicts
0 Number of deadlocks
0 Lock timeout value
0 Number of locks that have timed out
0 Transaction timeout value
0 Number of transactions that have timed out
736KB The size of the lock region
0 The number of region locks that required waiting (0%)
Then I run the method again to insert records, the issue "Lock table is out of available locks" occur, and the BDB stat:
1795 Last allocated locker ID
0x7fffffff Current maximum unused locker ID
9 Number of lock modes
2000 Maximum number of locks possible
2000 Maximum number of lockers possible
2000 Maximum number of lock objects possible
52 Number of current locks
2000 Maximum number of locks at any one time
135 Number of current lockers
137 Maximum number of lockers at any one time
27 Number of current lock objects
1975 Maximum number of lock objects at any one time
26M Total number of locks requested (26504607)
26M Total number of locks released (26504553)
0 Total number of lock requests failing because DB_LOCK_NOWAIT was set
0 Total number of locks not immediately available due to conflicts
0 Number of deadlocks
0 Lock timeout value
0 Number of locks that have timed out
0 Transaction timeout value
0 Number of transactions that have timed out
736KB The size of the lock region
0 The number of region locks that required waiting (0%)
Why this issue occur and how to resolve this issue.
Thanks very much.
Jane -
Lock table is out of available object entries
hi,
i am using db4.6.21 version.
i have created an table where other applications writes to this tables concurrently.
this table opened in DB_THREAD and every application writing in DB_WRITE_CURSOR mode. and i am note using any Locking subsystems.only READ_COMMITTED and DB_WRITE_CURSOR are used by applications to access the table.
while In PC it is working properly.
But in At91SAM9260EK with kerenl 2.6.23.9 ,
Berkeley DB error: Lock table is out of available object entries
error comes...what would be the reason..???Hi Ratheesh,
Please search through the forum; similar locking subsystem configuration issues have already been discussed.
In short, you'll need to increase the number of lock objects:
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/lock/max.html
I see you're using the DB_WRITECURSOR flag which is specific to CDS (Concurrent Data Store), so you should size the locking subsystem appropriately to CDS: the number of lock objects needed is two per open database (one for the database lock, and one for the cursor lock when the DB_CDB_ALLDB option is not specified). The locking subsystem configuration should be similar for all the processes accessing the environment, or not specified for the processes that just join the environment.
If you still see this error message reported, provide some information on your OS/platform, information on how the processes access the environment and the locking statistics (db_stat -N -Co -h <env_dir>).
Regards,
Andrei -
Lock table is out of available lock entries
Hi,
I'm using BDB 4.8 via Berkeley DB XML. I'm adding a lot of XML documents (ca. 1000) in one transaction and get "Lock table is out of available lock entries". My locks number is set to 100000 (it's too much but still...).
I know that I probably should not put so many docs in the same transaction, but why BDB throws "not enough locks" error? Aren't 100000 locks enough? (I also tried to set 1 million for testing purposes)
As a side effect question, may I change the number of locks after environment creation (but before opening it)?
P.S. Hope it's not offtop on this forum
Thanks in advance,
VyacheslavHello,
As you mention, "Lock table is out of available lock entries" indicates that there are more locks than your underlying database environment is configured for. Please take a look at the documentation on "Configuring locking: sizing the system" section of the Berkeley DB Reference Guide at:
http://www.oracle.com/technology/documentation/berkeley-
db/db/programmer_reference/lock_max.html
From there:
The maximum number of locks required by an application cannot be easily estimated. It is possible to calculate a maximum number of locks by multiplying the maximum number of lockers, times the maximum number of lock objects, times two (two for the two possible lock modes for each object, read and write). However, this is a pessimal value, and real applications are unlikely to actually need that many locks. Reviewing the Lock subsystem statistics is the best way to determine this value.
What information is the lock subsystem statistics showing? You can get this with db_stat -c or programmatically with the environment lock_stat method.
Thanks,
Sandra -
9iAS Release 2
When trying to tunnel through Apache to the OC4J_home instance using ...
http:ormi://<host>:<HTTPport>/<application> <admin><password>
and then looking up a JNDI name ...
TopicConnectionFactory connectionFactory =
(TopicConnectionFactory)new InitialContext(p).lookup("jms/myTopicConnectionFactory");
I get a NamingException thrown, with the message: Disconnected: Type code out of range, is -29.
The jms.xml file is correct. It works against a standalone OC4J instance (therefore no tunneling) ...
ormi://<host>:23791/<application> <admin><password>
I'm connecting from a standalone client and using the RMIInitialContextFactory, the tunneling is working (changing oc4j username/password gets a SecurityException). What's missing? Do you have to change the jndi name when tunneling? What does -29 mean in english?Tunneling through the Apache HTTP server to an OC4J instance from remote standalone clients works on Linux installations of 9iAS but not on NT installations, failing with a 'Type Code out of range, is -29' error, JVM versions on client and server are the same. Also works against a standalone version of oc4j on NT, what's happening?
-
OSD Task Sequence fails with "There are no task sequences available for this computer"
Let me preface this by saying that I have read at least 100 forum posts with people having similar issues. However, none of the solutions in those
posts have worked for me.
The Problem: SCCM 2012 R2 will not image unknown computers.
The task sequence gives the error "There are no task sequences available for this computer." As soon as that error occurs, SCCM places an Unknown entry into the All Systems collection. I have been imaging unknown computers, without fail, for
4 months and no environmental changes have been made. NOTE: I am using USB media, not PXE.
What I've Tried:
Checked for duplicate SMSBIOS GUIDS in the console, none.
Checked for duplicate MAC Addresses in the console, none.
Checked for expired certificates, none.
Recreated Boot Media, twice.
Deleted the Unknown entry and retried, SCCM just recreates the Unknown entry.
Deleted all of my task sequence deployments, and then redeployed them each to All Systems (Only Boot Media and PXE) and to Unknown Systems (Only Boot Media and PXE)
I have also ran the following in the SQL Server Management Studio;
SELECT
* FROM
ResPolicyMap WHERE
machineid = 0 and
PADBID IN
(SELECT
PADBID FROM PolicyAssignment
WHERE BodyHash
IS NULL)
No result
Select
* From
vMacAddresses Where
MacAddresses = '00:00:00:00:00:00'
This displays an entry for every time that I have tried to image the unknown machine attached to the MAC Address with a different ItemKey and SMS_Unique_Identifier for each entry.
Added the machine manually using Import Computer Information, immediately recognized the Task Sequences that I have advertised to the All Systems collection.
Any and all assistance is welcome, I am going on the third straight day of dead ends. Below I have tried my best to post the entire SMSTS Log;LOGGING: Finalize process ID set to 744
==============================[ TSBootShell.exe ]==============================
Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
Debug shell is enabled
Waiting for PNP initialization...
RAM Disk Boot Path: MULTI(0)DISK(0)RDISK(0)PARTITION(1)\SOURCES\BOOT.WIM
WinPE boot path: C:\SOURCES\BOOT.WIM
Booted from removable device
Found config path C:\
Booting from removable media, not restoring bootloaders on hard drive
C:\WinPE does not exist.
C:\_SmsTsWinPE\WinPE does not exist.
Executing command line: wpeinit.exe -winpe
The command completed successfully.
Starting DNS client service.
Executing command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:C:\
The command completed successfully.
==============================[ TSMBootStrap.exe ]==============================
Command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:C:\
Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
Succeeded loading resource DLL 'X:\sms\bin\x64\TSRESNLC.DLL'
Current OS version is 6.2.9200.0
Adding SMS bin folder "X:\sms\bin\x64" to the system environment PATH
Failed to open PXE registry key. Not a PXE boot.
Media Root = C:\
WinPE boot type: 'Ramdisk:SourceIdentified'
Failed to find the source drive where WinPE was booted from
Executing from Media in WinPE
Verifying Media Layout.
MediaType = BootMedia
PasswordRequired = false
Found network adapter "Intel(R) Ethernet Connection I217-LM" with IP Address XXX.XX.XXX.XXX.
Running Wizard in Interactive mode
Loading Media Variables from "C:\sms\data\variables.dat"
no password for vars file
Activating Welcome Page.
Loading bitmap
WelcomePage::OnWizardNext()
Loading Media Variables from "C:\sms\data\variables.dat"
no password for vars file
Spawned thread 1008 to download policy.
Entering TSMediaWizardControl::GetPolicy.
Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00350031004100300031003600420036002D0046003000440045002D0034003700350032002D0042003900370043002D003500340045003600460033003800360041003900310032007D00'
Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}
Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00420041003300410033003900300030002D0043004100360044002D0034006100630031002D0038004300320038002D003500300037003300410046004300320032004200300033007D00'
Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}
Setting LogMaxSize to 1000000
Setting LogMaxHistory to 1
Setting LogLevel to 0
Setting LogEnabled to 1
Setting LogDebug to 1
UEFI: false
Loading variables from the Task Sequencing Removable Media.
Loading Media Variables from "C:\sms\data\variables.dat"
Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'
Setting SMSTSMP TS environment variable
Setting _SMSMediaGuid TS environment variable
Setting _SMSTSBootMediaPackageID TS environment variable
Setting _SMSTSBootMediaSourceVersion TS environment variable
Setting _SMSTSBrandingTitle TS environment variable
Setting _SMSTSCertSelection TS environment variable
Setting _SMSTSCertStoreName TS environment variable
Setting _SMSTSDiskLabel1 TS environment variable
Setting _SMSTSHTTPPort TS environment variable
Setting _SMSTSHTTPSPort TS environment variable
Setting _SMSTSIISSSLState TS environment variable
Setting _SMSTSMediaCreatedOnCAS TS environment variable
Setting _SMSTSMediaPFX TS environment variable
Setting _SMSTSMediaSetID TS environment variable
Setting _SMSTSMediaType TS environment variable
Setting _SMSTSPublicRootKey TS environment variable
Setting _SMSTSRootCACerts TS environment variable
Setting _SMSTSSiteCode TS environment variable
Setting _SMSTSSiteSigningCertificate TS environment variable
Setting _SMSTSStandAloneMedia TS environment variable
Setting _SMSTSSupportUnknownMachines TS environment variable
Setting _SMSTSTimezone TS environment variable
Setting _SMSTSUseFirstCert TS environment variable
Setting _SMSTSx64UnknownMachineGUID TS environment variable
Setting _SMSTSx86UnknownMachineGUID TS environment variable
Root CA Public Certs=
Missing root CA environment variable from variables file
Support Unknown Machines: 1
Custom hook from X:\\TSConfig.INI is
No hook is found to be executed before downloading policy
Authenticator from the environment is empty.
Need to create Authenticator Info using PFX
Initialized CStringStream object with string: 1F53C44B-1AE9-4CAF-8ADA-5ED28DC8FF9A;2014-07-16T18:15:39Z.
Set media certificate in transport
Set authenticator in transport
CLibSMSMessageWinHttpTransport::Send: URL: XXXXXXXXX.XXXXXX.com:80 GET /SMS_MP/.sms_aut?MPKEYINFORMATIONMEDIA
Request was successful.
Default CSP is Microsoft Enhanced RSA and AES Cryptographic Provider
Default CSP Type is 24
New settings:
site=XXX,XXX, MP=http://XXXX.XXXX.com, ports: http=80,https=443
certificates are received from MP.
Unknown machine GUIDs: 774b17a2-6eeb-44bc-9c94-ce9081f5fe4c 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
MP specific X86 unknown machine GUID is received at run time
MP specific X64 unknown machine GUID is received at run time
Getting MP time information
Set authenticator in transport
Requesting client identity
Setting message signatures.
Setting the authenticator.
CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80 CCM_POST /ccm_system/request
Request was successful.
::DecompressBuffer(65536)
Decompression (zlib) succeeded: original size 406, uncompressed size 2460.
-120
Server time zone info: 300, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60
Client Identity:
Netbios name:
Current time: 2014-07-16 18:15:39.787 TZ:Pacific Standard Time Bias:0480
Current time zone info: 480, Pacific Standard Time, [0 0 0 0 0 0 0 0], 0, , [0 0 0 0 0 0 0 0], 0
Adjusting the system time: -14400.551 seconds
Time zone info set to: 300, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60
New time: 2014-07-16 14:15:39.235
Current time: 2014-07-16 14:15:39.231 TZ: Bias:0300
Downloading policy from http://XXXX.XXXX.com.
Initializing HTTP transport.
Setting URL = http://XXXX.XXXX.com.
Setting Ports = 80,443.
Setting CRL = false.
Setting Server Certificates.
Set authenticator in transport
Setting Media Certificate.
Preparing Client Identity Request.
Setting transport.
Setting SourceID = 1F53C44B-1AE9-4CAF-8ADA-5ED28DC8FF9A.
Setting site code = XXX.
Can not find DeploymentType in file TsmBootstrap.ini or the file doesn't exist. This is not running on Windows To Go.
Setting SMBIOS GUID = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.
Adding MAC Address XX:XX:XX:XX:XX:XX.
Executing Client Identity Request.
Requesting client identity
Setting message signatures.
Setting the authenticator.
CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80 CCM_POST /ccm_system/request
Request was successful.
::DecompressBuffer(65536)
Decompression (zlib) succeeded: original size 415, uncompressed size 2460.
-120
Server time zone info: 300, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60
Client Identity:
Netbios name:
Client GUID = , Netbios name = , State = Known
Using unknown machine GUID: 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
GetSystemEnclosureChassisInfo: IsFixed=TRUE, IsLaptop=TRUE
Hash computed from CSP: Microsoft Enhanced RSA and AES Cryptographic Provider, AlgID: 32772, HashSize: 20
Computed HardwareID=2:4AC96CD5003991BC201B7AC01FBC88E592C3E2BE
Hardware ID: 2:4AC96CD5003991BC201B7AC01FBC88E592C3E2BE
Preparing the Client DDR Message
Setting SourceID = 1F53C44B-1AE9-4CAF-8ADA-5ED28DC8FF9A.
Sending the Client DDR message.
Sending Report
<Report><ReportHeader><Identification><Machine><ClientInstalled>0</ClientInstalled><ClientType>1</ClientType><Unknown>1</Unknown><ClientID>GUID:26717327-194f-4cd6-90ba-309998c058f2</ClientID><ClientVersion>5.00.0000.0000</ClientVersion><NetBIOSName>Unknown</NetBIOSName><CodePage>437</CodePage><SystemDefaultLCID>1033</SystemDefaultLCID></Machine></Identification><ReportDetails><ReportContent>Inventory
Data</ReportContent><ReportType>Full</ReportType><Date>20140716141539.000000+000</Date><Version>1.0</Version><Format>1.1</Format></ReportDetails><InventoryAction ActionType="Predefined"><InventoryActionID>{00000000-0000-0000-0000-000000000003}</InventoryActionID><Description>Discovery</Description><InventoryAc
Setting message signatures.
Setting the authenticator.
CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80 CCM_POST /ccm_system/request
Request was successful.
Submitted new client identity: GUID:26717327-194f-4cd6-90ba-309998c058f2
Preparing Policy Assignment Request.
Setting transport.
Setting site code = XXX.
Setting client ID = 74f16942-dd75-437f-8c4b-2a5de4d0e5e5.
Setting site signing Certificate.
Setting SiteSigningCertificateContext
Executing Policy Assignment Request.
Sending RequestAssignments
Setting message signatures.
Setting the authenticator.
CLibSMSMessageWinHttpTransport::Send: URL: XXXX.XXXX.com:80 CCM_POST /ccm_system/request
Request was successful.
::DecompressBuffer(65536)
Decompression (zlib) succeeded: original size 274, uncompressed size 662.
Request client ID: 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
Response client ID: 74f16942-dd75-437f-8c4b-2a5de4d0e5e5
Retrieving Policy Assignments:
Successfully read 0 policy assignments.
Retrieving collection variable policy.
Found 0 collection variables.
Retrieving machine variable policy.
Found 0 machine variables.
Setting collection variables in the task sequencing environment.
Setting machine variables in the task sequencing environment.
Exiting TSMediaWizardControl::GetPolicy.
WelcomePage::OnWizardNext()
Loading Media Variables from "C:\sms\data\variables.dat"
no password for vars file
No assigned task sequence.
Setting wizard error: There are no task sequences available for this computer.
Skipping Confirmation Page.
Skipping Task Sequence Selection Page.
Skipping Variables Selection Page.
Skipping Resolve Progress Page.
Activating Finish Page.
Loading bitmap
Executing command line: X:\windows\system32\cmd.exe /k
The command completed successfully.
Successfully launched command shell. -
Hello,
I have an issue that some user are experiencing but I can't reproduce it myself on my laptop. What I am trying to do it grab a file (zip file) via XHR. The file can be quite big, like 500Mb. Then, I want to write it on the user's storage.
Here is the code I use:
DownloadOperation.prototype.onXHRResult = function (file, result) {
var status = result.srcElement.status;
if (status == 200) {
var bytes = null;
try{
bytes = new Uint8Array(result.srcElement.response, 0, result.srcElement.response.byteLength);
} catch (e) {
try {
Utils.logError(e);
var message = "Error while extracting the file " + this.fileName + ". Try emptying your windows bin.";
if (e && e.message){
message += " Error message: " + e.message;
var popup = new Windows.UI.Popups.MessageDialog(message);
popup.showAsync();
} catch (e) { }
this.onWriteFileError(e);
return;
Windows.Storage.FileIO.writeBytesAsync(file, bytes).then(
this.onWriteFileComplete.bind(this, file),
this.onWriteFileError.bind(this)
} else if (status > 400) {
this.error(null);
The error happens at this line:
bytes = new Uint8Array(result.srcElement.response, 0, result.srcElement.response.byteLength);
With description "Not enough storage is available to complete this operation". The user has only a C drive with plenty of space available, so I believe the error message given by IE might be a little wrong. Maybe in some situations, Uint8Array
can't handle such large file? The program fails on a "ASUSTek T100TA" but not on my laptop (standard one)
Can somebody help me with that? Is there a better way to write a downloaded binary file to the disk not passing via a Uint8Array?
Thanks a lot,
FabienHi Fabien,
If Uint8Array works fine on the other computer, it should not be the problem of the API, but instead it could be the setting or configuration for IE.
Actually using XHR for 500MB zip file is not suggested, base on the documentation:
How to download a file, XHR wraps an
XMLHttpRequest call in a promise, which is not a good approach for big item download, please use
Background Transfer instead, which is designed to receive big items.
Simply search on the Internet, and looks like the not enough storage error is a potential issue while using XMLHttpRequest:
http://forums.asp.net/p/1985921/5692494.aspx?PRB+XMLHttpRequest+returns+error+Not+enough+storage+is+available+to+complete+this+operation, however I'm not familiar with how to solve the XMLHttpRequest issues.
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Change crystal report data source dynamically failed with multi tables report
hello all
i have many reports created by someone else on his own machine using same database file i use
my application use Visual studio 2013 win form with crystal report pack 9
i use rpt files provided to me
connect database use OLEDB
to show form i use below code
SQLstr = " select what ever from table " ' defined as Public
reportName = rpt file path & report name
showReport()
public sub showReport()
reportTable.clear() ' defined as Public
DBAdapter = new oleDpdataAdapter(SQLstr,DBconnection)
DBAdapter.fill(reportTable)
dim rptDoc as new Crystaldesicin.crystalreports.Engine.ReportDocument
rptDoc.load(reportName)
rptDoc.setdatasource(reportTable)
formRpt.RptViewer.reportsource = rptDoc
formRpt.showdialog()
now
when i use one table report with (select from one table) >>>>> works perfectly
but when i use report retrieve data from 2 tables and group data like using
SQLstr = " select 'table'.'coulumn', 'table2'.'column' ....... etc
from 'table1'
INNER JOIN 'table2' ON 'table'.'coulumn' = 'table2'.'column'
it's not working and formrpt shown but asking for database login
I noted that in database login window : server name refer to ORIGINAL DATABASE USED BY Report Creator not to my local database
================================================
i tried to set
rptDoc.datasourceconnection.item(0).setconnection("","databse file path and name", False)
rptDoc.datasourceconnection.item(0).setlogin("admin","")
but the same
using dataset instead of reportTable the same error
================================================
what i missed in this type of reports?
( apologize about long take and poor English )Hi
Please have a look at the wiki Troubleshooting Issues with VS .NET Datasets and Crystal Reports.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Command object locks table (TX)
Im having locking probmlems with ODP.NET. Im updating same table with many connections in many threads. I get table locks for hours (over 24 hours) and I cant find any timout to set. The CommandTimeout on the Command object is not implemented.
In the V$Lock table I can see two locks on the same table made by two session ids from the same computer.
Im using transactions on the Connection object.
How do I set a timout for the update so that the lock will dissapear?
String connString = "Data Source=" + dsn + ";"
+ "User ID=" + user + ";"
+ "Password=" + pwd;
OracleConnection conn = new OracleConnection(connString);
String sql = "UPDATE ABDATA2 SET ABNAVN='SOLNA STAD ' WHERE OBJID = -21805738";
OracleCommand command = new OracleCommand(sql, m_conn);
//command.CommandTimeout = 60000; Exists but not supported
command.ExecuteNonQuery();
Is there anyone who has a clue?Hi Neo, thanks for responding;
I did not publish the report with saved data, and I'm not sure what you mean about appending the string value? Could you explain that part?
The parameter I created is only declared as a string with no default value with a name of "CodeTableName". I used the Create paramter button you have in the Command object window to make it.
I then added the parameter name to my SQL statement as listed above.
The actual code table names in the database is actually longer then what the parameter calls for. They all start with "TIBURON.ZZ_" and end with "_Codes". I didn't want the users to have to remember the full names so that's why the SQL statement shows those additional parts.
The report works perfect when I'm running this report from Crystal Reports 9 or CR11 itself. It's only when I upload the report to our web server that the users isn't provided a prompt to enter a parameter. They only have button labed "Run Report".
Any ideas?
Thanks,
Joe -
UCWB - Consolidation Workbench - Lock table overflow
Hello,
This is w.r.t SEM BCS. We are in the initial phase of consolidation implementation. When I try to execute UCWB - Consolidation Workbench, system is giving an error with Message No. MC603
Lock table overflow
Diagnosis
This table overflowed when trying to enter SAP locks in the lock table.
System Response
The locks could not be set.
Procedure
Contact your system administrator. If this error occurs frequently, change the size of the profile parameter 'enque/table_size'. This parameter defines the size of the lock table in KByte
Request you kindly reply in this regard.
Regards
SreekanthHello Sreekanth
Have you implemented any note for this problem or adjusted the table parameters.I am also facing the same problem.Could you please let me know if there is any note which needs to be implemented.
thanks -
Attribute change run process type failed with short dump
Hi all,
In the process chain Attribute change run process type failed with short dump. I checked the locks in SM12 but there are no locks associated. I checked in the attribute change run screen through RSA1 -> infoobject list but there are no infoobjects there. I think the ACR was completed successfully, still the process type in the PC was in red colour. What to do and let me know what happened here.
Thanks,
Jack1. This kind of scenario is extremely rare but it happens sometimes. It might be the case that 2 attribute change runs are running at the same time.
2. Same IO is being used in Differnet PC and getting activated.
I think if this frequently occurs you need to check at the time of locking all running jobs and see whether anywhere else or simultaneously 2 ACR are running.
Please do close the thread if that answers your questions. Please help us keep the forums clean and open useful information only.
For more information search on help.sap.com and you will get lots of material.
Regards.
Den -
Dbconsole config in oracle apps 12i (db 11.1.0.7) failed with emca
Dear all,
I started configuring dbconsole for oracle apps 12 with oracle 11.1.0.7 database using emca.
It failed while supplying dbsnmp password.
CONFIG: Failed to update account status.
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACL
E not available
I changed the password manually using alter user cmd and tried to confiure it but it doesn't work.
I restarted the db tier and tried to configure it but with same error.checked the password policy for profile its unlimited.
I don't understand what is wrong.
Can someone throw some light on this.
Thanks & regards,Have you changed the password correctly? If yes, can you login using the new password via SQL*Plus?
Please see these docs.
EMCA Fails With Error "ORA-01034: ORACLE not available" and "Invalid username/password." For DBSNMP User [ID 550484.1]
How to Troubleshoot EMCA Failures Due to Connectivity Issue to Database [ID 1106623.1]
If none of the above helps, please log a SR.
Thanks,
Hussein -
"Lock table overflow" error msg when trying to change a repot program
hi ABAP experts,
We are getting the following error msg
"Lock table overflow
Choose 'Display object' or 'Cancel'.".
Click the question mark on the same error msg window, then the detailed error msg would like this:
Message no. MC603
Diagnosis
This table overflowed when trying to enter SAP locks in the lock table.
System Response
The locks could not be set.
Procedure
Contact your system administrator. If this error occurs frequently, change the size of the profile parameter 'enque/table_size'. This parameter defines the size of the lock table in KByte.
What would be the reason and how to resolve this problem?
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 2, 2008 1:03 PMHi,
This could be bcos the lock table is getting overflowed beyond the allotted space. Check if any other program/BAPI is causing continuous creation of locks.
To analyze choose (SM12) Extras Statistics to display the statistics. These are the statistics that have been compiled since the last time the lock server was restarted.
Check the below link for more information on SAP Lock Concept.
http://help.sap.com/saphelp_nw04/helpdata/en/7b/f9813712f7434be10000009b38f8cf/content.htm
For details on Subsequent Analysis of Lock Table Overflows, check the below links.
http://help.sap.com/saphelp_nw2004s/helpdata/en/d3/43d2416d9c1c7be10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f0/b57338788f4d72e10000009b38f8cf/content.htm
Hope this helps. <REMOVED BY MODERATOR>
Thanks,
Balaji
Edited by: Alvaro Tejada Galindo on Apr 2, 2008 1:03 PM
Maybe you are looking for
-
How can I see more than one time of (dialled, rece...
Can someone help me? I've got the Nokia 6303clasic (upgraded from Nokia 6300). I am perfectly happy with it, it does everything I need. The only problem I had with it is that it only shows the time of last (missed, received or dialled) call. All the
-
Please help! What is the problem? Inks and cartridges are fine. In Windows XP everything worked OK. Regards, Bane
-
Problem in file to rfc scenario without using BPM concept
hi , I have configured the file to rfc scenatio and in that i have created a synchronous message interface .i have even aaded modules to my sender adapter . I have one sender aggrement , 2 receiver aggrement , 1 interface determination , and 1 rece
-
Data from two fact tables??
I have a report in which I am comparing two fact tables at month level. I have columns calculated at this level. One fact has all month entries and other does not have all. I need to show all the month values and measures in the report even if some m
-
I lent on my ipad mini screen in the bottom corner and now there are loads of vertical and horizontal lines on the screen which block the view. Would this be an LCD replacement or external glass replacement. Does anyone have any experience of this an