Trigger email if no file found
Hi,
I have a requirement like below:
Every day interface will run between 4.00 AM to 4.30 AM. In this case file will be picked from aplication server(NFS) and processed by using proxy(FILE to PROXY communication). In this stipulated time 4.00 AM to 4.30 AM, If there is no file found in NFS path for current date and time, then I have to trigger an email saying that there is no file found.
Hi,
Check if in your case you can trigger alerts from XI, if file is not present at source location and communiation channel is giving any error for it....
Check out below link...
How do I configure an auto-email alert for Adapter engine errors
Configuring Alerts for Adapter engine errors
Amol
Similar Messages
-
Trigger email if source file i not placed at the src folder every morning
Hi All.
I have a file to rfc scenario... the file is place at the source folder every morning...
If the file is not place can we trigger an alert? or email?
I was thiking of adapter scheduling but in case the file is not persent will it send an alert?
PLs share ur thoughts..There is an ongoing discussion about this. See my reply here:
Want email notification for fail cases
Regards,
Prateek Raj Srivastava -
ERROR ITMS-9000: "Unmanifested file found : "file name".epub:/iTunesArtwork" at Book (MZItmspBookPackage)
I am having the above error message at the last step of submitting an ebook to the ibookstore. .
A call to apple did not yield any solution. It was suggested to me that I contact itunesconnect by email. As it is I have been waiting for about a month now to get responses to the emails I sent to itunesconnect and the ibookstore about another issue.
Anyone has a solution to this? if you so, please let me know.
Thank you.https://discussions.apple.com/message/17782799#17782799
I thinks this link will help solve your issues. It worked for mine. -
I just set up the CDF_Email function and was able to successfully send out an email after a calculation has finished, however, now I would like to send out an email after data has been loaded and say that the load was "Data Loaded Without Errors" or "Data Loaded With Errors". If the data has been loaded but with errors I would like to attach the error file in the email. Can this be achieved using the same CDF_Email function or do I need to go down another path. Thanks in advance!
here you go
' Script : sendmail.vbs
' Author : Celvin Kattookaran - Original Version
' Description : To send error file and log files
' Date : 8th Mar 2011
' Updates :
' Author Date Description
' "Usage: 1st argument is the Text body which is the file location of your mail body"
' "2nd to 5th Arguments are the Attachments that you wish to send"
' "6th or the penultimate argument is the Subject of the mail"
' "7th or the ultimate argument is the recepient mail address"
' "All arguments should be sperated by space and should be enclosed in between,If there are multiple receipents then sperate them like""[email protected];[email protected]"
' celvin.v.kattookaran 08-Mar-2011 Creation
' -- Variable declarations --
' Option Explicit
Dim arg
Dim aArg(7)
Dim i
i=0
For each arg in Wscript.Arguments
aArg(i) = arg
i = i + 1
Next
' -- Parameter declarations --
' Text Body : aArg(0)
' Attachments : aArg(1)
' Attachments : aArg(2)
' Attachments : aArg(3)
' Attachments : aArg(4)
' Attachments : aArg(5)
' Subject : aArg(6)
' To : aArg(7)
' -- User ID and SMTP Server declarations --
strMessageFrom = "[email protected]"
strSMTPserver = "smtp.example.com"
strSMTPPort = 25
' If your SMTP server needs authentication then uncomment the line below
' ***_*** strSMTPpassword = "password"
' # Please don't update below this point #
strMsgBody = CreateObject("Scripting.FileSystemObject").OpenTextFile(aArg(0), 1).ReadAll
' ############# MAIN PART OF SCRIPT ###################
Select case Wscript.Arguments.count
case 3
strMessageTo = aArg(2)
strEmailSubject = aArg(1)
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = strEmailSubject
objMessage.From = strMessageFrom
objMessage.To = strMessageTo
objMessage.TextBody = strMsgBody
case 4
strMessageTo = aArg(3)
strEmailSubject = aArg(2)
strEmailAttachment = aArg(1)
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = strEmailSubject
objMessage.From = strMessageFrom
objMessage.To = strMessageTo
objMessage.TextBody = strMsgBody
Set fso = CreateObject("Scripting.FileSystemObject")
if (fso.FileExists(strEmailAttachment)) then
objMessage.AddAttachment strEmailAttachment
else
Wscript.echo "No such file found in the system " & strEmailAttachment
end if
case 5
strMessageTo = aArg(4)
strEmailSubject = aArg(3)
strEmailAttachment = aArg(1)
strEmailAttachment2 = aArg(2)
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = strEmailSubject
objMessage.From = strMessageFrom
objMessage.To = strMessageTo
objMessage.TextBody = strMsgBody
Set fso = CreateObject("Scripting.FileSystemObject")
if (fso.FileExists(strEmailAttachment)) then
objMessage.AddAttachment strEmailAttachment
else
Wscript.echo "No such file found in the system " & strEmailAttachment
end if
if (fso.FileExists(strEmailAttachment2)) then
objMessage.AddAttachment strEmailAttachment2
else
Wscript.echo "No such file found in the system " & strEmailAttachment2
end if
case 6
strMessageTo = aArg(5)
strEmailSubject = aArg(4)
strEmailAttachment = aArg(1)
strEmailAttachment2 = aArg(2)
strEmailAttachment3 = aArg(3)
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = strEmailSubject
objMessage.From = strMessageFrom
objMessage.To = strMessageTo
objMessage.TextBody = strMsgBody
Set fso = CreateObject("Scripting.FileSystemObject")
if (fso.FileExists(strEmailAttachment)) then
objMessage.AddAttachment strEmailAttachment
else
Wscript.echo "No such file found in the system " & strEmailAttachment
end if
if (fso.FileExists(strEmailAttachment2)) then
objMessage.AddAttachment strEmailAttachment2
else
Wscript.echo "No such file found in the system " & strEmailAttachment2
end if
if (fso.FileExists(strEmailAttachment3)) then
objMessage.AddAttachment strEmailAttachment3
else
Wscript.echo "No such file found in the system " & strEmailAttachment3
end if
case 7
strMessageTo = aArg(6)
strEmailSubject = aArg(5)
strEmailAttachment = aArg(1)
strEmailAttachment2 = aArg(2)
strEmailAttachment3 = aArg(3)
strEmailAttachment4 = aArg(4)
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = strEmailSubject
objMessage.From = strMessageFrom
objMessage.To = strMessageTo
objMessage.TextBody = strMsgBody
Set fso = CreateObject("Scripting.FileSystemObject")
if (fso.FileExists(strEmailAttachment)) then
objMessage.AddAttachment strEmailAttachment
else
Wscript.echo "No such file found in the system " & strEmailAttachment
end if
if (fso.FileExists(strEmailAttachment2)) then
objMessage.AddAttachment strEmailAttachment2
else
Wscript.echo "No such file found in the system " & strEmailAttachment2
end if
if (fso.FileExists(strEmailAttachment3)) then
objMessage.AddAttachment strEmailAttachment3
else
Wscript.echo "No such file found in the system " & strEmailAttachment3
end if
if (fso.FileExists(strEmailAttachment4)) then
objMessage.AddAttachment strEmailAttachment4
else
Wscript.echo "No such file found in the system " & strEmailAttachment4
end if
case 8
strMessageTo = aArg(7)
strEmailSubject = aArg(6)
strEmailAttachment = aArg(1)
strEmailAttachment2 = aArg(2)
strEmailAttachment3 = aArg(3)
strEmailAttachment4 = aArg(4)
strEmailAttachment5 = aArg(5)
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = strEmailSubject
objMessage.From = strMessageFrom
objMessage.To = strMessageTo
objMessage.TextBody = strMsgBody
Set fso = CreateObject("Scripting.FileSystemObject")
if (fso.FileExists(strEmailAttachment)) then
objMessage.AddAttachment strEmailAttachment
else
Wscript.echo "No such file found in the system " & strEmailAttachment
end if
if (fso.FileExists(strEmailAttachment2)) then
objMessage.AddAttachment strEmailAttachment2
else
Wscript.echo "No such file found in the system " & strEmailAttachment2
end if
if (fso.FileExists(strEmailAttachment3)) then
objMessage.AddAttachment strEmailAttachment3
else
Wscript.echo "No such file found in the system " & strEmailAttachment3
end if
if (fso.FileExists(strEmailAttachment4)) then
objMessage.AddAttachment strEmailAttachment4
else
Wscript.echo "No such file found in the system " & strEmailAttachment4
end if
if (fso.FileExists(strEmailAttachment5)) then
objMessage.AddAttachment strEmailAttachment5
else
Wscript.echo "No such file found in the system " & strEmailAttachment5
end if
end Select
' -- Please enable this part for testing purpose only --
' --- Steps for testing ---
' 1. Remove ' **-** from the script.
' 2. Open a command prompt and move to the directory where sendmail.vbs is located.
' 3. type sendmail.vbs "arguments" -- arguments must be seperated by space and should be enclosed in "".
' **-** Wscript.echo Wscript.Arguments.count
' **-** if strMessageFrom = "" then
' **-** msgbox("ERROR: Sender is not specified")
' **-** end if
' **-** if strMessageTo = "" then
' **-** msgbox("ERROR: Receiver is not specified")
' **-** end if
' **-** if strEmailSubject = "" then
' **-** msgbox("ERROR: Mail Subject is not specified")
' **-** end if
' **-** if strMsgBody = "" then
' **-** msgbox("ERROR: Mail Body is not specified")
' **-** end if
' **-** if strMessageFrom <> "" then
' **-** msgbox("Mail is send by: " & strMessageFrom)
' **-** end if
' **-** if strMessageTo <> "" then
' **-** msgbox("Mail is send to: " & strMessageTo)
' **-** end if
' **-** if strEmailSubject <> "" then
' **-** msgbox("Mail Subject is: " & strEmailSubject)
' **-** end if
' **-** if strMsgBody <> "" then
' **-** msgbox("Mail body is: " & strMsgBody)
' **-** end if
' **-** if strEmailAttachment = "" then
' **-** msgbox("ERROR: There is no Mail attachement, please specify one.")
' **-** end if
' **-** if strEmailAttachment <> "" then
' **-** msgbox("Mail attachement is: " & strEmailAttachment)
' **-** end if
' **-** if strEmailAttachment2 = "" then
' **-** msgbox("You have opted for sending only one attachement, if you wish to send one more attachment please specify the location of the next file")
' **-** end if
' **-** if strEmailAttachment2 <> "" then
' **-** msgbox("Mail attachement is: " & strEmailAttachment2)
' **-** end if
' **-** if strEmailAttachment3 = "" then
' **-** msgbox("You have opted for sending only one or two attachements, if you wish to send one more attachment please specify the location of the next file")
' **-** end if
' **-** if strEmailAttachment3 <> "" then
' **-** msgbox("Mail attachement is: " & strEmailAttachment3)
' **-** end if
' **-** if strEmailAttachment4 = "" then
' **-** msgbox("You have opted for sending only one or two or three attachements, if you wish to send one more attachment please specify the location of the next file")
' **-** end if
' **-** if strEmailAttachment4 <> "" then
' **-** msgbox("Mail attachement is: " & strEmailAttachment4)
' **-** end if
' **-** if strEmailAttachment5 = "" then
' **-** msgbox("You have opted for sending only one or two or three or four attachements, if you wish to send one more attachment please specify the location of the next file")
' **-** end if
' **-** if strEmailAttachment5 <> "" then
' **-** msgbox("Mail attachement is: " & strEmailAttachment5)
' **-** end if
' **-** dim answer
' **-** answer=msgbox("Do you wish to send a mail",vbYesNo)
' **-** if answer = vbYes then
' **-** msgbox("A mail will be send with the given arguments to " & strMessageTo)
' -- Configuration --
'==Normally you will only change the server name or IP.
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'Name or IP of Remote SMTP Server
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strSMTPserver
'If your SMTP server needs authentication then uncomment the lines below starting with obj
'Your UserID on the SMTP server
' ***_*** objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = strMessageFrom
'Your password on the SMTP server
' ***_*** objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = strSMTPpassword
' Set the authentication method
' ***_*** objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
'Server port (typically 25)
objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = strSMTPPort
objMessage.Configuration.Fields.Update
objMessage.Send
' **-** elseif answer = vbNo then
' **-** msgbox("Mail will not be send")
' **-** end ifWhat i do in my bat file is then add a line after success
call %LOG_ROTATE_SCRIPTS_DIR%\vb\sendMail.vbs "%BASE_DIR%\mail\LOG_ROTATE_Procedure_Sucess.txt" "%SCRIPTLOG%" "Oracle Hyperion %EPMENV% - Procedure for Log Rotate is successful" "%MAIL_RECIPIENT%"Regards
Celvin
http://www.orahyplabs.com
Please mark the responses as helpful/correct if applicable -
How do I transfer my email history and files from windows using MS Outlook to an imac
I am about to buy an iMac. How do I transfer my email history and files from my MS Windows based computer, using Outlook?
You might want to use Migration assistant. On the internet you will find the Windows software to install on your Windows computer.
Mac has its own assistant, called configuration assistant.
On the Windows PC, you will need to shutdown antivirus software and also to turn-off the Windows Firewall.
After software installation and starting the program on your Windows PC, you need to run configuration assistant on your mac.
Best and fastest sollution would be to connect both computers with a UTP cable.
Follow instructions to be found here:
Switch Basics: Migrate your Windows files to your Mac
Hope it works out for you.
Goodluck -
Writing trigger event time to file
I am new to LabVIEW. I have been modifying the acq_graph_voltage_dig.vi that I found to trigger recording using a digital trigger with a set number of pretrigger and posttrigger samples being recorded. I have added VIs to open, write to, and save a tdms file with this data. I want to be able to record when the trigger actually occurred, either as a separate channel or just as an event to mark when the trigger occurred in the file. I know that I can figure this out based on the pretrigger sample number, but this is something I will likely be changing as I record. I will only have one trigger per file. Anyone have suggestions on how I could record the trigger instance?
Thanks!
Solved!
Go to Solution.Hi shelby,
I assume that you just want the timestamp of when the trigger occurred and then you'll write this value to file. If so, you can change the read position to the reference trigger, read one sample, and the record the timestamp of that sample to the end of your file. A picture is shown below as well as an edited version of the VI you were using. I didn't add any file I/O to the example as I assume you already have this part figured out. I hope that helps!
Message Edited by lion-o on 10-21-2008 02:23 PM
Mike Lyons
National Instruments
http://www.ni.com/devzone
Attachments:
reference_trigger_read_position.jpg 42 KB
acq_graph_voltage_dig.vi 92 KB -
How to trigger emails from BPC?
Hello Experts,
Is it possible to trigger emails from BPC for example when a entity reports on a specific account?
I have been able to setup mails from the admin concolse but I wan't mails to be send to a specific email adress when accidents are reported.
Kind regards
JonasHi Jonas,
I'm not sure I've understand what you ask but if you want to send email from a report you have to write some VBA code using a shellexecute or create object (if you want to attach some files).
Regards
Roberto -
Importing mailbox - no valid mail files found
Hi
I'm having problems importing a mailbox from my back-up on a CD-ROM. I click on 'Import Mailbox' and choose 'mail for os x' and then the folder which ends '*.mbox'. I then get an error which says, 'No valid mail files found'. Within that mailbox I can see messages ending *.emix but it just won't work.
Can anyone help me to restore these emails?
Thanks.Back up one directory level and select the Mailboxes folder (/Home/Library/Mail/Mailboxes/) instead. You should then get a listing of available mailboxes from which you can import. Uncheck those you don't want to import.
Why reward points?(Quoted from Discussions Terms of Use.)
The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values. -
How can I email several pdf files in one email?
HOw can I email several pdf files in one email?
You have to use 3rd party apps like GoodReader.
-
How can I save multiple emails as separate files with 1 export?
I need to save hundreds of emails as separate files. If I select all of the emails, then export as PDF, it doesn't save with their Subject titles, just numbers. If I try prints, save as pdf, it consolidates them all into 1 file. If I try to save as txt files, it only saves the first message. If I try dragging and dropping the emails into a folder, it won't let me (only one at a time). Any help would be greatly appreciated.
I believe there is a third party app that saves email(s) as pdf's:
http://www.sperrysoftware.com/Outlook/save-as-pdf.asp?src=googleadwords&gclid=CM aBn9vzu7gCFTMRtAodtjIADg&utm_expid=330330-7.0tmU05zdRNG5j8Zt1v22Dw.0&utm_referre r=http%3A%2F%2Fwww.google.com%2Faclk%3Fsa%3Dl%26ai%3DCYx7OWF_pUbOzJ8GehQewmIBoqo uemQKK4YCxIZPC-aA8CAAQAVDZ7NvS_v____8BYPuh64LoCaAB3rW3_wPIAQGqBChP0BuhRoSOlnh9eX 58SwjbgTHsbaVreSndBi1MKrzUffPlI2monV7nuAYBgAeKykg%26sig%3DAOD64_3QUxRWH7oaxXl2vN SwQqLI_cFtyw%26ved%3D0CDMQ0Qw%26adurl%3Dhttp%3A%2F%2Fwww.SperrySoftware.com%2FOu tlook%2Fsave-as-pdf.asp%253Fsrc%253Dgoogleadwords%26rct%3Dj%26q%3Dsave%2520email s%2520to%2520df -
Since the update I can no longer open a link from an email opened PDF file. I could prior to update
Try this - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
Cheers, Tom -
Restore from OSB. RMAN-06024: no backup or copy of the control file found
I backed up controlfile for standby on production server to OSB media:
-bash-3.00$ rman target / catalog rman/rman@emgc
Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:15:33 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: EMGC (DBID=1838014073)
connected to recovery catalog database
RMAN>
RMAN> CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
BACKUP CURRENT CONTROLFILE FOR STANDBY tag 'stb_ctl';
RELEASE CHANNEL ch1;
CONFIGURE DEVICE TYPE 'SBT_TAPE' CLEAR;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> 2> 3> 4> 5> 6>
allocated channel: ch1
channel ch1: sid=1085 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
Starting backup at 25-JAN-11
channel ch1: starting compressed full datafile backupset
channel ch1: specifying datafile(s) in backupset
including standby control file in backupset
channel ch1: starting piece 1 at 25-JAN-11
channel ch1: finished piece 1 at 25-JAN-11
piece handle=1em30ngu_1_1 tag=STB_CTL comment=API Version 2.0,MMS Version 10.3.0.2
channel ch1: backup set complete, elapsed time: 00:00:27
Finished backup at 25-JAN-11
released channel: ch1
RMAN> list backup of controlfile;
old RMAN configuration parameters:
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
RMAN configuration parameters are successfully reset to default value
starting full resync of recovery catalog
full resync complete
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
Handle: 1em30ngu_1_1 Media: mf_rman-000003
Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
RMAN>
On standby server I try to restore this control file but there is some trouble with restore... By the way I can delete that backup piece...
-bash-3.00$ rman target / catalog rman/rman@emgc
Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:34:32 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: emgc (not mounted)
connected to recovery catalog database
RMAN> set DBID=1838014073;
executing command: SET DBID
database name is "EMGC" and DBID is 1838014073
RMAN> RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
crosscheck backup of controlfile;
2> 3> 4> 5>
allocated channel: ch1
channel ch1: sid=1093 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
Crosschecked 1 objects
released channel: ch1
RMAN> list backup of controlfile;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
Handle: 1em30ngu_1_1 Media: mf_rman-000003
Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
RMAN> RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
RESTORE CONTROLFILE FROM TAG 'STB_CTL';
2> 3> 4> 5>
allocated channel: ch1
channel ch1: sid=1093 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
Starting restore at 25-JAN-11
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 01/25/2011 15:35:20
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
RMAN> RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
delete noprompt backup of controlfile;
2> 3> 4> 5>
allocated channel: ch1
channel ch1: sid=1093 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
1480 1479 1 1 AVAILABLE SBT_TAPE 1em30ngu_1_1
deleted backup piece
backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
Deleted 1 objects
released channel: ch1
RMAN>You cannot specify a tag for a standby control file.
read here
http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm#1002594
Edited by: Adigozalov Gurban on Jan 25, 2011 2:14 PM -
"Template import error: No VM configure file found" on brand new setup
Previously, I posted Console does not launch OVM 3.1.1, Win7x32 Firefox15/IE8 - Empty .jnlp file which was about VM Console not launching. Since this is a new installation, and it seemed to be a unique problem, I scratched the whole installation and started again from scratch. Everything, including the NFS file server, was re-installed from scratch CD OS installation.
The process is pretty straightforward once you're used to it, and in less than three hours I was ready again to import my first template (a template I had imported before). But now, I submit the the request, and almost immediately the process aborts. (You can see in the information below, that 1 second passes between the Import request (06:32:36) and the failure.)
Thing is, it takes about three minutes, even locally on the web server, to get an index of that large file (tar tzf), and at completion, the vm config file is listed.
Am I misreading the error? My web searches for enlightenment found only one good hit on this error, and in that case it appeared to be an "out of space" issue. In this case, though, I'm importing a 5GB tarfile into a 390GB, otherwise-empty file system, so I don't think that is the issue. The failure in ovs-agent.log is below. What other information may I provide to get to the bottom of this? (Thanks for any guidance/help, of course!)
[2012-10-31 06:31:40 3341] DEBUG (monitor:36) Cluster state changed from [Heartbeating] to [DLM_Ready]
[2012-10-31 06:31:40 3341] INFO (notification:67) Notification sent: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
[2012-10-31 06:31:40 3338] INFO (notification:193) Sending notification: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
[2012-10-31 06:31:48 4914] DEBUG (service:77) discover_cluster: ()
[2012-10-31 06:31:48 4914] DEBUG (service:85) discover_cluster: call completed.
[2012-10-31 06:32:03 4926] DEBUG (service:77) storage_plugin_mount: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, {'status': '', 'uuid': 'fc3564eb-ce8b-489c-96bc-df6de2cc8a11', 'ss_uuid': '0004fb00000900003cf41964f3476788', 'size': '330279518208', 'free_sz': '330075340800', 'state': 2, 'access_grp_names': [], 'access_path': 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', 'name': 'nfs:/mnt/ps_big/repo/repo'}, '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55', None, True, [])
[2012-10-31 06:32:03 4926] INFO (storageplugin:108) storage_plugin_mount(oracle.generic.NFSPlugin.GenericNFSPlugin)
[2012-10-31 06:32:03 4926] DEBUG (NFSPlugin:353) cmd = ['mount', '-t', 'nfs', 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55']
[2012-10-31 06:32:03 4926] DEBUG (service:85) storage_plugin_mount: call completed.
[2012-10-31 06:32:03 4931] DEBUG (service:77) add_repository: ('filesrv.ps.***.com:/mnt/ps_big/repo/repo', '0004fb0000030000659e0ce6f2ecfb55')
[2012-10-31 06:32:03 4931] DEBUG (service:85) add_repository: call completed.
[2012-10-31 06:32:36 4972] DEBUG (linux:847) async call function: import_template
[2012-10-31 06:32:36 4975] DEBUG (service:77) import_template: ('0004fb0000030000659e0ce6f2ecfb55', '0004fb0000140000fdc18a572a244015', ['http://aspire/pstop/OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz'])
[2012-10-31 06:32:37 4975] INFO (notification:74) async_proc_prog: notification {ASYNC_PROC} progress PID 4975 status {'OBJECT': 'template', 'TOTAL_OBJECT_COUNT': 1, 'CURRENT_OBJECT_COUNT': 1, 'TOTAL_BYTES': 0L, 'CURRENT_BYTES': 613L, 'OPERATION': 'download'}
[2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} progress PID 4975
[2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} progress PID 4975
[2012-10-31 06:32:37 4975] ERROR (service:96) catch_error: Template import error: No VM configure file found.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/agent/service.py", line 94, in wrapper
return func(*args)
File "/usr/lib64/python2.4/site-packages/agent/hypervisor/xenxm.py", line 1041, in import_template
raise RuntimeError('Template import error: %s' % err)
RuntimeError: Template import error: No VM configure file found.
[2012-10-31 06:32:37 4975] DEBUG (linux:879) ovs_async_proc: pid 4975 status 1 output Template import error: No VM configure file found.
[2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} exit PID 4975
[2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} exit PID 4975
[2012-10-31 06:32:39 4987] DEBUG (service:77) storage_plugin_listFileSystems: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, True)
[2012-10-31 06:32:39 4987] INFO (storageplugin:108) storage_plugin_listFileSystems(oracle.generic.NFSPlugin.GenericNFSPlugin)
[2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:142) ENTER: listFileSysytems()
[2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:257) EXIT : listFileSysytems()
[2012-10-31 06:32:39 4987] DEBUG (service:85) storage_plugin_listFileSystems: call completed.
[2012-10-31 06:32:39 5005] DEBUG (service:77) discover_pool_filesystem: ()
[2012-10-31 06:32:39 5005] DEBUG (service:85) discover_pool_filesystem: call completed.How did you get the template to where you staged it?
I'd say the template is corrupt or you only have a partial template.
I did notice the call to the template is based on the short name of the host. Can you confirm the VM manager can access the http path via short name? -
What is the function module which is used to trigger email
Hi ALL,
can u send me the function module which has to trigger email when sales order was saved.
kindly send me the inputs
thanks & regards
naveen
Moderator Message: Basic Question. Thread locked.
Edited by: kishan P on Nov 11, 2010 10:56 AMHi,
This needs to coded in the Save User Exit of the Sales Order Include MV45AFZZ (USEREXIT_SAVE_DOCUMENT) and use the Function Module "SO_DOCUMENT_SEND_API1" to trigger a mail.
Please try this and let me know if any.
Regards,
Srinivas
Moderator Message: Do not answer Basic Question.
Edited by: kishan P on Nov 11, 2010 10:58 AM -
MDT 2012- Unattend.xml, or worse, No existing catalog file found.
Hello. Back again with a new issue.
MDT2012. Win 7 pro/ x64.. I've got a an issue with a recently Sysprep/Captured image. It was successfully captured with no errors, but won't deploy... citing
I initially had an issue with an Unattend.xml (the dreaded "5212 Welcome wizard failed" error) and it was suggested I:
Edited Unattend.xml file and : Navigated to the SPECIALIZE step
–highlighted “”amd64_Microsoft-windows-IE-InternetExplorer_neutral”” and
edited the “”IEWelcomeMSG”” feild, and unticked “”write image value.””
This did not resolve my issue, matter of fact, it may have made things worse, but since I'm not an expert, here I am.
The image I captured has IE11 (bad idea?) and the machine is fully patched as of a week ago. My latest error is when I got BACK to UNedit the Unattend.xml file... I'm greeted with this:
Performing operation "generate" on Target "Catalog".
Starting: "C:\Program Files\Microsoft Deployment Toolkit\Bin\Microsoft.BDD.Catalog35.exe" "C:\DeploymentShare\Operating Systems\WIN7PRO-X64-JAN29
\WIN7PRO-X64-JAN29.wim" 1 > "C:\Users\(mynameremoved)\AppData\Local\Temp\Microsoft.BDD.Catalog.log" 2>&1
No existing catalog file found.
PROGRESS: 0: Starting.
PROGRESS: 0: Creating mount folder: C:\Users\(mynameremoved)\AppData\Local\Temp\IMGMGR_WIN7PRO-X64-JAN29_WIN7PRO-X64DDrive_pnjtetms.yq5.
PROGRESS: 5: Creating temp folder: C:\Users\(mynameremoved)\AppData\Local\Temp\IMGMGR_WIN7PRO-X64-JAN29_temp_2c1hyp2l.h5y.
PROGRESS: 10: Mounting Windows image: C:\DeploymentShare\Operating Systems\WIN7PRO-X64-JAN29\WIN7PRO-X64-JAN29.wim. This might take a few minutes.
ERROR: Unable to generate catalog on C:\DeploymentShare\Operating Systems\WIN7PRO-X64-JAN29\WIN7PRO-X64-JAN29.wim: System.ComponentModel.Win32Exception:
The process cannot access the file because it is being used by another process
at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PreCreateCatalog()
at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
at Microsoft.BDD.Catalog.Program.DoCatalog()
Non-zero return code from catalog utility, rc = 2002
Then upon closing the above window, this sits behind it: ""Unable to edit the unattend.xml for this OS because no catalog could be located or generated""
I see the (an?) error regarding NO EXISTING CATALOG FILE FOUND... as well as PROCESS IN USE BY ANOTHER..
What can I do to resolve the above? And did I give you enough info here...?
Thanks!The part for the disk drivers is ignore able. It applies the image to the disk perfectly it is the unatend.xml file that is missing. Also I have it set up
so if the second disk is missing that is would keep executing. You will notice this further down the line.
I have tested this on real hardware and a VM. the log that I have posted it from a VM (I typed it out by hand). The log for the real machine is basically the same except with out the disk errors (because It has two HDDs).
Maybe you are looking for
-
When firefox crashes, or if it hangs and I have to kill it, then when I go to restart it, it tries to re-open all pages that were open at the time it crashed or was killed. This is incredibly annoying, especially if one of the visited pages caused th
-
All: How can I set FTP information (servername, username, password, directory and filename) dynamically to a FtpAdapter. Is this possible in Oracle Fusion. If so how. Thanks Praveen
-
Hello everyone, I'm somewhat new to flash and was wondering if it is possible to make a game where two individual computers play the same game against each other. If so, is there any information out there explaining the steps? I have read a lot of bo
-
Hello. Is it possible to place files into a users startup items via the Terminal? I have a need to write some UNIX scripts to configure systems, and this is part of the config. The items are Flash files which need to run when the machine logs into a
-
Port assignment for MAC mail into AOL
What port needs to be assigned for MAC Mail (MacBook Pro,Snow Leopard) to AOL?