Processing a cursor of 11,000 rows and Query completed with errors
So I have 3rd party data that I have loaded into a SQL Server Table. I am trying to determine if the 3rd party Members reside in our database by using a cursor and going through all 11,000 rows...substituting the #Parameter Values in a LIKE statement...trying
to keep it pretty broad. I tried running this in SQL Server Management Studio and it chunked for about 5 minutes and then just quit. I kind of figured I was pushing the buffer limits within SQL Server Management Studio. So instead I created it as a Stored
Procedure and changed my Query Option/Results and checked Discard results after execution. This time it chunked away for 38 minutes and then stopped saying
Query completed with errors. I did throw a COMMIT in there thinking that the COMMIT would hit and free up resources and I'd see the Table being loaded in chunks. But that didn't seem to work.
I'm kind of at a loss here in terms of trying to tie back this data.
Can anyone suggest anything on this???
Thanks for your review and am hopeful for a reply.
WHILE (@@FETCH_STATUS=0)
BEGIN
SET @SQLString = 'INSERT INTO [dbo].[FBMCNameMatch]' + @NewLineChar;
SET @SQLString = ' (' + @NewLineChar;
SET @SQLString = ' [FBMCMemberKey],' + @NewLineChar;
SET @SQLString = ' [HFHPMemberNbr]' + @NewLineChar;
SET @SQLString = ' )' + @NewLineChar;
SET @SQLString = 'SELECT ';
SET @SQLString = @SQLString + CAST(@FBMCMemberKey AS VARCHAR) + ',' + @NewLineChar;
SET @SQLString = @SQLString + ' [member].[MEMBER_NBR]' + @NewLineChar;
SET @SQLString = @SQLString + 'FROM [Report].[dbo].[member] ' + @NewLineChar;
SET @SQLString = @SQLString + 'WHERE [member].[NAME_FIRST] LIKE ' + '''' + '%' + @FirstName + '%' + '''' + ' ' + @NewLineChar;
SET @SQLString = @SQLString + 'AND [member].[NAME_LAST] LIKE ' + '''' + '%' + @LastName + '%' + '''' + ' ' + @NewLineChar;
EXEC (@SQLString)
--SELECT @SQLReturnValue
SET @CountFBMCNameMatchINSERT = @CountFBMCNameMatchINSERT + 1
IF @CountFBMCNameMatchINSERT = 100
BEGIN
COMMIT;
SET @CountFBMCNameMatchINSERT = 0;
END
FETCH NEXT
FROM FBMC_Member_Roster_Cursor
INTO @MemberIdentity,
@FBMCMemberKey,
@ClientName,
@MemberSSN,
@FirstName,
@MiddleInitial,
@LastName,
@AddressLine1,
@AddressLine2,
@City,
@State,
@Zipcode,
@TelephoneNumber,
@BirthDate,
@Gender,
@EmailAddress,
@Relation
END
--SELECT *
--FROM [#TempTable_FBMC_Name_Match]
CLOSE FBMC_Member_Roster_Cursor;
DEALLOCATE FBMC_Member_Roster_Cursor;
GO
Hi ITBobbyP,
As Erland suggested, you can compare all rows at once. Basing on my understanding on your code, the below code can lead to the same output as yours but have a better performance than cursor I believe.
CREATE TABLE [MemberRoster]
MemberKey INT,
FirstName VARCHAR(99),
LastName VARCHAR(99)
INSERT INTO [MemberRoster]
VALUES
(1,'Eric','Zhang'),
(2,'Jackie','Cheng'),
(3,'Bruce','Lin');
CREATE TABLE [yourCursorTable]
MemberNbr INT,
FirstName VARCHAR(99),
LastName VARCHAR(99)
INSERT INTO [yourCursorTable]
VALUES
(1,'Bruce','Li'),
(2,'Jack','Chen');
SELECT * FROM [MemberRoster]
SELECT * FROM [yourCursorTable]
--INSERT INTO [dbo].[NameMatch]
--[MemberNbr],
--[MemberKey]
SELECT y.MemberNbr,
n.[MemberKey]
FROM [dbo].[MemberRoster] n
JOIN [yourCursorTable] y
ON n.[FirstName] LIKE '%'+y.FirstName+'%'
AND n.[LastName] LIKE '%'+y.LastName+'%'
DROP TABLE [MemberRoster], [yourCursorTable]
If you have any question, feel free to let me know.
Eric Zhang
TechNet Community Support
Similar Messages
-
The report l runs very night and gets ended with error
Dear all,
I am facing a problem in solution manger. There is an report (Program/Command RDSMOPSOL_MONIREFRESH ) will runs very night and get ended with error and there is Run-time error "MESSAGE_TYPE_X".
Please suggest how to solve the problem.
Is this report is necessary for the system because it is not mention in the sap stand jobs.
SM37 log
Job started
Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
Opening and closing session started. Session SM2000000000065
Opening and closing the session was successful. Session: SM2000000000065
Opening and closing session started. Session SM2000000000005
ABAP/4 processor: MESSAGE_TYPE_X
Job cancelled
SM:CSA SESSION REFRESH
No. Program/Command Prog. type Spool list Parameter User Lang.
1 RDSMOPSOL_MONIREFRESH ABAP &0000000000876 BASIS EN
Sm21 log
00:00:50 DIA 00 000 SAPSYS EEA OPERATION MODES: Switch to operation mode Normal triggered
00:30:57 BTC 08 200 BASIS R68 Perform rollback
00:30:57 BTC 08 200 BASIS AB0 Run-time error "MESSAGE_TYPE_X" occurred
00:30:57 BTC 08 200 BASIS AB1 > Short dump "081112 003057 sapsm BASIS " generated
00:30:57 BTC 08 200 BASIS D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
00:30:57 BTC 08 200 BASIS R68 Perform rollback
00:30:57 BTC 08 200 BASIS AB0 Run-time error "MESSAGE_TYPE_X" occurred
Details
Recording at local and central time........................ 12.11.2008 00:30:57
Task................ 05312 . 08 B8 BTC background processor No. 08
User................ BASIS
Client.............. 200
Terminal............
Session............. 1
Transaction code....
Program name........
Problem class....... T Transaction Problem
Development class... SABP
Further details for this message type
Module name......... abdynpro
Line................ 1133
Error text.......... ab_jmess
Documentation for system log message AB 0 :
The specified runtime error has occurred in the system.
Parameter
a.. MESSAGE_TYPE_X
Technical details
File................ 000048
Position............ 0000253620
Entry type.......... l ( Error (Module, Row) )
Message ID.......... AB 0
Variable parts...... ab_jmess abdynpro1133
Time Ty. Nr Cl. User Tcod MNo Text Date : 12.11.08
00:30:57 BTC 08 200 BASIS AB1 > Short dump "081112 003057 sapsm BASIS " generated
etails
ecording at local and central time........................ 12.11.2008 00:30:57
ask................ 05312 . 08 B8 BTC background processor No. 08
ser................ BASIS
lient.............. 200
erminal............
ession............. 1
ransaction code....
rogram name........
roblem class....... K SAP Web AS Problem
evelopment class... SABP
BAP Mini dump
ate................ 20081112
ime................ 003057
ost................ sapsm
ser................ BASIS
ocumentation for system log message AB 1 :
A short dump was generated for the specified program termination.
You can analyze this short dump in the system log evaluation by
selecting this line or evaluating Table SNAP (Transaction ST22).
echnical details
ile................ 000048
osition............ 0000253800
ntry type.......... s ( ABAP Runtime Error )
essage ID.......... AB 1
ariable parts...... 081112003057sapsm BASIS
Time Ty. Nr Cl. User Tcod MNo Text Date : 12.11.08
00:30:57 BTC 08 200 BASIS D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081112003057sapsm BASIS 2001 )
Details
Recording at local and central time........................ 12.11.2008 00:30:57
Task................ 05312 . 08 B8 BTC background processor No. 08
User................ BASIS
Client.............. 200
Terminal............
Session............. 1
Transaction code....
Program name........
Problem class....... K SAP Web AS Problem
Development class... SDYN
Module name.........
Location............
T100................ 00 671
Parameters..........
Documentation for system log message D0 1 :
The transaction has been terminated. This may be caused by a
termination message from the application (MESSAGE Axxx) or by an
error detected by the SAP System due to which it makes no sense to
proceed with the transaction. The actual reason for the termination
is indicated by the T100 message and the parameters.
Additional documentation for message 00 671
ABAP/4 processor: &
No documentation exists for message 00671
Parameter
a.. MESSAGE_TYPE_X
00:30:57 BTC 08 200 BASIS R68 Perform rollback
Details
Recording at local and central time........................ 12.11.2008 00:30:57
Task................ 05312 . 08 B8 BTC background processor No. 08
User................ BASIS
Client.............. 200
Terminal............
Session............. 1
Transaction code....
Program name........
Problem class....... W Warning
Development class... STSK
Further details for this message type
Module name......... thxxhead
Line................ 1240
Error text..........
Caller.............. ThIRoll
Reason/called....... roll ba
Documentation for system log message R6 8 :
An error has causes an SAP rollback. All database updates are reset.
Technical details
File................ 000048
Position............ 0000254520
Entry type.......... m ( Error (Function,Module,Row) )
Message ID.......... R6 8
Variable parts...... ThIRollroll bathxxhead1240
Regards,
ShivaHi karteek,
I have check there is Switch of operation mode but when I have checked the t-code sm63 there is no new mode are in normal mode.
There is one thing I want to ask dose this report (Program/Command RDSMOPSOL_MONIREFRESH ) run in your system or any one server because I have think there is some problem in job shued
and is also not mention in the sap stand jobs.
there is an error in sm21 in job.
BASIS SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:
BASIS SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was specified
Is this SM37 log
Job started
Step 001 started (program RDSMOPSOL_MONIREFRESH, variant &0000000000875, user ID BASIS)
Opening and closing session started. Session SM2000000000065
Opening and closing the session was successful. Session: SM2000000000065
Opening and closing session started. Session SM2000000000005
ABAP/4 processor: MESSAGE_TYPE_X
Job cancelled
Sm21 log
SAPSYS EEA OPERATION MODES: Switch to operation mode Normal triggered
BASIS R68 Perform rollback
BASIS AB0 Run-time error "MESSAGE_TYPE_X" occurred
BASIS AB1 > Short dump "081111 003056 sapsm BASIS " generated
BASIS D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111003056sapsm BASIS 2001 )
BASIS R68 Perform rollback
BASIS R49 Communication error, CPIC return code 017, SAP return code 223
BASIS R64 > CPI-C function: CMINIT(SAP)
*BASIS SM36 EFK BP_CHECK_REPORT_VALUES: Invalid program values found. Reason:*
*BASIS SM36 EFC > Program RDSMOPSOL_MONIREFRESH has no variants, but a variant was*
specified
BASIS R68 Perform rollback
BASIS AB0 Run-time error "MESSAGE_TYPE_X" occurred
BASIS AB1 > Short dump "081111 220948 sapsm BASIS " generated
BASIS D01 Transaction Canceled 00 671 ( MESSAGE_TYPE_X 20081111220948sapsm BASIS 2001 )
Details Page 2 Line 6 System Log: Local Analysis of sapsm 1
Time Ty. Nr Cl. User Tcod MNo Text
00:00:51 DIA 00 000 SAPSYS EEA OPERATION MODES: Switch to operation mode Normal triggered
Details
Recording at local and central time........................ 13.11.2008 00:00:51
Task................ 04100 . 00 D0 Dialog work process No. 00
User................ SAPSYS
Client.............. 000
Terminal............
Session............. 1
Transaction code....
Program name........
Problem class....... S Operation Trace
Development class... SBTC
Sm63
Start/end time Name of the active operation mode
00.00 - 01.00 Normal
01.00 - 02.00 Normal
02.00 - 03.00 Normal
03.00 - 04.00 Normal
04.00 - 05.00 Normal
05.00 - 06.00 Normal
06.00 - 07.00 Normal
07.00 - 08.00 Normal
08.00 - 09.00 Normal
09.00 - 10.00 Normal
10.00 - 11.00 Normal
11.00 - 12.00 Normal
12.00 - 13.00 Normal
13.00 - 14.00 Normal
14.00 - 15.00 Normal
15.00 - 16.00 Normal
16.00 - 17.00 Normal
17.00 - 18.00 Normal
18.00 - 19.00 Normal
19.00 - 20.00 Normal
20.00 - 21.00 Normal
21.00 - 22.00 Normal
22.00 - 23.00 Normal
23.00 - 00.00 Normal
Regards, -
XML import issue in Primavera P6: "Process completed with errors."
When trying to import a small XML file (from MS Project 2010) to P6 server via P6 V7 CITRIX client, then I receive the message "Process completed with errors. See log file for details.".
But the log files are fine (no error, no warning, final validation status in log file is "successful").
And no additional project shows up in the EPS.
// Permissions checked. They are sufficient.
// File is valid (importable by two other users to the same P6 server: one with local P6 V7 client, one via CITRIX P6 V7 client).
// I used the same import template as the other two other users.
// XML contains two tasks only.
// No resources and no empty rows are in the MPP file, where the XML is created from.
Does anyone know what to do upon this message, or where the "errors" can be seen (what is neither in the import log files, nor in the PrimaveraLogs folder (P6WebAccess.html), nor in detailed P6 application logfile (I had this activated, but it showed only called features without status, errors or warnings)).
I highly appreciate any idea! ...Hello Rsandilands1
I just read your query and I am very curious if you did find the right solution? It seems that I am having the same sort of problem.
Best regards,
Pal1 -
Hi i have just tried to update i tunes and it has crashed and uninstalled i tunes off my laptop. I have tried to install i tunes again but it wont and comes up with error messages
Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support (if this won't uninstall move on to the next item)
Bonjour
Apple Application Support
Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
Please note:
Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
HT1925: Removing and Reinstalling iTunes for Windows XP
HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
tt2
Message was edited by: turingtest2 -
Latest i-pod touch wont sync, computer freezes and comes up with error -21 when i pull it out
Latest i-pod touch wont sync, computer freezes and comes up with error -21 when i pull it out of the usb port
Error 20, 21, 34, 37: These errors typically occur when security software interferes with the restore and update process. If you are using a PC, follow this article to resolve this issue.
Above from:
http://support.apple.com/kb/TS3694
Next I would try placing the iPod in recovery mode and then try restoring the iPod. Note that this will erase the iPod. For recovery mode see:
iPhone and iPod touch: Unable to update or restore -
Payables Accounting Process Completing with Error
Hi All,
After running Payables Accounting Process I am getting error
Spawned Process 151662
MSG-00001: After SRWINIT
MSG-00002: Check that AX is not installed before calling the accounting engine
MSG-00003: AX is not installed, Calling the accounting engine
MSG-00004: After the call to AP_Accounting_Engine_Pkg.Do_Accounting
MSG-00005: Error occured in the accounting process
MSG-00006: Error Message:
REP-1419: 'beforereport': PL/SQL program aborted.
Inside Execute for Invoice_Canc_Event_Core
Inside Derive_Accounting_Entry for Invoice_Event_Core
Starting Accrual Basis Accounting for Invoice Event...
INSERTing Header into AP_AE_Headers ...
ORA-00001: unique constraint (AP.AP_AE_HEADERS_U2) violated occurred in
AP_ACCOU
NTING_MAIN_PKG.Insert_AE_HeaderAP_INVOICE_EVENT_CORE_PKG.Derive_Accounting_Entry
<-AP_INVOICE_CANC_EVENT_CORE_PKG.Execute<-AP_ACCOUNTING_MAIN_PKG.Create_Accounti
ng_Entry<-AP_ACCOUNTING_ENGINE_PKG.do_accounting<-APXAEREP
with parameters (&PAR
AMETERS)
while performing the following operation:
&DEBUG_INFO
End of log messages from FND_FILE
Program exited with status 1
Please suggest what could be the possible error, this is happening in Production so sort of urgent!
Thanks,
AnchorageDuplicate thread ..
Payables Accounting Process Completing with Error
Payables Accounting Process Completing with Error -
I am trying to install CS6 Design and Web Premium trial and it fails with error code 20
I am trying to install CS6 Design and Web Premium trial and it fails with error code 20
Re-extract or copy the contents of the installer. Let us know if this helps.
See http://helpx.adobe.com/x-productkb/global/installation-launch-log-errors-creative.html -
Earlier today my iPhone4s shut down unexpectedly. It kept on showing the opening process (of the Apple logo coming and going) however it wasn't taking me to my home screen, instead was repeating this process. I pressed the home and lock button together for 30 seconds (from advice from the internet), which brought me to a screen of a picture of the USB cord and iTunes logo. I followed this instruction and plugged my iPhone into my laptop and opened iTunes. Immeadiatley, iTunes popped up to me that my iPhone was in recovery mode (I had never put my iPhone on recovery mode before so this was all new to me) and needed to go through with the restoring process. I clicked the Restore button to see this process go ahead. I tried so many times it lead to me to cry as my phone is only a few months old. All these times I tried the process was always cancelled by this message which showed it was an 'Unknown Error' and shown in brackets 'Error 9'. I tried this process so many times and I simply do not know what to do. Please can somebody give me advide/help and this is causing me stress as I have been working this out for hours. Thanks so much!
Hi there Holly N,
You may find the troubleshooting steps in the article below helpful.
Resolve specific iTunes update and restore errors
http://support.apple.com/kb/ts3694
Configure your security software
Related errors: 2, 4, 6, 9, 1000, 1611, 9006, 9807, or 9844. Sometimes as a result of this issue, a device might stop responding during the restore process.
Check your security software and settings, which can block ports and prevent connection to Apple servers during update and restore.
-Griff W. -
Hi guys, Please help
Just upgraded computer to Windows 7. Installed latest version of ITunes. It installed and uploaded all my items in my library.
Connected IPad2 and updated latest version. However whenever it trys to sync my contents either to my IPad, my wifes IPad or my new Iphone4S, it simply comes up with error message. I TUNES has stopped working. Windows is checking for a solution to the problem... Windows will close the program and notify you if a solution is found. Urggh, can anyone helpThis is similar to my dilemma I just posted:
itunes has stopped working error msg after software updates? 50 minutes ago
I have removed Bonjour as well.
I've had this happen other times when I've updated iTunes software on other systems too, to the extent that now I'm reluctant to ever Accept when it suggests I do so. But I went ahead this time and sure enough I think I'll have to do a total reinstall.
LOL, I don't think Windows has EVER found a solution to ANY system problem I've had which makes it mildly amusing when it acts like it's helping! -
Safari extremely slow and pages load with errors
Not sure if this is related to other Safari posts, but when I try to load a page from many sites, including this one, the speed is extremely slow and there are invariably errors reported on the bottom status bar. I'm on a new Mac Pro, and I haven't added any add-ons to Safari or changed system settings. My internet connection is DSL on ethernet, and there are no problems with email or on my old G4 using Explorer 5.1. At this point G4's Explorer is light years faster than Safari on this machine. I'm going to try Mozilla Firefox, but is there any hope for Safari?
Thanks,
PeggyHi Peggy
Welcome to Apple Discussions
Try this to speed up Safari.
First, make sure you are not using Rosetta. Go to Safari's info panel (Application folder>Safari.app>Single click>Apple Key I). If Rosetta is selected, uncheck it.
Network Connection
Go to the System Preferences>Network panel
- Location - set up a personal location by clicking on the drop down menu and selecting "add a location". Use a name familiar to you. Once established, select "apply".
- Next, click on the "Show" drop down menu and select Network Port Configurations. Only Ethernet ought to be checked. Move it to the top of the list (you can drag it). Select "apply".
- Back to the "Show" menu, depending on your connection select "Ethernet". Click on the TCP panel. There, enter 4.2.2.1 and 4.2.2.2 (separate lines) in the DNS servers box and select "apply".
Creating a personal location, plus adding the DNS codes seems to speed things up. Otherwise, the "automatic" function has a tendency to "search" for available locations.
In the Finder, go to your Utilities folder and select "Terminal". Once the screen is open enter lookupd -flushcache and press return. This clears out the DNS cache. Once done, quit Terminal.
Post back -
Possible to use both Front Row AND Media Central with same Apple Remote?
Dear Fellow Mac Users,
I have just got a copy of Media Central as i want to use it to view movie files with due to its great codec support. however due to its slightly sluggish and cumbersome design i'd like to continue to use front row for my itunes and dvd needs. whatsmore i'd like to be able to command both programs when i want them using my apple remote. is this possible?
TimYes. I do this right now - mainly using Media Central, and switching to Front Row if I have .mkv files to watch.
What I do is since you hit "Menu" to load Front Row, I just went into MediaCentral's preferences and had "Play" launch MediaCentral. Once you are in one, it 'grabs' the remote commands, so you shouldn't have to worry about it loading the other program. -
Payables Open Interface Purge completes with error "Invalid Cursor"
Hello,
I'm trying to run Payables Open Interface Purge (version 115.8) and get an invalid cursor error in the beforereport trigger. Does anyone know the cause and remedy of this? A portion of the log is below. I've looked at the cursor and everything looks fine to me.
MSG-00001: (Import_purge 1) Check control table for the purge process
MSG-00001: (Check_control_table 1) Lock the control table
MSG-00003: (Check_control_table 2) Fetch import_requests
MSG-00004: (Check_control_table 3) Check concurrent program status
MSG-00999: FUNCTION GET_REQUEST_STATUS ERROR, Reason:
MSG-00999: FND_CONCURRENT.GET_REQUEST_STATUS<-Check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
MSG-00999: check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
MSG-00999: (Import_purge 1) Check control table for the purge process
MSG-00999: Delete record in control table..
MSG-00999: ORA-01001: invalid cursor
REP-1419: 'beforereport': PL/SQL program aborted.
Thank you.I'm trying to run Payables Open Interface Purge (version 115.8) and get an invalid cursor error in the beforereport trigger. Does anyone know the cause and remedy of this? A portion of the log is below. I've looked at the cursor and everything looks fine to me.
MSG-00001: (Import_purge 1) Check control table for the purge process
MSG-00001: (Check_control_table 1) Lock the control table
MSG-00003: (Check_control_table 2) Fetch import_requests
MSG-00004: (Check_control_table 3) Check concurrent program status
MSG-00999: FUNCTION GET_REQUEST_STATUS ERROR, Reason:
MSG-00999: FND_CONCURRENT.GET_REQUEST_STATUS<-Check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
MSG-00999: check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
MSG-00999: (Import_purge 1) Check control table for the purge process
MSG-00999: Delete record in control table..
MSG-00999: ORA-01001: invalid cursor
REP-1419: 'beforereport': PL/SQL program aborted.11i: Payables Open Interface Invoice Import Troubleshooting Guide (APXIIMPT) [ID 107628.1] -- 3. Open Interface Import Purge Fails with ORA-01001: Invalid Cursor
Thanks,
Hussein -
Wanboot using s10u3 and http fails with error 416 with a small(ish) flar
Hi,
Using S10 u3 (11/06) to provision a wanboot server fails
with a 1.4Gb flash image -- output at foot. The flar is there,
perms 644, and I can open it in a web browser. The serverside
log in /tmp/bootlog.HOST gives the same information.
At OpenSolaris.org, this thread
http://www.opensolaris.org/jive/thread.jspa?messageID=82856
mentions a known bug 6509337 s10s_u3 wanboot fails but
like another user of opensolaris, I cannot find that bug -- nor
does searching sunsolve for wanboot 416 give any hits.
Has anyone but the 3 folk at opensolaris and I seen this?
Thank you for your time
Using rules.ok from http://10.23.0.49/config.
Checking rules.ok file...
Using profile: profile
Executing JumpStart preinstall phase...
Searching for SolStart directory...
Checking rules.ok file...
Using begin script: install_begin
Using finish script: patch_finish
Executing SolStart preinstall phase...
Executing begin script "install_begin"...
Begin script install_begin execution completed.
Wed Jan 31 14:10:56 wanboot info: WAN boot messages->10.23.0.49:80
Processing profile
- Opening Flash archive
ERROR: Unable to access the archive. The server returned 416: Requested Range Not Satisfiable
ERROR: Could not read file (http://10.23.0.49:80/flash/s10.flar)
ERROR: Flash installation failed
Solaris installation program exited.Hi,
Using S10 u3 (11/06) to provision a wanboot server
fails
with a 1.4Gb flash image -- output at foot. The flar
is there,
perms 644, and I can open it in a web browser. The
serverside
log in /tmp/bootlog.HOST gives the same
information.
At OpenSolaris.org, this thread
http://www.opensolaris.org/jive/thread.jspa?messageID=
82856
mentions a known bug 6509337 s10s_u3 wanboot fails
but
like another user of opensolaris, I cannot find that
bug -- nor
does searching sunsolve for wanboot 416 give any
hits.
Has anyone but the 3 folk at opensolaris and I seen
this?
Thank you for your time
Using rules.ok from http://10.23.0.49/config.
Checking rules.ok file...
Using profile: profile
Executing JumpStart preinstall phase...
Searching for SolStart directory...
Checking rules.ok file...
Using begin script: install_begin
Using finish script: patch_finish
Executing SolStart preinstall phase...
Executing begin script "install_begin"...
Begin script install_begin execution completed.
Wed Jan 31 14:10:56 wanboot info: WAN boot
messages->10.23.0.49:80
Processing profile
- Opening Flash archive
Unable to access the archive. The server returned
416: Requested Range Not Satisfiable
ERROR: Could not read file
(http://10.23.0.49:80/flash/s10.flar)
ERROR: Flash installation failed
Solaris installation program exited.Same here:
Processing profile
- Opening Flash archive
ERROR: Unable to access the archive. The server returned 416: Requested Range Not Satisfiable
ERROR: Could not read file (http://199.17.241.103:80/wanboot/flar/flars/flar.sun4v.sol10_11_06.2)
ERROR: Flash installation failed
Solaris installation program exited.
Web server error log is clean, but access log contains the following:
199.17.247.252 - - [02/Feb/2007:21:35:31 -0600] "GET /cgi-bin/wanboot-cgi/?CONTENT=bootfile&IP=199.17.247.128&CID=0100144F0ED53C HTTP/1.1" 200 1087128 "-" "-"
199.17.247.252 - - [02/Feb/2007:21:35:40 -0600] "GET /cgi-bin/wanboot-cgi/?CONTENT=bootfs&IP=199.17.247.128&CID=0100144F0ED53C&NONCE=80E23BAF0AE7E91E0B8141E0B7B66323A300C4A6 HTTP/1.1" 200 379111 "-" "-"
199.17.247.252 - - [02/Feb/2007:21:35:42 -0600] "GET /cgi-bin/wanboot-cgi/?CONTENT=rootfs&IP=199.17.247.128&CID=0100144F0ED53C HTTP/1.1" 200 235 "-" "-"
199.17.247.252 - - [02/Feb/2007:21:35:42 -0600] "GET /wanboot/miniroot/miniroot.sun4v_sol10_11_06 HTTP/1.1" 200 273847296 "-" "-"
199.17.247.252 - - [02/Feb/2007:21:38:57 -0600] "HEAD /wanboot/flar/sysidcfg.patrick/sysidcfg HTTP/1.1" 200 - "-" "-"
199.17.247.252 - - [02/Feb/2007:21:38:57 -0600] "GET /wanboot/flar/sysidcfg.patrick/sysidcfg HTTP/1.1" 206 687 "-" "-"
199.17.247.252 - - [02/Feb/2007:21:43:27 -0600] "HEAD /wanboot/flar/rules.ok HTTP/1.1" 200 - "-" "-"
199.17.247.252 - - [02/Feb/2007:21:43:27 -0600] "GET /wanboot/flar/rules.ok HTTP/1.1" 206 341 "-" "-"
199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "HEAD /wanboot/flar/mybegin HTTP/1.1" 200 - "-" "-"
199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "GET /wanboot/flar/mybegin HTTP/1.1" 206 715 "-" "-"
199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "HEAD /wanboot/flar/profile.sol10_T2000_72g.0 HTTP/1.1" 200 - "-" "-"
199.17.247.252 - - [02/Feb/2007:21:43:28 -0600] "GET /wanboot/flar/profile.sol10_T2000_72g.0 HTTP/1.1" 206 501 "-" "-"
199.17.247.252 - - [02/Feb/2007:21:43:29 -0600] "HEAD /wanboot/flar/flars/flar.sun4v.sol10_11_06.2 HTTP/1.1" 200 - "-" "-"
199.17.247.252 - - [02/Feb/2007:21:43:29 -0600] "GET /wanboot/flar/flars/flar.sun4v.sol10_11_06.2 HTTP/1.1" 416 392 "-" "-"
showrev: Kernel version: SunOS 5.10 Generic_118833-33 -
IPad2 update to iOS5 failed and restore fails with error code (6)
I have updated my iTunes to version 10.5 (on Windows 7 32-bit). After that and creating a back up of my iPad, I started the update to iOS5.
For some unclear reason it failed. The only option left was to do a restore.
This restore process starts and I see a progress bar on the iPad.
However iTunes comes up with an error message (translated from Dutch): "The iPad iPad cannot be restored. An unknown error code has occured (6)".
Whatever I try my iPad only shows the iTunes Logo with the USB connector.
Can anybody advice on how to I get my iPad running?
Regards,
Frans.Only after submitting my question other answers were shown. The error code to which 6 refers is shown on the next page: http://support.apple.com/kb/TS1275
In effect: I had to shutdown my Firewall! (How close do you have to be with a vendor).
After the Firewall (ZoneAlarm) was shutdown, the restore worked. and it gave me iOS5 -
How to insert autoincrement record and query it with multiple keys
Hi all,
I am not familiar with BerkeyleyDB, I am now doing a project that needs to insert records and then query it out with multiple keys at later time. Since there is no field that can be distinct primary key, I want to user DbSequence as auto increment primary key to db, and set other index keys as secondary db, then using join cursor to do query with multiple keys.
I don't know how to use DbSequence, can anyone direct me to a example of using DbSequence as auto increment primary key?
Regards
-BruceI figured out the method to insert record with auto increment primary key. I listed the code block below:
char m_SeqNamePositions[32] = "MyPositions";
DbSequence *m_pSeqPositions;
m_pDBPositions = new Db(NULL, 0);
m_pDBPositions->open(NULL, pszFileName, szFileName, DB_BTREE, DB_CREATE, 0); // 无数据文件
m_pSeqPositions = new DbSequence(m_pDBPositions, 0);
Dbt key((void *)m_SeqNamePositions, (u_int32_t)strlen(m_SeqNamePositions));
m_pSeqPositions->open(NULL, &key, DB_CREATE);
db_seq_t SeqNum;
m_pSeqPositions->get(0, 1, &SeqNum, 0);
Dbt key((void *)&SeqNum, (u_int32_t)sizeof(SeqNum));
Dbt data(pRecord, sizeof(*pRecord));
return m_pDBPositions->put(NULL, &key, &data, DB_NOOVERWRITE);
m_pSeqPositions->close(0);
m_pDBPositions->close(0);
delete m_pSeqPositions;
delete m_pDBPositions;
m_pDBPositions = NULL;
Maybe you are looking for
-
Why won't my phone download apps?
I was trying to download and app and my phone wasnt recognizing that I was trying to do it and it wasnt downloading... HELP?!?!?
-
How do you make an audio region longer ? Is a region a container ?
i hav a sample of a kick drum, i repeat it 4 times to make a loop (classic house/techno kicck loop) .. now the samples are shorter than one beat so i have gaps in my loop .. i choose'Merge' to 'weld' them together, it asks me to create a new audio fi
-
Icloud - does my friend sync my iphone and ipad to his icloud without telling?
Last summer my friend downloaded an app (game) on my iphone through his icloud account. He logged on through his itunes, downloaded the game, and logged off. I did not see exact what he did. He said he used 3G. After this, my phone has had periods w
-
How to Reset the Sata Link Controller for Full Sata 3 speeds on an OCZ Agility 3
So I purchased a new OCZ Agility 3 drive, installed it into the main bay of my 2012 Macbook Pro, and the drive was running at half speed. I called OCZ and spoke to the guys about how to resolve this issue, they were very knowledgeable, but they had n
-
Hi guys, I have an applet that allows a user to "create" a datafile using buttons, to ensure consistency of input. I then want to write this file tto my webserver (it keeps the data for a soccer league, with basic stats). I know that applets can't wr