AIX 5300-12上安装standalone ASM 执行root.sh失败

环境:
操作系统版本:5300-12-01-1016,oracle 版本: 11.2.0.2,系统安装前检测顺利通过,但是在执行root.sh时报错,报错信息如下:
# /grid/product/11.2/grid/root.sh
Running Oracle 11g root script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /grid/product/11.2/grid
Enter the full pathname of the local bin directory: [usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
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 script.
Now product-specific root actions will be performed.
Using configuration parameter file: /grid/product/11.2/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
CRS-4664: Node a531 successfully pinned.
Adding daemon to inittab
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Add failed, or completed with errors.
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Add failed, or completed with errors.
Failed to register clusterware type ora.cssd.type at /grid/product/11.2/grid/crs/install/crsconfig_lib.pm line 6996.
/grid/product/11.2/grid/perl/bin/perl -I/grid/product/11.2/grid/perl/lib -I/grid/product/11.2/grid/crs/install /grid/product/11.2/grid/crs/install/roothas.pl execution failed
同时alert日志存在如下报错:
[ohasd(65582)]CRS-2119:Message 2119 not found; product=CRS; facility=CRS
查看了ohasd日志,发现ohasd无法启动,同时系统产生了core文件。
LABEL: CORE_DUMP
IDENTIFIER: C69F5C9B
Date/Time: Thu Aug 30 09:45:10 BEIDT 2012
Sequence Number: 5347
Machine Id: 00CB039D4C00
Node Id: a531
Class: S
Type: PERM
Resource Name: SYSPROC
Description
SOFTWARE PROGRAM ABNORMALLY TERMINATED
Probable Causes
SOFTWARE PROGRAM
User Causes
USER GENERATED SIGNAL
Recommended Actions
CORRECT THEN RETRY
Failure Causes
SOFTWARE PROGRAM
Recommended Actions
RERUN THE APPLICATION PROGRAM
IF PROBLEM PERSISTS THEN DO THE FOLLOWING
CONTACT APPROPRIATE SERVICE REPRESENTATIVE
Detail Data
SIGNAL NUMBER
6
USER'S PROCESS ID:
21202
FILE SYSTEM SERIAL NUMBER
12
INODE NUMBER
0 52482
CORE FILE NAME
/grid/product/11.2/grid/log/a531/ohasd/core
PROGRAM NAME
ohasd.bin
STACK EXECUTION DISABLED
0
COME FROM ADDRESS REGISTER
PROCESSOR ID
hw_fru_id: 0
hw_cpu_id: 2
ADDITIONAL INFORMATION
pthread_k 88
praise 6C
sclssutl_ 88
Unable to generate symptom string.
请大神们,帮忙分析下谢谢!

LOG FINDING:
Oracle Database 11g Clusterware Release 11.2.0.2.0 - Production Copyright 1996, 2010 Oracle. All rights reserved.
2012-08-29 17:31:20.593: [ default][1] OHASD Daemon Starting. Command string :reboot
2012-08-29 17:31:20.648: [ default][1] Initializing OLR
2012-08-29 17:31:20.659: [  OCRRAW][1]proprioo: for disk 0 (/grid/product/11.2/grid/cdata/localhost/a531.olr), id match (1), total id sets, (1) need recover (0), my votes (0), total votes (0), commit_lsn (12), lsn (12)
2012-08-29 17:31:20.659: [  OCRRAW][1]proprioo: my id set: (1365712750, 1028247821, 0, 0, 0)
2012-08-29 17:31:20.659: [  OCRRAW][1]proprioo: 1st set: (1365712750, 1028247821, 0, 0, 0)
2012-08-29 17:31:20.659: [  OCRRAW][1]proprioo: 2nd set: (0, 0, 0, 0, 0)
2012-08-29 17:31:20.724: [  CRSOCR][1] OCR context init CACHE Level: 110ea38f0
2012-08-29 17:31:20.724: [ default][1] Running mode check...
2012-08-29 17:31:20.743: [  OCRMSG][1800]prom_listen: Failed to wait on container [1]
2012-08-29 17:31:20.743: [  OCRMSG][1800]GIPC error [1] msg [gipcretFail]
[  OCRSRV][1800]th_select: Failed to select [24]
[  OCRSRV][1800]th_select: Can no longer process local connections.  Setting OCR context to invalid
[  OCRAPI][1800]procr_ctx_set_invalid: ctx set to invalid
[  OCRAPI][1800]procr_ctx_set_invalid: Aborting...
2012-08-29 17:31:20.745: [ default][1] Created alert : (:OHAS00102:) :  OHASD is not running as privileged user
2012-08-29 17:31:20.745: [ default][1][PANIC] OHASD exiting: must be run as privileged user
2012-08-29 17:31:20.745: [ default][1] Done.
2012-08-29 17:31:21.507: [ default][1] OHASD Daemon Starting. Command string :restart
2012-08-29 17:31:21.524: [ default][1] Initializing OLR
2012-08-29 17:31:21.529: [  OCRRAW][1]proprioo: for disk 0 (/grid/product/11.2/grid/cdata/localhost/a531.olr), id match (1), total id sets, (1) need recover (0), my votes (0), total votes (0), commit_lsn (12), lsn (12)
2012-08-29 17:31:21.529: [  OCRRAW][1]proprioo: my id set: (1365712750, 1028247821, 0, 0, 0)
2012-08-29 17:31:21.529: [  OCRRAW][1]proprioo: 1st set: (1365712750, 1028247821, 0, 0, 0)
2012-08-29 17:31:21.529: [  OCRRAW][1]proprioo: 2nd set: (0, 0, 0, 0, 0)
2012-08-29 17:31:21.553: [  OCRMSG][1800]prom_listen: Failed to wait on container [1]
2012-08-29 17:31:21.553: [  OCRMSG][1800]GIPC error [1] msg [gipcretFail]
[  OCRSRV][1800]th_select: Failed to select [24]
[  OCRSRV][1800]th_select: Can no longer process local connections.  Setting OCR context to invalid
[  OCRAPI][1800]procr_ctx_set_invalid: ctx set to invalid
[  OCRAPI][1800]procr_ctx_set_invalid: Aborting...
2012-08-29 17:31:21.556: [  CRSOCR][1] OCR context init CACHE Level: 110ea38f0
2012-08-29 17:31:21.556: [ default][1] Running mode check...
2012-08-29 17:31:21.558: [ default][1] OHASD running as the Non-Privileged user
2012-08-29 17:31:21.558: [ default][1] Loading debug levels...

Similar Messages

  • RAC 10.2.0.1 install on AIX 5.3 fails on root.sh

    I am getting the following message when running root.sh during CRS 10.2.0.1 install on AIX 5.3 ML04:
    ./root.sh
    WARNING: directory '/oracle/product/10.2.0' is not owned by root
    WARNING: directory '/oracle/product' is not owned by root
    WARNING: directory '/oracle' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up NS directories
    exec(): 0509-036 Cannot load program /oracle/product/10.2.0/crs/bin/ocrconfig.bin because of the following errors:
    0509-150 Dependent module /oracle/product/10.2.0/crs/lib/libttsh10.a(shr_ttsh10.o) could not be loaded.
    0509-152 Member shr_ttsh10.o is not found in archive
    Failed to upgrade Oracle Cluster Registry configuration
    Does anyone have any ideas? Your help is greatly appreciated.

    Check the README and Metalink
    also does the file actually exist libttsh10
    Also check the gen in Inventry/logs to see if it genned OK

  • How to edit SubCA duration on a Standalone AD Root CA?

    I have a standalone Root CA built on 20012 R2 and also built a separate standalone Subordinate CA on 2012 R2. I have set the Root CA duration to 20 years and now want the Root CA to sign the Sub CA request file. I have done it successfully, but
    the duration of the Sub CA cert is only one year. Is it possible to make a change somewhere on the standalone Root CA so that the Sub CA has a duration for, say 15 years, when it is signed by the standalone Root CA? 

    At first, I wouldn't make any CA with validity longer than 10 years without a reason. Technologies now changes rapidly and it is unlikely that CA certificate will live more than 10 years with current settings.
    I'm assuming, root CA is Standalone CA, then on root CA you need to run the following command:
    certutil -setreg ca\validityperiodunits 15
    net stop certsvc && net start certsvc
    Vadims Podāns, aka PowerShell CryptoGuy
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell File Checksum Integrity Verifier tool.

  • Deinstall Oracle 11.2.0.2 grid Single instance with ASM at AIX

    Hi gurus,
    I'm trying to deinstall Oracle 11.2.0.2 grid Single instance with ASM at AIX when executing deinstall utility It's doesn't show any commando to run with root:
    the first execution, ran the command as root (normally), but the session where it ran the deinstall tool was closed.
    [root@> /tmp/software ]#/tmp/deinstall2011-07-05_06-54-19PM/perl/bin/perl -I/tmp/deinstall2011-07-05_06-54-19PM/perl/lib -I/tmp/deinstall2011-07-05_06-54-19PM/crs/install /tmp/deinstall2011-07-05_06-54-19PM/crs/install/roothas.pl -force -deconfig -paramfile /tmp/deinstall2011-07-05_06-54-19PM/response/deinstall_Ora11g_gridinfrahome1.rsp
    Using configuration parameter file: /tmp/deinstall2011-07-05_06-54-19PM/response/deinstall_Ora11g_gridinfrahome1.rsp
    PRKO-2573 : ONS daemon is already stopped.
    CRS-2500: Cannot stop resource 'ora.cssd' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'dwmdm'
    CRS-2673: Attempting to stop 'ora.evmd' on 'dwmdm'
    CRS-2677: Stop of 'ora.evmd' on 'dwmdm' succeeded
    CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'dwmdm' has completed
    CRS-4133: Oracle High Availability Services has been stopped.
    ACFS-9459: ADVM/ACFS is not supported on this OS version: 'AIX 5300-10-01-0921'
    ACFS-9201: Not Supported
    Successfully deconfigured Oracle Restart stack
    [root@> /tmp/software ]#
    -- here the deinstall tool was closed --
    -- -Here the output for the second execution --
    $deinstall
    Checking for required files and bootstrapping ...
    Please wait ...
    Location of logs /u01/app/oracle/oraInventory/logs/
    ############ ORACLE DEINSTALL & DECONFIG TOOL START ############
    ######################### CHECK OPERATION START #########################
    Install check configuration START
    Checking for existence of the Oracle home location /grid/app/grid/grid
    Oracle Home type selected for de-install is: SIHA
    Oracle Base selected for de-install is: /grid/app/grid
    Checking for existence of central inventory location /u01/app/oracle/oraInventory
    Checking for existence of the Oracle Grid Infrastructure home
    Install check configuration END
    Skipping Windows and .NET products configuration check
    Checking Windows and .NET products configuration END
    Traces log file: /u01/app/oracle/oraInventory/logs//crsdc.log
    Network Configuration check config START
    Network de-configuration trace file location: /u01/app/oracle/oraInventory/logs/netdc_check2011-07-06_09-16-58-AM.log
    Network Configuration check config END
    Asm Check Configuration START
    ASM de-configuration trace file location: /u01/app/oracle/oraInventory/logs/asmcadc_check2011-07-06_09-16-58-AM.log
    ASM configuration was not detected in this Oracle home. Was ASM configured in this Oracle home (y|n) [n]: n
    ASM was not detected in the Oracle Home
    ######################### CHECK OPERATION END #########################
    ####################### CHECK OPERATION SUMMARY #######################
    Oracle Grid Infrastructure Home is:
    The cluster node(s) on which the Oracle home de-installation will be performed are:null
    Oracle Home selected for de-install is: /grid/app/grid/grid
    Inventory Location where the Oracle home registered is: /u01/app/oracle/oraInventory
    Skipping Windows and .NET products configuration check
    ASM was not detected in the Oracle Home
    Do you want to continue (y - yes, n - no)? [n]: y
    A log of this session will be written to: '/u01/app/oracle/oraInventory/logs/deinstall_deconfig2011-07-06_09-16-56-AM.out'
    Any error messages from this session will be written to: '/u01/app/oracle/oraInventory/logs/deinstall_deconfig2011-07-06_09-16-56-AM.err'
    ######################## CLEAN OPERATION START ########################
    ASM de-configuration trace file location: /u01/app/oracle/oraInventory/logs/asmcadc_clean2011-07-06_09-17-03-AM.log
    ASM Clean Configuration END
    Network Configuration clean config START
    Network de-configuration trace file location: /u01/app/oracle/oraInventory/logs/netdc_clean2011-07-06_09-17-03-AM.log
    De-configuring backup files...
    Backup files de-configured successfully.
    The network configuration has been cleaned up successfully.
    Network Configuration clean config END
    ---------------------------------------->
    Press Enter after you finish running the above commands
    <----------------------------------------
    *1. Any idea to remove Grid infraestructure normally?*
    *2. In this step, can I remove (rm) the grid HOME ?*
    Regards

    Mexman wrote:
    *1. Any idea to remove Grid infraestructure normally?*
    *2. In this step, can I remove (rm) the grid HOME ?*
    RegardsHi,
    You must use deinstall tool to remove Grid Infrastructure installation,
    as grid owner run $GRIDHOME/deinstall/deinstall
    Cheers

  • CSS not starting while installing ASM on Standalone Server

    Hi All,
    While installing ASM on AIX server, CSS is not coming up. This server is not on cluster. I have given below the output of after executing the root.sh script.
    bash-3.00# /orahome/asm/root.sh
    Expecting the CRS daemons to be up within 600 seconds.
    Giving up: Oracle CSS stack appears NOT to be running.
    Oracle CSS service would not start as installed
    Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started
    Can anyone help me? It's bit urgent!!!!
    Thank you.
    Regards,
    Mithra.

    Hi All,
    Thanks for all the help.
    I have found the solution.
    I had to delete all .oracle folders and then run the root.sh
    Thanks once again.
    Regards,
    Mithra.

  • Problem Changing the Root Directory of the Default Virtual Host in J2EE 7.0

    Hi,
    I'm trying to change the root directory for the default virtual host in J2EE 7.0.
    i did the following steps in visual admin: services -> HTTP Provider -> Runtime -> Virtual Hosts -> default:
    Root Directory: "D:/usr/sap/<server>/<instance>/j2ee/cluster/server0/apps/sap.com/crm~b2b/servlet_jsp/b2b/root/b2b" (this the correct path to the application)
    Start Page:"z_index.jsp"
    I restarted HTTP Provider Service and the J2EE.
    When I start http://<server>:<port> i get the following error:
    The requested resource /z_index.jsp is not available
    Details:   File [z_index.jsp] not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].
    sap.com/com.sap.engine.docs.examples is the initial default root directory, but i changed it to the correcht path...
    Can anybody help me?
    Yours
    Michael
    Message was edited by:
            Michael Cendon

    Hi,
    hqt200475 wrote:
    Hi,
    I have the Environemt:
    + Linux SUSE 11 + Oracle Enterprise 11.2.0.2
    oracle@stb:~> uname -a
    Linux stb 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxMy Problem is changing the home directory of an existing Standalone-ASM:
    /u00/app/oracle/product/11.2.0/grid_1/I want to move it to
    /u00/app/grid/product/11.2.0/grid_1/My Question: what is the optimal path?
    Optimal Flexible Architecture standard
    All Oracle components on the installation media are compliant with Optimal Flexible Architecture. This means, Oracle Universal Installer places Oracle Database components in directory locations, assigning the default permissions that follow Optimal Flexible Architecture guidelines.
    Oracle recommends that you use Optimal Flexible Architecture, specially if the database will grow in size, or if you plan to have multiple databases.
    /u00/app/oracle/product/11.2.0/grid_1 - Oracle home directory for Oracle Grid Infrastructure 11g for a standalone server, if user owner of installation is "oracle"
    /u00/app/grid/product/11.2.0/grid_1 - Oracle home directory for Oracle Grid Infrastructure 11g for a standalone server, if user owner of installation is "grid"
    http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/appendix_ofa.htm
    Hope this helps,
    Levi Pereira

  • Root.sh failure on node1 during Grid Infra installation

    I’m installing 11.2.0.3 Grid Infrastructure on two AIX 7.1 nodes. Root.sh script fails at ora.cssd startup. I’m using manual network configuration with DNS and hosts file. Cluvfy output looks good but root.sh fails. Any ideas?

    Cluvfy output indicates overall passed minus some ignorable errors. Also, I verified interconnect and asm disks and they appear all good. I have some concernes about these (bellow), should I worry about them at this stage?
    Network parameter - ipqmaxlen - Checks if the network parameter is set correctly on the system
    Check Failed on Nodes: [donner02,  donner01]
    Verification result of failed node: donner02
    Expected Value
    : 512
    Actual Value
    : en1=
    Details:
    PRVE-0273 : The value of network parameter "ipqmaxlen" for interface "en1" is not configured to the expected value on node "donner02".[Expected="512"; Found="en1="] - Cause: - Action:
    Back to Top
    Verification result of failed node: donner01
    Expected Value
    : 512
    Actual Value
    : en1=
    Details:
    PRVE-0273 : The value of network parameter "ipqmaxlen" for interface "en1" is not configured to the expected value on node "donner01".[Expected="512"; Found="en1="] - Cause: - Action:
    Network parameter - sb_max - Checks if the network parameter is set correctly on the system
    Check Failed on Nodes: [donner02,  donner01]
    Verification result of failed node: donner02
    Expected Value
    : 4194304
    Actual Value
    : en1=
    Details:
    PRVE-0273 : The value of network parameter "sb_max" for interface "en1" is not configured to the expected value on node "donner02".[Expected="4194304"; Found="en1="] - Cause: - Action:
    Back to Top
    Verification result of failed node: donner01
    Expected Value
    : 4194304
    Actual Value
    : en1=
    Details:
    PRVE-0273 : The value of network parameter "sb_max" for interface "en1" is not configured to the expected value on node "donner01".[Expected="4194304"; Found="en1="] - Cause: - Action:
    Network parameter - tcp_sendspace - Checks if the network parameter is set correctly on the system
    Check Failed on Nodes: [donner02,  donner01]
    Verification result of failed node: donner02
    Expected Value
    : 65536
    Actual Value
    : en1=131072
    Details:
    PRVE-0273 : The value of network parameter "tcp_sendspace" for interface "en1" is not configured to the expected value on node "donner02".[Expected="65536"; Found="en1=131072"] - Cause: - Action:
    Back to Top
    Verification result of failed node: donner01
    Expected Value
    : 65536
    Actual Value
    : en1=131072
    Details:
    PRVE-0273 : The value of network parameter "tcp_sendspace" for interface "en1" is not configured to the expected value on node "donner01".[Expected="65536"; Found="en1=131072"] - Cause: - Action:
    Network parameter - udp_sendspace - Checks if the network parameter is set correctly on the system
    Check Failed on Nodes: [donner02,  donner01]
    Verification result of failed node: donner02
    Expected Value
    : 65536
    Actual Value
    : en1=
    Details:
    PRVE-0273 : The value of network parameter "udp_sendspace" for interface "en1" is not configured to the expected value on node "donner02".[Expected="65536"; Found="en1="] - Cause: - Action:
    Back to Top
    Verification result of failed node: donner01
    Expected Value
    : 65536
    Actual Value
    : en1=
    Details:
    PRVE-0273 : The value of network parameter "udp_sendspace" for interface "en1" is not configured to the expected value on node "donner01".[Expected="65536"; Found="en1="] - Cause: - Action:
    Network parameter - udp_recvspace - Checks if the network parameter is set correctly on the system
    Check Failed on Nodes: [donner02,  donner01]
    Verification result of failed node: donner02
    Expected Value
    : 655360
    Actual Value
    : en1=
    Details:
    PRVE-0273 : The value of network parameter "udp_recvspace" for interface "en1" is not configured to the expected value on node "donner02".[Expected="655360"; Found="en1="] - Cause: - Action:
    Back to Top
    Verification result of failed node: donner01
    Expected Value
    : 655360
    Actual Value
    : en1=
    Details:
    PRVE-0273 : The value of network parameter "udp_recvspace" for interface "en1" is not configured to the expected value on node "donner01".[Expected="655360"; Found="en1="] - Cause: - Action:

  • Error in installing MySap 2004s Sp1 with DB2 and IBM AIX.

    Hello Gurus,
    I am Installing the MySap 2004s Sp1. I have installed DB2 and when I started the sap installation with sapinst, it is triggering an error immediately and installition termination.
    Below is the log.
    <i>Starting GuiServer using:
    /usr/java14/bin/java -cp /tmp/sapinst_exe.393398.1162972548/JAR/instgui.jar:/tmp
    /sapinst_exe.393398.1162972548/JAR/inqmyxml.jar -Djava.security.egd=file:/dev/ur
    andom SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sap
    instport=21200 guistart=true
    load resource pool /cddumps/Master/IM_AIX_PPC64/resourcepool.xml
    guiengine: no GUI connected; waiting for a connection on host camlindev001, port
    21200 to continue with the installation
    guiengine: login in process.
    iauxsysex.c:316: child 372768 has crashed. Executable directory is /tmp/sapinst_
    exe.393398.1162972548. Contact Support.
    iaextract.c:814: child has signaled an exec error. Keeping directory /tmp/sapins
    t_exe.393398.1162972548</i>
    <b>I have got the  sapnote : 851251 SAP NetWeaver 2004s Installation on UNIX</b>
    In which it is saying to ignore the error.
    But I am not able to proceed with the installation.
    Please help me out from this.
    Regards,
    Chandra Sekhar Reddy.

    Hello,
    are you installing on AIX? Please check the root environment. ulimit -a. Limit parameter should be
    #64-Bit-SAP                         (for SAP Kernel 7.0, also the user root needs this environment)
    #Soft FILE size                
    #Soft CPU time                 
    #Soft DATA segment             
    #Soft STACK size               
    #Soft CORE file size           
    #Hard FILE size                
    #Hard CPU time                 
    #Hard DATA segment             
    #Hard STACK size               
    #Hard CORE file size           
    Regards,
    Alexander Türk

  • Root Best Practices

    With OEL 5.5, what's the best practice for setting up the root filesystem "/"? I.e. I'm used to AIX where we have a root volume group and allocate storage as necessary to the different file systems using AIX's LVM. I have several linux machines that have both /boot and root on ext3 non-lvm'd filesystems. If I want to convert root, "/", how should I go about this? i.e. any guides out there I can follow? Also, what are the upgrade implications with using the linux LVM? If you could point me to some docs discussing these questions, that would be great.
    TIA,
    Pete's

    You can have / (root) under LVM, but it does not make much sense and will complicate system recovery, upgrade, etc. You don't want to have /boot under LVM since you need to start the system first to have LVM driver support. /boot is usually a small partition, i.e. 100 MB, just large enough to hold a couple of Linux kernels, the initrd boot image and bootloader files. It should also be a filesystem that the bootloader supports, e.g. ext3.
    Google will find many examples and documents out there explaining how to convert root to LVM, e.g.:
    http://tldp.org/HOWTO/LVM-HOWTO/upgraderoottolvm.html
    http://www.linuxweblog.com/blogs/sandip/20071007/convert-root-filesystem-lvm
    Edited by: Dude on Dec 14, 2010 8:03 AM

  • Asm disks not showning up when clusterware running

    On rhel 4 (centos)
    I installed/configured asm
    [root@green rc5.d]# ./S50oracleasm status
    Checking if ASM is loaded: [  OK  ]
    Checking if /dev/oracleasm is mounted: [  OK  ]
    [root@green rc5.d]# ./S50oracleasm listdisks
    D1
    D2
    D3
    D4
    D5
    D6
    then installed clusterware 10.2.01
    then installed 10G 10.2.01 (software only)
    when I try to create a asm dg via dbca the D1 -> D6 dont show up . changing the discovery path from blank to 'ORCL:' didn't help
    I had previously done this prior to installing clusterware and had no problem .
    any thoughts ?

    after changing the disk discover path back and forth between ORCL: and ' ' it started to work . :< (

  • Aix6.1单机安装11.2.0.3时执行root.sh时报错

    操作系统:
    # oslevel -s
    6100-07-04-1216
    数据库:11.2.0.3
    # /g01/grid/asm/root.sh
    Performing root user operation for Oracle 11g
    The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME= /g01/grid/asm
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    The contents of "dbhome" have not changed. No need to overwrite.
    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 script.
    Now product-specific root actions will be performed.
    Using configuration parameter file: /g01/grid/asm/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'grid', privgrp 'oinstall'..
    Operation successful.
    LOCAL ONLY MODE
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'system'..
    Operation successful.
    CRS-4664: Node sgcrm5 successfully pinned.
    Adding Clusterware entries to inittab
    ohasd failed to start
    Failed to start the Clusterware. Last 20 lines of the alert log follow:
    2012-11-15 22:16:15.643
    [client(7340122)]CRS-2101:The OLR was formatted using version 3.
    2012-11-15 22:16:18.792
    [client(7340130)]CRS-1001:The OCR was formatted using version 3.
    ohasd failed to start at /g01/grid/asm/crs/install/roothas.pl line 365, <ALERTLOG> line 4.
    /g01/grid/asm/perl/bin/perl -I/g01/grid/asm/perl/lib -I/g01/grid/asm/crs/install /g01/grid/asm/crs/install/roothas.pl execution failed
    +362 # Need to start OHASD as non-$SUPERUSER, i.e., as crsuser, which in this case
    +363 # would be ORACLE_OWNER
    +364 trace ("Starting ohasd");
    +365 start_service ("ohasd", $cfg->HAS_USER) or
    +366 die "ohasd failed to start";
    +367
    日志信息:
    package sles-release is not installed
    End Command output2012-11-15 22:16:21: init file = /g01/grid/asm/crs/init/init.ohasd
    2012-11-15 22:16:21: Copying file /g01/grid/asm/crs/init/init.ohasd to /etc directory
    2012-11-15 22:16:21: Setting init.ohasd permission in /etc directory
    2012-11-15 22:16:21: init file = /g01/grid/asm/crs/init/ohasd
    2012-11-15 22:16:21: Copying file /g01/grid/asm/crs/init/ohasd to /etc directory
    2012-11-15 22:16:21: Setting ohasd permission in /etc directory
    2012-11-15 22:16:21: Executing cmd: /bin/rpm -q sles-release
    2012-11-15 22:16:22: Command output:
    package sles-release is not installed
    End Command output2012-11-15 22:16:22: Removing "/etc/rc.d/rc2.d/S96ohasd"
    2012-11-15 22:16:22: Creating a link "/etc/rc.d/rc2.d/S96ohasd" pointing to /etc/ohasd
    2012-11-15 22:16:22: Removing "/etc/rc.d/rc2.d/K19ohasd"
    2012-11-15 22:16:22: Creating a link "/etc/rc.d/rc2.d/K19ohasd" pointing to /etc/ohasd
    2012-11-15 22:16:22: The file ohasd has been successfully linked to the RC directories
    2012-11-15 22:16:22: Executing cmd: /bin/rpm -q sles-release
    2012-11-15 22:16:22: Command output:
    package sles-release is not installed
    End Command output2012-11-15 22:16:22: Running as user grid: /g01/grid/asm/bin/cluutil -ckpt -oraclebase /g01/grid -writeckpt -name ROOTCRS_OHASD -state SUCCESS
    2012-11-15 22:16:22: s_run_as_user2: Running /bin/su grid -c ' /g01/grid/asm/bin/cluutil -ckpt -oraclebase /g01/grid -writeckpt -name ROOTCRS_OHASD -state SUCCESS '
    2012-11-15 22:16:23: Removing file /tmp/caa_Lacac
    2012-11-15 22:16:23: Successfully removed file: /tmp/caa_Lacac
    2012-11-15 22:16:23: /bin/su successfully executed
    2012-11-15 22:16:23: Succeeded in writing the checkpoint:'ROOTCRS_OHASD' with status:SUCCESS
    2012-11-15 22:16:23: CkptFile: /g01/grid/Clusterware/ckptGridHA_sgcrm5.xml
    2012-11-15 22:16:23: Sync the checkpoint file '/g01/grid/Clusterware/ckptGridHA_sgcrm5.xml'
    2012-11-15 22:16:23: Sync '/g01/grid/Clusterware/ckptGridHA_sgcrm5.xml' to the physical disk
    2012-11-15 22:16:23: Starting ohasd
    2012-11-15 22:16:23: itab entries=cssd|evmd|crsd|ohasd
    2012-11-15 22:16:23: Executing /usr/sbin/init q
    2012-11-15 22:16:23: Executing cmd: /usr/sbin/init q
    2012-11-15 22:16:28: Created backup /etc/inittab.no_crs
    2012-11-15 22:16:28: Appending to /etc/inittab.tmp:
    2012-11-15 22:16:28: h1:2:respawn:/etc/init.ohasd run >/dev/null 2>&1 </dev/null
    2012-11-15 22:16:28: Done updating /etc/inittab.tmp
    2012-11-15 22:16:28: Saved /etc/inittab.crs
    2012-11-15 22:16:28: Installed new /etc/inittab
    2012-11-15 22:16:28: Executing /usr/sbin/init q
    2012-11-15 22:16:28: Executing cmd: /usr/sbin/init q
    2012-11-15 22:16:28: Executing cmd: /g01/grid/asm/bin/crsctl start has
    2012-11-15 22:18:28: Command output:
    CRS-4124: Oracle High Availability Services startup failed.
    CRS-4000: Command Start failed, or completed with errors.
    End Command output2012-11-15 22:18:28: Executing /etc/ohasd install
    2012-11-15 22:18:28: Executing cmd: /etc/ohasd install
    2012-11-15 22:18:28: ohasd failed to start
    2012-11-15 22:18:28: ohasd failed to start
    2012-11-15 22:18:28: Alert log is /g01/grid/asm/log/sgcrm5/alertsgcrm5.log
    2012-11-15 22:18:28: Failed to start service 'ohasd'
    2012-11-15 22:18:28: ###### Begin DIE Stack Trace ######
    2012-11-15 22:18:28: Package File Line Calling
    2012-11-15 22:18:28: --------------- -------------------- ---- ----------
    2012-11-15 22:18:28: 1: main roothas.pl 210 crsconfig_lib::dietrap
    2012-11-15 22:18:28: 2: main roothas.pl 365 main::__ANON__
    2012-11-15 22:18:28: ####### End DIE Stack Trace #######
    2012-11-15 22:18:28: 'ROOTCRS_STACK' checkpoint has failed
    2012-11-15 22:18:28: Running as user grid: /g01/grid/asm/bin/cluutil -ckpt -oraclebase /g01/grid -writeckpt -name ROOTCRS_STACK -state FAIL
    2012-11-15 22:18:28: s_run_as_user2: Running /bin/su grid -c ' /g01/grid/asm/bin/cluutil -ckpt -oraclebase /g01/grid -writeckpt -name ROOTCRS_STACK -state FAIL '
    2012-11-15 22:18:29: Removing file /tmp/daa--acad
    2012-11-15 22:18:29: Successfully removed file: /tmp/daa--acad
    2012-11-15 22:18:29: /bin/su successfully executed
    2012-11-15 22:18:29: Succeeded in writing the checkpoint:'ROOTCRS_STACK' with status:FAIL
    2012-11-15 22:18:29: CkptFile: /g01/grid/Clusterware/ckptGridHA_sgcrm5.xml
    2012-11-15 22:18:29: Sync the checkpoint file '/g01/grid/Clusterware/ckptGridHA_sgcrm5.xml'
    2012-11-15 22:18:29: Sync '/g01/grid/Clusterware/ckptGridHA_sgcrm5.xml' to the physical disk

    请用root 用户 执行 diagcollection.pl 或者 打包 $CRS_HOME/log 目录下的日志发给我
    有问题请去OTN中文论坛开个帖子 我会回复 地址:http://www.otncn.org
    如果需要发送附件,可以直接发邮件到 [email protected]

  • Install and Create Database Using ASM Restart

    I'm performing a clean install of Oracle grid + database (11gR2) on Oracle Linux R5U6. Both installs seem to go just fine. The ASM processes start and run just fine. But, when I try to create a database, I get the following errors:
    PRCR-1079: Failed to start resource ora.test.db
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    CRS-2674: Start of 'ora.test.db' on 'asm' failed
    ORA-01034: ORACLE not available
    ORA-01034: ORACLE not available
    0
    Any ideas?
    Thanks
    Jim
    -----------Create Groups and Users--------------------------------------------------------------------
    groupadd oinstall
    groupadd dba
    groupadd oper
    groupadd asmdba
    groupadd asmoper
    groupadd asmadmin
    useradd -g oinstall -G asmdba,asmoper,asmadmin grid
    useradd -g oinstall -G dba,oper,asmdba,asmoper,asmadmin oracle
    passwd grid
    passwd oracle
    [root@asm asm]# id oracle
    uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba),504(oper),505(asmdba),506(asmoper),507(asmadmin)
    [root@asm asm]# id grid
    uid=501(grid) gid=502(oinstall) groups=502(oinstall),505(asmdba),506(asmoper),507(asmadmin)
    [root@asm asm]# uname -rm
    2.6.18-238.el5 i686
    [root@asm asm]# uname -a
    Linux asm.protoeffect.cxm 2.6.18-238.el5 #1 SMP Tue Jan 4 15:24:05 EST 2011 i686 i686 i386 GNU/Linux
    ----------------------ASM RPM Installs---------------------------------------------------------
    [root@asm asm]# rpm -Uvh oracleasm-support-2.1.7-1.el5.i386.rpm \
    oracleasm-2.6.18-238.el5-2.0.5-1.el5.i686.rpm \
    oracleasmlib-2.0.4-1.el5.i386.rpm
    warning: oracleasm-support-2.1.7-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
    Preparing... ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.18-238.el########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]
    -------------------ASM Configure------------------------------------------------------------
    [root@asm asm]# /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: grid
    Default group to own the driver interface []: asmadmin
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Scan for Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver: [  OK  ]
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    -------------------Allocating Disks------------------------------------------------------------
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1
    Marking disk "DISK1" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK2 /dev/sdc1
    Marking disk "DISK2" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK3 /dev/sdd1
    Marking disk "DISK3" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK4 /dev/sde1
    Marking disk "DISK4" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK5 /dev/sdf1
    Marking disk "DISK5" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK6 /dev/sdg1
    Marking disk "DISK6" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK7 /dev/sdh1
    Marking disk "DISK7" as an ASM disk: [  OK  ]
    [root@asm asm]# /etc/init.d/oracleasm createdisk DISK8 /dev/sdi1
    Marking disk "DISK8" as an ASM disk: [  OK  ]
    [root@asm asm]#
    [root@asm asm]#
    [root@asm asm]# /etc/init.d/oracleasm listdisks
    DISK1
    DISK2
    DISK3
    DISK4
    DISK5
    DISK6
    DISK7
    DISK8
    ---------------------GRID Response File----------------------------------------------------------
    oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0
    ORACLE_HOSTNAME=asm.protoeffect.cxm
    INVENTORY_LOCATION=/u01/app/oraInventory
    SELECTED_LANGUAGES=en
    oracle.install.option=HA_CONFIG
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid
    oracle.install.asm.OSDBA=asmdba
    oracle.install.asm.OSOPER=asmoper
    oracle.install.asm.OSASM=asmadmin
    oracle.install.crs.config.gpnp.scanName=
    oracle.install.crs.config.gpnp.scanPort=0
    oracle.install.crs.config.clusterName=
    oracle.install.crs.config.gpnp.configureGNS=true
    oracle.install.crs.config.gpnp.gnsSubDomain=
    oracle.install.crs.config.gpnp.gnsVIPAddress=
    oracle.install.crs.config.autoConfigureClusterNodeVIP=false
    oracle.install.crs.config.clusterNodes=
    oracle.install.crs.config.privateInterconnects=
    oracle.install.crs.config.storageOption=
    oracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping=
    oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
    oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
    oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
    oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL
    oracle.install.crs.config.useIPMI=false
    oracle.install.crs.config.ipmi.bmcUsername=
    oracle.install.crs.config.ipmi.bmcPassword=
    oracle.install.asm.SYSASMPassword=
    oracle.install.asm.diskGroup.name=DATA
    oracle.install.asm.diskGroup.redundancy=NORMAL
    oracle.install.asm.diskGroup.disks=ORCL:DISK1,ORCL:DISK2,ORCL:DISK3,ORCL:DISK4
    oracle.install.asm.diskGroup.diskDiscoveryString=
    oracle.install.asm.monitorPassword=
    oracle.install.crs.upgrade.clusterNodes=
    oracle.install.asm.upgradeASM=false
    [grid@asm ~]$ ps -ef | grep pmon
    grid 9950 1 0 09:25 ? 00:00:00 asm_pmon_+ASM
    grid 10053 4345 0 09:26 pts/2 00:00:00 grep pmon
    ------------------------Database Software Install Response File-------------------------------------------------------
    oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
    oracle.install.option=INSTALL_DB_SWONLY
    ORACLE_HOSTNAME=asm.protoeffect.cxm
    UNIX_GROUP_NAME=oinstall
    INVENTORY_LOCATION=/u01/app/oraInventory
    SELECTED_LANGUAGES=en
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORACLE_BASE=/u01/app/oracle
    oracle.install.db.InstallEdition=EE
    oracle.install.db.isCustomInstall=false
    oracle.install.db.customComponents=
    oracle.install.db.DBA_GROUP=dba
    oracle.install.db.OPER_GROUP=oper
    oracle.install.db.CLUSTER_NODES=
    oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
    oracle.install.db.config.starterdb.globalDBName=
    oracle.install.db.config.starterdb.SID=
    oracle.install.db.config.starterdb.characterSet=
    oracle.install.db.config.starterdb.memoryLimit=
    oracle.install.db.config.starterdb.memoryOption=false
    oracle.install.db.config.starterdb.installExampleSchemas=false
    oracle.install.db.config.starterdb.enableSecuritySettings=true
    oracle.install.db.config.starterdb.password.ALL=
    oracle.install.db.config.starterdb.password.SYS=
    oracle.install.db.config.starterdb.password.SYSTEM=
    oracle.install.db.config.starterdb.password.SYSMAN=
    oracle.install.db.config.starterdb.password.DBSNMP=
    oracle.install.db.config.starterdb.control=DB_CONTROL
    oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
    oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false
    oracle.install.db.config.starterdb.dbcontrol.emailAddress=
    oracle.install.db.config.starterdb.dbcontrol.SMTPServer=
    oracle.install.db.config.starterdb.automatedBackup.enable=false
    oracle.install.db.config.starterdb.automatedBackup.osuid=
    oracle.install.db.config.starterdb.automatedBackup.ospwd=
    oracle.install.db.config.starterdb.storageType=
    oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
    oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
    oracle.install.db.config.asm.diskGroup=
    oracle.install.db.config.asm.ASMSNMPPassword=
    MYORACLESUPPORT_USERNAME=J
    MYORACLESUPPORT_PASSWORD=
    SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
    DECLINE_SECURITY_UPDATES=false
    PROXY_HOST=
    PROXY_PORT=
    -------------Database Creation Info------------------------------------------------------------------
    Name Value
    audit_file_dest {ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump
    audit_trail db
    compatible 11.2.0.0.0
    db_block_size 8KB
    db_create_file_dest +DATA
    db_domain
    db_name test
    diagnostic_dest {ORACLE_BASE}
    dispatchers (PROTOCOL=TCP) (SERVICE={SID}XDB)
    memory_target 1225MB
    open_cursors 300
    processes 150
    remote_login_passwordfile EXCLUSIVE
    undo_tablespace UNDOTBS1

    This is the problem with you
    Now time to solve this problem, to make “user grid in secondary group dba”
    http://justinnovation.wordpress.com/category/database/ora/
    # usermod -G asmadmin,asmdba,asmoper,dba grid
    Now you will notice the Privileges are changed
    # id grid
    uid=501(grid) gid=1000(oinstall) groups=1000(oinstall),1100(dba),1300(asmadmin),1400(asmdba),1500(asmoper)
    now try to runInstaller again!
    Good Luck!
    帖子经 Haseeb Alam编辑过

  • Can't start kodi via kodi.service supplied by kodi-standalone-service

    I got past the same issue found here. Now I'm flummoxed by a failure to start kodi.
    Journal looks something like this:
    Jan 19 16:22:58 lamassu systemd[1]: Starting user-420.slice.
    Jan 19 16:22:58 lamassu systemd[1]: Created slice user-420.slice.
    Jan 19 16:22:58 lamassu systemd[1]: Starting Session c1 of user kodi.
    Jan 19 16:22:58 lamassu systemd[1]: Started Session c1 of user kodi.
    Jan 19 16:22:58 lamassu systemd[1]: Starting User Manager for UID 420...
    Jan 19 16:22:58 lamassu systemd[373]: pam_unix(systemd-user:session): session opened for user kodi by (uid=0)
    Jan 19 16:22:58 lamassu systemd[373]: Starting Timers.
    Jan 19 16:22:58 lamassu systemd[373]: Reached target Timers.
    Jan 19 16:22:58 lamassu systemd[373]: Starting Paths.
    Jan 19 16:22:58 lamassu systemd[373]: Reached target Paths.
    Jan 19 16:22:58 lamassu systemd[373]: Starting Sockets.
    Jan 19 16:22:58 lamassu systemd[373]: Reached target Sockets.
    Jan 19 16:22:58 lamassu systemd[373]: Starting Basic System.
    Jan 19 16:22:58 lamassu systemd[373]: Reached target Basic System.
    Jan 19 16:22:58 lamassu systemd[373]: Starting Default.
    Jan 19 16:22:58 lamassu systemd[373]: Reached target Default.
    Jan 19 16:22:58 lamassu systemd[373]: Startup finished in 8ms.
    Jan 19 16:22:58 lamassu systemd[1]: Started User Manager for UID 420.
    Jan 19 16:22:58 lamassu systemd[1]: Started Samba NetBIOS name server.
    Jan 19 16:22:58 lamassu systemd[1]: Starting Samba SMB/CIFS server...
    Jan 19 16:22:58 lamassu systemd[1]: Started Samba SMB/CIFS server.
    Jan 19 16:22:58 lamassu systemd[1]: Starting Multi-User System.
    Jan 19 16:22:58 lamassu systemd[1]: Reached target Multi-User System.
    Jan 19 16:22:58 lamassu systemd[1]: Starting Graphical Interface.
    Jan 19 16:22:58 lamassu systemd[1]: Reached target Graphical Interface.
    Jan 19 16:22:58 lamassu systemd[1]: Startup finished in 1.539s (kernel) + 6.979s (userspace) = 23.149s.
    Jan 19 16:22:58 lamassu systemd[1]: Starting Avahi mDNS/DNS-SD Stack Activation Socket.
    Jan 19 16:22:58 lamassu systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    Jan 19 16:22:58 lamassu systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
    Jan 19 16:22:58 lamassu systemd[1]: Started Avahi mDNS/DNS-SD Stack.
    Jan 19 16:23:13 lamassu systemd[1]: kodi.service: main process exited, code=exited, status=1/FAILURE
    Jan 19 16:23:13 lamassu systemd[1]: Unit kodi.service entered failed state.
    Jan 19 16:23:13 lamassu systemd[1]: kodi.service failed.
    Jan 19 16:23:13 lamassu systemd[1]: Stopping User Manager for UID 420...
    Jan 19 16:23:13 lamassu systemd[373]: Stopping Default.
    Jan 19 16:23:13 lamassu systemd[373]: Stopped target Default.
    Jan 19 16:23:13 lamassu systemd[373]: Starting Shutdown.
    Jan 19 16:23:13 lamassu systemd[373]: Reached target Shutdown.
    Jan 19 16:23:13 lamassu systemd[373]: Stopping Basic System.
    Jan 19 16:23:13 lamassu systemd[373]: Stopped target Basic System.
    Jan 19 16:23:13 lamassu systemd[373]: Starting Exit the Session...
    Jan 19 16:23:13 lamassu systemd[373]: Stopping Paths.
    Jan 19 16:23:13 lamassu systemd[373]: Stopped target Paths.
    Jan 19 16:23:13 lamassu systemd[373]: Stopping Sockets.
    Jan 19 16:23:13 lamassu systemd[373]: Stopped target Sockets.
    Jan 19 16:23:13 lamassu systemd[373]: Stopping Timers.
    Jan 19 16:23:13 lamassu systemd[373]: Stopped target Timers.
    Jan 19 16:23:13 lamassu systemd[373]: Received SIGRTMIN+24 from PID 387 (kill).
    Jan 19 16:23:13 lamassu systemd[1]: Stopped User Manager for UID 420.
    Jan 19 16:23:13 lamassu systemd[1]: Stopping user-420.slice.
    Jan 19 16:23:13 lamassu systemd[1]: Removed slice user-420.slice.
    So you can see systemd starting up the user session (here its PID 373).
    Kodi doesn't log anything to /var/lib/kodi/.local/share/xorg/Xorg.0.log or to /var/lib/kodi/.kodi/temp/*.log or to the journal indicating why it dies with "kodi.service: main process exited, code=exited, status=1/FAILURE".
    I cannot find anything in the logs indicating what PID 387 is, or why it's issuing a SIGTRMIN.

    I've compared Xorg logs from my success, and one from a failure:
    58 [427808.133] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 9 p»| 55 [698283.773] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 »
    59 [427808.133] (II) xfree86: Adding drm device (/dev/dri/card0) | 56 [698283.773] (EE) Error systemd-logind returned paused fd for drm node
    60 [427808.133] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 »| 57 [698283.773] (II) systemd-logind: releasing fd for 226:1
    On the left is the one from a successful launch of kodi-standalone as root, and on the right is comparable lines of a failed launch via systemd via PAMName login (logind).
    2015-01-27 18:20:56
    root@lamassu i /var/log # ls -alh /dev/dri/
    total 0
    drwxr-xr-x 2 root root 160 Jan 19 16:22 .
    drwxr-xr-x 20 root root 3.3K Jan 22 09:11 ..
    crw-rw----+ 1 root video 226, 0 Jan 19 16:22 card0
    crw-rw----+ 1 root video 226, 1 Jan 19 16:22 card1
    crw-rw---- 1 root video 226, 64 Jan 19 16:22 controlD64
    crw-rw---- 1 root video 226, 65 Jan 19 16:22 controlD65
    crw-rw----+ 1 root video 226, 128 Jan 19 16:22 renderD128
    crw-rw----+ 1 root video 226, 129 Jan 19 16:22 renderD129
    2015-01-27 18:25:20
    root@lamassu i /var/log # groups kodi
    network video audio optical kodi
    And there are the permissions and group memberships for the kodi user. I'm reading that to mean that kodi should have the rights necessary to get and hold a rw fd on /dev/dri/card1...

  • Tunning IO - AIX - RAC

    Anybody with implementations experience on RAC 10g in AIX 5.2 with ASM, could spend some tips for tuning of IO for AIX?
    I look at several papers mentioning setting Asynchronous I / O, but not change slow IO performance.
    Thanks.

    Hi Donald, Thanks for your reply!
    I am using Raw Device with ASM --> mknod /dev/ASM_Disk1 c 20 11
    Create a Disk Group DATA with external redundancy on ASM_DISK1.
    CREATE TABLESPACE TBSDAT_PART_LANCAMENT_2007_N DATAFILE
    '+DATA' SIZE 650M AUTOEXTEND ON NEXT 100M MAXSIZE 2500M
    LOGGING
    ONLINE
    PERMANENT
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 100M
    BLOCKSIZE 8K
    SEGMENT SPACE MANAGEMENT AUTO
    FLASHBACK ON;
    CREATE TABLE TB_TESTE
    CD_ANO NUMBER(4) NOT NULL,
    CD_ATRIBUTO VARCHAR2(30 BYTE),
    CD_LANCAMENTO NUMBER NOT NULL,
    TABLESPACE TBSDAT_PART_LANCAMENT_2007_N
    LOGGING
    PARTITION BY RANGE (CD_ANO)
    PARTITION LANCAMENTO_P2007 VALUES LESS THAN (2008)
    LOGGING
    NOCOMPRESS
    TABLESPACE TBSDAT_PART_LANCAMENT_2007_N)
    NOCOMPRESS
    NOCACHE
    PARALLEL ( DEGREE 4 INSTANCES 1 )
    MONITORING;
    Insert 10 records in table.
    SELECT * FROM TB_TESTE WHERE CD_ANO = 2007
    sar -u 1 100
    09:19:34 %usr %sys %wio %idle
    09:19:35 4 2 90 10
    09:19:36 4 3 92 08
    09:19:37 4 3 90 10
    Takes 50 seconds to return!!
    How can I resolve this??
    Thank's

  • How to offline an Enterprise Root CA

    For internal PKI, I'm a big fan of using Enterprise vs. Stand-alone, for simplicity and ease of management. The problem is, I just can't find definitive answers on how to properly offline it. Most people say to not bother, and their justifications
    are vague and nebulous. My Enterprise CAs are NOT DCs. I've given this a lot of thought, and these are the things I think need to be considered...
    If you take the Enterprise root CA offline, you'll need to consider three things:
    1. Change the Enterprise root CA's CRL publication interval to be longer than the periods for which the Enterprise root CA will be offline, and also probably disable delta CRLs on the Enterprise root CA for simplicity and ease of management. When you do
    boot the Enterprise root CA, be sure to publish a new CRL from it into AD.
    2. Make sure the Enterprise root CA isn't needed for anything but:
     a. The initial, one-time loading of the root certificate into AD for automatic distribution to clients by ADDS.
     b. Creating certificates for the subordinate/issuing CAs.
     c. Publishing the Enterprise root CA's CRL to AD for reading by the clients.
    Is there anything else the Enterprise root CA needs to be online for?
    3. By default, every computer account password expires every 30 days. This won't be a problem because when you boot the Enterprise root CA, it'll just change its computer account password if it has expired.
    So, having said all of that, should I offline the Enterprise root CA? If not, why?

    On Mon, 17 Feb 2014 08:14:20 +0000, Daniel L. Benway wrote:
    The real question is whether or not I can or should shut down the Enterprise root CA after it has published the root certificate to AD, after I've created the sub/issuing CAs, and after I've published the root CA's CRLs to AD and changed the root
    CA's CRL intervals to appropriate values.
    Brian did answer your question. A PKI is all about trust, and the root of
    that trust is the private key material of the root CA. The reason one
    deploys a standalone, offline root CA in the first place to is to reduce
    the possibility of an attack against the root CA's key material and the
    accepted method to reduce that attack surface is to ensure that the root CA
    is never attached to a network. That does not mean attach it to the
    network for a while and then periodically afterwards, never means
    never. The minute you attach the root CA to a network, you've reduced the
    trust level and once a trust level is reduced, it cannot be increased
    without redeploying.
    Brian and I have both seen the argument that an offline Enterprise root is
    easier to manage than an offline Standalone root and in practice, that
    simply isn't the case:
    1. Publishing the root CA certificate and CRL of an Enterprise root is, as
    you point out, automatic, however, transferring the certificate and CRL via
    removable media and then using certutil, given the infrequency of those
    operations is a trivial procedure. Operationally you gain very little by
    using an Enterprise root here, and taking advantage of the automatic
    publication requires that the root be put on the network which defeats the
    purpose of keeping it permanently offline in the first place.
    2. Since the only certificates that a root should be issuing are for SubCAs
    the advantage you get with an Enterprise root being able to use certificate
    templates is pointless.
    3. Any management functions or benefits you may be able to realize by
    having the root joined to AD are obviated by the fact that you're planning
    on having it offline and disconnected in the first place.
    The bottom line here is that any perceived advantage of having a offline
    root being an Enterprise CA as opposed to a Standalone root is defeated by
    the simple fact of having it attached to the network at any point in its
    lifetime. Security and trust trump ease of management in this case and as I've pointed out the actual ease of management versus the perceived ease of management is minimal at best.
    Paul Adare - FIM CM MVP
    Minds are like paragliders. They work best when open.

Maybe you are looking for

  • Cisco support LDAP Authentication - Multiple Domains

    Hi, I want to change the LDAP authentication as the multiple domains and my Windows AD environment is the child trust, that mean the root DC is the "abc.com", which have the two child DCs, e.g. "us.abc.com ", "uk.abc.com" Is it possible I just change

  • File Renaming

    I like to add borders to my pictures and I am trying to automate the applying and saving process with actions. I figured out the applying process but saving and renaming is a problem. The borders I use are pre made from a blank file and saved as a ps

  • TS3798 my iphone 5 doesnt connect to wifi, what i do?

    help me please

  • I deleted all of my songs on itunes and now cant get them back

    Last night i deleted my songs as i wanted to put the ratings from my ipod nano 3rd gen onto them. However to my horror when I went to put the songs from my nano onto my itunes, they didn't drag across, so i am now left with the horrible choice to dow

  • SAP Library - BW HR Reporting

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English. You can also go back to the SAP help page.