Help! 500 No configured channel has an endpoint path '/flex2gateway/'
Hello. I have 2 servers running CF 7 and one of my customer's web sites flex app works fine with no config involved. However, the development server gives the following Error when you try and access the app:
500 No configured channel has an endpoint path '/flex2gateway/'.
No configured channel has an endpoint path '/flex2gateway/'.
Can somone please provide some insight as to what needs to be done? Thank you in advance!
You're welcome, good luck.
Sincerely,
Michael
El 30/04/2009, a las 19:28, clearbreak <[email protected]> escribió:
>
Yes. Thanks. I think the problem has to do with the flex-config.xml.
I will let you know if that is the problem. Thank you for your
suggestions and input.
>
Similar Messages
-
500 No configured channel has an endpoint path '/flex2gateway/'
We are trying to install a Flex2 app that uses remoting on
CFMX 7.02. It's the J2EE edition that runs on a JRun4 server.
Somehow the communication betweenn the server and the Flexapp won't
work. It results in an error:
500 No configured channel has an endpoint path
'/flex2gateway/'
Does anybody knows what is going on?
Thanks!Interesting to see that the problem I am having appears to be an old one.
My situation:
Flex 3 on Cold Fusion 8 on Vista (with iiS 6 ?) (laptop).
The application is one I built using one of the Flex 3 wizards. Its a simple CRUD form based on a database table.
Run for the first time, it fails with the (browser) error dialog message:
(mx.rpc::Fault)#0
content = (Object)#1
errorID = 0
faultCode = "Channel.Call.Failed"
faultDetail = "NetConnection.Call.Failed: HTTP: Status 500"
faultString = "error"
message = "faultCode:Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed: HTTP: Status 500'"
name = "Error"
rootCause = (Object)#2
code = "NetConnection.Call.Failed"
description = "HTTP: Status 500"
details = "http://localhost/flex2gateway/"
level = "error"
In the coldfusion_out.log appears the following (truncated) error message:
28/08 15:49:07 error No configured channel has an endpoint path '/flex2gateway/index.cfm'.
[1]flex.messaging.MessageException: No configured channel has an endpoint path '/flex2gateway/index.cfm'.
at flex.messaging.MessageBroker.getEndpoint(MessageBroker.java:499)
at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:427)
at coldfusion.flex.ColdFusionMessageBrokerServlet.service(ColdFusionMessageBrokerServlet.jav a:50)
The problem appears to be an old one, but I've not been able to find what must be the common solution to it.
can someone please point me in the right direction ?
Oh and yes, I am compiling with the above -services switch, and it is pointing to the location of the correct file.
Any help will be appreciated. -
No configured channel...
I'm running Apache, Tomcat, and FDS. I'm getting the message
"...No configured channel has an endpoint path /messagebroker/amf"
in a Java exception on the server. The path listed in the exception
is "/messagebroker/amf". However in my services-config.xml I've
spelled out the whole URI including the HTTP and server name
values. I compiled the .swl using this endpoint uri value.
Has anybody else run into this?
Why am I getting only a partial path name from the
MessageBrokerServlet?Interesting to see that the problem I am having appears to be an old one.
My situation:
Flex 3 on Cold Fusion 8 on Vista (with iiS 6 ?) (laptop).
The application is one I built using one of the Flex 3 wizards. Its a simple CRUD form based on a database table.
Run for the first time, it fails with the (browser) error dialog message:
(mx.rpc::Fault)#0
content = (Object)#1
errorID = 0
faultCode = "Channel.Call.Failed"
faultDetail = "NetConnection.Call.Failed: HTTP: Status 500"
faultString = "error"
message = "faultCode:Channel.Call.Failed faultString:'error' faultDetail:'NetConnection.Call.Failed: HTTP: Status 500'"
name = "Error"
rootCause = (Object)#2
code = "NetConnection.Call.Failed"
description = "HTTP: Status 500"
details = "http://localhost/flex2gateway/"
level = "error"
In the coldfusion_out.log appears the following (truncated) error message:
28/08 15:49:07 error No configured channel has an endpoint path '/flex2gateway/index.cfm'.
[1]flex.messaging.MessageException: No configured channel has an endpoint path '/flex2gateway/index.cfm'.
at flex.messaging.MessageBroker.getEndpoint(MessageBroker.java:499)
at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:427)
at coldfusion.flex.ColdFusionMessageBrokerServlet.service(ColdFusionMessageBrokerServlet.jav a:50)
The problem appears to be an old one, but I've not been able to find what must be the common solution to it.
can someone please point me in the right direction ?
Oh and yes, I am compiling with the above -services switch, and it is pointing to the location of the correct file.
Any help will be appreciated. -
Help! my friends daughter has spent £500 on an application and I ahve no money!!
please can someone help? my friends daughter has spent £550 on some childrens app buying treats and in-app credits!! I have had my fraud department on from my bank and I do not know what to do?! Is anyone from apple out there to help? I cant afford to buy food, pay the mortgage or my bills!
Sorry for your situation.
#1 You should have restrictions set on the device. Information can be found here http://support.apple.com/kb/HT4213
#2 Contact Apple directly at 1-800-MY-APPLE and they should be able to direct your call, or give you the correct department contact information. This area is peer to peer user support. We do not work for Apple.
Update: Make sure your device has the latest iOS update. This issue of in app purchases by children was addressed in the last (of this post) update. -
How to configure channels with Spring-Flex?
Newbie here trying to get my first Flex/BlazeDS app up and running. I'm using the Spring-Flex integration and believe I have properly configured my servet and remoting destinations. My only remaining questions relate to how to configure the channels.
The use of the Spring/BlazeDS integration means that I do not have to have a remoting-config.xml file anymore. But it the documentation is unclear as to whether I need to configure my channels within a services-config.xml file still.
If I do need a services-config.xml file (and I think I do), how does one get away without hard coding the server URL? I've seen samples on the web like:
url="https://\{server.name\}:\{server.port\}/flex2gateway/cfamfsecure"
But I don't get when/where/what does the dynamic substituion? They almost look like Maven or Spring properties, but they can't be. Is this just something that has to be manually changed after installation?
Finally, I really don't like the idea of compiling the Flex client against a server-side configuration file as I have seen suggested on the web. How would one go about have the Flex client discover - or otherwise figure out what it needs to do dynamically?
Sorry for the multi-question post....thanks for any help!You could load that info from an XML file as described below. I took this from the doc.
To further externalize configuration, you can pass the endpoint URL value to the client at runtime. One way to do this is by reading a configuration file with an HTTPService component at application startup. The configuration file includes the information to programmatically create a channel set at runtime. You can use E4X syntax to get information from the configuration file.
The following MXML application shows this configuration file technique:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
applicationComplete="configSrv.send()">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.messaging.channels.AMFChannel;
import mx.messaging.ChannelSet;
import mx.rpc.events.ResultEvent;
private var channelSet:ChannelSet;
private function configResultHandler(event:ResultEvent):void
var xml:XML = event.result as XML;
var amfEndpoint:String = "" + xml..channel.(@id=="amf").@endpoint;
if (amfEndpoint == "")
Alert.show("amf channel not configured", "Error");
else
channelSet = new ChannelSet();
var channel:AMFChannel = new AMFChannel("my-amf", amfEndpoint);
channelSet.addChannel(channel);
ro.channelSet = channelSet;
ro.getProducts();
]]>
</mx:Script>
<mx:HTTPService id="configSrv" url="config.xml" resultFormat="e4x" result="configResultHandler(event)"/>
<mx:RemoteObject id="ro" destination="product"/>
<mx:DataGrid dataProvider="{ro.getProducts.lastResult}" width="100%" height="100%"/>
</mx:Application>
The MXML application reads the following configuration file:
<?xml version="1.0" encoding="utf-8"?>
<config>
<channels>
<channel id="amf" endpoint="http://localhost:8400/lcds-samples/messagebroker/amf"/>
</channels>
</config> -
JDBC reveiver channel has reached maximum concurrency
Hi Guys,
We have an XI environment with around 50 Proxy - XI - JDBC scenarios, all using the same JDBC receiver communication channel that has been set up to update a Microsoft SQL DB. It may be the case that some scenarios are running concurrently, and we get the following error in CC Monitoring:
"Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level"
However, after some retries, messages are processed successfully at the receiver DB side.
After some research, I found out that I have to change Maximum Concurrency Parameter, in JDBC receiver CC configuration. Currently this is set to default value "1".
Do you have any ideas what value I have to insert ? Are there any other parameters e.g. in VA, that have to be changed in order to overcome this issue ?
Thank you.One more JDBC channel
Do not create another channel for the same DB/ scenario.....you will be increasing load on XI/ PI server for no use....and it wont help you either.....you will end up having one more channel fighting with other channels to get resources -
Channel has not been correctly initialized
Hi,
I am doing a mail 2 file scenario and facing this error at the reciever file adapter monitoring:
Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages.
Please help.Hi All,
Actually, my scenario is like i am picking a .csv attachment from an incoming mail and saving this file at a server. As the file format of my sorce and message is csv only i am not using any desgn objects here.
Currently i am using Message Protocol : File.
NOw, please suggest me do i need to use FCC configuration to save the file in .csv format.
Also, as required by Divija I am pastng my error as seen in CC monitoring-->audit log :
15.01.2008 14:04:06 Success Connect to FTP server "12.16.14.24", directory "/tmp"
15.01.2008 14:04:07 Error Attempt to process file failed with sun.io.MalformedInputException
15.01.2008 14:04:07 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: sun.io.MalformedInputException
15.01.2008 14:04:07 Error Exception caught by adapter framework: null
15.01.2008 14:04:07 Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: sun.io.MalformedInputException.
15.01.2008 14:04:07 Success The asynchronous message was successfully scheduled to be delivered at Tue Jan 15 14:09:07 GMT+05:30 2008.
15.01.2008 14:04:07 Success The message status set to WAIT.
Please help. -
Hello Friends,
I need your help to configure my voice setup.I have two location connected with a point-to-point leased line. Both the ends have different brand pbx installed. One is connected with R1 with the help pf a T1 voice card and Other is connected with R2 with the help of a E1 card. I am giving an attachment of the scnerio. Please help me to configure the cisco 3640 routers with H.323 gateway. I will be very thankful to you.My bosses has given me this work to do. Now I need your help. I have some exerience to configure E1 and T1 cards also have some knowledge of configuring dial pears.
Thanks.Ok, this was the 2nd thing I was just about to recommend, and that was to not Trunk due to the E1/T1 limitation and just terminate and route everything H323. Both sides are CAS, just one is E&M Immediate and the other is R2-Digital. Unlike the 1st document I linked you are not trunking the connections you are using a PLAR to a voice-port. Essentially you are using a H323 dialplan to do this in a limited fashion.
Unfortunately CAS doesn't support ANI unless you use FGD or FGD-EANA on the T1 side Router and PBX. Not totally sure on the R2 side but I believe you need to configure your PBX and R2 router to use R2-Digital Compelled, non-compelled or semi-compelled to get ANI information on that side.
Reference these documents.
http://www.cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00800e2560.shtml
http://www.cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00800943c2.shtml
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124tcr/tdia_r/dia_d2ht.htm#wp1010243
Please rate any helpful posts
Thanks
Fred -
I store different channels in a TDMS file.
I like to have a time channel at the first position with group index 1 and number 1.
When I read the TDMS file with DIADEM the time channel (Float64) is on a differernt position, and the channels are not sorted alphabetically.
Here are my questions:
How does DIADEM import TDMS files?
How gets every channel his number and groupindex?
How can I determine which channel has which groupindex and number?
Best regards
JoergHi Jörg,
i suppose that you´re programme whose create the *.tdms file is writing on false position. Try to create datas with timechannel on first indes in diadem, then save it and then open it again. you see that all is correct. So please tell me what programm in what version do you use and please attache it here.
Did you use the library for creating *.tdms files like in the link ?
http://zone.ni.com/devzone/cda/tut/p/id/6471
Here you find the gtdms_8.x.zip - when you extract it and opened the *.llb you find vi´s for all functions e.g. writing 2d array of strings to *.tdms file
when you open the subvi´s then you see how created and writing datas/structure to *.tdms files. Because *.tdms is binary you can´t see structure with open it in editor.
When you don´t have Labview you can use the 30 days test of current version 8.5 under following link
german version download link
https://lumen.ni.com/nicif/d/lveval/content.xhtml
english version download link
https://lumen.ni.com/nicif/us/lveval/content.xhtml
Hope it helps
Best Regards -
Hello All,
Wish You Happy New Year to All in advance.
while accessing the share point site i got the error message
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The element <forms> may only appear once in this section.
Source Error:
Line 104: <!--<forms loginUrl="/_layouts/log-in.aspx" />-->
Line 105: <forms loginUrl="/_layouts/log-in.aspx" />
Line 106: <forms loginUrl="/_layouts/log-in.aspx" />
Line 107: <forms loginUrl="/_layouts/log-in.aspx" />
Line 108: </authentication>
Source File: C:\Inetpub\wwwroot\wss\VirtualDirectories\4545\web.config Line:
106
Version Information: Microsoft .NET Framework Version:2.0.50727.3662; ASP.NET Version:2.0.50727.3658
i have found event message in the event log
Event code: 3008
Event message: A configuration error has occurred.
Event ID: 523cefee6a0943948cf01b4e9f476fff
Event sequence: 77
Event occurrence: 76
Event detail code: 0
Exception information:
Exception type: ConfigurationErrorsException
Exception message: The element <forms> may only appear once in this section. (C:\Inetpub\wwwroot\wss\VirtualDirectories\4545\web.config line 106)
Request information:
Request URL: http://beesppesxapp70:4545/_vti_bin/sitedata.asmx
Request path: /_vti_bin/sitedata.asmx
User host address: 172.16.20.80
User:
Is authenticated: False
Authentication Type:
Thread account name: abc\wss_setup
Thread information:
Thread ID: 1
Thread account name: abc\wss_setup
Is impersonating: False
Stack trace: at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
at System.Web.Configuration.RuntimeConfig.get_Authentication()
at System.Web.Security.FormsAuthenticationModule.Init(HttpApplication app)
at System.Web.HttpApplication.InitModulesCommon()
at System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers)
at System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context)
at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
kindly advise me
Thank a lot in advanceHi,
As per the error logs it seems you have the Form element twice in your web config file. Just take one or the other one out. if you did any changes in web. config file please share and elaborate little more about the changes if you have made recently before
the error.
Krishana Kumar http://www.mosstechnet-kk.com
Please mark the replies and Proposed as answer if they help and solve your issue -
Error while configuring channels in B2B 11g
Hi b2bgurus,
I am implementing RosettaNet protocol in 11g. 3C3 Invoice Notification. While configuring channels i got this following error:
"Messages for this page are listed below.
Acme_Custom_V02.00_Invoice_Notification_Outbound is not valid. Please correct the following errors.
Error -: B2B-52255: Certificate alias not specified in the secure delivery channel Acme_Channel.
Error -: B2B-52326: Transport protocol with https url has to have valid keystore location and password in host "
I get the above error while I provide http url as input. Do we have a protocol where we can provide https url?
Please explain i am new to B2B.
Thanks in advanceget this error when i provide the url while channel creation. SSL is enabled by using BIG IP. Hence preparation of Key store is not requiredYou understanding is not correct. If you are initiating a SSL connection from Oracle B2B (by giving a HTTPS URL in delivery channel), then you have to configure identity and trust store in your Weblogic servers (SOA server) and you have to configure keystore on Oracle B2B console as well. As I mentioned earlier also refer the blog (http://anuj-dwivedi.blogspot.com/2010/10/enabling-ssl-on-oracle-b2b-11g.html) and perform the required steps.
If you don't configure a keystore then you CAN NOT initiate a SSL connection from Oracle B2B.
If you want Big IP to handle SSL then from Oracle B2B you have to initiate a plain HTTP connection and at BIG IP you have to route the request to the respective HTTPS channel (which I am not sure is possible though I am not familier with BIG IP)
Regards,
Anuj -
Help required in configuring counting rule
I have limited experience in SAP-HR configuration. Kindly help me quota configuration. The client has only absence type u2013 Earned Leave. The leave rule is the same for all the employees. The leave rules are:
1. The employees are credited with earned Leave on Jan 1 every year, for the attendance days put in during the previous calendar year.
2. The employee is eligible for Earned Leave only if he has attendance for at least 240 days during the previous year. If the employee has joined the company during the middle of the previous year, then he should have attendance for at least 2/3 of the remaining working days during the year.
3. The employee should be credited with 1 day EL for every 20 working days. If the employee, for example, has worked for 268 days during the year then he should be credited with 13 days EL (268/20=13, with 8 days as remainder). The remainder days, if any, should be carried forward to the next year and considered at that point as added to the number of working days. E.g. employee has worked for 268 days in year 2010. He will be credited with 13 days EL on 1 Jan 2011. Assume he has worked for 256 days in year 2011. Then while creating the absence quota for EL on 1 Jan 2012, the system should consider working days as 256 (from year 2011) + 8 (remainder from year 2010) = 264. Hence the employee should be credited with 13 days of EL on 1 Jan 2012 (264/20 = 13 days; 4 days remainder).
4. Leave carry forward rules: The employee is allowed to carry forward the EL balance to the next year. However, after carry forward the total balance should not go beyond 30 days. Any thing in excess of 30 days will get lapsed, if it is not encashed.
Kindly let me know how to configure the counting rule & the deduction rule for the above scenario.Hi
Configuring of EL need PCR Calculation and Standard Configuration with time Types
000010 D VARSTCURMO
000020 ** COLOP*
000030 04 D VARSTFDYPP
000040 04 N
000050 04 Y D HRS=0 HRS=FR11C HRS?300
000060 04 Y *
000070 04 Y < D HRS-300 HRS*-1 ADDDB9509 ADDDB9558 HRS?15
000080 04 Y < * Z HRS=0 HRS=M9500 GCY ZAC2
000090 04 Y < < Z GCY ZAC3
this when u go for GCY ZAC2
D HRS?10
D HRS/10 ROUNDH<60HHRS?CELACR
* D HRS-CELACRHRS?0
* * HRS*-1 ADDDB9501
* > HRS=0 ADDDB9500ZADDMB9500ZADDDB9501ZADDMB9501Z
> HRS=0 ADDDB9500ZADDMB9500ZADDDB9501ZADDMB9501Z
< HRS=0 HRS=CELACRADDDB9501 HRS=0 ADDDB9500ZNEXTR A
< A ADDMB9500Z
This when u click ZAC3
000010 D HRS=0 HRS=M9500 HRS?10
000020 * HRS/10 ROUNDH<60HADDDB9557 HRS-D9509 ADDDB9556 NEXTR A
000030 * A D HRS*-1 HRS?0
000040 * * COLOP*
000050 * > ADDDB9501 HRS=0 ADDDB9500ZADDMB9500ZADDDB9509ZNEXTR A
000060 * > A ADDMB9509Z
000070 < HRS=0 HRS=M9509 ADDDB9501 HRS=0 ADDDB9500ZNEXTR A
000080 < A ADDMB9500ZADDDB9509ZADDMB9509Z
This PCR is for EL with 300 Limit
Regards
Raja Sekhar -
RfcAdapter: receiver channel has static errors: can not instantiate RfcPool
HI,
While transferring the project from SAP system to PRIMVERA (third party system) system, iam getting the following error:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.adapter.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.adapter.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=192.168.215.138 SYSNR=02 GWHOST=192.168.215.138 GWSERV=sapgw02 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '192.168.215.138apgw02' not reached TIME Sun May 01 06:10:03 2011 RELEASE 710 COMPONENT NI (network interface) VERSION 39 RC -10 MODULE nixxi.cpp LINE 3133 DETAIL NiPConnect2: 192.168.215.138:3302 SYSTEM CALL connect ERRNO 10060 ERRNO TEXT WSAETIMEDOUT: Connection timed out COUNTER
experts, kindly help me out in resolving this issue.
Regards,
Saipartner '192.168.215.138apgw02' not reached
Well if you ask me, theres something seriuosly wrong with above "partner", review the config of the RFC/JCO,
also you could add more details as above info on its own is not enough to give you and objective answer
Regards
Juan -
Hello,
Alert: The backup operation for the cluster configuration data has been canceled due to an abort request
Alert description: The backup operation for the cluster configuration data has been canceled. The cluster Volume Shadow Copy Service (VSS) writer received an abort request.
This is the backup of VSS which is sending this alert every morning.
Event ID 1544
All fixes I found are applied..
kb2277439 has already been applied
978527 is there too
975921 is there too..
any other id
Cluster Node /Status gives both nodes up A & B
The error is coming only on Node A...
Any idea?
Thanks,
Dom
System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity ManagerHi,
Which backup software do you use to do a backup? Please also try to apply those hotfix on the Cluster:
A transient communication failure causes a Windows Server 2008 R2 failover cluster to stop working
http://support.microsoft.com/kb/2550886
The network location profile changes from "Domain" to "Public" in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/kb/2524478
Recommended hotfixes and updates for Windows Server 2008 R2 SP1 Failover Clusters
http://support.microsoft.com/kb/2545685/EN-US
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
CONFIGURE CHANNEL DEVICE TYPE DISK doesn't function
Dear all,
I have a problem with a backup.
Facts:
OS: SunOS hod 5.10 Generic_142901-03 i86pc i386 i86pc
Oracle 11.2.0.1 with RAC
So, Although i put in rman parameters section the CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rman/backups/%U'; the backup was done but in FRA that is located in
BS Key Type LV Size Device Type Elapsed Time Completion Time
36 Incr 0 210.82G DISK 10:32:57 24-JAN-13
BP Key: 36 Status: AVAILABLE Compressed: YES Tag: TAG20130123T210005
*Piece Name: +DATA/db_name/backupset/2013_01_23/nnndn0_tag20130123t210005_0.442.805496407*
List of Datafiles in backup set 36...
ANd my question is:
How, although i configure that the backups would be in /rman/backups/%U this was located in +DATA (fRA) ??
what im doing wrong ??
Thanks for your help.thanks for your answer: here is my rman script. We invoked the script like this: rman_db_script.sh SID 0
#!/bin/ksh
function email_dba
if [ -s $email_file ]
then
subj="$prog: FAILED on $sid@$box at `date`"
while read dba_id
do
mailx -s "$subj" $dba_id < $email_file
echo "mailx -s "$subj" $dba_id "
done < /oracle/app/oracle/dba/util/motifylist.txt
fi
# set and check
function set_and_check
ps -ef | grep ora_pmon_$sid | grep -v grep > /dev/null
rc=$?
if [ $rc != 0 ]
then
echo "$prog: database $ORACLE_SID is not online" >> $log_file
echo "$prog: database $ORACLE_SID is not online" >> $email_file
# email_dba
exit 1
fi
rtime=`date '+%Y%m%d_%H%M'`
ORACLE_BASE=/opt/app/oracle
ORACLE_HOME=/opt/app/oracle/product/11.2.0/dbhome_1
export ORACLE_HOME
PATH=$ORACLE_HOME/bin:$PATH
export PATH
logdir=/opt/oracle/logs
log_file=$logdir/$prog.$sid.level${bk_level}.log.$rtime
email_file="$logdir/$prog.email.$sid"
cat /dev/null > $email_file
box=`hostname`
orauser=oracle
bk_dir=/rman/backups/$sid
echo "===== `date '+%Y%m%d %H:%M:%S'` $prog: Started =====" > $log_file
backup_type="INCREMENTAL LEVEL $bk_level"
# find $logdir -name $prog.*.log.* -type f -mtime +10 -exec /bin/rm -f {} \;
# find $bk_dir -name ctl.* -type f -mtime +10 -exec /bin/rm -f {} \;
echo "ORACLE_SID=$ORACLE_SID" >> $log_file
echo "ORACLE_USER=$orauser" >> $log_file
echo "ORACLE_HOME=$ORACLE_HOME" >> $log_file
echo "BACKUP TYPE=$backup_type" >> $log_file
return
# backup database and archive logs to disk
function backup_dbs_to_disk
echo "===== Backup $sid to FRA Started At `date` =====" >> $log_file
$ORACLE_HOME/bin/rman nocatalog << rman_cmd >> $log_file 2>&1
connect target
# se haran en el directorio sgte no en el FRA
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rman/backups/%U';
#CONFIGURE CONTROLFILE AUTOBACKUP ON;
run
ALLOCATE CHANNEL ch1 TYPE disk ;
BACKUP $backup_type
filesperset 10
DATABASE;
sql 'alter system archive log current';
BACKUP filesperset 10 ARCHIVELOG ALL DELETE ALL INPUT;
sql "alter database backup controlfile to trace as ''$bk_dir/ctl.trc.$rtime''";
sql "alter database backup controlfile to ''$bk_dir/ctl.$rtime'' reuse";
RELEASE CHANNEL ch1;
#CONFIGURE CONTROLFILE AUTOBACKUP OFF;
rman_cmd
rc=$?
if [ $rc != 0 ]
then
echo "Backup $sid to Disk Failed At `date`" >> $log_file
echo "Backup $sid to Disk Failed At `date`" >> $email_file
email_dba
exit 1
else
echo "===== Backup $sid to Disk Completed At `date` =====" >> $log_file
fi
return
# delete obsolete backups
function del_obsolete_bk
echo "===== Delete Obsolete Backups Started At `date` =====" >> $log_file
$ORACLE_HOME/bin/rman nocatalog << rman_cmd >> $log_file 2>&1
connect target
ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE DISK;
Report obsolete;
delete force noprompt obsolete;
rman_cmd
rc=$?
if [ $rc != 0 ]
then
echo "Delete Obsolete Backups Failed At `date`" >> $log_file
echo "Delete Obsolete Backups Failed At `date`" >> $email_file
email_dba
exit 1
else
echo "===== Delete Obsolete Backups Completed At `date` =====" >> $log_file
fi
return
# main program
if [ $# -ne 2 ]
then
clear
echo "\nIncorrect argument, ORACLE_SID Backup_Level needed\n"
echo "\nUsage: $0 ORACLE_SID BACKUP_LEVEL(0/1)\n"
return 1
fi
sid=$1
bk_level=$2
diff_cum=$3
# prog=`basename $0`
prog=rman_backup_dbs.sh
export debug='N'
if [[ $debug = 'Y' ]];then set -x;fi
unset ORACLE_SID
unset ORACLE_HOME
unset SQLPATH
ORACLE_SID=$sid
export ORACLE_SID
set_and_check
backup_dbs_to_disk
del_obsolete_bk
echo "===== `date '+%Y%m%d %H:%M:%S'` $prog: Completed =====" >> $log_file
subj="$sid@$box backup completed successfully at `date`"
# while read dba_id
# do
# mailx -s "$subj" $dba_id < $log_file
# done < /oracle/app/oracle/dba/util/backup/scripts/email_dba.list
return 0
# end program
#############################################################################
Maybe you are looking for
-
Do i need to subscribe again if i want to use adobe acrobat on my new computer??
-
Resetting a JLabel with setIcon
i have a JPanel and a JLabel in it.. the program creates a chart and a jpeg image of a chart in a particular location. i want to load the jpeg image (i create an image icon of the jpeg chart) and on the click of a button i do a JLabel.setIcon(imageIc
-
Strange glitch--pls help. Yesterday, I bought an hdm cord and adapter so it would fit into my MacBook Air. I also bought a separate speaker system. When I set it up, it worked perfectly. I had to disconnect my MacBook and when I set everything up, it
-
Hi All, I am trying to access a document literal client service exposed by tibco business works. I modified the sample/jax-rpc/advanced/DIIHelloClient.java to access the service. I am stuck up now in this problem regarding serializers. ( i donno why
-
Urgent: How to Delete all Cards for a Crawler through SQL
Folks, Good morning! I am trying to delete 2 million cards (should have been expired, and makes the search index rebuild take days) in a single folder in the Knowledge Directory in the 6.1 portal. The job to delete the folder ("Apply Later") has been