Running the command in the remote nodes scandisks
Version of grid infrastructure: 11.2.0.4
Platform: Oracle Linux 6.4
We have a cluster of CARS in production at 3 knots. We have created a group RAC 3 - node test for cloning for purposes
We are the automation level of SAN cloning of production test. After that the guys from Hitachi, take a snapshot of diskgroup production LUNS they present LUNS to the RAC cluster test. When testing the cluster, please proceed as follows to make cloning
Step 1. In node 1, run
/etc/init.d/oracleasm scandisks
Step 2. In Node2 run
/etc/init.d/oracleasm scandisks
Step 3. In Node3, run
/etc/init.d/oracleasm scandisks
Step 4.
srvctl start diskgroup g < Name_DG > - n Node1
srvctl start diskgroup g < Name_DG > - n Node2
srvctl start diskgroup g < Name_DG > - n Node3
Step 5. Finally, start the beginning of the database the database test by using clustering
srvctl start database-d MANHPRD
Since a shell script, I would like to run the above1step,2 and 3 of Node1 in sequential order as shown above. How can I do this? I'm not worried about step 4 and 5, as it can be run from all nodes.
Page Hello,
Why not use ssh? very simple
node 1:
SSH root@node2 /etc/init.d/oracleasm scandisks
take note of the guy! Comment
edited: take a look at Tobi & #39; s Oracle DBA & amp; Blog of UNIX: Cloning ASM Diskgroup to create the database Clone
Tags: Database
Similar Questions
-
We have a 12 c ODI architecture using a dedicated server of 12 c of WebLogic running a J2EE agent and a DB of the ODI repository server. For this we have a warehouse of data on a separate server.
We need to run commands to move, copy, compress and preprocess the operating system files. On previous implementations that we just used the standard ODI-utility commands such as ODIFileMove and ODIOSCommand, as the location where files that needed to be addressed and shell scripts on shared storage that had a mount up on the Weblogic ODI server where the agent is running. However, on the current implementation, it is not possible to have shared storage that will allow the data warehouse db and the ODI agent both see the transformation and loading files in the db (by effective means such as external Tables).
It doesn't seem to be possible to run these commands to ODI utility on a remote server named, other than:
(a) have mounted shared storage - and so the officer commands executed effectively on 'local' on the server directories
(b) install an autonomous remote agent and the design of the packaging takes place the remote commands in a scenario of the child and instruct the scenario of the child to use a separate agent - one who is physically installed on the server where the files and shell scripts
My understanding is correct?
I'm not keen on an autonomous agent on the remote server if it can be avoided, because it means lose us some benefits and resilience of the use of J2EE agent on the dedicated server in Weblogic - also we simply may not be able to install an autonomous agent ODI (let alone a J2EE one) on the remote location.
see you soon,
John
Hi jhall_uk_redux,
Indeed, these are the two typical approaches. Now, you can also run some commands FTP using OdiFtp or OdiSftp ODITools, but this only works for the management of the core files.
For more advanced things you can do is have a shell script that is located in a place that can reach your agent JEE. In this shell script, you can use ssh to connect to the remote location and run a command (or call another script shell on the distance).
I see that you have some Questions on the forum. It's a good thing to shut them down if they are resolved or follow-up if it is still pending. Encourages us to support you in the future.
Best regards
JeromeFr
-
How can I run the remote registry service in Windows Server 2003?
original title: How do I run the remotley remote registry service? I'm unable to open a session
I'm on windows 2003 R2 server, when I connect automatically to this topic still disconnects once, I'm remotley to change the registry, but the remote registry service does not work, how to run from a computer on the network, because I can not connect?
Why you ask a question of Server Windows in a Windows XP forum?
Post in the Windows Server Forums:
http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/ -
Friends,
as I prove the Manager remotely to run successfully.
I followed the installation documentation and start the remote remotemanager.bat Manager, then when I can prove that it is running, it loads a console and designer
Thank you.Remote Manager allows you to run code on a remote box. You can create a jar file that performs a task. Copy it to the JavaTasks folder on the server of the IOM and the Manager remote server. When you perform your connection by using a resource, you select a remote control for the type of task, then it shall provide the values of Manager remotely as well as the resource.
An example of what it does: Let's say a 3rd party host your servers, but they can not just open all the ports you need. Instead, you install remote manager and then they have to open 2 ports Manager remotely (if you are using SSL) and all information will be sent through this port.
You can test that it is running by accessing the console design and open distance element manager to make sure it contains running.
-Kevin
Give points where points are earned -
Cannot run the remote procedure
Hello
I have a procedure in the schema on the database A system.
I am trying to run this database stopred B procedure.
I have DBLINK from B to A.
I get the following error:
Please advice.SYS> begin 2 system.get_ehcc_cr(2)@a; 3 end; 4 / system.get_ehcc_cr(2)@a; * ERROR at line 2: ORA-06550: line 2, column 24: PLS-00103: Encountered the symbol "@" when expecting one of the following: := . ( % ;
Thank youand once you follow the suggestion of Hoek, try this...
begin some_other_user_schema.get_ehcc_cr@a_your_remote_database_sid(2); end; /
-
had a problem with the remote office, locking of the time-out and the remote host
I have two computers that both are connected to the network of my company. Both computers have Windows XP Professional Version 2002 Service Pack 2 installed. Both computers were set up for remote desktop connection.
Computer A is a desktop unit and computer B is a portable device.
Computer A, I can run the remote desktop to computer B without any problem.
When I run the desktop remotely from computer B to computer A:
-I see the typical login screen
-After I typed the user name and password, and then after about 30 seconds, I got the message delay: "the remote connection has expired. Please connect to the remote computer again. »
-at this point, the computer A's lock-up, does not have a mouse or a keyboard. the only way out is turning the device off.I spent hours on the website of microsoft looking for possible solutions, but can't find.
According to some suggestions, I have disabled "Symantec Endpoint protection" and "Microsoft Office Communicator", but it did not help.
Any help is appreciated.
Check out this thread
http://en.community.Dell.com/forums/t/19271963.aspx
-
is there no workaround solution - remote nodes do not ping
I joined two FSCM 9.1 and 9.0 HRMS applications. all nodes have been added as nodes of trust and authentication type is password, all passwords are the same and four nodes share the same user that ID PSINT defined on both the database. the problem is that I'm not able to ping remote nodes, but the Local are pinging very well, but when I logged in PIA of the two applications with PSINT, everything works fine. I understand that this happens because being defined by the user that the pings not on the target of the DB. the error indicates the that username is not defined in the database. (158.55).
Version of the same tools - 8.50
is there a workaround or patch for fixing?You must read more about integration.
http://docs.Oracle.com/CD/E38689_01/pt853pbr0/Eng/PT/TIBA/concept_UnderstandingNodes-fe7eba.html
http://docs.Oracle.com/CD/E38689_01/pt853pbr0/Eng/PT/TIBA/task_ConfiguringNodes-fe7eb5.html
http://docs.Oracle.com/CD/E38689_01/pt853pbr0/Eng/PT/TIBA/task_PingingNodes-e37fde.html
http://docs.Oracle.com/CD/E38689_01/pt853pbr0/Eng/PT/TIBA/task_ManagingUserAuthentication-fe7e3f.html#ExcludingPeopleSoftAuthenticationTokensinOutboundRequeststoPeopleSoftNodes-097f61__pt002dd7bDefault User ID: On inbound integrations, this is the user ID that the sender must specify to invoke a service operation, unless you have set up an external user ID for this purpose. On outbound integrations, this is the default user ID sent with the service operation.
Note that this default is, in fact, if no one else is specified. On the outgoing side when a message is created, say change a password from the user, the user who creates the action will be sent as the ID, the user must then be at the reception, other wise, you receive an error indicating that the user does not exist or something to that effect. Even on entering, if a message arrives without ID say a 3rd party app, the message will be executed in the context of the user by default on the node. Many store did not like the passage to this behavior in 8.48 and as a work around you'll see nodes remote to peoplesoft has changed "external" "PIA" type This indicates to the sender system not to send this user id because it is a 3rd party who would not understand it, and then at the reception, no user is specified then it falls to the default id on the node. To 8.50, they added a feature to replace the service operation (see above documentation). Most of the places I was already outside set of nodes and not want to modernize all operations that they already use (does difficulty whats not broken).
Apply that knowledge to your current problem. I can't understand if you are saying the ping worked as PSINT or not, but the created for the node ping message is sent with the username that you are connected as and if not not PSINT that user exists in both systems with a similar title to run the operation? If you want to do this work without properly adding the user to both sides, a. set the definition of the remote node type "external" or (B) the search operation and check the box exclude token. In addition, the ANONYMOUS node sometimes comes to play, you must set a default user id here as well.
Read the full doc: http://docs.oracle.com/cd/E38689_01/pt853pbr0/eng/pt/tiba/task_ManagingUserAuthentication-fe7e3f.html documentation, such that it explains pretty well I think.
-
WLST - do not run the command nmConnect() / Manager node becomes unreachabl
Hello guys,.
I am facing a few questions to set up certain configurations of an application I deployed on weblogic 10.3.3.0.
One of the steps required to configure this application is open the WLST offline, run 2 commands:
*/BEA/mytrack/wlserver_10.3/common/bin/WLST.sh*
Then I try to connect in the nodemanager:
* wls: / offline > nmConnect ('admin30800', 'weblogic_password', port = '30801', domainName = 'track30800') *.
Returns the following error:
Connection to the node Manager...
< July 13, 2011 2:23:45 PM CDT > < opinion > < security > < BEA-090898 > < without taking account of the approved CA 'CN is thawte Primary Root CA - G3, OR = (c) 2008 thawte\, Inc. - authorized only use, OR = Division Certification Service, O = thawte\, Inc., C = US ". Loading certificate trust list triggered a certificate of analysis exception PKIX: OID not supported in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11. >
< 13 July 2011 2:23:45 PM CDT > < opinion > < security > < BEA-090898 > < without taking account of the approved CA ' CN = T-TeleSec GlobalRoot class 3, OU = T - Systems Trust Center, O = T - Systems Enterprise Services GmbH, C = OF. Loading certificate trust list triggered a certificate of analysis exception PKIX: OID not supported in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11. >
< 13 July 2011 2:23:45 PM CDT > < opinion > < security > < BEA-090898 > < without taking account of the approved CA ' CN = T-TeleSec GlobalRoot class 2, OR = T - Systems Trust Center, O = T - Systems Enterprise Services GmbH, C = OF. Loading certificate trust list triggered a certificate of analysis exception PKIX: OID not supported in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11. >
< 13 July 2011 2:23:45 PM CDT > < opinion > < security > < BEA-090898 > < without taking account of the approved CA 'CN = GlobalSign, O = GlobalSign, OU = GlobalSign Root CA - R3. Loading certificate trust list triggered a certificate of analysis exception PKIX: OID not supported in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11. >
"" < 13 July 2011 2:23:45 PM CDT > < opinion > < security > < BEA-090898 > < without taking account of the approved CA "OU = safety Communication RootCA2, O = SECOM Trust Systems CO.\,LTD.,C=JP. Loading certificate trust list triggered a certificate of analysis exception PKIX: OID not supported in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11. >
< 13 July 2011 2:23:45 PM CDT > < opinion > < security > < BEA-090898 > < without taking account of the approved CA ' CN = VeriSign universal Root Certification Authority, OR = (c) 2008 VeriSign\, Inc. - For authorized use only, OU = VeriSign Trust Network, O = VeriSign\, Inc., C = US ". Loading certificate trust list triggered a certificate of analysis exception PKIX: OID not supported in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11. >
< 13 July 2011 2:23:45 PM CDT > < opinion > < security > < BEA-090898 > < without taking account of the approved CA 'CN = AC KEYNECTIS ROOT, OU = ROOT, O is KEYNECTIS, C = EN ". Loading certificate trust list triggered a certificate of analysis exception PKIX: OID not supported in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11. >
< July 13, 2011 2:23:45 PM CDT > < opinion > < security > < BEA-090898 > < without taking account of the approved CA 'CN = GeoTrust Primary Certification Authority - G3, OR = (c) 2008 GeoTrust Inc. - only for authorized usage, O = GeoTrust Inc., C = US'. Loading certificate trust list triggered a certificate of analysis exception PKIX: OID not supported in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11. >
Traceback (innermost last):
Folder "system <>", line 1, in?
File '< iostream >", line 123, in nmConnect
File '< iostream >", line 646, in raiseWLSTException
WLSTException: An error occurred when executing nmConnect: unable to connect to the Node Manager. : Access denied to the field 'track30800' for the user 'admin30800'
I did some research and found this thread here: http://kr.forums.oracle.com/forums/thread.jspa?threadID=788163
that solves the initial problem, but after I did the nmConnect and an storeUserConfig() order exit() the WLST, I restart the management node successfully, the node Manager becomes inaccessible.
I used the console SMA WL and access-> appdomain-> environment-> machinery-> surveillance-> State of the node Manager to check the inaccessible State.
Thanks in advance,
DavinodHi Davinod,
This issue seems to occur due to the name of user and password credentials Manager node in the console using some unwanted username and password incorrect.
Please, try the following to resolve this problem:
1. change username and password console NodeManager NodeManager and put them as well as the credentials of username/password of domain name.
2. restart the whole field, Nodemanager process after the change.Here is the procedure to change the user and password name Nodemanager console:
1. connect to the WebLogic console--> click on Domain--> go to the Security tab and advanced options.
2. change the identification information in the console for NodeManager username and password NodeManager, activate the changes.Thank you
Cree -
ASP - function Remote - error: cannot run the trigger
Hello
I tried to get my macros being run by a remote server.
It's my function file remote named "remote_test_pc.asp":
framework integrated; then
conf t
interface $INTERFACE
Description macro $TRIGGER
PC-VoIP-Port Description
switchport access vlan $ACCESS_VLAN
switchport mode access
switchport vlan voice $VOICE_VLAN
broadcast storm control level 1 k pps
multicast storm-control level 2 k pps
Storm-control action trap
no event log status link
bandwidth share SRR-queue 10 10 5 75
form of bandwidth SRR-queue 10 0 0 0
priority queue
MLS qos trust dscp
no link-status of snmp trap
spanning tree portfast
spanning tree enable bpduguard
service-policy input PO_TRUST-PHONE
output
end
FI
framework integrated; then
conf t
interface $INTERFACE
No description of macro
Description by DEFAULT-CONFIG
switchport mode access
switchport access vlan 999
broadcast storm control level 1 k pps
multicast storm-control level 2 k pps
Storm-control action trap
spanning tree portfast
No switchport voice vlan $VOICE_VLAN
bandwidth share SRR-queue 10 10 5 75
form of bandwidth SRR-queue 10 0 0 0
priority queue
MLS qos trust dscp
no service-policy input PO_TRUST-PHONE
FI
output
end
FI
And this is my config on the switch to mac-group and the macro:
!
macro auto Test group address-mac-PC
Mac 0019.9990.5509 address list
!
comprehensive treatment of the auto macro
macro auto control global detection mac address
!
automatic macro execution Test-PC remote ftp://192.168.1.11/remote_test_pc.asp ACCESS_VLAN = 123 VOICE_VLAN = 127
!
When I plug this workstation for the following syslog messages:
Switch #.
Remote_test_pc.asp loading!
[OK - 1702/4096 bytes]
Enter configuration commands, one per line. End with CNTL/Z.
Switch con0 is now available
Press RETURN to get started.
Error: Cannot run the trigger Test-PC, please check trigger exists and corresponds to the valid function
26 September 11:45:37.755: % SYS-5-CONFIG_I: configured from console by console
26 September 11:45:37.772: % AUTOSMARTPORT-5-INSERT: tty0(user id:): dispositif avec adresse mac 0019.9990.5509 détectées sur l'interface FastEthernet0/3, exécuté le Test-PC) Message
Switch #.
The port works as it should, but I wonder about the error message.
The switch is 2960 with IOS 12.2 (58) SE2.
Can someone explain what this means?
Thank you very much!
Sven
Hi Sven,
I think that you are not constantly getting this message... Ignore it for now... That have no functional impact... This has been supported in 15.0 (1) SE.
Thank you
Ankur-
-
Zombies RAC 7 while running the top command
Dear experts,
I have server integrity Rx3600 2 numbers + oracle RAC 11.2, HP - Ux 11iv3 in a RAC.
Node 1 is currently active, and the high command does not display any zombie process.
But when I run the above command on node 2, is showing 7 zombie process.
and the whole zombie has same id oracle 8891 emagent.
Please suggest how to attend to this problem. Therefore this zombie should be zero.
Kind regards
Cecile
I was checking that all processes on server support. I got the information from other departments to shut down the server in case of emergency. After the reboot, all the zombies disappeared.
I'll check above such procedures in the event of zombies detected on the server.
Thanks for all the support.
-
How to run on the remote server oracle dbv
Hello
I have oracle guard data and I want to run the dbv on the primary backup server using ssh.
I could copy to the standby server and issue a command to run the main exit and collect in/tmp/output9. But it does not log files.
/usr/Oracle/product/11.2.0.2/bin/DBV file = / usr/oracle/oradata/data004/DBA1/DBA1. TEST2_DATA.1 blocksize = 8192 feedback = 640 logfile = / tmp/output9
I also send the command run primary using the ssh to forward a string and run the day before. But no result
SSH [email protected] ' /usr/oracle/product/11.2.0.2/bin/dbv file = / usr/oracle/oradata/data004/DBA1/DBA1.» TEST2_DATA.1 blocksize = 8192 feedback = 640 logfile = / tmp/output9
Thanks in advance
Can't say much more, but it works for me... I just ran this now and this is the result.
Is your ORACLE_HOME defined correctly... should start with a slash. IE /usr/oracle/product/11.2.0.2 (typo in my initial response).
SSH username@hostname "export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1; /U01/app/Oracle/product/11.2.0/Db_1/bin/DBV file=/u02/oradata/xxxx/qradar.dbf logfile = / tmp/xx blocksize = 8192 feedback = 640 "
username@hostname's password:
DBVERIFY: Release 11.2.0.3.0 - Production on Fri Oct 24 15:10:07 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
..........
On the remote host:
username@hostname:/export/home/username: # > cat /tmp/xx.txt
DBVERIFY: Release 11.2.0.3.0 - Production on Fri Oct 24 15:10:07 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
DBVERIFY - verification starting: FILE = /u02/oradata/xxxxx/qradar.dbf
DBVERIFY - verification complete
Total Pages examined: 6400
Total number of Pages processed (data): 0
Total Pages failing (data): 0
Total number of Pages processed (Index): 0
Total Pages failing (Index): 0
Total number of Pages processed (other): 8
Total number of Pages processed (Seg): 0
Total Pages failing (Seg): 0
Total Pages empty: 6392
Total Pages marked corrupt: 0
Total Pages influx: 0
Total Pages encrypted: 0
More high block YVERT: 3445438279 (2.3445438279)
-
I came across a very strange question. I tried to create some custom vmware scripting tools, such as a new .bat file. This file contains a large number of orders, mostly as copy command "copy file://\\192.168.172.5\abc.exe c:\. ». I set this file as a custom script for Script event - power on guest operating system. Everything goes well with the bat file when I tested it. But after that I changed the State of power to power on, all other commands work fine except the copy commands in the bat file. Why? How can I make it work? Of course the problem of network. And that makes me very confused.
Hello
First copy the files on local disk was OK.
If this works for local disk, but not to a network drive, then hit you indeed a permissions issue any.
But if I run the script with tools VMware service script, the commands of copy (of the remote shared folder) failed while other controls worked well. I'm quite confused.
In fact, it is easily explained. The VMware tools service (Yes, it's a service) runs under the account Local system and by default, the local system account has no access to the network for security reasons. You can change the user of the service runs under and see if that solves your problem (very likely)
To do this, go to computer management (right-click icon desktop, select 'Manage') and open Services and Applications, service page, locate the VMware Tools service in the list. Select properties, log on to the page tabs and change account at your own Local System account. Restart the service and it should work.
--
Wil
_____________________________________________________
Visit the new VMware developers at http://www.vi-toolkit.com wiki
-
CREATE the COUPLE of INTELLIGENCE ASSETS needs to be run only on one of the MASTER nodes.
Hello world
I'm trying to perform an active replication and standby on my solaris machine.
I get the error message
Command > create the pair of Eve active dts_ttdb on "cc-qa-dts", rep_test_ttdb "ESN-t2000-4;
8130: CREATE EVE COUPLE ASSETS should only be run on one of the MASTER nodes.
The command failed.
The following note, let me know if there is no worng I did...
(1) I have created a dts_ttdb of datstore on my active node, which is 'cc-qa-dts' and also added the info on the satandby in the sys.odbc.ini file as shown below...
[DTS_ttdb]
Driver=/export/home/TimesTen/TimesTen/tt1121/lib/libtten.so
Data store = / ttvl01/TIMESTEN/dts_ttdb/ds
LogDir = / ttvl02/TimesTen/dts_ttdb/logs
PermSize = 400
TempSize = 320
AutoCreate = 0
MemoryLock = 4
DatabaseCharacterSet = AL32UTF8
########################################################################
# This examples of following definitions must be in the. odbc.ini file
# which is used for the TimesTen customer 11.2.1.
# The name of the server is defined in the TTC_SERVER attribute.
# The Server DSN is defined in the TTC_SERVER_DSN attribute.
#########################################################################
[rep_test_ttdb]
TTC_SERVER = nse-t2000-4
TTC_SERVER_DSN = rep_test_ttdb
(2) the reference is also included in active sys.ttconnect.ini to the standby server and
###############################################################
# This is a sample sys.ttconnect.ini file is used for the
# TimesTen customer. It contains entries for each server.
###############################################################
[ESN-t2000-4]
Description = TimesTen Server
Adresse_reseau = nse-t2000-4
PORT_TCP = 53389
(1) already created a user admin 'adm' with the active data store DTS_ttdb admin option
loged as a user of ADMS to create the day before active as shown below...
$ ttisql DSN = "dts_ttdb; UID = SMA; pwd = adm"
Copyright (c) 1996-2011, Oracle. All rights reserved.
Type? or 'aid' help, type "exit" to leave the ttIsql.
Connect "DSN = dts_ttdb; UID = SMA; pwd = SMA';
Successful login: DSN = DTS_ttdb; UID = SMA; DataStore = / ttvl01/dts_ttdb/TIMESTEN/ds; DatabaseCharacterSet = AL32UTF8; ConnectionCharacterSet = US7ASCII; AutoCreate=0;DRIVER=/export/home/timesten/TimesTen/tt1121/lib/libtten.so; MemoryLock = 4; LogDir = / ttvl02/TimesTen/dts_ttdb/logs; PermSize = 400; TempSize = 320; TypeMode = 0;
(Default AutoCommit = 1).
Command > create the pair of Eve active dts_ttdb on "cc - qa - dts.central.sun.com ', rep_test_ttdb 'nse-t2000-4;
8130: CREATE EVE COUPLE ASSETS should only be run on one of the MASTER nodes.
The command failed.
Command >
I get this error...
Please guid me if I left the whole procedure, also the "rep_test_ttdb" is the data store created on the side of Eve...
I am able to ping both machines to each of these respective servers...
Can somone help me solve this problem of replication...
Thank you
FIFAYou need not enter the sys.ttconnect.ini or the DSN entry (client) standby in replciation in the sys.oidbc/.ini file to activate it. These definitions shall apply client/server connectivity to the active machine to machine standby. replication uses its own separate communication mechanism for client/server connectivity.
If you have run successfully CREATE the COUPLE of EVE education ASSETS on the data store active, then you have created the replciation defitinitions. However, several additional steps are required before replciation will be operational. Rather than try my hand at them all explain you here, please take the time to read this guide of TimesTen replciation and in particular the sections on active replication / standby pair where many key concepts is explained as well as detailed procedures for the implementation and administration of a replicated environment. This isn't something which can easily be covered in a form sufficiently detailed via a forum. If you still have the problem after that then we can address specific questions here in the forum.
Kind regards
Chris
-
Unable to create the external procedure Oracle to run host commands
Trying to follow this article
http://timarcher.com/node/9
His associates to
Oracle external procedure to run commands from the host
measures
(1) mkdir-p/u01/app/usfapp/oracle_external_procs/oracle_host
2)
Author suggests to create a filebut the header file is missing from the first line... may be not not sure... it's < stdio.h >
create a file named oracle_host.c. The contents of this file will be:
#include
int RunCmd(char *cmd)
{
(System (cmd)) return;
}
(4) create the file called makefile. The contents of this file will be:
ORACLE_HOST: oracle_host.o
GCC-shared o oracle_host.so oracle_host.o
$ cat makefile
ORACLE_HOST: oracle_host.o
GCC-shared o oracle_host.so oracle_host.o
5)
Now, run the make command
The output on my server looks like:
[u01/app/usfapp/oracle_external_procs/oracle_host]
Banner@usfbannerte [TRNG] > make
GCC-shared o oracle_host.so oracle_host.o
here, I stuck... [Not able to run this step
] $ make
GCC-shared o oracle_host.so oracle_host.o
/ usr/bin/LD: oracle_host.o: relocation R_X86_64_32 against 'a local symbol' can not be used when an object shared; Recompile with - fPIC
ORACLE_HOST.o: could not read symbols: bad value
collect2: ld returned 1 exit status
make: * [oracle_host] error 1
One has an idea of what went wrong
Other links related to this is more welcomed.
Please suggest...http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:934029542973
-
I extracted to the terminal linux firefox in my own repertoire and you try to run the executable file called firefox. But he's saying "command not found".
You seem to have 64-bit Linux because Linux versions served on mozilla.org are 32-bit.
FTP://FTP.Mozilla.org/pub/Firefox/releases/21.0/Linux-x86_64/
Maybe you are looking for
-
How I have Thunderbird warn me before you empty the trash?
When I right click and choose "empty trash" I am asked is no longer a response. The removal is automatic. I want to change this back to receive messages. I can't find the solution.
-
I can't send this message in particular one.
Using MacOS 10.11.5 and Mail 9.3. I wrote it a message that will not send. I can send other messages and messages are incoming normally. There's just this tha message of the origin of the problem. It contains attached a Zip file I can't open; I'm t
-
I'm editing a video and have to go a song in the project. While I understood how to fade at the end, I can't find a way to fade in the beginning of the song. Thanks in advance.
-
Should what card I buy for my chassis PXI-1042 if I want to add an additional ethernet port to the system? I should be able to access this new port ethernet via XP inside my PXI, right? Is it possible to use a usb converter to ethernet as well?
-
Can't access my email attachments either ATT000... Why? Can't raise preview pane either. Why?