(SOLVED)Problem to recover backup created using mysqldump, shows error
I use this command to restore:
mysql -u root -ppasswd db1 < /media/wd1500GB/backup/mysql/db1_2014-03-28.sql
Shows this error:
ERROR 1050 (42S01) at line 25: Table '`db1`.`phpbb_acl_groups`' already exists
Mysql is running.
What can be wrong? thanks
Last edited by rado3105 (2014-03-31 09:02:32)
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Similar Messages
-
While creating Table it shows error as 'missing or invalid option
I had log on to ap/ap@vis in sqlplus and try to create table but showing error.....here below is the table
Create table Purchase_Order
(Item varchar2(10),
Item_Desc varchar2(100),
Item_Cost Number(7),
Item_Qty Number(7),
Item_Date Date,
Need_by_date date,
Last_updated_date date,
last_updated_by number(10),
creation_date date,
created_by number(10),
Attributed_category varchar2(100),
attribute1 varchar2(100),
attribute2 varchar2(100),
attribute3 varchar2(100),
attribute4 varchar2(100),
attribute5 varchar2(100),
attribute6 varchar2(100));
But it showing error as ORA-00922:missing or invalid optionIt works for me
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> Create table Purchase_Order
2 (Item varchar2(10),
3 Item_Desc varchar2(100),
4 Item_Cost Number(7),
5 Item_Qty Number(7),
6 Item_Date Date,
7 Need_by_date date,
8 Last_updated_date date,
9 last_updated_by number(10),
10 creation_date date,
11 created_by number(10),
12 Attributed_category varchar2(100),
13 attribute1 varchar2(100),
14 attribute2 varchar2(100),
15 attribute3 varchar2(100),
16 attribute4 varchar2(100),
17 attribute5 varchar2(100),
18 attribute6 varchar2(100));
Table created.
SQL> -
I have a problem for download in app store . it shows error code : 1009
i have a problem for download in app store . it shows error code : 1009
https://discussions.apple.com/thread/2439043
-
Rman Recovery using backup created using dbconsole
Thanks for taking my questions. First, I see there is another person asking about rman recovery but I am hoping mine is not identical.
BACKGROUND
Archiving and flashback is on.
Database is 11g.
Full on-line database backup is done using dbconsole (oem) and includes control, spfile and archive logs.
RECOVERY
I am testing my recovery to a new serve.
I installed oracle
Restored a backupset from one backup to the new servers flashbackup area.
Recovered the spfile ok
Recovered the control file ok
Found last seq number ok
Restore database ok
RECOVER DATABASE UNTIL SEQUENCE - NOT OK
Error=DATAFILE 1 MUST BE RESTORED FROM BACKUP OLDER THAN SCN
QUESTIONS
Where did I go wrong?
Could it be my rman backup didn't backup all necessary archive logs?
How do I fix this and can I fix it using dbconsole?
Also, is it still possible to fix the test server without loading any new files?
Thanks!
KathieHello,
To answer your questions, it looks like your backup is out of sync with SCN for datafiles with your Oracle 11g database.
What you need to do is first check the low SCN and current SCN for your database to that in your RMAN backup files.
You can check backups in RMAN command line with
RMAN> list backup;
using target database control file instead of recovery catalog
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
1 349.08M DISK 00:01:14 24-JAN-08
BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20080124T180119
Piece Name: C:\ORACLE\FLASHBACK\ORCL\BACKUPSET\2008_01_24\O1_MF_ANNNN_TA
G20080124T180119_3SLJQOFO_.BKP
List of Archived Logs in backup set 1
Thrd Seq Low SCN Low Time Next SCN Next Time
1 1 1030802 04-JAN-08 1053767 05-JAN-08
1 2 1053767 05-JAN-08 1104812 06-JAN-08
Then open another prompt window and SQL*PLUS session as sysdba privileged account:
SQL> select name, current_scn from v$database;
NAME CURRENT_SCN
ORCL 4089528
You need to make sure that you are trying to restore database with RMAN with a backup for the SCN numbers that are older than the current database SCN in database or Oracle will complain.
Enterprise Manager dbconsole will work but nothing beats the power of a command line.
Use the automated repair options for the Oracle 11g Database Repair advisors.
1. Connect to RMAN
rman target=/
RMAN> list failure;
RMAN> repair failure preview;
RMAN> repair failure;
For more details, Arup Nanda has a good overview of RMAN with Oracle 11g:
http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/11g-rman.html
Hope this helps you out.
-Ben
Cheers,
Ben Prusinski
http://oracle-magician.blogspot.com/ -
TS3694 how can i solve my problem while updateing my i phone its shows error 3194
when i update my any i phone. it shows error 3194. please sugest me how can i solved this error.
From the article that the question was posted from:
Unable to contact the iOS software update server gs.apple.com
Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
Install the latest version of iTunes.
Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
Try to restore from another known-good computer and network.
If the errors persist on another computer, the device may need service. -
Block corruption problem in alert and rman/dbv no show errors
Hello, I'm new in Oracle's world. I have one problem with Oracle 10.2.0.4 (RHEL 5.6) x64. Archive redo-log enable
In the alert.log, three days ago show (the server have kernel panic & rebooted):
Mon Sep 24 18:18:17 2012
Hex dump of (file 17, block 669888) in trace file xxxxxxxxxx.trc
Corrupt block relative dba: 0x044a38c0 (file 17, block 669888)
Bad check value found during buffer read
Data in bad block:
type: 6 format: 2 rdba: 0x044a38c0
last change scn: 0x0000.14eb5309 seq: 0x1 flg: 0x04
spare1: 0x0 spare2: 0x0 spare3: 0x0
consistency value in tail: 0x53090601
check value in block header: 0x6ea3
computed block checksum: 0x2
Reread of rdba: 0x044a38c0 (file 17, block 669888) found same corrupted data
Mon Sep 24 18:18:19 2012
Corrupt Block Found
TSN = 23, TSNAME = TABLE_TSD1
RFN = 17, BLK = 669888, RDBA = 71973056
OBJN = 86908, OBJD = 86908, OBJECT = SYS_C0040110, SUBOBJECT =
SEGMENT OWNER = SCHEMA1, SEGMENT TYPE = Index Segment
Yesterday, we detected this error because SQL don't execute.
The error repeat 47times and there is 6 different file-block combination (4 index of schemas, 1 of sys and ¡2 tables!)
First, I launched expdp and exp of the one problematic schema. The export was fine, no errors while exporting, but in the alert.log show one block corruption. Should exp and expd show error and stop?
Next, I used dbv and verify all dbfs. Only show 2 blocks error in two datafiles (indexes).
Next, I used RMAN:
A) check database: no error.
B) validate database: error in two blocks (logical error) and different from the 6 in alert.log. This two blocks are indexes.
I re-create this two indexes. When i re-create, the block error disappear (not inmediate, suppose that disappear when block was rewrite). Now dbv and rman show no error.
I have read one note about types of error, other about procedures if db is in archivelog/noarchivelog. Also if object is index or table. But I find anything about auto-repair corrupt blocks in Oracle or why now the 6 block error are solved. I don't know if two tables with two block corrupt lost rows or not.
Appreciate any help.
RegardsHello Fran. Result of query before rebuild problematic INDEXES:
SQL> select * from V$database_block_corruption;
FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
3 98857 1 390928740 LOGICAL
9 48632 1 390325900 LOGICAL
When I ran RMAN first time to check blocks, it filled V$database_block_corruption with two bad blocks. Different from the 6 errors from alert.:
RMAN> backup validate check logical database;
Error backing up file 9, block 48632: logical corruption
Error backing up file 3, block 98857: logical corruption
I extracted index name from each block and I re-created it. Also, I created a temporary table in tablespace's datafile to fill blocks empty. Problem solved. Rman / dbv show no error.
I'm searching for similar experiences and found: Re: Data in bad block
First 6 bad checksum errors in alert.log disappear with any visible problem?
Can I sure that DB is fine if RMAN and DBV show no errors?
Thank you very much
Edited by: user7755509 on 27-sep-2012 5:43 -
Make portlet using jdev0905,show error message for porting providers
os:window 2000
ap svr:1002
i make a portlet using jdev0905,but ie: http://172.16.18.20:7788/Hrj/providers
show messge:
500 Internal Server Error
java.lang.SecurityException: sealing violation
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1128)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.findClass(ContextClassLoader.java:390)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:153)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:132)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2028)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)hi:
1.jar -jar portal-addin-install.jar jdev ==> jdev 9052
2.deploy portlet for hrj that Developer web application upon jhs9051 tools and test ok
3.porting hrj.ear to app server and show error
application.log message
05/10/13 20:15:39 Started
05/10/13 20:15:40 hrj: 9.0.4.0.0 Stopped
05/10/13 20:17:04 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (127.0.0.1))
05/10/13 20:17:30 Started
05/10/13 20:17:44 hrj: jsp: init
05/10/13 20:17:44 hrj: HrjStrutsController: init
05/10/13 20:17:50 hrj: 9.0.4.0.0 Started
05/10/13 20:17:55 hrj: jsp: init
05/10/13 20:17:55 hrj: HrjStrutsController: init
05/10/13 20:18:03 hrj: 9.0.4.0.0 Started
05/10/13 20:18:23 hrj: Error initializing servlet
java.lang.SecurityException: sealing violation
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1128)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.findClass(ContextClassLoader.java:390)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:153)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:132)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2028)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
05/10/13 20:18:23 hrj: Servlet error
java.lang.SecurityException: sealing violation
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1128)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.findClass(ContextClassLoader.java:390)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:153)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:132)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2028)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
05/10/14 08:25:41 hrj: jsp: init
05/10/14 08:25:41 hrj: HrjStrutsController: init
05/10/14 08:25:50 hrj: 9.0.4.0.0 Started -
Pls help to resolve the error in installing itunes for Windows 7 64 bit showing error R6034....
Hello sensuci,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
Check for .dll files
Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
Reboot your computer.
Note: Depending on your operating system, you may only have one of the listed paths.
Uninstall and reinstall iTunes
Uninstall iTunes and all of its related components.
Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
Re-download and reinstall iTunes 11.1.4.
Best of luck,
Mario -
Problem in Sales order create using BAPI with reference to quotation
Hi,
I am creating a sales order from Quotation using BAPI /AFS/BAPI_SALESORD_CREATEFDATA.
The Sale order is getting created and the document flow is updated. When i check the status of quotation it is "OPEN".
Ideally when a sale order is created in VA01 with reference to a quotation and if all items are added in the order from quotation, then the status of the quotation must be "Complete".
When i use the BAPI, the status of the quotation is sill "Open". Has anyone faced this issue?
Even if anyone has faced this issue with BAPI_SALESORDER_CREATEFROMDAT2, please let me know...
RegardsHi RV,
I am using BAPI to create order reference to contracts. I am facing same issue. Its not updating document flow (vbfa-plmin field). After creating orders I am forcing to update plmin field in vbfa. This worked fine. But now status in reference document not updating properly. I saw your thread. It looks like similar issue. I saw your comments "Customization was not maintained properly for the Order types ". Please can you explain little bit more about your solution. It will helps us lot.
Thanks,
srini -
FBV1 - create using idoc ACC_INVOICE_RECEIPT03 - Error F5702
Hi all,
I'm trying to create a preliminary document like I do with transaction FBV1. For that, I'm trying with idoc ACC_INVOICE_RECEIPT03, which uses BAPI BAPI_ACC_INVOICE_RECEIPT_POST.
I'm filling idoc segments as follows:
Header: E1BPACHE03
OBJ_TYPE BKPFF
OBJ_KEY 0000000000TEST
OBJ_SYS I01CLNT100
USERNAME IBEAPLI1
HEADER_TXT G3689
COMP_CODE FI14
FISC_YEAR 2009
DOC_DATE 20090831
PSTNG_DATE 20090831
TRANS_DATE 20090831
FIS_PERIOD 08
DOC_TYPE IV
REF_DOC_NO G3689
Account Payable: E1BPACAP03
ITEMNO_ACC 1
VENDOR_NO 0000000503
GL_ACCOUNT 0000400000
PMNTTRMS C000
BLINE_DATE 20090830
PYMT_METH C
ITEM_TEXT text
Account GL: E1BPACGL03
ITEMNO_ACC 2
GL_ACCOUNT 0000629001
COMP_CODE FI14
PSTNG_DATE 20090830
FISC_YEAR 2009
FIS_PERIOD 08
TAX_CODE S3
ITEM_TEXT text2
ORDERID 000000006932
PROFIT_CTR 0000000999
Taxes: E1BPACTX01
ITEMNO_ACC 3
TAX_CODE S3
Currencies:
E1BPACCR01
ITEMNO_ACC 1
CURR_TYPE 00
CURRENCY EUR
CURRENCY_ISO EUR
AMT_DOCCUR -0000000000116.00
EXCH_RATE 1
E1BPACCR01
ITEMNO_ACC 2
CURR_TYPE 00
CURRENCY EUR
CURRENCY_ISO EUR
AMT_DOCCUR 0000000000100.00
EXCH_RATE 1
E1BPACCR01
ITEMNO_ACC 3
CURR_TYPE 00
CURRENCY EUR
CURRENCY_ISO EUR
EXCH_RATE 1
AMT_BASE 000000000016.00
Creating same document in FBV1 I get success, but when I try it via idoc in we19, I get following error:
*Balance in transaction currency*
*Message no. F5702*
*Diagnosis*
*A balance has occurred in transaction currency 'EUR' with the following details:*
*Exchange rate '00', amount ' 116,00-' and currency key 'EUR'.*
*The data in the transaction currency were transferred from the calling application.*
*System Response*
*Your data cannot be processed in FI.*
*Procedure*
*The error is probably in the calling application*
How can I solve this problem? Any idea?
Thanks in advance!!
REgards.Hi,
Chekc the IDoc received, may the amounts are in proper format, check with the ABAPer for correct format.
VVR -
Management Point created using Powershell will error CM Console when viewing properties
Greetings,
We have an established ConfigMgr 2012 R2 CU3 environment with several Primaries and management points already active. These were all installed manually using the CM Console.
I am now trying to add additional Management Points using Powershell using the command:
Add-CMManagementPoint -enablessl -sitecode "ABC" -sitesystemservername "MPservername.domain.com" -allowdevice -clientconnectiontype internetandintranet -generatealert -verbose
The PS completes without error, the MPSetup.log and MPControl.log indicate all is well once the setup completes
The MP appears as a component under the Server when viewing in the console
The IIS logs show clients communicating fine and the CM component Status monitor is all green with no errors showing in the status message
A Get-CMManagementPoint returns fine showing all the same details as other working MP's
However if I try to view the properties of the Management Point from the console, the console will error
If I click Continue it will open the properties but they don't appear correctly. The "sitedatabase" tab is missing and the mobile device and generate alert boxes aren't selected. If I click Quit the then console crashes.
So everything appears to be working, except for being able to view the actual properties through the console.It doesn't appear to give a specific error
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.ConfigurationManagement.AdminConsole.SiteSystems.ManagementPointConnectionsControl.InitializePageControl()
at Microsoft.ConfigurationManagement.AdminConsole.SmsPropertyPage.OnInitialize()
at Microsoft.ConfigurationManagement.AdminConsole.SmsPropertyPage.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at System.Windows.Forms.TabControl.ControlCollection.Add(Control value)
at System.Windows.Forms.TabControl.TabPageCollection.Add(TabPage value)
at Microsoft.EnterpriseManagement.ConsoleFramework.SheetFramework.AddTabs()
at Microsoft.EnterpriseManagement.ConsoleFramework.SheetFramework.OnLoad(EventArgs e)
at Microsoft.ConfigurationManagement.AdminConsole.DialogFramework.Forms.SmsPropertySheet.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
Followed by lots of entries of the loaded dll's and finished off with
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box. -
Running unix command using java shows error
Hi All,
I am trying to run UNIX move command using Java exec method but its throwing error, unable to rename. Here below is the code i am trying to run to move all files from one directory to another directory. source and destination directory exists.
public class Demo
public static void main(String args[])
try
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("mv /home/demo1/* /home/demo2");
int exitVal = proc.waitFor();
System.out.println("Process exitValue: " + exitVal);
} catch (Throwable t)
t.printStackTrace();
}if i give "mv /home/demo1 /home/demo2" in exec method, its working, with * character its giving problem.
Please help me in resolving the problem.
Thank youCharacters like *, >, &, |, etc. are interpreted by the command shell--that is by the bash, zsh, etc. programs. When you execute a command with ProcessBuilder or Runtime.exec, you're not going through one of those shells, so their interpretation of those characters is not available.
In your code, the character * is being delivered directly to the mv command (which doesn't think * is anything special), as opposed to being turned into a list of files and directories as it would be when it's interpreted by the shell. The mv command doesn't know anything about the * character being special.
If you want to have those shell interpretations, you need to execute the command through a shell. One example is like so, but a) you'll want to read up on the methods in exec() that take arrays of String, and b) you'll want to read up on ProcessBuilder, and c) you'll need to check your shell's man pages to see the exact syntax and arguments.
runtime.exec("/bin/bash -c 'mv x/* y'"); -
Backup 3.1 claims backup success but history shows error -54
My incremental backup repeatedly fails to copy my Entourage database 120MB to my iDisk:
Copied file /Users/Andy/Documents/Microsoft User Data/Office 2004 Identities/.DS_Store
Unable to copy /Users/Andy/Documents/Microsoft User Data/Office 2004 Identities/Main Identity/Database: Mac OS error -54.
Failure to backup a critical file is definitely a "Failed" backup so should be reported as an incomplete job
Any ideas how to correct this error?
iMac 20" G5 Mac OS X (10.4.5)Choose Go to Folder from the Finder's Go menu and enter ~/Documents/Microsoft User Data/Office 2004 Identities/Main Identity/ as the folder's path. When this folder has appeared, select the Database file in the Finder and choose Get Info from the File menu. Verify that you have Read & Write access to it; if you do, find out where Backup is putting the files and check that nothing there is interfering with the process.
(11389) -
Invoice created via SUS having error -The template item 1 does not exists
Hi All,
We are in SRM6.0 and in our PRD system, we have few invoices created through SUS showing error "The template item 1 does not exist.
These invoices went into "To be corrected" status and when I hit check it gives me above error message. The message itself don't make much sense to me. Please note we can create new invoice in SRM manually and everything works fine.
Appreciate any pointers.
Thanks, SachinWe have analysed the issue and found we are getting this error because these invoices are missing with "BE_LOG_SYSTEM" field in table BBP_PDBEI and "BE_REFOBJ_TYPE" field is showing "BUS2201 instead of "BUS2012".
Any feedback why we have these difference as compare to good invoices (created directly in SRM).
Thanks, Sachin -
The problem is when we create and then publish to ibooks review it can not be shown completely. How can I solve this problem?
If you are saying, that you published the book to the iBooks review team and cannot be seem in the store.
Use your iTunes Connect account > Manage your Books to check on its status. It takes time so you need to allow a few days.
If its a problems viewing on your iPad Follow the above advice and another option is is export your book, open iBooks on your Mac and drag the book into iBooks.
You can iTunes > add to libray and sync to your iPad.
Maybe you are looking for
-
Help! My iPhone 4 displays a cord to an itunes icon and I can't get it to go away...even when plugged into my computer. My computer doesn't recognize it as a device. How can I just cancel all this and get my phone back to normal?
-
Bad quality with Sony HD Camcorder after import
I've posted this in the iMovie section, but did not get any response there. Since I need to decide soon if I should keep the camcorder or send it back, I hope any of you can help me with this problem: I've just purchased a Sony HDR-CX105 camcorder to
-
I created a page in iWeb and published it on iPage. The upload was messed up and I talked to iPage who told me something about an ampersand and Unix that caused the problem and they were able to do something at their end that corrected the problem in
-
The book is in the iBookstore, but...
My compilation book of gardening articles and photographs was accepted by Apple and went live in the bookstore yesterday. After seven months of work, I was thrilled! Then I downloaded the sample chapter (the book has 164 pages, 53 chapters and as I s
-
Unable to Connect to Cicso Aironet 1250
My office just bought the Cisco Aironet 1250 and I am task to set it up. Right now, I am unable to connect to AP even when it is configured as Open Authentication without encryption. Tried using both laptops and our products to no avail. The same lap