PWDFILE

hi all
can you tell me how to recreate the pwdfile
D:\oracle\product\10.2.0\db_2\BIN>
D:\oracle\product\10.2.0\db_2\BIN>
D:\oracle\product\10.2.0\db_2\BIN>
D:\oracle\product\10.2.0\db_2\BIN>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Nov 16 14:29:24 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> show parameter remote;
NAME TYPE VALUE
remote_archive_enable string true
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string NONE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
SQL> exit;
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
D:\oracle\product\10.2.0\db_2\BIN>orapwd file=d:\oracle\product\10.2.0\db_2\data
base\pwdorcl.ora password=orcl entires=5
Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n>
where
file - name of password file (mand),
password - password for SYS (mand),
entries - maximum number of distinct DBA and force - whether to overwrit
e existing file (opt),
OPERs (opt),
There are no spaces around the equal-to (=) character.
D:\oracle\product\10.2.0\db_2\BIN>
please advice
MANY THANKS

thanks for your replay
D:\oracle\product\10.2.0\db_2\BIN>cd ..
D:\oracle\product\10.2.0\db_2>cd database
D:\oracle\product\10.2.0\db_2\database>orapwd file=d:\oracle\product\10.2.0\db_2
\database\pwdorcl.ora password=orcl entires=5
Usage: orapwd file=<fname> password=<password> entries=<users> force=<y/n>
where
file - name of password file (mand),
password - password for SYS (mand),
entries - maximum number of distinct DBA and force - whether to overwrit
e existing file (opt),
OPERs (opt),
There are no spaces around the equal-to (=) character.

