Root.sh script fail to run on OEL5.4

hi, I am trying to install Grid Infrastructure for a Standalone Server on Oracle Enterprise Linux 5.4. i have a problem when i run root.sh script through root user its not execute successufly the error is "error while loading shared libraries" Please give any soluciton.
Here is the execution of root.sh script
[root@ws1 OraGrid11gR2]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /opt/grid/OraGrid11gR2
Enter the full pathname of the local bin directory: [usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2009-11-02 18:18:28: Checking for super user privileges
2009-11-02 18:18:28: User has super user privileges
2009-11-02 18:18:28: Parsing the host name
Using configuration parameter file: /opt/grid/OraGrid11gR2/crs/install/crsconfig_params
Creating trace directory
/opt/grid/OraGrid11gR2/bin/ocrconfig.bin: error while loading shared libraries:/opt/grid/OraGrid11gR2/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied
Failed to create or upgrade OLR
Please give any solution

This installation should be very very simple and straight-forward but it has taken me over a week to sort it out.
What nobody pointed out is the fact that the best way to go about it is:
1. Deinstall the install
2. Make sure SELINUX=disabled is set in /etc/selinux/conf ....bounce it if necessary
3. Do the install again afresh
I didn't know it can be this easy.....I have gone thru every note and onto Metalink without any luck. Now I am delighted and can go on with my practices.

Similar Messages

  • Root.sh script failed to run after 11gR2 grid installation

    Hi,
    I am trying to install 11gR2 on RHEL 5.3 . however I have problems running th post install script on both nodes.
    here is the output of the root.sh script on the first node :
    [root@rac1 grid]# ./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /u01/app/11.2.0/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    Can't locate auto/DynaLoader/dl_findfile.al in @INC (@INC contains: /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib /u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl . /u01/app/11.2.0/grid/crs/install) at /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 171
    BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi/Fcntl.pm line 216.
    Compilation failed in require at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 10.
    BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/perl/lib/5.10.0/Net/Ping.pm line 10.
    Compilation failed in require at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 218.
    BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 218.
    I found the required auto/DynaLoader/dl_findfile.al file :
    [root@rac1 grid]# find /. -name dl_findfile.al
    /./orainst/app/crs/perl/lib/5.8.3/x86_64-linux-thread-multi/auto/DynaLoader/dl_findfile.al
    /./usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/dl_findfile.al
    but I don't know how or where to change the perl include libraries.
    Please Advise

    Hi,
    no I don't have PERL5LIB environment set to some value for root.
    I added the path in the root.sh file to the system perl-5.8.8 include file and change the perlbin to use the system /usr/bin/perl executable and then the root.sh file did run and finished succesfully.
    However other utilities have the same problems . like running asmcmd.
    Do you have any idea how to fix it globally?
    Thanks

  • SCOM 2012 SP1 - PowerShell Script failed to run - 3 alerts appear after every reboot of the SCOM Server

    Brand new SCOM 2012 SP1 install with Update Rollup 1 applied
    Single server, local SQL install, SQL Server 2012 SP1
    Hyper-V VM running on Server 2012.  VM has 8GB Ram, single vCPU
    Going through initial management pack importing and configuration, at this point I have the Windows Server 2012 and SQL 2012 MP's installed.
    See screenshot
    http://i.imgur.com/l0Molh1.png
    I am getting the following alerts in my SCOM console and cannot find a resolution to fix the issue.  I don't want to set an override, as an override will prevent the PowerShell alert in other instances, where I might want to receive an alert.
    Looking at the alert description, it states "The Data Access service is either not running or not yet initialized"
    The SCOM Console launches and responds fine, and I get no other errors.  I check the Data Access service and it is online.  I have left the system alone for a couple of hours and no other errors.  I then closed those alerts and restarted the
    server, and they came right back in, so I know that this is something that is happening at either server startup of during the start of the SCOM services.
    Is it possible that SCOM is trying to execute these scripts and the Data Access service has not come online yet?
    Has anyone else come across this before?

    Please try the method in the following thread:
    Note: As there is operations related to Registry, please perform a backup before doing this.
    OpsMgr 2012 - Power Shell Script failed to run 
    http://social.technet.microsoft.com/Forums/de-DE/systemcenterde/thread/4be37f8d-1e7b-450c-8cb9-f1e95f3b2bd0/
    Thanks.
    Nicholas Li
    TechNet Community Support

  • SQL MP script failed to run

    Hi! I have installed the SQL MP 6.5.1.0 for SQL2005,SQL2008,SQL2012 and SQL2014. I know that I need to use one SQL RunAsAccount and add that account in the SQL RunAsProfiles to have the correct access to run the SCOM SQL scripts and get the correct
    monitoring. We have give this SQL RunAsAccount the "Local Administrator" and "sysadmin" rights on all instances through a group. This SQL servers also use UAC, then we tested to add this SQL RunAsAccount directly with sysadmin
    rights on one SQL servers instances instead through a group. But still the same problem... I haven't test the new SQL MP version 6.5.4.0 yet and I know that there is one fix for "Fixed
    Timeout error in CPU utilization monitoring scenario"
    The SQL RunAsAccount use "More Secure" and we are running the SQL RunAsProfiles target type against a Group with "Windows Computers" for all the SQL servers that we want to run this RunAsAccount against. We have the same problem
    when we tested to change the target type to "SQL Computers" 
    At most of our customer it works fine but at one customer we still get all this SQL monitor related errors:
    Power Shell Script failed to run (timeout 200 sec)
            - scriptname=CPUUsagePercentDataSource.ps1
            - workflow=Microsoft.SQLServer.2008DBEngine.ThreadsCountMonitor
    Operations Manager failed to start a process
           - command=GetSQL2008DBWinServStat.js
           - workflow=Microsoft.SQLServer.2008.Database.ServiceMonitor
    Operations Manager failed to start a process due to lack of Resources
           - command=GetSQL2012DBFreeSpace.vbs
    Operations Manager failed to run a WMI Query
             - workflow=Microsoft.SQLServer.2012.Database.ServiceMonitor
    Someone with any idea what's the problem can be?

    Hi,
    >At most of our customer it works fine but at one customer we still get all this SQL monitor related errors
    Do you mean only one SQL server has this error message poped out? If that is the case, then you may check whether the runas account configured has proper permissions on that server. You may add the account to local admin group.
    Please also go through the link below:
    http://blogs.technet.com/b/kevinholman/archive/2013/10/24/opsmgr-sql-mp-version-6-4-1-0-capabilities-and-configuration.aspx
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Intermittent "Power Shell Script failed to run" after installing SQL MP 6.5.4.0

    We recently installed the SQL MP.  One thing I am struggling with is this "Power Shell Script failed to run" that occasionally comes up, but, not always on the same server, and not always at the same time. 
    It says it ran past the configured timeout of 300 seconds. 
    The post that seemed to have me on the right track was
    https://social.technet.microsoft.com/Forums/en-US/c539a55d-dd48-438f-b7d5-06ed2cecf6e9/powershell-script-failed-to-run-alerts-from-sql-management-pack-6410?forum=operationsmanagergeneral
    However, even after getting one of the several scripts that have been generating the error, out of the extract management pack, it has parameters that need to be fed to it that I have no idea what they are....
    Example.  ActiveRequestsDataSource.ps1 requires $computername, $connectionstring, $tcpport, $sql_wmi_namespace, and $servicename. 
    The computername is easy enough...  so is tcpport.  but, the others... not so much. 
    I am fairly certain I will be able to run these manually, if I just knew the parameters...  I am also fairly certain we are getting these because at the time of the check, resources on that server are tied up for one reason or another. 
    Can someone please help?  This is killing me. 

    Hi,
    As this issue happens after you installing SQL MP, so from my point of view, it seems like caused by the runas account for the SQL MP is not configured well, I would like to suggest you follow the article below to configure runas account for the management
    pack:
    Configuring Run As Accounts and Profiles in OpsMgr – A SQL Management Pack Example
    http://blogs.technet.com/b/kevinholman/archive/2010/09/08/configuring-run-as-accounts-and-profiles-in-r2-a-sql-management-pack-example.aspx
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Power shell script failed to run - reasons for it and some background?

    Hi there
    I have been receiving some alerts with high repeat count that Powershell script failed to run.
    All of them are coming from one server and all of them are related to SQL2012 installation. The following scripts generate alerts:
    CPUUsagePercentDataSource.ps1
    StolenServerMemory2012.ps1
    DBDiskLatencyDataSource.ps1
    I am quite new to SCOM and still trying to find my way around conveniently - I would appreciate your help if you could explain me one thing: are these scripts executed locally or through remote PSSession to the target? The point is I couldn't find any of
    these scripts on my server to re-run them (and possibly catch exceptions).
    The repeat count for past two months is quite high, for 8 alerts between 25 / 80.
    Thanks in advance!
    AlexP

    The agent downloads the script and it is run locally on the agent machine, in your case the SQL Server. Usually most of these type scripts are held in the Agent folder under scritp/downloads, (sorry dont have the full path in front of me or I would give
    it to you).
    These errors are probably due to the fact that SQL 2012 does not give any rights to the Local System Account which is the context in which the SCOM agent runs scripts as, and is unable to access SQL information due to this fact. The easiest way to fix this
    is to setup a run as account, which would be an account on your domain that has local admin access to the SQL box and has SA rights to the instance of SqL running on that box. See the following blog posts on how to fix this.
    http://blogs.technet.com/b/kevinholman/archive/2010/09/08/configuring-run-as-accounts-and-profiles-in-r2-a-sql-management-pack-example.aspx
    Hope this helps! this will probably create more questions...
    Scott Moss MVP (Operations Manager) President - System Center Virtual Users Group |Vice President - Atlanta Southeast Management Users Group (ATL SMUG)
    Please remember to click “Mark as Answer” on the post that helps you!
    my new blog om2012.wordpress.com

  • Root.sh script is not running successfully in RAC

    Hi
    when i run root.sh script for RAC Grid installation. throws below error in screen.
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
    CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
    CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
    CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
    CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
    CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
    CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
    CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
    CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
    CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
    Disk Group ASM already exists. Cannot be created again
    Configuration of ASM failed, see logs for details
    Did not succssfully configure and start ASM
    CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/grid/11.2.0/grid_1/bin/crsctl stop resource ora.crsd -init
    Stop of resource "ora.crsd -init" failed
    Failed to stop CRSD
    CRS-2500: Cannot stop resource 'ora.asm' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/grid/11.2.0/grid_1/bin/crsctl stop resource ora.asm -init
    Stop of resource "ora.asm -init" failed
    Failed to stop ASM
    CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
    CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
    CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
    CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
    CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
    CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
    CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
    What need to be done. please help

    IN case it matters, which version?
    I agree with Hemant K Chitale on both of his points. The disk group has already been created, and one probably shouldn't name it "ASM". Give it a more meaningful name.
    "Configuration of ASM failed, see logs for details"
    Did you look in the log files? Anything of interest in there?
    Cheers,
    Brian

  • Root.sh script failed

    Hi all,
    I am trying to install Oracle 11g R2 RAC on HP UX 11.3, As part of that installed Grid software. while executing roo.sh script on node 1 getting the following error.
    # ./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /u01/app/11.2.0/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    chmod: can't change /u01/app/11.2.0/grid/bin/extjob: Not owner
    chmod: can't change /u01/app/11.2.0/grid/rdbms/admin/externaljob.ora: Not owner
    chmod: can't change /u01/app/11.2.0/grid/bin/jssu: Not owner
    2010-11-02 00:52:38: Parsing the host name
    2010-11-02 00:52:38: Checking for super user privileges
    2010-11-02 00:52:38: User has super user privileges
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_p arams
    Creating trace directory
    Can't set permissions on /u01/app/11.2.0/grid/log/lodii017m: Not owner at /u01/a pp/11.2.0/grid/crs/install/crsconfig_lib.pm line 5030.
    Please help. I couldnt able to procede further from this step.
    Thanks,

    Hi rajesh, thanks for the information, it seems my problem is with the permissions. But i have followed the steps which are refered in the installation document.
    Here are the steps which i have done.
    Created the shared folders for grid, oracle_home, shared_config and oradata using root user.
    mkdir /u01/app/11.2.0/grid
    mkdir /u01/app/oracle/product/11.2.0/db_1
    mkdir /u01/oradata
    mkdir /u01/shared_config
    chown -R oracle:oinstall /u01/shared_config
    chown -R oracle:oinstall /u01/app/11.2.0/grid
    chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1
    chown -R oracle:oinstall /u01/oradata
    chmod -R 775 /u01/app /u01/app/oracle /u01/oradata /u01/shared_config
    After executing root.sh on node 1 i have faced the problem.
    Please correct me if i am doing any thing wrong

  • Power Shell Script failed to run - GetMGAlertsCount.ps1

    Our SCOM 2012 R2 is getting the following script error every 45 minutes...
    The PowerShell script failed with below exception
    System.Management.Automation.PropertyNotFoundException: The property 'Name' cannot be found on this object. Verify that the property exists.At line:57 char:3
    + $firstLvlClass = Get-SCOMClass -Id $firstLvlMember.Name
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at CallSite.Target(Closure , CallSite , Object )
    at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
    at CallSite.Target(Closure , CallSite , Object )
    at System.Management.Automation.Interpreter.DynamicInstruction`2.Run(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    Script Name: GetMGAlertsCount.ps1
    One or more workflows were affected by this.
    Workflow name: ManagementGroupCollectionAlertsCountRule
    Instance name: All Management Servers Resource Pool
    Instance ID: {4932D8F0-C8E2-2F4B-288E-3ED98A340B9F}
    Management group: NCA2
    On the management server seeing corresponding 22406 errors
    System
    Provider
    [ Name]
    Health Service Modules
    EventID
    22406
    [ Qualifiers]
    49152
    Level
    2
    Task
    0
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2015-04-21T18:44:03.000000000Z
    EventRecordID
    1303964
    Channel
    Operations Manager
    Computer
    PKSWSM001.ad.nca.com
    Security
    EventData
    NCA2
    ManagementGroupCollectionAlertsCountRule
    All Management Servers Resource Pool
    {4932D8F0-C8E2-2F4B-288E-3ED98A340B9F}
    GetMGAlertsCount.ps1
    300
    System.Management.Automation.PropertyNotFoundException: The property 'Name' cannot be found on this object. Verify that the property exists.At line:57 char:3 + $firstLvlClass = Get-SCOMClass -Id $firstLvlMember.Name
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at CallSite.Target(Closure , CallSite , Object ) at System.Management.Automation.Interpreter.DynamicInstruction`2.Run(InterpretedFrame
    frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    System.Management.Automation.PropertyNotFoundException
    I'm at a bit of a loss to troubleshoot this error.  I cannot find the "GetMGAlertsCount.ps1"  script to execute manually and don't have much else I can find to troubleshoot.
    Thanks for your help!

    1) Please check Event Log on the management server and see if there are any related errors.
    Nothing
    interesting found
    2) On the management server, please ensure the following key exists:
    HKLM:\SOFTWARE\Microsoft\System Center Operations Manager\12\Setup\Powershell\V2
    Two entries found underneath this key;
    (Default) (value not set)
    InstallDirectory C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Powershell\
    3) Action Account has access to the resources used by the PowerShell script.
    is LocalSystem
    4) Make sure that the computer is not over utilized.
    No indication of overutilization
    Thank you for the suggestions!  Do you know of anything else to check?

  • Exchange test mailbox script fails to run

    Hi,
    We are using System Center Operations Manager 2012 R2 (SCOM) and Exchange 2010 in our environment. We get several messages within SCOM saying that it failed running the new-TestCasConnectivityUser.ps1 script and some other Exchange related scripts.
    I have searched for an answer but none of them seem to work. I ran the script manually using the Exchange Management Shell and tried with different OU's but I keep getting the default error telling me that either the password does not meet the requirements
    or it can not find the OU. I am 100% sure it is not the password requirement issue because I have tried several passwords and they are all very complex. I tried changing the OU naming to domain.local/Users or other OU's that we have but none of them work.
    The problem is simular to this:
    http://theucguy.net/new-testcasconnectivityuserps1-script/.
    I am not sure what the problem is and how I can resolve it. I am hoping that anyone could help me with this problem.
    Thanks in advance,
    Bram

    Hi,
    Please try to modify the New-TestCasConnectivity.Ps1 script and remove the parameter '-OrganisationalUnit:$OrganisationalUnit'
    This parameter is responsible for specifying the OU that the new account will be created into and when it is
    removed from the script, the script simply runs and installs the account into the default 'Users' OU as it should.
    Quote from:
    SCOM and the Exchange Test CAS Connectivity User Account
    http://kevingreeneitblog.blogspot.com/2011/06/scom-and-exchange-test-cas-connectivity.html
    Regards,
    Yan Li
    Regards, Yan Li

  • Power Shell Script failed to run

    Hi
    I think this alert is due to a faulty management pack, specifically in the module mentioned. I'm trying to investigate further. We have this on multiple
    servers and across different roles. 
    How do I get access to this script so I can find out what it is timing out on? Where's the output of this script kept? 
    I'm still new to SCOM2012 and think while its and improvement its still got bugs left over from 2007.
    Alert description: Forced to terminate the following PowerShell script because it ran past the configured timeout 300 seconds.
    Script Name:    CheckMaxConcurrentAPI.ps1
    One or more workflows were affected by this.
    Workflow name: Microsoft.Windows.Server.2008.MaxConcurrentAPI.Monitor
    Instance name: Microsoft Windows Server 2008 R2 Enterprise
    Instance ID: {81CDE473-D76E-3459-58B1-5DB67AC6B574}
    Management group: OM2012

    This workflow came from Windows Server 2008 Max Concurrent API Monitor.
    The most likey cause of tmeout is due to permission issue.
    Please make sure that your default action account has the following right on local mcahine
    • Member of the local users group
    • Member of the local Performance Monitor Users group
    • Granted Log On Locally rights
    Beside, you can find the script on
    SCOM 2012 R2
    c:\Program Files\Micosoft Monitoring Agent\Agent\Health Service state
    SCOM 2012
    c:\program Files\System Center Operations Manager\Agent\Health Service state
    Roger

  • Powershell startup scripts fail on Windows 8.1 with error 267

    GPO Powershell startup script fails to execute on Windows 8.1, but does run on Windows 8 and Windows 7. Powershell logon scripts run normally on all versions of Windows.
    The event log contains entries with event ID 1130 from the GroupPolicy source. The log entries claim error 267 "directory name is invalid".
    Running cmd.exe on Windows 8.1 under the computer's account (NT Authority\SYSTEM) confirms that the Powershell script's path in SYSVOL is valid and the script executes normally.
    Running procmon on Windows 8.1 while the startup script is being run on a computer shows that the computer caches the files and folders for this GPO into C:\Windows\system32\GroupPolicy.
    I am not sure why these scripts are failing to execute on Windows 8.1 when they run on Windows 8 and the same set of GPOs are applied to both Windows 8.1 and Windows 8 computers.

    These are all good suggestions, but I have already tried to eliminate:
    All environment variables
    All network paths
    Setup the GPO to reference the script by the file name and with a full absolute path. Neither worked.
    Tried copying the scripts to multiple folders inside the policy, since the event log message reports only the root path of the policy.
    I also used procmon to monitor how the computer handles the startup scripts. I found that the computer caches them into a folder under C:\Windows\System32, but never runs any of them. I never found an error that I could correlate with the event log.
    For instance the following one line scripts failed to run:
    'I AM HERE.' | sc -path C:\Windows\TEMP\TEST.txt
    write-host 'I AM HERE.'
    As far as I can see the first script relies on the existence of C:\Windows\TEMP and write permission to it, which SYSTEM should have.
    The second one liner has no dependencies at all and it doesn't run with the same error.
    I have created multiple GPOs and scripts, so if there was a problem in creating these files and folders it is happening over and over. I checked the permissions and computer accounts have read and execute permissions all throughout the GPOs.
    Everything works perfectly on Windows 7 and 8, just not on 8.1.

  • CodedUI script fails in MTM will pass in VSTS

    Coded UI scripts fail when running on agent Machine but passes when running on Local System. Need help to identify the root cause

    Hi yellesh,
    Based on your issue, please you provide the detail error message and the Test Run log to me after you run coded UI test script fail from MTM.
    I suggest you could refer the following MSDN document to check about how to run a automated test case from MTM.
    https://msdn.microsoft.com/en-us/library/dd380741.aspx
    Since I know that when MTM run the Coded UI test on test agent machine, the test agents are set up in the lab environment. Please do not lock or have an active screen saver on the test agent. For more information, you can refer to
    http://msdn.microsoft.com/en-us/library/ee291332.aspx
    Therefore, please you refer the above document to check if you set up your agent to run as a process instead of a service.
    If the above suggestion could not help you, please share me more message about your issue.
    Best Regards,
    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.
    Click
    HERE to participate the survey.

  • 11gR2 RAC install fail when running root.sh script on second node

    I get the errors:
    ORA-15018: diskgroup cannot be created
    ORA-15072: command requires at least 2 regular failure groups, discovered only 0
    ORA-15080: synchronous I/O operation to a disk failed
    [main] [ 2012-04-10 16:44:12.564 EDT ] [UsmcaLogger.logException:175] oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-15018: diskgroup cannot be created
    ORA-15072: command requires at least 2 regular failure groups, discovered only 0
    ORA-15080: synchronous I/O operation to a disk failed
    I have tried the fix solutions from metalink note, but did not fix issue
    11GR2 GRID INFRASTRUCTURE INSTALLATION FAILS WHEN RUNNING ROOT.SH ON NODE 2 OF RAC USING ASMLIB [ID 1059847.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    it looks like, that your "shared device" you are using is not really shared.
    The second node does "create an ASM diskgroup" and create OCR and Voting disks. If this indeed would be a shared device, he should have recognized, that your disk is shared.
    So as a result your VMware configuration must be wrong, and the disk you presented as shared disk is not really shared.
    Which VMWare version did you use? It will not work correctly with the workstation or player edition, since shared disks are only really working with the server version.
    If you indeed using the server, could you paste your vm configurations?
    Furthermore I recommend using Virtual Box. There is a nice how-to:
    http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php
    Sebastian

  • Error while running the root.sh script during Grid installation on a pre-installed 11g database .

    Hi Oracle Experts,
    I am trying to setup a new GRID Standalone Infrastructure on a previously installed Oracle 11g database.
    It runs all fine but when prompts to run the root.sh script it does not allow to proceed as it prompts to overwrite the existing path for /usr/bin/local
    well, I google'd and tried with overwrite : Y . It prompted to run the script but it failed ...
    Could you please help me on this ..
    [root@asm ~]# /u01/app/11.2.0/grid/root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
        ORACLE_OWNER= oracle
        ORACLE_HOME=  /u01/app/11.2.0/grid
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: y
       Copying dbhome to /usr/local/bin ...
    The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: y
       Copying oraenv to /usr/local/bin ...
    The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
    [n]: y
       Copying coraenv to /usr/local/bin ...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
    /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl
    [root@asm ~]# /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/                              crs/install/roothas.pl
    2015-03-18 01:42:25: Checking for super user privileges
    2015-03-18 01:42:25: User has super user privileges
    2015-03-18 01:42:25: Parsing the host name
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'oracle', privgrp 'oinstall'..
    Operation successful.
    CRS-4664: Node asm successfully pinned.
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    acfsroot: ACFS-9320: Missing advmutil.
    acfsroot: ACFS-9320: Missing advmutil.bin.
    acfsroot: ACFS-9320: Missing fsck.acfs.
    acfsroot: ACFS-9320: Missing fsck.acfs.bin.
    acfsroot: ACFS-9320: Missing mkfs.acfs.
    acfsroot: ACFS-9320: Missing mkfs.acfs.bin.
    acfsroot: ACFS-9320: Missing mount.acfs.
    acfsroot: ACFS-9320: Missing mount.acfs.bin.
    acfsroot: ACFS-9320: Missing acfsdbg.
    acfsroot: ACFS-9320: Missing acfsdbg.bin.
    acfsroot: ACFS-9320: Missing acfsutil.
    acfsroot: ACFS-9320: Missing acfsutil.bin.
    acfsroot: ACFS-9301: ADVM/ACFS installation can not proceed:
    acfsroot: ACFS-9302: No installation files found at /u01/app/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5xen-x86_64/bin.
    asm     2015/03/18 01:43:06     /u01/app/11.2.0/grid/cdata/asm/backup_20150318_014306.olr
    Successfully configured Oracle Grid Infrastructure for a Standalone Server
    when I checked for ASM instance its not running ... but just ohasd service and nothing else ..
    [root@asm grid]# ps -ef | grep pmon
    oracle    5831     1  0 01:15 ?        00:00:01 ora_pmon_db11g1
    root     12625  8794  0 02:30 pts/2    00:00:00 grep pmon
    [root@asm grid]#
    [root@asm grid]#
    [root@asm grid]# ps -ef | grep d.bin
    oracle   12643     1  5 02:30 ?        00:00:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot
    root     12715  8794  0 02:30 pts/2    00:00:00 grep d.bin
    [root@asm grid]#
    Could you please help .

    hi,
    The issue not with /usr/bin/local.  When you excute root.sh, it will try configure the ASM with New GRID HOME. Issue started, whent tried to start
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting <<=================================================================
    acfsroot: ACFS-9320: Missing advmutil.
    Please let us know the below details
    ==> Acfs is configured the servers??
         ==>acfsutil registry
                   acfsutil info fs output.
    ==> With out ASM instance , How the database, CRS STarted ???
    ==> Please try stop and start the crs.
    ==> crsctl query crs activeversion output
    Regards
    Krishnan

Maybe you are looking for