Similar Messages

  • Reg: Error while connecting to a remote database as SYS user.

    Hello all,
    When i try to connect to a database as SYS user i'm getting the error as
    ora-01017 invalid username/password logon denied
    But it is logging from the local system where the oracle is installed.
    I created the password file and checked the contents in v$pwfile_users.
    The result is " no rows selected".
    so when i try to grant sysdba to sys user
    grant sysdba to sys;
    i'm getting error as,
    ORA-01994: GRANT failed: password file missing or disabled
    Please help me in resolving this.
    Regards,
    Konda

    I created the passwordfile using the command below,
    orapwd.exe file=E:\app\Administrator\product\11.2.0\dbhome_1\database\PWDfile.ora force=y entries=30 password=<sys_password>
    is this okay...??

  • How to resolve RMAN:06172

    Hi All,
    This is my first thread.
    I am junior Oracle DBA and recently I was told to do a RMAN restoration from a set of backup files which consists 1CT & 5DF files. This back up was taken at some other region.
    I created a database to restore the files, I used the command:
    rman target /
    RMAN> restore control file from '/temp/bkp/ct_784333_p2'
    Starting restoring at 22-NOV-11
    using channel ORA_DISK_1
    RMAN-00571:
    RMAN-00569:            ERROR MESSAGE STACK FOLLOWS
    RMAN-00571:
    RMAN-03002:  failure of restore command at 11/22/2011 16:10:51
    RMAN-06172:  no autobackup found or specified handle is not a valid copy or piece
    Can anyone pls tell me how to solve this issue..
    I even tried by creating a pwdfile and pfile from a plain database and edited the pfile. Executed the same command and got the same error.
    Then by searching in forums and googling I came to know that I must have at least one physical file that is controlfile to restore.
    But unfortunately I don't have one. So kinldy pls tel me anyother way to restore this..
    This is quite urgent..
    Thanks in advance

    I will explain briefly what I did.. I created a db named "alhbtst2" through dbca to restore this backup.
    and now I started db in nomount stage and gave the restore command in rman and got the error. i have pasted the output below:
    SQL> startup force nomount
    ORACLE instance started.
    Total System Global Area 1610612736 bytes
    Fixed Size 2084400 bytes
    Variable Size 385876432 bytes
    Database Buffers 1207959552 bytes
    Redo Buffers 14692352 bytes
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    $ export ORACLE_SID=alhbtst2
    $ rman target /
    Recovery Manager: Release 10.2.0.4.0 - Production on Tue Nov 29 15:11:49 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: alhbtst2 (not mounted)
    RMAN> set dbid 2995302526
    executing command: SET DBID
    RMAN> restore controlfile from '/glotam1/temp/cf_t762953633_s6_p1';
    Starting restore at 29-NOV-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/29/2011 15:12:45
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    As i am new to this, am very much confused can u pls tell me how to restore it..

  • JAAS problems in jdev10g

    Hey all,
    I've got problems when i want to use JAAS into a struts application (with BC4J). In jdev9.0.3 everything was working perfect. At the end you will find the message i get. My colleage who use JAAS without the BC4J, everything is working good. Can anybody give me a hint ?
    For mho my configuration is correct.
    This is snip of my java.security (located in D:/oracle/jdev10g/jdk/jre/lib/security) :
    # Default login configuration file
    #login.config.url.1=file:${user.home}/.java.login.config
    login.config.url.1=file:D:/oracle/jdev10g/jdk/jre/lib/security/tagish.login
    This is a snip of my tagish.login (located in D:/oracle/jdev10g/jdk/jre/lib/security)
    FileLogin
    com.tagish.auth.FileLogin required debug=true pwdFile="D:${/}oracle${/}jdev10g${/}jdk${/}jre${/}lib${/}security${/}passwd.txt";
    This is a snip of my passwd.txt (located in D:/oracle/jdev10g/jdk/jre/lib/security)
    # Passwords for com.tagish.auth.FileLogin
    # login admin; password admin
    # login docent; password docent
    admin:21232f297a57a5a743894a0e4a801fc3:administrator:docent
    docent:281ab35f26dc0a6d9dab6fd4fbc304fc:docent
    Here is the error stacktrace i get :
    03/12/10 16:26:12 javax.security.auth.login.LoginException: No LoginModules configured for FileLogin
    03/12/10 16:26:12      at javax.security.auth.login.LoginContext.init(LoginContext.java:189)
    03/12/10 16:26:12      at javax.security.auth.login.LoginContext.<init>(LoginContext.java:404)
    03/12/10 16:26:12      at view.checkLogin.execute(checkLogin.java:40)
    03/12/10 16:26:12      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    03/12/10 16:26:12      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    03/12/10 16:26:12      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    03/12/10 16:26:12      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    03/12/10 16:26:12      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    03/12/10 16:26:12      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    03/12/10 16:26:12      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    03/12/10 16:26:12      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
    03/12/10 16:26:12      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    03/12/10 16:26:12      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    03/12/10 16:26:12      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    03/12/10 16:26:12      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    03/12/10 16:26:12      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
    03/12/10 16:26:12      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    03/12/10 16:26:12      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
    03/12/10 16:26:12      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    03/12/10 16:26:12      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    03/12/10 16:26:12      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    03/12/10 16:26:12      at java.lang.Thread.run(Thread.java:536)

    Hi.
    I have the same problem with my custom usermanager for ias90401 solaris 2.9 but I am not sure where to add that 3 lines of codes. What do you mean by "a Listener"?
    javax.security.auth.login.Configuration config = new
    com.sun.security.auth.login.ConfigFile();
    config.refresh();
    javax.security.auth.login.Configuration.setConfiguration(config);
    My deployment failed when I added it as a statio block or
    in the init of my usermanager class which extends com.evermind.security.AbstractUserManager.
    Thx.
    Ken
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing
    userManager 'ca.bc.gov.srm.mjf.security.jaas.orion.JAASUserManager':
    java.lang.ExceptionInInitializerError (null)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing
    userManager 'ca.bc.gov.srm.mjf.security.jaas.orion.JAASUserManager':
    java.lang.ExceptionInInitializerError (null)
         at
    com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMO
    TE_SERVER(RMIConnection.java:1520)
         at
    com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:14
    73)
         at
    com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationH
    andler.java:55)
         at
    com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Recove
    rableRemoteInvocationHandler.java:22)
         at __Proxy0.deploy(Unknown Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleIns
    tance(Unknown Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unknown
    Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown
    Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateD
    eploy(Unknown Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Un
    known Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown
    Source)
         at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown
    Source)
         at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown
    Source)
         at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Error
    initializing userManager
    'ca.bc.gov.srm.mjf.security.jaas.orion.JAASUserManager':
    java.lang.ExceptionInInitializerError (null)
         at
    oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at
    com.evermind.server.administration.DefaultApplicationServerAdministrator
    .internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at
    com.evermind.server.administration.DefaultApplicationServerAdministrator
    .deploy(DefaultApplicationServerAdministrator.java:305)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
    a:39)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
    Impl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
    com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at
    com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasab
    leResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:536)

  • Steps To Create Physical Standby Database In Windows 7

    Hi All,
    I want to create a physical standby database in my windows 7 system. I have created one service stdby in my machine with all your help and now I need your help to configure standby configuration.
    I am using Oracle 10G version 10.2.0.1.0.
    Please suggest.
    Regards,
    Arijit

    [on primary]
    step-1 check if archiving is enable
    SQL> archive log list;
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            /PGHProdDB/archive/paceview/
    Oldest online log sequence     52
    Next log sequence to archive   54
    Current log sequence           54
    step-2
    sqlplus> ALTER DATABASE force logging;step-3
    connect to rman
    take an full backup
    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    step-4
    now copying initpfile,pwdfile on appropriate destination and rename it.
    step 5
    now create listener on standby db side::
    and restart it by ----
    lsnrctl reload
    and login to primary db and register listener information in tnsfile.ora---
    standby=
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.13)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = standby)Step 6 Startup the standby
    SQL> startup nomount pfile='/u01/app/oracle/admin/PRIMARY/pfile/init.ora';step 7
    though our primary db is ready to connect with standby db
    [oracle@PGH-DB ~]$ rman target / auxiliary sys/tiger@standby
    Recovery Manager: Release 10.2.0.4.0 - Production on Mon Aug 6 12:16:08 2012
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: primary (DBID=2092349485)
    connected to auxiliary database (not started)
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }When this completes
    Make sure you shutdown the database and then switch the ORACLE_SID=STANDBY
    when you perform that much let me know :)
    Edited by: abdul_ora on Sep 12, 2012 11:37 AM

  • How to create a password file?

    Dear buddies,
    I tried these steps but getting error.
    Please advice on how should I go about it.
    in my pfile: REMOTE_LOGIN_PASSWORDFILE = shared
    C:\Documents and Settings\administrator>orapwd file=D:\oracle\admin\u
    at password=mydba
    OPW-00001: Unable to open password-file
    C:\Documents and Settings\administrator>orapwd file='D:\oracle\admin\
    uat' password=mydba
    OPW-00001: Unable to open password-fileWhere am I making a mistake?
    Thanks.
    Nith
    Edited by: user645399 on Dec 16, 2010 4:33 PM
    Edited by: user645399 on Dec 16, 2010 4:37 PM
    Edited by: user645399 on Dec 16, 2010 4:37 PM
    Edited by: user645399 on Dec 16, 2010 4:37 PM

    Dear oradba,
    I tried but it failed:
    SQL> $orapwd file='D:\oracle\admin\uat\pwdfile' password=mydba
    OPW-00001: Unable to open password-file
    SQL>and also this
    SQL> $orapwd file='D:\oracle\admin\uat\pwdfile.txt' password=possedba
    OPW-00001: Unable to open password-fileThanks.
    Nith
    Edited by: user645399 on Dec 16, 2010 4:45 PM

  • Cron job ,every other monday

    hello
    i would like to schedule a cron job every other monday
    -- OS info
    [oracle@dev3 ~]$ uname -a
    Linux dev3.pcst3.net 2.6.18-194.17.1.0.1.el5 #1 SMP Wed Sep 29 15:57:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linuxhere is what i have in for cron job , yes this shows every monday but i am looking for every other monday,it ran today(03/26),next runs should be 04/09 and 04/23 ....
    # Bi-weekly report
    30 11 * * 1 /u01/scripts/monday_query.sh > /u01/scripts/monday_query.log 2>&1here is what we have in monday_query.sh
    #!/bin/ksh
    # set -xv
    . dbbash_profile
    export ut=/u01/scripts/ut
    export pass=`grep -i ls011 $ut/pwdfile | awk -F":" '{ print $2 }'`
    sqlplus  ls011/${pass} < /u01/scripts/monday_query.shany help is much appreciated to make this run every other monday
    Please help

    From the cron man page: http://unixhelp.ed.ac.uk/CGI/man-cgi?crontab+5
    "Step values can be used in conjunction with ranges. Following a range
    with ``/<number>'' specifies skips of the number's value through the
    range. For example, ``0-23/2'' can be used in the hours field to spec-
    ify command execution every other hour (the alternative in the V7 stan-
    dard is ``0,2,4,6,8,10,12,14,16,18,20,22''). Steps are also permitted
    after an asterisk, so if you want to say ``every two hours'', just use
    ``*/2''."
    Or, create a flag file with 'touch ran_cron_job_last_monday' after a Monday that you ran the script.
    Then throw a condition into your script to check for the file. If the file exists, remove it. If the file doesn't exist, then run your script and when finished, create the file again.
    For example:
    #! /bin/ksh
    if [ -e ran_cron_job_last_monday ] ; then
    rm -f ran_cron_job_last_monday
    else
    touch ran_cron_job_last_monday
    exit 0
    fi
    ... do here what your script is supposed to do ....
    exit 0

  • Ora-00001 error occured while upgrading 10.2.0.4 to 11.2.0.3

    Hi all,
    I am facing 'ora-00001: Unique constraint(SYSMAN.MGMT_PRIV_GRANTS_PK) violated' while upgrading 10.2.0.4 database to 11.2.0.3 using DBUA. Need urgent help in resolving this.
    Thanks
    Sandeep

    Hi srini,
    Yes, all the actions required by pre-upgrade tool are performed.
    In our case dbua related logs are present in $ORACLE_BASE/cfgtoollogs/dbua/logs folder.
    Files under this folder are:
    1.) sqls.log 2.) trace.log
    Last 100 lines from trace.log file
    [Thread-52] [ 2012-10-24 13:59:01.749 GMT+05:30 ] [Util.<init>:95] Util Instance created.
    [Thread-52] [ 2012-10-24 13:59:01.762 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: null
    [Thread-52] [ 2012-10-24 13:59:01.768 GMT+05:30 ] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS
    [Thread-52] [ 2012-10-24 13:59:01.769 GMT+05:30 ] [OracleHome.getVersion:908] Homeinfo /nhi2/app/oracle11g/product/11.2.0/dbhome_1,7
    [Finalizer thread] [ 2012-10-24 13:59:01.822 GMT+05:30 ] [Util.finalize:126] Util: finalized called for oracle.ops.mgmt.has.Util@a360a36
    [Finalizer thread] [ 2012-10-24 13:59:01.822 GMT+05:30 ] [Util.finalize:126] Util: finalized called for oracle.ops.mgmt.has.Util@1700170
    [Thread-52] [ 2012-10-24 13:59:01.960 GMT+05:30 ] [OracleHome.getVersion:936] OracleHome.server.getVersion Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:01.960 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:01.960 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:01.961 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:01.961 GMT+05:30 ] [CommonUtils.createPasswordFile:604] calling new orapwd for 11.1 or higher
    [Thread-52] [ 2012-10-24 13:59:01.963 GMT+05:30 ] [OsUtilsBase.execProg:2183] beginning execProg with input array.
    [Thread-52] [ 2012-10-24 13:59:02.046 GMT+05:30 ] [OsUtilsBase.execProg:2220] finished execProg with input array. Status:0
    [Thread-52] [ 2012-10-24 13:59:02.046 GMT+05:30 ] [OracleHome.initOptions:1236] Initializing Database Options with for dummy sid=DBUA5901749 using initfile=/nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/initDBUA5901749.ora using pwdfile=/nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/orapwDBUA5901749
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.047 GMT+05:30 ] [OracleHome.getVersion:889] OracleHome.getVersion called. Current Version: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.048 GMT+05:30 ] [OracleHome.getVersion:957] Current Version From Inventory: 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.048 GMT+05:30 ] [SQLPlusEngine.getCmmdParams:222] m_home 11.2.0.3.0
    [Thread-52] [ 2012-10-24 13:59:02.048 GMT+05:30 ] [SQLPlusEngine.getCmmdParams:223] version > 112 true
    [Thread-52] [ 2012-10-24 13:59:02.048 GMT+05:30 ] [SQLEngine.getEnvParams:555] Default NLS_LANG: AMERICAN_AMERICA.AL32UTF8
    [Thread-52] [ 2012-10-24 13:59:02.049 GMT+05:30 ] [SQLEngine.getEnvParams:565] NLS_LANG: AMERICAN_AMERICA.AL32UTF8
    [Thread-52] [ 2012-10-24 13:59:02.049 GMT+05:30 ] [SQLEngine.initialize:325] Execing SQLPLUS/SVRMGR process...
    [Thread-52] [ 2012-10-24 13:59:02.087 GMT+05:30 ] [SQLEngine.initialize:362] m_bReaderStarted: false
    [Thread-52] [ 2012-10-24 13:59:02.090 GMT+05:30 ] [SQLEngine.initialize:366] Starting Reader Thread...
    [Thread-52] [ 2012-10-24 13:59:02.227 GMT+05:30 ] [OracleHome.initOptions:1248] executing: startup nomount pfile='/nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/initDBUA5901749.ora'
    [Thread-52] [ 2012-10-24 13:59:29.944 GMT+05:30 ] [OracleHome.initOptions:1259] executing: select parameter from v$option where value='TRUE'
    [Thread-52] [ 2012-10-24 13:59:29.966 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Partitioning is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Objects is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Advanced replication is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Bit-mapped indexes is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Connection multiplexing is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Connection pooling is ON
    [Thread-52] [ 2012-10-24 13:59:29.967 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Database queuing is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Incremental backup and recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Instead-of triggers is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Parallel backup and recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Parallel execution is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Parallel load is ON
    [Thread-52] [ 2012-10-24 13:59:29.968 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Point-in-time tablespace recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Fine-grained access control is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Proxy authentication/authorization is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Change Data Capture is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Plan Stability is ON
    [Thread-52] [ 2012-10-24 13:59:29.969 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Online Index Build is ON
    [Thread-52] [ 2012-10-24 13:59:29.972 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Coalesce Index is ON
    [Thread-52] [ 2012-10-24 13:59:29.972 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Managed Standby is ON
    [Thread-52] [ 2012-10-24 13:59:29.972 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Materialized view rewrite is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Database resource manager is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Spatial is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Export transportable tablespaces is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Transparent Application Failover is ON
    [Thread-52] [ 2012-10-24 13:59:29.973 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Fast-Start Fault Recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Sample Scan is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Duplexed backups is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Java is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option OLAP Window Functions is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Block Media Recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.974 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Fine-grained Auditing is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Application Role is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Enterprise User Security is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Oracle Data Guard is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option OLAP is ON
    [Thread-52] [ 2012-10-24 13:59:29.975 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Basic Compression is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Join index is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Trial Recovery is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Data Mining is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Online Redefinition is ON
    [Thread-52] [ 2012-10-24 13:59:29.976 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Streams Capture is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option File Mapping is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Block Change Tracking is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Flashback Table is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Flashback Database is ON
    [Thread-52] [ 2012-10-24 13:59:29.977 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Transparent Data Encryption is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Backup Encryption is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Unused Block Compression is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Result Cache is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option SQL Plan Management is ON
    [Thread-52] [ 2012-10-24 13:59:29.978 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option SecureFiles Encryption is ON
    [Thread-52] [ 2012-10-24 13:59:29.979 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Real Application Testing is ON
    [Thread-52] [ 2012-10-24 13:59:29.979 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Flashback Data Archive is ON
    [Thread-52] [ 2012-10-24 13:59:29.979 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option DICOM is ON
    [Thread-52] [ 2012-10-24 13:59:29.992 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Active Data Guard is ON
    [Thread-52] [ 2012-10-24 13:59:29.992 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Server Flash Cache is ON
    [Thread-52] [ 2012-10-24 13:59:29.992 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Advanced Compression is ON
    [Thread-52] [ 2012-10-24 13:59:29.992 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option XStream is ON
    [Thread-52] [ 2012-10-24 13:59:29.993 GMT+05:30 ] [OracleHome.initOptions:1265] Database Option Deferred Segment Creation is ON
    [Thread-52] [ 2012-10-24 13:59:29.993 GMT+05:30 ] [OracleHome.initOptions:1269] executing: select version from v$timezone_file
    [Thread-52] [ 2012-10-24 13:59:29.997 GMT+05:30 ] [OracleHome.initOptions:1275] Timezone file version is 14
    [Thread-52] [ 2012-10-24 13:59:31.019 GMT+05:30 ] [SQLEngine.done:2189] Done called
    [Thread-52] [ 2012-10-24 13:59:31.020 GMT+05:30 ] [OsUtilsBase.deleteFile:1863] OsUtilsBase.deleteFile: /nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/initDBUA5901749.ora
    [Thread-52] [ 2012-10-24 13:59:31.034 GMT+05:30 ] [OsUtilsBase.deleteFile:1863] OsUtilsBase.deleteFile: /nhi2/app/oracle11g/product/11.2.0/dbhome_1/dbs/orapwDBUA5901749
    [Thread-52] [ 2012-10-24 13:59:31.042 GMT+05:30 ] [OracleHome.initOptions:1316] Diag cleanup /nhi2/app/oracle11g/product/11.2.0/dbhome_1/log/diag/rdbms/dbua5901749
    [Thread-52] [ 2012-10-24 13:59:31.564 GMT+05:30 ] [OracleHome.initOptions:1324] Database Options queried: 60
    [Thread-52] [ 2012-10-24 13:59:31.564 GMT+05:30 ] [CompManager.setLoggingDirForDB:6992] Create logging folder for database=baan
    [Thread-52] [ 2012-10-24 13:59:31.565 GMT+05:30 ] [CompManager.createUniqueDirs:6953] create createUniqueDirs logging folder=/nhi2/app/oracle11g/cfgtoollogs/dbua/baan/upgrade
    [Thread-52] [ 2012-10-24 13:59:31.566 GMT+05:30 ] [CompManager.createUniqueDirs:6965] create createUniqueDirs logging folder=/nhi2/app/oracle11g/cfgtoollogs/dbua/baan/upgrade1
    [Thread-52] [ 2012-10-24 13:59:31.574 GMT+05:30 ] [CompManager.createUniqueDirs:6973] create SUCCESS for folder=/nhi2/app/oracle11g/cfgtoollogs/dbua/baan/upgrade1
    Thanks,
    Sandeep Vadlamudi

  • [SOLVED] vsFTP and virtual users

    EDIT: One should really install pam_pwdfile if he wants this to work (it's also in the wiki, but I'm blind)
    Hey,
    I'm trying to set up vsFTP with virtual users on my machine. Here is what I did:
    # pacman -S vsftpd
    # mkdir /etc/vsftpd
    # htpasswd -cd /etc/vsftpd/.passwd ftpguest
    *password*
    # vi /etc/pam.d/vsftpd
    auth required pam_pwdfile.so pwdfile /etc/vsftpd/.passwd
    account required pam_permit.so
    # useradd -d /storage/ftp virtual
    # chown virtual:virtual /storage/ftp
    My /etc/vsftpd.conf:
    anonymous_enable=NO
    pam_service_name=vsftpd
    hide_ids=YES
    local_enable=YES
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    chroot_local_user=YES
    local_root=/storage/ftp/$USER
    user_sub_token=$USER
    guest_enable=YES
    guest_username=virtual
    virtual_use_local_privs=YES
    listen=YES
    # mkdir /storage/ftp/ftpguest
    # chown virtual:virtual /storage/ftp/ftpguest
    # systemctl start vsftpd.service
    Then I point my browser to ftp://myip and I get a prompt for username and password, but the problem is that the user I created (ftpguest) can't log in. What am I missing?
    Thanks
    Last edited by developej (2014-05-10 20:38:59)

    EDIT: One should really install pam_pwdfile if he wants this to work (it's also in the wiki, but I'm blind)
    Hey,
    I'm trying to set up vsFTP with virtual users on my machine. Here is what I did:
    # pacman -S vsftpd
    # mkdir /etc/vsftpd
    # htpasswd -cd /etc/vsftpd/.passwd ftpguest
    *password*
    # vi /etc/pam.d/vsftpd
    auth required pam_pwdfile.so pwdfile /etc/vsftpd/.passwd
    account required pam_permit.so
    # useradd -d /storage/ftp virtual
    # chown virtual:virtual /storage/ftp
    My /etc/vsftpd.conf:
    anonymous_enable=NO
    pam_service_name=vsftpd
    hide_ids=YES
    local_enable=YES
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    chroot_local_user=YES
    local_root=/storage/ftp/$USER
    user_sub_token=$USER
    guest_enable=YES
    guest_username=virtual
    virtual_use_local_privs=YES
    listen=YES
    # mkdir /storage/ftp/ftpguest
    # chown virtual:virtual /storage/ftp/ftpguest
    # systemctl start vsftpd.service
    Then I point my browser to ftp://myip and I get a prompt for username and password, but the problem is that the user I created (ftpguest) can't log in. What am I missing?
    Thanks
    Last edited by developej (2014-05-10 20:38:59)

  • Azure VM persistent page blob disks appear not to deliver 500 IOPs or 60 MB/s as expected

    I need to benchmark Azure standard A3 and A4 VMs to see if I can get the advertised
    500 IOPs -
    60 MB/s per disk.
    I'm aware of the 20k maximum IOPS per standard storage account. The following VM test is done in its own (standard) storage account.
    I tested a new standard A3 VM that comes with 4 cores, 7 GB RAM, and up to 8x 1TB persistent HDD disks delivering 500 IOPS or 60MB/s each.
    I created and used the following script to provision and attach 8x disk to the VM, Powershell into the VM, create a Storage Space - simple, 8 columns, 128k interleave (to make a 1MB stripe - best suited for the anticipated workload):
    $SubscriptionName = '####Removed####'
    $StorageAccount = 'testdisks1storageaccount'
    $VMName = 'testdisks1vm'
    $ServiceName = 'testdisks1cloudservice'
    $PwdFile = ".\$VMName-####Removed####.txt"
    $AdminName = '####Removed####'
    # Pick Storage Account
    Set-AzureSubscription -SubscriptionName $SubscriptionName -CurrentStorageAccount $StorageAccount
    # Create and attach 8x 1TB disks
    0..7 | % { $_
    Get-AzureVM -ServiceName $ServiceName -Name $VMName |
    Add-AzureDataDisk -CreateNew -DiskSizeInGB 1023 -DiskLabel "Disk$_" -LUN $_ |
    Update-AzureVM
    # Remote to the VM and creacte storage space:
    $objVM = Get-AzureVM -Name $VMName -ServiceName $ServiceName
    $VMFQDN = (Get-AzureWinRMUri -ServiceName $ServiceName).Host
    $Port = (Get-AzureWinRMUri -ServiceName $ServiceName).Port
    # Get certificate for Powershell remoting to the Azure VM if not installed already
    Write-Verbose "Adding certificate 'CN=$VMFQDN' to 'LocalMachine\Root' certificate store.."
    $Thumbprint = (Get-AzureVM -ServiceName $ServiceName -Name $VMName |
    select -ExpandProperty VM).DefaultWinRMCertificateThumbprint
    $Temp = [IO.Path]::GetTempFileName()
    (Get-AzureCertificate -ServiceName $ServiceName -Thumbprint $Thumbprint -ThumbprintAlgorithm sha1).Data | Out-File $Temp
    $Cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $Temp
    $store = New-Object System.Security.Cryptography.X509Certificates.X509Store "Root","LocalMachine"
    $store.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
    $store.Add($Cert)
    $store.Close()
    Remove-Item $Temp -Force -Confirm:$false
    # Attempt to open Powershell session to Azure VM
    Write-Verbose "Opening PS session with computer '$VMName'.."
    if (-not (Test-Path -Path $PwdFile)) {
    Write-Verbose "Pwd file '$PwdFile' not found, prompting to pwd.."
    Read-Host "Enter the pwd for '$AdminName' on '$VMFQDN'" -AsSecureString |
    ConvertFrom-SecureString | Out-File $PwdFile
    $Pwd = Get-Content $PwdFile | ConvertTo-SecureString
    $Cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $AdminName, $Pwd
    $Session = New-PSSession -ComputerName $VMFQDN -Port $Port -UseSSL -Credential $Cred -ErrorAction Stop
    # Check available disks:
    $ScriptBlock = { Get-PhysicalDisk -CanPool $True }
    $Result = Invoke-Command -Session $Session -ScriptBlock $ScriptBlock
    $Result | sort friendlyname | FT -a
    <#
    FriendlyName CanPool OperationalStatus HealthStatus Usage Size PSComputerName
    PhysicalDisk2 True OK Healthy Auto-Select 1023 GB testdisks1cloudservice.cloudapp.net
    PhysicalDisk3 True OK Healthy Auto-Select 1023 GB testdisks1cloudservice.cloudapp.net
    PhysicalDisk4 True OK Healthy Auto-Select 1023 GB testdisks1cloudservice.cloudapp.net
    PhysicalDisk5 True OK Healthy Auto-Select 1023 GB testdisks1cloudservice.cloudapp.net
    PhysicalDisk6 True OK Healthy Auto-Select 1023 GB testdisks1cloudservice.cloudapp.net
    PhysicalDisk7 True OK Healthy Auto-Select 1023 GB testdisks1cloudservice.cloudapp.net
    PhysicalDisk8 True OK Healthy Auto-Select 1023 GB testdisks1cloudservice.cloudapp.net
    PhysicalDisk9 True OK Healthy Auto-Select 1023 GB testdisks1cloudservice.cloudapp.net
    #>
    # Create Storage Space with 8 disks, optimize for 1MB stripe
    $ScriptBlock = {
    $PoolName = "VeeamPool2"
    $vDiskName = "VeeamVDisk2"
    $VolumeLabel = "VeeamRepo2"
    New-StoragePool -FriendlyName $PoolName -StorageSubsystemFriendlyName “Storage Spaces*” -PhysicalDisks (Get-PhysicalDisk -CanPool $True) |
    New-VirtualDisk -FriendlyName $vDiskName -UseMaximumSize -ProvisioningType Fixed -ResiliencySettingName Simple -NumberOfColumns 8 -Interleave 128KB |
    Initialize-Disk -PassThru -PartitionStyle GPT |
    New-Partition -AssignDriveLetter -UseMaximumSize |
    Format-Volume -FileSystem NTFS -NewFileSystemLabel $VolumeLabel -AllocationUnitSize 64KB -Confirm:$false
    Get-VirtualDisk | select FriendlyName,Interleave,LogicalSectorSize,NumberOfColumns,PhysicalSectorSize,ProvisioningType,ResiliencySettingName,Size,WriteCacheSize
    $Result = Invoke-Command -Session $Session -ScriptBlock $ScriptBlock
    $Result
    <#
    DriveLetter FileSystemLabel FileSystem DriveType HealthStatus SizeRemaining Size PSComputerName
    F VeeamRepo2 NTFS Fixed Healthy 7.98 TB 7.98 TB testdisks1clouds...
    FriendlyName : VeeamVDisk2
    Interleave : 131072
    LogicalSectorSize : 512
    NumberOfColumns : 8
    PhysicalSectorSize : 4096
    ProvisioningType : Fixed
    ResiliencySettingName : Simple
    Size : 8778913153024
    WriteCacheSize : 0
    PSComputerName : testdisks1cloudservice.cloudapp.net
    RunspaceId : 36930724-4ed4-4813-a8d5-1a8b56b0b1da
    #>
    Then I RDP'd into the VM, and ran IOMeter to test the IO performance of the disk I just created. According to Microsoft documentation I'm expecting to see 4K IOPS or 480 MB/s throughput (8x disks x 500 IOPS or 60 MB/s each)
    I got:
    1.3K IOPS instead of 4k, and ~85MB/s instead of 480MB/s.
    I've used all 4 workers (cores) to test, and saturated the disk queue with 20 concurrent IOs (see disk queue length on the bottom right part of the image). I tested with a single IO profile: 64K blocks 50% read/50% write which is the IO profile of the anticipated
    workload for this VM. 
    This is East US 2 region.
    This is consistent with other people's findings like this post.
    I also tested using the 8 disks as a striped disk in Windows. I removed the volume, vDisk, Storage Space, then provisioned a traditional RAID 0 striped disk in this Windows Server 2012 R2 VM. Results were slightly better:
    This is still far off the expected 4k IOPS or 480 MB/s I should be seeing here.
    My question is:
    What do I need to do to get this 4k IOPS or 480 MB/s IO performance in standard A3 VM? Or what's the recommended configuration to get this promised performance?
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

    OK. BTW, I upgraded this US East 2 region VM to A4, deleted the storage space and retested with a 16-disk, 16-column space. I got exactly twice the performance (2.6k IOPS, 175 MB/s).
    See this post for more details.
    I repeated the test on another A4 VM in US East region. This was even worse. Showing 1.7k IOPS, 100 MB/s in 16-disk / 16-column storage space disk testing..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • Solaris 10g RAC Clusterware Raw device dd comand block size, sizing

    Hi
    We are in the process of installing clusterware for RAc on solaris 10. I have 4 luns 500mb each, we want to use them for the voting disks and ocr,
    1. Which one do we use /dev/dsk or /dev/rdsk?
    2) Also how do you erase the data to clear them out, I think you use the dd comand correct, but what is the full sytax to cllear the voiting disk and the ocr, do I need to specify a block size ??
    3) Somebody was saying I should label the disks, just incase the controllers change the numbering if they ever get reconfigured, can this be done in SUN Solaris, if so can you give me an example, and do I specify the label as the ocr path??
    Thanks
    For all the info.

    1. Which one do we use /dev/dsk or /dev/rdsk?
    $$
    Please use Character Device ,This is general practice. However from 10.2.0.1 Block Device can also work.
    # chown oracle:dba /dev/rdsk/cxtydzs6
    # chmod 660 /dev/rdsk/cxtydzs6
    2) Also how do you erase the data to clear them out, I think you use the dd comand correct, but what is the full sytax to cllear the voiting disk and the ocr, do I need to specify a block size ??
    $$
    do
    dd if=/dev/zero of=/dev/ocr_disk$i bs=8192 count=25000 &
    done
    3) Somebody was saying I should label the disks, just incase the controllers change the numbering if they ever get reconfigured, can this be done in SUN Solaris, if so can you give me an example, and do I specify the label as the ocr path??
    $$
    Oracle recommends that you use a file name similar to dbname_raw.conf for this file.
    The following example shows a sample mapping file for a two-instance RAC cluster. Some of the partitions use alternative symbolic link names. Make sure that the partition device file name that you specify identifies the same partition on all nodes.
    system=/dev/rdsk/c2t1d1s3
    sysaux=/dev/rdsk/c2t1d1s4
    example=/dev/rdsk/c2t1d1s5
    users=/dev/rdsk/c2t1d1s6
    temp=/dev/rdsk/c2t1d2s3
    undotbs1=/dev/rdsk/c2t1d2s4
    undotbs2=/dev/rdsk/c2t1d2s5
    redo1_1=/dev/rdsk/c2t1d2s6
    redo1_2=/dev/rdsk/c2t1d3s3
    redo2_1=/dev/rdsk/c2t1d3s4
    redo2_2=/dev/rdsk/c2t1d3s5
    control1=/dev/rdsk/c2t1d4s3
    control2=/dev/rdsk/c2t1d4s3
    spfile=/dev/rdsk/dbname_spfile_raw_5m
    pwdfile=/dev/rdsk/dbname_pwdfile_raw_5m
    Hope this will help..
    Bharat
    NS

  • Cannot create PoolableConnectionFactory

    Hi,
    running Calendar Server version 7. Two days ago we had a power failure and the system, running our Calendar Server (not on the no-break) 'crashed', or at least was unsolicitedly shut down. After booting, I had problems with my iCal client application on Apple to connect to the server. I get the error message:
    The calendar http://calserver.sonnection.nl:8080/cal/dav/principals/[email protected]/ was not found on the server. Make sure the URL is correct.
    Before the 'crash' this worked without a problem. However, there are no errors in the commands and calendar log files (during a connection attempt from within iCal):
    ...davserver/logs/commands.0:
    [2010-12-23T20:31:26.065+0100] <19> DavServlet [REQ] PROPFIND /cal/dav/principals/[email protected]/ 80.127.135.139 calserver.sonnection.nl:8080
    [2010-12-23T20:31:26.066+0100] <19> DavServlet [RES] [401] Command execution time: 0.0010 secs
    [2010-12-23T20:31:26.068+0100] <20> DavServlet [REQ] PROPFIND /cal/dav/principals/[email protected]/ 80.127.135.139 calserver.sonnection.nl:8080
    [2010-12-23T20:31:26.069+0100] <20> DavServlet ----- Authentication: [email protected] login_time=0.0010 secs,start_service_time=0.0 secs.
    [2010-12-23T20:31:26.069+0100] <20> DavServlet ----- Autocreate /home/[email protected]/ start.
    [2010-12-23T20:31:26.070+0100] <20> DavServlet ----- AddCollection /home/[email protected]/ start.
    [2010-12-23T20:31:26.070+0100] <20> DavServlet [RES] [404] Command execution time: 0.0020 secs
    ... davserver/logs/calendar.0:
    INFO [2010-12-23T20:32:59.790+0100] <...DavServerServlet.service> [REQ] PROPFIND /cal/dav/principals/[email protected]/ 80.127.135.139 calserver.sonnection.nl:8080
    INFO [2010-12-23T20:32:59.791+0100] <...DavServerServlet.service> [RES] [401] Command execution time: 0.0010 secs
    INFO [2010-12-23T20:32:59.793+0100] <...DavServerServlet.service> [REQ] PROPFIND /cal/dav/principals/[email protected]/ 80.127.135.139 calserver.sonnection.nl:8080
    INFO [2010-12-23T20:32:59.795+0100] <...DavServerServlet.service> [RES] [404] Command execution time: 0.0020 secs
    Furthermore, since the crash my daily backup of the database fails, with an error:
    Backup started at 201012222355...
    Dec 22, 2010 11:55:01 PM com.sun.comms.davserver.backends.jdbcbackend.JdbcBackend getDatabaseName
    SEVERE: SQL error org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    Last packet sent to the server was 0 ms ago.)
    Dec 22, 2010 11:55:01 PM com.sun.comms.davserver.backends.jdbcbackend.JdbcBackend getBackendException
    WARNING: Unexpected SQL error: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    Last packet sent to the server was 0 ms ago.)
    Backend Exception: SQL error: Cannot create PoolableConnectionFactory (Communications link failure
    Last packet sent to the server was 0 ms ago.)
    The backup command I use is:
    $SBINDIR/davadmin db backup -H localhost -u $USER -W $PWDFILE -d $DATABASE -k $BACKUPDIR/caldav.backup.$DATETIME
    Any ideas where to start troubleshooting?
    /rolf

    Yes, I checked. It seems to be running OK:
    root 6842 1 0 22:13 pts/1 00:00:00 /bin/sh /usr/bin/mysqld_safe datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid --user=mysql
    mysql 6889 6842 0 22:13 pts/1 00:00:00 /usr/libexec/mysqld basedir=/usr datadir=/var/lib/mysql user=mysql pid-file=/var/run/mysqld/mysqld.pid skip-external-locking socket=/var/lib/mysql/mysql.sock
    To make sure it is running properly I restarted via /etc/init.d/mysqld stop and start. The log file:
    A mysqld process already exists at Thu Jun 10 14:57:41 CEST 2010
    A mysqld process already exists at Tue Dec 7 13:54:55 CET 2010
    101223 20:22:08 mysqld started
    101223 20:22:08 InnoDB: Started; log sequence number 0 46409
    101223 20:22:08 [Note] /usr/libexec/mysqld: ready for connections.
    Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
    110103 22:12:55 [Note] /usr/libexec/mysqld: Normal shutdown
    110103 22:12:55 InnoDB: Starting shutdown...
    110103 22:12:56 InnoDB: Shutdown completed; log sequence number 0 46409
    110103 22:12:56 [Note] /usr/libexec/mysqld: Shutdown complete
    110103 22:12:56 mysqld ended
    110103 22:13:04 mysqld started
    110103 22:13:04 InnoDB: Started; log sequence number 0 46409
    110103 22:13:04 [Note] /usr/libexec/mysqld: ready for connections.
    Version: '5.0.77' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
    Nothing special?
    /rolf

  • How to make the JMX custom authentication work ?

    I am using the password and access file based authentication on JMX. When building my JMXConnectorServer, i use the property names and it works fine.
        Map<String, String> env = new HashMap<String, String>();
        env.put(ApplicationProperties.JMX_PWD_FILE_PROP, pwdFile);
        env.put(ApplicationProperties.JMX_ACCESS_FILE_PROP, accFile);
        connectorServer = JMXConnectorServerFactory.newJMXConnectorServer(jmxServiceURL, env, mBeanServer);However, now i want to use a custom authenticator and i implemented my own LoginModule to have a encrypted password in the password file. Thus the ideas is to have an encrypted password and plain text user name in the password file.
        public class ABCDJMXLoginModule implements LoginModule {
            private CallbackHandler callbackHandler;
            private Subject subject;
            private String u_username;
            private String u_password;
            private JMXPrincipal user;
            private Properties userCredentials;
            private String passwordFile;
            private String f_username;
            private String f_password;
            private static final Logger logger = LoggerFactory.getLogger(ABCDJMXLoginModule.class);
            public boolean abort() throws LoginException {
                // TODO Auto-generated method stub
                return false;
            public boolean commit() throws LoginException {
                // TODO Auto-generated method stub
                return true;
            public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState,
                    Map<String, ?> options) {
                this.subject = subject;
                this.callbackHandler = callbackHandler;
            public boolean login() throws LoginException {
                try {
                    attemptLogin();
                    loadPasswordFile();
                } catch (Exception e) {
                    logger.info("Exception, e");
                if (u_username == null || u_password == null) {
                    throw new LoginException("Either no username or no password specified");
                logger.info("Password from user and file : " + u_password + " :: " + f_password);
                if (u_password.equals(f_password)) {
                    return true;
                return false;
            public boolean logout() throws LoginException {
                // TODO Auto-generated method stub
                return true;
            private void attemptLogin() throws LoginException {
                Callback[] callbacks = new Callback[2];
                callbacks[0] = new NameCallback("u_username");
                callbacks[1] = new PasswordCallback("u_password", false);
                try {
                    callbackHandler.handle(callbacks);
                } catch (IOException e) {
                    logger.error("IOException", e);
                } catch (UnsupportedCallbackException e) {
                    logger.error("UnsupportedCallbackException", e);
                u_username = ((NameCallback) callbacks[0]).getName();
                user = new JMXPrincipal(u_username);
                char[] tmpPassword = ((PasswordCallback) callbacks[1]).getPassword();
                u_password = tmpPassword.toString();
                logger.info("UserName : " + u_username);
                logger.info("Password : " + u_password);
                System.arraycopy(tmpPassword, 0, u_password, 0, tmpPassword.length);
                ((PasswordCallback) callbacks[1]).clearPassword();
            private void loadPasswordFile() throws IOException {
                FileInputStream fis = null;
                passwordFile = "c:\\abcd.jmx.enc.password.file";
                try {
                    fis = new FileInputStream(passwordFile);
                } catch (SecurityException e) {
                    logger.error("Security Exception", e);
                BufferedInputStream bis = new BufferedInputStream(fis);
                userCredentials = new Properties();
                userCredentials.load(bis);
                bis.close();
                f_username = u_username;
                f_password = (String) userCredentials.get(f_username);
                logger.info("UserName before Decrypt : " + f_username);
                logger.info("Password from file before Decrypt : " + f_password);
                // decrypt the password from file and later compare it with user password from JConsole
                if (f_password != null) f_password = Cryptography.decrypt(f_password);
                logger.info("Password from file after Decrypt : " + f_password);
        }When i use the following code and try to connect via JConsole nothing happens.
        Map<String, String> env = new HashMap<String, String>();
        env.put(ApplicationProperties.JMX_PWD_FILE_PROP, pwdFile);
        env.put(ApplicationProperties.JMX_ACCESS_FILE_PROP, accFile);
        env.put("jmx.remote.x.login.config", "com.splwg.ejb.service.management.ABCDJMXLoginModule");
        connectorServer = JMXConnectorServerFactory.newJMXConnectorServer(jmxServiceURL, env, mBeanServer);Any ideas on why this happens ? For sure, i am also not coming into the ABCDJMXLoginModule class - I have some print statements there and none of them get printed. Any sort of ideas and solutions are appreciated. I tried with the property "com.sun.management.jmxremote.login.config" too. I was expecting that mentioning the property in the environment and passing it to the JMXCOnnectorServer would do all the trick.
    Am i missing something ?

    Hello dcloko_BR,
    I downloaded and installed Lenovo´s The Lenovo Solution Center and now the solution center starts after pressing the blue button. Perhaps give it a try.
    Edit: Upps sorry, only newer models are supported according to the readme.txt.
    Best regards
    Andreas
    Follow @LenovoForums on Twitter! Try the forum search, before first posting: Forum Search Option
    Please insert your type, model (not S/N) number and used OS in your posts.
    I´m a volunteer here using New X1 Carbon, ThinkPad Yoga, Yoga 11s, Yoga 13, T430s,T510, X220t, IdeaCentre B540.
    TIP: If your computer runs satisfactorily now, it may not be necessary to update the system.
     English Community       Deutsche Community       Comunidad en Español

  • Password Manager shut down

    Hi,
    since the latest Windows XP Updates the password manager is starting up on my T61p, but it's showing only the "About" Dialog Box with a OK button. After clicking on OK the program shut down. I'm running on Version 8.10.0006.00 of CSS.
    Besides the Lenovo Message Center is starting with an empty dialog box even and is shut downed also.
    Thank's for some help.
    Ulrich

    I recreate password file successfully on the different OS (windows 2k server). I guess that it might be very identical conceptually. This is what I have done:
    1. shutdown the instance.
    2. delete the pwdfile under oracle_home\database, (oracle_home/dbs under Unix environment).
    3. create a new pwdfile as you did under the proper directory.
    4. log in the server manager (svrmgrl) with sysdba role and restart the instance. It should be ok with new pwdfile.
    Hope it helpful.
    R. Wang

  • Vsftpd login problem

    I've followed the vsftpd guide at the Wiki to set up a ftp server with virtual users.
    But when I try to login, it shows "530 Login incorrect."
    I've noticed that the "pam_pwdfile.so" file doesn't exist in /lib/security, but it's needed for the authentification, I tried to install this library, but I didn't found it.
    Below are my config files, /etc/vsftpd.conf:
    pam_service_name=vsftpd
    write_enable=YES
    hide_ids=YES
    listen=YES
    connect_from_port_20=YES
    anonymous_enable=NO
    local_enable=YES
    dirmessage_enable=YES
    xferlog_enable=YES
    chroot_local_user=YES
    guest_enable=YES
    guest_username=virtual
    virtual_use_local_privs=YES
    allow_writeable_chroot=YES
    local_root=/drives/500/users/$USER
    user_sub_token=$USER
    /etc/vsftpd/.passwd:
    testuser:$1$uIAr3pIF$fE9cxUfUGxbcMTr5uSPjW.
    /etc/pam.d/vsftpd
    auth required pam_pwdfile.so pwdfile /etc/vsftpd/.passwd
    account required pam_permit.so
    Have anyone an idea? thanks in advance.

    I experienced a similar issue recently. When I was using Internet Explorer 11 to access an FTP URL, such as ftp://ftp.hostname.com, it would not prompt for a username and password. If I used Firefox it worked fine. I figured out the issue in my case. Since I set the vsftpd setting userlist_deny=NO, the file user_list (/etc/vsftpd/user_list) became a file containing a list of users that are allowed to connect to the server. An entry for user "anonymous" had to exist in there for some browsers to work properly, such as Internet Explorer 11. I had to do that even though I don't allow anonymous access by setting anonymous_enable=NO.
    The reason is the following. When you use a web browser to connect to an FTP URL, such as ftp://ftp.hostname.com, it will first try to automatically connect as user anonymous. If that user is not explicitly authorized to connect to the vsftpd, which is needed when using userlist_deny=NO, the browser will get a permission denied response. Some browsers don't handle this well, such as Internet Explorer 11. That browser stopped trying to connect immediately so it didn't ask me for a username and password. Once I added user anonymous to the authorized list, instead of the browser receiving a permission denied response it received a response asking for the password of user anonymous. Once the browser couldn't log on automatically as user anonymous it prompted me for a username and password.

Maybe you are looking for

  • How to make a particular field editable in a Form/Empty View

    Hi All, I want make a particular field editable in a Form View. Means i have 5 fields in the Form View and out of 5 fields i want to make one field editable or input field. Can you plz tell me how to do that? thanks & regards Madhusudan

  • EJB deployed but doesnt show up in JNDI tree on weblogic

    Hi, I have a sample EJB deployed on weblogic 10.3 server. My Bean class contains following code. ======================================================================== @Stateless (mappedName = "DemoEJB") @TransactionManagement(TransactionManagement

  • Exporting extended EDL from FCP version 7.

    Hello group, I am using FCP version 7 and would like to export an extended EDL which would support long reel names. Names that would correspond to 16 character RED names. Typically such an EDL has a reference list as the bottom of the EDL called a So

  • FCE Export settings for Web content

    I'm about to help a friend make a how-to video for the web. I have not shot it yet and I've never made anything for the web before so I wanted to verify the correct settings before I start. I will be shooting with a Canon HV30 in HD 30 fps. What easy

  • Ping (check) Loaded Page (uncheck)

    Okay I am using the WRT54G wireless router, I have four computers wired in and two wireless connections. With a Time Warner connection (x.x) I normally have issues with time warner but this one seems to be my router. I have been having issues loading