OCI NLS errors in Perl script

I'm using Perl to access an Oracle DB, using Activestate Perl and pre-built DBI and DBD::Oracle modules.
I'm running the scripts on a Windows XP laptop, connecting to an Oracle DB running on Solaris 10, Oracle versions are 10.2 in both cases.
I can connect to the database successfully with sqlplus, run from the command line, using the 'easy connect' method.
The script fails to connect, generating this error:
DBI connect('host=host.domain.com;sid=mydb;port=1522','myusername',...)
failed: ERROR OCINlsEnvironmentVariableGet(OCI_NLS_CHARSET_ID)
Check ORACLE_HOME and NLS settings etc. at C:\Perl\bin/esrch line 249
My ORACLE_HOME points to the Oracle installation directory which was used to build the module, so I believe it's OK.
Line 249 in the script is the dbi->connect(...) method.
I have no idea which NLS variable would need to be set or changed, if that's what's needed.
I also know that OCI_NLS_CHARSET_ID is a #define, found in oci.h. This file is included by the header file for my code.
Any suggestions on how to get this working are much appreciated.
Bob

Hmm, there seems to be some confusion on my part regarding my login. I just used one which I swear I tried previously without success.
In any case, I'm the original poster. Sorry for any confusion this causes.
As for the questions asked.
1. Oracle home access: yes, not only did the same user do the install of Oracle, I've verified that the user can access all files.
2. I've run with NLS_LANG set and unset. The value used is the one stored in the registry:
AMERICAN_AMERICA.WE8MSWIN1252
3. I did a 'print "$ENV{NLS_LANG}\n"' from the perl script and got the expected output, as set above.
4. As I understand it, the PerlSetVar function is a mod_perl feature, not part of the base language. I'm using batch files to run perl on my perl scripts, started from a command prompt.
Thanks,
Bob

Similar Messages

  • Rman/PERL scripts errors

    I am trying to automate the backups and disk maintenence on a test machine using a "Host Command" in the 10g EM environment. If I run the script from the command on the target host the scripts completes successfully.
    This is the script:
    ORACLE_HOME=/u01/app/oracle/product/9.2.0
    export ORACLE_HOME
    ORACLE_SID=coeusdba.
    export ORACLE_SID
    rman <<EOF
    connect target sys<password>@coeusdba;
    connect catalog <user>/<password>@recv;
    replace script coeusdba_full_bkp { 
    allocate channel Channel1 type disk format '/u03/orabkp/coeusdba/b_%u_%p_%c';
    backup
    ( database include current controlfile );
    backup ( archivelog all delete input );
    run { execute script coeusdba_full_bkp;}
    EOF
    /u01/app/oracle/product/9.2.0/dbs/scripts/coeusdba_new.sh
    exit
    When I execute the same script from a 10g EM "Host Command" job the script fails at the PERL command step with the following output:
    Recovery Manager: Release 9.2.0.7.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN>
    RMAN>
    connected to target database: COEUSDBA (DBID=1916078485)
    RMAN>
    RMAN>
    connected to recovery catalog database
    RMAN> 2> 3> 4> 5> 6> 7> 8>
    replaced script coeusdba_full_bkp
    RMAN>
    RMAN>
    executing script: coeusdba_full_bkp
    allocated channel: Channel1
    channel Channel1: sid=10 devtype=DISK
    Starting backup at NOV-01-2005 10:32:32
    channel Channel1: starting full datafile backupset
    channel Channel1: specifying datafile(s) in backupset
    including current controlfile in backupset
    input datafile fno=00006 name=/u02/oradata/coeusdba/users01.dbf
    input datafile fno=00002 name=/u03/oradata/coeusdba/undotbs01.dbf
    input datafile fno=00004 name=/u03/oradata/coeusdba/index01.dbf
    input datafile fno=00005 name=/u03/oradata/coeusdba/tools01.dbf
    input datafile fno=00007 name=/u03/oradata/coeusdba/xdb01.dbf
    input datafile fno=00001 name=/u02/oradata/coeusdba/system01.dbf
    input datafile fno=00003 name=/u02/oradata/coeusdba/drsys01.dbf
    channel Channel1: starting piece 1 at NOV-01-2005 10:32:33
    channel Channel1: finished piece 1 at NOV-01-2005 10:33:28
    piece handle=/u03/orabkp/coeusdba/b_3rh2l4q1_1_1 comment=NONE
    channel Channel1: backup set complete, elapsed time: 00:00:55
    Finished backup at NOV-01-2005 10:33:28
    Starting backup at NOV-01-2005 10:33:29
    current log archived
    channel Channel1: starting archive log backupset
    channel Channel1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=49 recid=200 stamp=573215609
    channel Channel1: starting piece 1 at NOV-01-2005 10:33:32
    channel Channel1: finished piece 1 at NOV-01-2005 10:33:33
    piece handle=/u03/orabkp/coeusdba/b_3sh2l4rr_1_1 comment=NONE
    channel Channel1: backup set complete, elapsed time: 00:00:02
    channel Channel1: deleting archive log(s)
    archive log filename=/u04/arch/coeusdba/1_49.dbf recid=200 stamp=573215609
    Finished backup at NOV-01-2005 10:33:35
    Starting Control File and SPFILE Autobackup at NOV-01-2005 10:33:35
    piece handle=/u04/orabkp/coeusdba/ctl_file_bkps/c-1916078485-20051101-00 comment=NONE
    Finished Control File and SPFILE Autobackup at NOV-01-2005 10:33:38
    released channel: Channel1
    RMAN>
    RMAN>
    Recovery Manager complete.
    syntax error at /u01/app/oracle/product/9.2.0/EM10g_1/perl/lib/5.6.1/warnings.pm line 306, near "{^"
    syntax error at /u01/app/oracle/product/9.2.0/EM10g_1/perl/lib/5.6.1/warnings.pm line 311, near "{^"
    BEGIN failed--compilation aborted at /u01/app/oracle/product/9.2.0/EM10g_1/perl/lib/5.6.1/English.pm line 38.
    BEGIN failed--compilation aborted at /u01/app/oracle/product/9.2.0/dbs/scripts/rmanc.pl line 20
    Is anyone having this problem in 10g and if so , can you provide me with some insight with respect to resolution?

    The .sh script calls a perl script that parses the output of the report obsolete command in rman and deletes the obsolete datasets from disk. This shell completes from the command line with no errors. Here is the .sh and the perl script. Like I said the odd thing is that this shell executes successfully from the command line. Thanks for your interest in looking at this.
    cat coeusdba_new.sh
    /u01/app/oracle/product/9.2.0/dbs/scripts/rmanc.pl target sys/<password>@coeusdba catalog rmantest/<password>@recv redundancy 2
    rmanc.$ cat rmanc.pl
    #!/usr/bin/perl -w
    # NAME
    # rmanc.pl - delete obsolete backups and copies
    # DESCRIPTION
    # This perl script automates deletion of obsolete datafilecopies and
    # backup pieces. It uses perl strin manipulation to process the output of the RMAN
    # "report obsolete" command and creates rm commands to delete the files
    # NOTES
    # Some customization is necessary.
    # Adapted from Oracle 8i rman1.sh Unix shell script.
    # benmalek 03/08/2003 - Modified to delete backup sets and datafilecopies only
    # Does not touch backup records.
    use strict;
    #use English;
    #$ENV{ORACLE_OWNER}='oracle';
    #$ENV{ORACLE_HOME}='/disk01/app/oracle/product/9.2.0';
    $ENV{NLS_DATE_FORMAT}='DD-MON-YYYY:HH24:MI:SS';
    &PrintEnv;
    sub Usage {
    my ($arg1, @arg2) = @_;
    my $base_name = `basename $0`;
    chop($base_name);
    CASE: {
    if (!defined($arg1)) {last CASE; }
    if ($arg1 =~ /\S/) {print ("\nUnknown argument or incorrect value for: $arg1\n\n"); last CASE; }
    my $example1 = 'rmanc.pl target sys/orclpass@orcl catalog rman/rmanpass@rec redundancy 5';
    my $example2 = 'rmanc.pl target sys/orclpass@orcl nocatalog redundancy 5';
    my $usage_txt =
    " Usage: $base_name [option] ...
    option: [target CNCTSTR] [catalog CNCTSTR | nocatalog] [params 'PARMS'] [redundancy NUMBER]
    Option Description
    target CNCTSTR Connect to the target db using CNCTSTR.
    catalog CNCTSTR Connect to catalog db using CNCTSTR.
    nocatalog Don't use a recovery catalog.
    parms 'PARMS' Use PARMS string for SBT_TAPE maintenance channel.
    You can use single or double quotes depending on
    your needs. In the rman script, single-quotes
    will be used.
    redundancy NUMBER Set redundancy of backups to NUMBER.
    The catalog or nocatalog option must be specified. All others are optional
    The target option must also be specified
    Examples:
    $example1
    $example2 ";
    print ("$usage_txt \n");
    die "Exiting subroutine 'Usage'.\n";
    # Initialize default connect string variables:
    my $target=""; # force user to supply target option
    my $catalog=""; # force user to supply catalog option;
    my $parms="";
    my $redun=""; # force user to supply redundancy option;
    # process target and catalog arguments
    my $args = @ARGV;
    while ( $args > 0 ) {
    ARGS: {
    if (($ARGV[0] eq "target") && defined($ARGV[1]))
    {$target="$ARGV[0] $ARGV[1]"; shift(@ARGV); last ARGS;}
    if (($ARGV[0] eq "catalog" || $ARGV[0] eq "rcvcat") && defined($ARGV[1]))
    { $catalog="$ARGV[0] $ARGV[1]"; shift(@ARGV); last ARGS;}
    if ($ARGV[0] eq "nocatalog") { $catalog="$ARGV[0]"; last ARGS;}
    if (($ARGV[0] eq "parms") && defined($ARGV[1])) { $parms = "$ARGV[0] $ARGV[1]"; shift(@ARGV); last ARGS;}
    if (($ARGV[0] eq "redundancy") && defined($ARGV[1]) && !($ARGV[1] =~ /\D/))
    {$redun=$ARGV[1]; shift(@ARGV); last ARGS;}
    &Usage($ARGV[0]);
    shift(@ARGV);
    $args= @ARGV;
    if ((!defined($catalog) || $catalog eq "") || (!defined($target) || $target eq "") || (!defined($redun) || $redun eq "" )) {&Usage;}
    #print (" target=$target \n catalog=$catalog \n parms=$parms \n redundancy=$redun\n");
    # Get a list of obsolete disk files to delete:
    my @rman_out=`rman $target $catalog << EOF
    report obsolete redundancy=$redun device type disk;
    exit;
    EOF`;
    # debug
    print ("############################################\n");
    print ("Output of REPORT OBSOLETE REDUNDANCY=$redun\n");
    print @rman_out;
    print ("############################################\n");
    #my $command = `rman $target $catalog << EOF
    # report obsolete redundancy=$redun device type disk;
    # exit;
    # EOF"
    #open (RMAN, "$command |" );
    #my @rman_out=<RMAN>;
    # Extract the names of the obsolete files to delete
    my $line;
    my @files;
    my @dates;
    my @pieces;
    foreach $line (@rman_out) {
    if (($line =~ /Backup Piece/) && ($line =~ /\S/)) {
    my @fields=split (/\s+/, $line);
    my $nelem=@fields;
    push(@pieces, $fields[$nelem-3]);
    push(@dates, $fields[$nelem-2]);
    push(@files, $fields[$nelem-1]);
    # Verify files exists
    my $i=0;
    foreach $line (@files) {
    if (-e $line) {
    print ("Deleting backup piece or file copy: $pieces[$i] $dates[$i] $line\n");
    system("rm $line");
    } else {
    # print ("file $line does not exist. \n");
    $i = $i + 1;
    sub PrintEnv{
    my $var;
    foreach $var (sort keys %ENV) {
    print "$var: \"$ENV{$var}\".\n"
    pl

  • Perl script running - "text file busy" error?

    Hiya--
    Recently, whenever I try to run a perl script, I get the following error:
    tcsh: nameofscript.pl: Text file busy.
    The permissions on the perl script are set to 755, and this error message occurs whether I type "nameofscript.pl" or "./nameofscript.pl" at the prompt. The initial line is of the script is
    #!/usr/bin/perl
    Has anyone else encountered this problem? I can't for the life of me figure out why it's occurring now. (I've run this script before without any problems. It's only within the last 2-3 weeks that this error pops up and won't go away, and only for .pl scripts.)
    Advice much appreciated.
    iBook Mac OS X (10.4)
    iBook   Mac OS X (10.4)  

    Hi Mahesh,
    I could suggest you some services that you may stop in Windows platform.. If not You may look into some services
    with analogous names and stop them. But you may go about stopping all database and SAP J2E services.
    The services are
    saposcols
    sapj2e00
    sapj2e01
    Hope this helps.
    Deepa

  • ESSCMD in Perl Script - Error handling

    Does anyone use Perl scripts to run Esscmd commands? I'm trying to incorporate error handling and I can't seem to get Perl to recognize and error that happened when the Esscmd statement runs. A sample would be much appreciated. The fact that I'm not too familiar with Perl doesn't help! <BR>Thanks much.

    Sorted.
    Had to change
    #!/usr/bin/perl
    to
    #!/usr/bin/perl --

  • In Web Server 6.0 during the execution of a Perl Script, the software send the error "Cannot execute CGI script......unable to sewt group".

     

    Hi Pablo,
    Its bcos Your web server has been misconfigured. It doesn't know that it should execute your Perl program, so it's just returning the error to the browser.
    Assuming that u use solaris 2.8. Generally the path for the perl in solaris is #!/usr/bin/perl .make sure u have included this in ur first line of the perl programs.[if not enter the exact location of the perl interpretor]
    Now follow these steps:
    *First Part
    First create a cgi folder mycgi-bin( follow this example please) say u create mycgi in /usr folder (solaris). so the path becomes '/usr/mycgi-bin'. set
    appropriate permissions say set chmod to 755. to make it executable. Then
    (1)Goto Programs tab in IWS (iplanet web server) .
    (2)choose cgi-directory drom left frame.
    (3)CGI Directory Add another CGI Directory
    URL prefix: mycgi-bin
    CGI directory: /usr/mycgi-bin
    (4) click 'OK' and click 'apply' to save changes and restart the server.
    * Second Part:
    1.In the Server Administrator, click Server preferences, then select 'MIME Types' from the frame on the left.
    2.If you want to use .pl as the extension for Perl scripts, find and remove the application/x-perl MIME type (this is mapped to .pl by default). (remove it).
    3.Add a new MIME Type with 'magnus-internal/mycgi-bin' (type this exactly ie magnus-internal/cgidirectory url prefix) as the Content Type, and pl as the File Suffix.
    4.Save and apply these changes, then re-start the server.
    5 .Put a sample perl file in mycgi-bin directory say sample.pl and access http://yourserver:port/mycgi-bin/sample. pl
    *If you are having trouble running Perl scripts on your iPlanet server, check the following:
    * Ensure that the script is readable by the account used by the iPlanet service.Generally, this means you should make the script readable by the Everyonegroup.
    * Ensure that all supporting files, like the perl binary files, the perl library files, and the modules that you use, are all readable by the account used by the iPlanet service (i.e., the Everyone group).
    It should work now,
    Regards,
    T.Raghulan

  • Perl script server error 502

    Upgraded to Windows Server 2008 and Instructor login Perl Script for iTunesU stopped working. It now gives...
    "Server Error 502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server."
    Login scripts for Public and Student access still work fine.  Has anyone else ran into this error?

    Hi,
    The forums have been having problems for about a month or so. The 502 error is less frequent than the generic 'Internal Server Error' pages, but they've been noticed as well:
    https://social.technet.microsoft.com/Forums/en-US/098dc7d7-b12a-4a6d-ae74-47e612531e68/internal-server-error-coming-when-accessing-msdn-forum?forum=reportabug
    The best way to report this issue is to send in an email to fissues (at) microsoft [dot] com with a link to the URL you received the error from and when it happened.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Can't open perl script "/opatch.pl": No such file or directory

    After installed Oracle 9.2.04 and applied patch p3006854, p3948480 and p4188455 on Linux AS4, I found that I can not start agent. If I execute "agentctl start", oracle will through our error like:
    Starting Oracle Intelligent Agent.../u01/app/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1855 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $*
    $DBSNMP_WDLOGFILE 2>&1/u01/app/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1868 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
    /u01/app/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1880 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
    /u01/app/oracle/product/9.2.0/bin/dbsnmpwd: line 156: 1892 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
    I searched Internet and some article said p3238244 is needed. So I started to install it. At the very beginning, the error is "Can not find ../oui/OraInstall.jar". I found this file in "../oui/jlib" and copy it to "../oui". Then I run "opatch apply" and the error is "Can't open perl script "/opatch.pl": No such file or directory". This time I can not find much similiar information from google.
    Any idea?
    PS: I changed path of inventory during the installation to "/henry/cwdata" ($ORACLE_HOME=/henry/app/oracle/product/9.2). Will this action cause the error below? What is the usage of inventory path exactly?
    Much appreciated!
    Henry

    Below is my env and .bash_profile.
    [oracle@henrylinux lib]$ env
    SSH_AGENT_PID=2814
    HOSTNAME=henrylinux
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
    WINDOWID=39880874
    OLDPWD=/home/oracle
    ORACLE_OWNER=oracle
    USER=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;0 1:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.b tm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31: *.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:* .bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    ORACLE_SID=ora92
    GNOME_KEYRING_SOCKET=/tmp/keyring-BckaCh/socket
    ORACLE_BASE=/henry/app/oracle
    SSH_AUTH_SOCK=/tmp/ssh-nsWlKX2762/agent.2762
    KDEDIR=/usr
    SESSION_MANAGER=local/henrylinux:/tmp/.ICE-unix/2762
    GDN_LANG=en_US
    MAIL=/var/spool/mail/oracle
    DESKTOP_SESSION=default
    PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/ bin:/henry/app/oracle/product/9.2/bin:/henry/app/oracle/product/9.2/Apache/Apach e/bin:
    INPUTRC=/etc/inputrc
    PWD=/henry/app/oracle/product/9.2/ctx/lib
    THREADS_FLAG=native
    LANG=en_US.UTF-8
    LC=en_US
    ORACLE_TERM=xterm
    GDMSESSION=default
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    HOME=/home/oracle
    SHLVL=2
    LD_ASSUME_KERNEL=2.4.19
    GNOME_DESKTOP_SESSION_ID=Default
    LOGNAME=oracle
    LC_CTYPE=zh_CN.GB2312
    CLASSPATH=/henry/app/oracle/product/9.2/JRE:/henry/app/oracle/product/9.2/jlib:/ henry/app/oracle/product/9.2/rdbms/jlib:/henry/app/oracle/product/9.2/network/jl ib
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Z7HVMAC8Dh
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    ORA_NLS33=/henry/app/oracle/product/9.2/ocommon/nls/admin/data
    DISPLAY=:0.0
    ORACLE_HOME=/henry/app/oracle/product/9.2
    G_BROKEN_FILENAMES=1
    COLORTERM=gnome-terminal
    XAUTHORITY=/home/oracle/.Xauthority
    _=/usr/bin/env
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export ORACLE_BASE=/henry/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/9.2
    export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:/sbin
    export ORACLE_OWNER=oracle
    export ORACLE_SID=ora92
    export ORACLE_TERM=xterm
    export LD_ASSUME_KERNEL=2.4.19
    export THREADS_FLAG=native
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export NLS_LANG="AMERICAN_AMERICA.ZHS16GBK"
    export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    export DISPLAY=:0
    export LANG=en_US
    export GDN_LANG=en_US
    export LC=en_US
    export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib
    export LC_CTYPE=zh_CN.GB2312
    export PATH
    unset USERNAME

  • How to launching a perl script by the "begin" script of a jumpstart

    Hi all,
    i have an urgent pb with my solaris jumpstart, let me explain to you :
    i want that the begin script launch some perl script, but i have a problem
    here is my "begin" script:
    echo "Begining ISO FLAR based jumpstart."
    echo ""
    echo "Starting Ullink Configuration"
    env > /tmp/env
    /bin/sh << EOF
    /usr/bin/perl /cdrom/.archives/admin-scripts/sethostname.pl
    EOFmy perl script use a STDIN
    with this configuration, the perl script is launching but it runs in a loop indefinitely with an error "use of uninitialized value", because (i think) a value is return to the begin scritp and not to the perl script.
    well, on a pre-installed solaris, if a launch the begin script, it happens the same thing, it runs in a loop, BUT if i comment the line "/bin/sh <<EOF" and "EOF", it works.
    at this step, i say "ok it's cool my script is working", but when i use it during the jumpstart instalaltion, the perl script does not start, without any particular error.
    here is my perl script, if you want to test :
    #!/usr/bin/perl -w^M
    # Set Hostname for Ullink Jumpstart^M
    ^M
    use strict;^M
    ^M
    sub hit_enter {^M
        print "Hit enter to continue\n";^M
        <STDIN>;^M
        print "\033[2J";^M
    }^M
    ^M
    sub get_hostname {^M
        my %towns_list = (^M
            'Paris' => 'PA',^M
            'New-York' => 'NY',^M
        );^M
    ^M
        my %sites_list = (^M
            'Office' => 'OFC',^M
            'Redbus' => 'RED',^M
            'Telehouse' => 'TLH',^M
            'DTC' => 'DTC',^M
            'iAdvantage' => 'IAD',^M
            'Nutley' => 'NUT',^M
            'Level3' => 'LV3',^M
            'Equinix' => 'EQX',^M
            'Tata' => 'TAT',^M
            'Switch-data' => 'SWI',^M
            );^M
    ^M
        my %usage_list = (^M
            'Production' => 'PRD',^M
            'UAT' => 'UAT',^M
            'DMZ' => 'DMZ',^M
        );^M
    ^M
        sub select_list {^M
            my $counter=-1;^M
            my %hash_list = @_;^M
            my @keys = keys %hash_list;^M
    ^M
            # Clear screen^M
            print "\033[2J";^M
            print "In which country this machine is hosted or will be host and will be used ?\n\n";^M
    ^M
            # Get all keys from hash^M
            my $key;
            while ($key = each %hash_list ) {^M
                $counter++;^M
                print "$counter - $key\n";^M
            }^M
    ^M
            print "\nChoose the number corresponding to your choice :\n";^M
            my $choice_number;
            chomp ($choice_number = <STDIN>);^M
    ^M
            # Verify answer^M
            if (($choice_number =~ /\d+/) and ($choice_number <= $counter)) {^M
                # Add choice to chosen hostname^M
                my $chosen=$hash_list{$keys[$choice_number]};^M
                return $chosen;^M
            } else {^M
                print "\nYour answer is not correct, you need to enter a number between 0 and $counter\n";^M
                &hit_enter;^M
                &select_list;^M
            }^M
        }^M
    ^M
        sub srv_number {^M
            print "\033[2J";^M
            print "What is the server number ?\n";^M
            my $server_number;
            chomp ($server_number = <STDIN>);^M
            if ($server_number =~ /\d+/) {^M
                return $server_number;^M
            } else {^M
                print "\nYour answer is not correct, you need to enter a number\n";^M
                &hit_enter;^M
                &srv_number;^M
            }^M
        }^M
    ^M
        my $full_hostname = &select_list(%towns_list).'-';^M
        $full_hostname = $full_hostname.&select_list(%sites_list).'-';^M
        $full_hostname = $full_hostname.'SRV-';^M
        $full_hostname = $full_hostname.&select_list(%usage_list).'-';^M
        $full_hostname = $full_hostname.&srv_number;^M
    ^M
        sub write_hostname2tmp {^M
            open (HOSTNAME, ">/tmp/set_hostname") or warn "Couldn't write $_[0] to temp file : $!\n";^M
                print HOSTNAME "$_[0]\n";^M
            close (HOSTNAME);^M
        }^M
    ^M
        print "\033[2J";^M
        print "Is $full_hostname the correct name for this server ? (y/n)\n";^M
        if (<STDIN> =~ /y|yes/i) {^M
            &write_hostname2tmp($full_hostname);^M
        } else {^M
            print "Would you like to retry (r) or set manually the hostname (s) ? (r/s)\n";^M
            if (<STDIN> =~ /s/i) {^M
                print "Type the full required name and hit enter when finished :\n";^M
                chomp ($full_hostname = <STDIN>);^M
                &write_hostname2tmp;^M
            } else {^M
                &get_hostname;^M
            }^M
        }^M
    }^M
    ^M
    # Start configuration^M
    print "\033[2J";^M
    print "\n########################################################\n";^M
    print "#\t\t\t\t\t\t       #\n";^M
    print "#\t\t\tULLINK\t\t\t       #\n";^M
    print '#  Solaris Environnement Installation for Datacenters  #';^M
    print "\n#\t\t\t\t\t\t       #";^M
    print "\n########################################################\n\n";^M
    print "Before starting installation, you need to enter a set of informations.\n(answer to all questions, you can Ctrl+C to stop now)\n\n";^M
    &hit_enter;^M
    ^M
    &get_hostname;^Mthank for your help
    Edited by: ullink on Jun 25, 2009 6:05 AM

    Hi Manju,
    You can try the following command and check if any helps:
    Get-Exchangeserver |where-object{$_.AdminDisplayVersion -like "Version 15*"} |Get-MailboxStatistics | Ft -auto -wrap DisplayName,database,servername,*size*,*time*
    Best regards,
    Niko Cheng
    TechNet Community Support

  • Runtime.exec("Perl Script writing and reading on I/O"), handling Streams

    Hi all !!
    In a first place : sorry for my english if it's not really understandable but I try to do as good as possible !
    I'm writing a GUI with Swing that will allow (in one of my multiple tables) the user to run a Perl Script.
    This Perl Script ask the user to choose a Folder ... then read all the files in this folder and for each file (xml File), extract the datas and put them in a database. But when a file that has to be inserted in the database contains this line : <Template_Used name="ST1.mtt"> and if the Template table in my database doesn't have the "ST1.mtt" stored ... the Perl Script ask to the user to give him the path of the file "ST1.mtt" so that the script can put the "ST1.mtt template" datas in the database.
    This script runs well when it is from a windows console.
    But I need a graphic interface !!!
    So I created a JButton "Process a folder".
    When the button is pressed, a JFileChooser appears and ask the user which Folder has to be processed.
    Then a Process is created with the command : ("cmd.exe /C \"C:\\Program Files\\Fluke\\Ansur\\ProcessFolder.bat\").
    The BatFile :
    {code}cd C:\Documents and Settings\tsd\Desktop\Gael-Project\Project_Files
    perl Process.pl
    exit{code}
    At this moment everything is working well.
    But my Process.pl (which is 300 lines long ... and that you don't even want to hear about), ask in a first time the Path of the folder to process and sometimes ask the path to a file (a template file).
    So I need to read and wirte on the STDIN/STDOUT during the exec of the Process.
    In order to handle this I created two different threads : one reading the Process.getInputStream with a BufferedReader and one other writing on the Process.getOutputStream with a PrintWrinter.
    What I need to do is :
    When I read a line from the InputStream saying "I need the path of the ST1.mtt file", I should run a JFileChooser ... the user find the file in the computer ... and I write in the OutputStream the path of the file, so that my Perl Script doesn't have un Unitialised value on <STDIN> and can continue to process !!
    I'm pretty sure it's possible ... because at the moment I just used a trick :
    When the user push the "process a folder" button, I write the paths in the OutputStream before than the script needs it and it works !
    But I need to write in the OutputStream only when it is time !!!
    Any idea ??
    Here are some parts of my code :
    {code}
    String filename = File.separator+"tmp";
              JFileChooser fc = new JFileChooser(new File(filename));
              fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY );
              // Show open dialog; this method does not return until the dialog is closed
         fc.showOpenDialog(null);
         Folder = fc.getSelectedFile();
              new GoodExec(cmd);
    {code}
    {code}
    public class GoodExec {
         public static Process proc;
         public static StreamGobbler errorGobbler;
         public static StreamGobbler inputGobbler;
         public static StreamGobbler outputGobbler;
         public GoodExec(String cmd)
         try
                   Runtime rt = Runtime.getRuntime();
              proc = rt.exec(cmd);
         // any error message?
         errorGobbler = new
         StreamGobbler(proc.getErrorStream(), "ERROR");
         // any input?
         inputGobbler = new
         StreamGobbler(proc.getInputStream(), "INPUT");
         // any output?
              outputGobbler = new
              StreamGobbler(proc.getOutputStream(), "OUTPUT");
         // kick them off
         errorGobbler.start();
         inputGobbler.start();
         outputGobbler.start();
         // any error???
         int exitVal = proc.waitFor();
         System.out.println("ExitValue: " + exitVal);
         } catch (Throwable t)
         t.printStackTrace();
    {code}
    {code}
    public class StreamGobbler implements Runnable
    InputStream is;
    OutputStream os;
    String type;
    Thread thread;
    public static String chaine;
    StreamGobbler(InputStream is, String type)
    this.is = is;
    this.os=null;
    this.type = type;
    StreamGobbler(OutputStream os, String type)
    this.os = os;
    this.is=null;
    this.type = type;
    public void start () {
         thread = new Thread(this);
         thread.start ();
    public void run()
    try
    if (is == null){
         PrintWriter toProgram = new PrintWriter(os);
         File FolderToProcess = ProcessFolder.Folder;
    String Folder = FolderToProcess.getPath();
    toProgram.write(Folder);
    toProgram.close();
    else {
         if (os == null){
         InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line=null;
    String comp = "Please enter the exact path of the directory that contains the files you want to process.";
    while ( (line = br.readLine()) != null){
         if (type.equals("INPUT")){
              chaine+=line+"\n";
         if (line.equals(comp)) {
              System.out.println("give directory");RUN A JFILECHOOSER AND GIVE THE DIRECTORY TO THE OUTPUTSTREAM
    System.out.println(type + ">" + line);
    is.close ();
    catch (IOException ioe){
         ioe.printStackTrace();
    {code}
    And here is an example of a simple perl script that could be used (it s a simple one !!) :
    {code}
    #!/usr/bin/perl -w
    use strict;
    print "Please enter the exact path of the directory that contains the files you want to process.\n";
    my $dir= <STDIN>;
    chomp ($dir);
    print "titallala $dir";
    if (the template of the file is not in the database){
    print "Please give me the template so that I can put it in the database";
    $dir= <STDIN>;
    chomp ($dir);
    {code}
    Thank you for your help ... if it's possible to help me !!
    Gael

    BalusC -- The line that gives me my NullPointerException is when I call the "DisplayProduct()" method. Its a dumb question, but with NetBeans how do I find out which reference could be null? I'm not very familiar with how NetBeans works with finding out how to debug. Any help you can give me would be greatly appreciated.The IDE is com-plete-ly irrelevant. It's all about the source code.
    Do you understand anyway when and why a NullPointerException is been thrown? It is a subclass of RuntimeException and those kind of exceptions are very trival and generally indicate an design/logic/thinking fault in your code.
    SomeObject someObject = null; // The someObject reference is null.
    someObject.doSomething(); // Invoking a reference which is null would throw NPE.

  • FJS-00012 ERROR while executing script in start SAP system

    Hi experts,
    I am getting error in the Oracle preload actions while installing the SAP 4.7 using the ORacle 9.2.0.1..
    FJS-00012  Error when executing script in start SAP system(post processing)
    My comp configuration is as follows:
    160 gb hard disk
    RAM 1GB
    OS: win 2003 server enterprise edition
    oracle 8.1.7
    During the Database Load (post processing) section of the
    installation, i get an error and the installation fails.
    I am giving all the logs here including the trace log and the
    Sapview.log file ans sapinst.
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: START OF LOG: 20070511002459
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: version R6.20/V1.2
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe -ctf I E:\db3\EXPORT3/DATA/SAPVIEW.STR C:\SAPinst ORACLE KERNEL/DDLORA.TPL C:\SAPinst ORACLE KERNEL/SAPVIEW.TSK ORA -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -o D
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: job completed
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: END OF LOG: 20070511002500
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: START OF LOG: 20070511070423
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: version R6.20/V1.2
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst ORACLE KERNEL/SAPVIEW.cmd -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=D:\oracle\ora81 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPESA's password
    DbSl Trace: Connecting as /@ESA on connection 0 ...
    DbSl Trace: Attaching to DB Server ESA (con_hdl=0,svchp=002BD418,svrhp=002BD224)
    DbSl Trace: Starting user session (con_hdl=0,svchp=002BD418,srvhp=002BD224,usrhp=00304E94)
    DbSl Trace: Now I'm connected to ORACLE
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    DbSl Trace: Disconnecting from connection 0 ...
    DbSl Trace: Closing user session (con_hdl=0,svchp=002BD418,usrhp=00304E94)
    DbSl Trace: Now I'm disconnected from ORACLE
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPESA/<pwd>@ESA on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=002BD418,srvhp=002BD224,usrhp=00304E94)
    DbSl Trace: Now I'm connected to ORACLE
    DbSl Trace: Database NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Database instance esa is running on MALTI with ORACLE version 8.1.7.4.1 since 20070511
    (DB) INFO: connected to DB
    (DB) INFO: /SAPTRX/A_CONDF4 created
    (DB) INFO: /SAPTRX/VDASFEV created
    (DB) INFO: /SAPTRX/VDASFPAR created
    (DB) INFO: /SAPTRX/VD_AOMIL created
    (DB) INFO: /SAPTRX/VD_AOPAC created
    (DB) INFO: /SAPTRX/VD_AOPAE created
    (DB) INFO: /SAPTRX/VD_AOPAI created
    (DB) INFO: /SAPTRX/VD_AOPAR created
    (DB) INFO: /SAPTRX/VD_AOTD1 created
    (DB) INFO: /SAPTRX/VD_AOTD2 created
    (DB) INFO: /SAPTRX/VD_AOTDD created
    (DB) INFO: /SAPTRX/VD_AOTYP created
    (DB) INFO: /SAPTRX/VD_ASPAR created
    (DB) INFO: /SAPTRX/VD_CONDL created
    (DB) INFO: /SAPTRX/V_AODD02 created
    (DB) INFO: /SAPTRX/V_DD03 created
    (DB) INFO: /SAPTRX/V_DD03X created
    (DB) INFO: /SDF/SMODICOMP created
    (DB) INFO: /SDF/SMODIDEVC created
    (DB) INFO: /SDF/UMOD_COMP created
    (DB) INFO: ACEPSOIT_UPD created
    (DB) INFO: ADJV_TRANS_DIF created
    (DB) INFO: AFFWV0 created
    (DB) INFO: AFKO_LAUFN created
    (DB) INFO: AFSPLIT created
    (DB) INFO: AFVCP created
    (DB) INFO: ALM_ME_T003O_IS created
    (DB) INFO: ALM_ME_T350I created
    (DB) INFO: ALM_ME_TQ80_T created
    (DB) INFO: ANEKPV created
    (DB) INFO: APOUPD created
    (DB) INFO: APPL_DEVC created
    (DB) INFO: APPL_DIAL created
    (DB) INFO: APPL_DOMA created
    (DB) INFO: APPL_DTEL created
    (DB) INFO: APPL_ENQU created
    (DB) INFO: APPL_FUGR created
    (DB) INFO: APPL_FUGRG created
    (DB) INFO: APPL_FUNC created
    (DB) INFO: APPL_INDX created
    (DB) INFO: APPL_MCOB created
    (DB) INFO: APPL_MENU created
    (DB) ERROR: DDL statement failed
    (CREATE VIEW "APPL_MODS" ( "NAME" , "TYP" , "MEMBER" , "DEVCLASS"  ) AS SELECT T0001."NAME", T0001."TYP", T0001."MEMBER", T0002."DEVCLASS" FROM "MODSAP" T0001, "MODSAPA" T0002 WHERE T0001."NAME" = T0002."NAME" AND T0002."MIGRATED" <> 'X')
    DbSlExecute: rc = 103
      (SQL error 942)
      error message returned by DbSl:
    ORA-00942: table or view does not exist
    DbSl Trace: Disconnecting from connection 0 ...
    DbSl Trace: Closing user session (con_hdl=0,svchp=002BD418,usrhp=00304E94)
    DbSl Trace: Detaching from DB Server (con_hdl=0,svchp=002BD418,srvhp=002BD224)
    DbSl Trace: Now I'm disconnected from ORACLE
    (DB) INFO: disconnected from DB
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\ESA\SYS\exe\run/R3load.exe: END OF LOG: 20070511070433
    SAPINST
    INFO 2007-05-10 23:59:05
    Processing of host operation t_HostInfo_SHARED succeeded.
    INFO 2007-05-10 23:59:16
    The 'saploc' share exists at directory 'D:\usr\sap'. Choosing drive D: as SAP System drive.
    INFO 2007-05-10 23:59:21
    Copying file E:/KERNEL/NT/COMMON/OraVolatileDatabaseParameters.xml to: OraVolatileDatabaseParameters.xml.
    INFO 2007-05-10 23:59:21
    Creating file C:\SAPinst ORACLE KERNEL\OraVolatileDatabaseParameters.xml.
    INFO 2007-05-11 00:01:52
    Copying file E:/db1/EXPORT1/DB/ORA/DBSIZE.XML to: DBSIZE.XML.
    INFO 2007-05-11 00:01:52
    Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.XML.
    INFO 2007-05-11 00:01:52
    Copying file system node E:\db1\EXPORT1/DB/ORA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.
    INFO 2007-05-11 00:01:52
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2007-05-11 00:01:52
    Copying file E:/db1/EXPORT1/DB/DDLORA.TPL to: DDLORA.TPL.
    INFO 2007-05-11 00:01:52
    Creating file C:\SAPinst ORACLE KERNEL\DDLORA.TPL.
    INFO 2007-05-11 00:01:52
    Copying file system node E:\db1\EXPORT1/DB/DDLORA.TPL with type NODE to DDLORA.TPL succeeded.
    INFO 2007-05-11 00:01:52
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2007-05-11 00:01:57
    Moving file C:/SAPinst ORACLE KERNEL/DDLORA.TPL to: orig_ddl_ora_tmp.tpl.
    INFO 2007-05-11 00:01:57
    Moving file C:/SAPinst ORACLE KERNEL/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
    INFO 2007-05-11 00:01:57
    Removing file C:/SAPinst ORACLE KERNEL/orig_ddl_ora_tmp.tpl.
    INFO 2007-05-11 00:03:00
    Package table created
    PHASE 2007-05-11 00:04:15
    SAP R/3 Enterprise 4.70 for Oracle
    PHASE 2007-05-11 00:04:15
    SAP Web Application Server
    PHASE 2007-05-11 00:04:15
    Request common parameters of SAP System
    PHASE 2007-05-11 00:04:15
    Create operating system accounts
    INFO 2007-05-11 00:04:15
    Copying file C:/SAPinst ORACLE KERNEL/keydb.xml to: C:/SAPinst ORACLE KERNEL/keydb.1.xml.
    INFO 2007-05-11 00:04:15
    Creating file C:\SAPinst ORACLE KERNEL\keydb.1.xml.
    INFO 2007-05-11 00:04:15
    Copying file C:/SAPinst ORACLE KERNEL/OraVolatileDatabaseParameters.xml to: C:/SAPinst ORACLE KERNEL/OraVolatileDatabaseParameters.1.xml.
    INFO 2007-05-11 00:04:15
    Creating file C:\SAPinst ORACLE KERNEL\OraVolatileDatabaseParameters.1.xml.
    INFO 2007-05-11 00:04:15
    Copying file C:/SAPinst ORACLE KERNEL/DBSIZE.XML to: C:/SAPinst ORACLE KERNEL/DBSIZE.1.XML.
    INFO 2007-05-11 00:04:15
    Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.1.XML.
    INFO 2007-05-11 00:04:15
    Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1004 ACCOUNTNAME=malti\SAP_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-05-11 00:04:15
    Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1005 ACCOUNTNAME=malti\SAP_ESA_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-05-11 00:04:15
    Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1006 ACCOUNTNAME=malti\SAP_ESA_GlobalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Global Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-05-11 00:04:15
    Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1007 ACCOUNTNAME=ORA_ESA_DBA ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Operator Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-05-11 00:04:15
    Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1008 ACCOUNTNAME=ORA_ESA_OPER ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-05-11 00:04:15
    Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
    INFO 2007-05-11 00:04:18
    Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1009 ACCOUNTNAME=malti\esaadm ACCOUNTTYPE=USER DESCRIPTION=SAP System Administrator MEMBERSHIP=malti\SAP_ESA_GlobalAdmin,malti\Users,Administrators,ORA_ESA_DBA,ORA_ESA_OPER,malti\SAP_LocalAdmin,malti\SAP_ESA_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*...  succeeded.
    INFO 2007-05-11 00:04:18
    Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1010 ACCOUNTNAME=malti\SAPServiceESA ACCOUNTTYPE=USER CONDITION=YES DESCRIPTION=SAP System Service Administrator MEMBERSHIP=malti\SAP_ESA_GlobalAdmin,Administrators,ORA_ESA_DBA,ORA_ESA_OPER,malti\SAP_LocalAdmin,malti\SAP_ESA_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*...  succeeded.
    INFO 2007-05-11 00:04:18
    Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
    PHASE 2007-05-11 00:04:18
    Request operating system user information
    PHASE 2007-05-11 00:04:18
    Request operating system user information
    PHASE 2007-05-11 00:04:18
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    PHASE 2007-05-11 00:04:19
    Request operating system user information
    INFO 2007-05-11 00:04:20
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1488183395-3813774055-1856681103-500' on host 'malti'!
    INFO 2007-05-11 00:04:20
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1488183395-3813774055-1856681103-500' on host 'malti'!
    INFO 2007-05-11 00:04:20
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1488183395-3813774055-1856681103-500' on host 'malti'!
    INFO 2007-05-11 00:04:20
    Evaluating all 'tNT_RegistryEntries' table rows succeeded.
    INFO 2007-05-11 00:04:21
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-05-11 00:04:22
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata6\esa_16 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata1\esa620_1.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata1\esa620_1 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata2\esa620_2.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata2\esa620_2 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata3\esa620_3.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata3\esa620_3 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata4\esa620_4.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata4\esa620_4 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata4\esa620_5.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata4\esa620_5 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata5\esa620_6.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata5\esa620_6 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata5\esa620_7.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata5\esa620_7 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata6\esa620_8.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata6\esa620_8 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata6\esa620_9.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata6\esa620_9 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata6\esausr_1.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata6\esausr_1 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata2\roll_1.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata2\roll_1 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata3\temp_1.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata3\temp_1 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Creating directory D:\oracle\ESA\sapdata1\system_1.
    INFO 2007-05-11 00:05:39
    Creating file system node D:\oracle\ESA/sapdata1\system_1 with type DIRECTORY succeeded.
    INFO 2007-05-11 00:05:39
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-05-11 00:05:40
    Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
    INFO 2007-05-11 00:05:40
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-05-11 00:05:41
    Creating file D:\oracle\ora81\database\initESA.ora.
    INFO 2007-05-11 00:05:42
    Creating file D:\oracle\ora81\database\initESA.sap.
    INFO 2007-05-11 00:05:43
    Copying file E:/KERNEL/NT/COMMON/INSTALL/INITSID.DBA to: D:\oracle\ora81/database/initESA.dba.
    INFO 2007-05-11 00:05:43
    Creating file D:\oracle\ora81\database\initESA.dba.
    INFO 2007-05-11 00:05:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:05:45
    Moving file D:/oracle/ora81/database/initESA.ora to: orig_init_ora_tmp.txt.
    INFO 2007-05-11 00:05:45
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\oracle\ora81\database\initESA.ora.
    INFO 2007-05-11 00:05:45
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-05-11 00:05:46
    Creating file C:\SAPinst ORACLE KERNEL\oradim.log.
    INFO 2007-05-11 00:05:51
    See 'D:\oracle\ora81/bin/oradim -new -sid ESA -STARTMODE auto' output in 'C:\SAPinst ORACLE KERNEL\oradim.log'.
    INFO 2007-05-11 00:05:51
    'D:\oracle\ora81/bin/oradim -new -sid ESA -STARTMODE auto' returned with '0'.
    INFO 2007-05-11 00:05:52
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:05:57
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:06:02
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:06:27
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:06:29
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:06:51
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:06:54
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:07:21
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:07:24
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:07:27
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:07:29
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:07:31
    Moving file D:/oracle/ora81/database/initESA.ora to: orig_init_ora_tmp.txt.
    INFO 2007-05-11 00:07:31
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\oracle\ora81\database\initESA.ora.
    INFO 2007-05-11 00:07:31
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-05-11 00:07:32
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:07:34
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:08:09
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:08:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:08:48
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:08:50
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:09:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:09:29
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:10:04
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:10:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:10:42
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:10:44
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:11:20
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:11:22
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:11:57
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:12:00
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:12:35
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:12:37
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:13:13
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:13:15
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:13:51
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:13:53
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:14:29
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:14:31
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:15:09
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:15:11
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:15:48
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:15:50
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:16:26
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:16:28
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:17:04
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:17:07
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:17:43
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:17:45
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:18:22
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:18:24
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:19:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:19:03
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:19:39
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:19:42
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:20:21
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:20:24
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:21:02
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:21:05
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:21:43
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:21:45
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:22:24
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:22:27
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:23:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:23:08
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:23:47
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:23:50
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:23:54
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:23:56
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:12
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:15
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:41
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:43
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:46
    Moving file D:/oracle/ora81/database/initESA.ora to: orig_init_ora_tmp.txt.
    INFO 2007-05-11 00:24:46
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\oracle\ora81\database\initESA.ora.
    INFO 2007-05-11 00:24:46
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2007-05-11 00:24:46
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2007-05-11 00:24:47
    See 'D:\oracle\ora81/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2007-05-11 00:24:47
    'D:\oracle\ora81/bin/lsnrctl stat' returned with '3'.
    INFO 2007-05-11 00:24:47
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2007-05-11 00:24:48
    See 'D:\oracle\ora81/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2007-05-11 00:24:48
    'D:\oracle\ora81/bin/lsnrctl start' returned with '0'.
    INFO 2007-05-11 00:24:49
    Copying file E:/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
    INFO 2007-05-11 00:24:49
    Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
    INFO 2007-05-11 00:24:49
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:52
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    PHASE 2007-05-11 00:24:54
    Database Load
    INFO 2007-05-11 00:24:56
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:57
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:57
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:58
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:58
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:24:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:25:00
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:25:00
    Task files created
    INFO 2007-05-11 00:25:00
    Command files created
    INFO 2007-05-11 00:25:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:25:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 00:25:01
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2007-05-11 02:18:03
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPAPPL1.log
    INFO 2007-05-11 02:18:03
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2007-05-11 02:44:07
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSSEX2.log
    INFO 2007-05-11 02:44:07
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 03:55:07
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 04:25:07
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 04:42:08
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 04:47:08
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 04:55:22
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 04:57:22
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 04:59:22
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 05:01:22
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 05:03:22
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 05:04:23
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 05:05:23
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-05-11 07:04:33
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2007-05-11 07:04:33
    MSC-01015  Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPVIEW.log
    ERROR 2007-05-11 07:04:33
    FJS-00012  Error when executing script.
    THANKS ALLL IN ADVANCE,
    Regards,
    Malti

    no space left on devices...
    ==> "<b>MOS-01109 Needed space on mountpoint F:/ is 5.248e07 KB, but got only 4.26433e07 KB.</b>"
    and others...
    -> provide more space and restart
    GreetZ, AH

  • How to disable "This Connection is Untrusted" warning in firefox using shell or perl script running on Linux Platform

    We have QA automation jobs that invoke user interface tests in Firefox running on a virtual Linux host.
    My tests perform regression, but I'm held up because of the Firefox This Connection is Untrusted warning.
    My current requirement is to ignore this connection untrusted warning, which comes up when accessing an HTTPS website and i want this to be disabled through either a shell or a Perl script.
    I can do this manually using the steps below, but this will not work for my current problem since the virtual Linux hosts are created dynamically on submission of automation jobs.
    Go to Tools > Options > Advanced "Tab"(?) > Encryption Tab Click the "Validation" button, and uncheck the checkbox for checking validity.
    Is there any Perl or shell script that disables this certificate warning?

    There might be an add on to accomplish this:
    *[https://addons.mozilla.org/en-US/firefox/addon/skip-cert-error/ Skip Cert Error]
    However if we cannot find a solution there might be another place for support:
    *[https://support.mozilla.org/en-US/kb/where-go-developer-support Where to go for developer support]

  • How to run Perl script in Java program?

    Some say that the following statement can run Perl script in Java program:
    Runtime.getRuntime().exec("C:\\runPerl.pl");
    But when I run it, it'll throw IOException:
    java.io.IOException: CreateProcess: C:\runPerl.pl error=193
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:63)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:428)
    at java.lang.Runtime.exec(Runtime.java:364)
    at java.lang.Runtime.exec(Runtime.java:326)
    at test.runPerl.main(runPerl.java:16)
    Exception in thread "main"
    Where is the problem? In fact, I do have a Perl script named "runPerl.pl" in my C:/ directory. Could anybody tell me why it can't be run? Thanks in advance.

    Hello sabre,
    First of all thanks for your reply.
    I have tried like what you mentioned.
    Eventhough, i could get the exact error message.
    I could get the Exception
    "Exception:java.lang.IllegalThreadStateException: process hasn't exited"
    <code>
    import java.io.*;
    public class Sample{
    public static void main(String args[]) {
    String s = null;
    Process p;
    try
         p = Runtime.getRuntime().exec("tar -vf sample.tar");
         //p.waitFor();
         if(p.exitValue() == 0)
              System.out.println("CommandSuccessful");
         else
              System.out.println("CommandFailure");
    catch(Exception ex)
         System.out.println("Exception:"+ex.toString());
    </code>
    In this code, i tried to run the "tar command". In this command i have given -vf instead -xvf.
    But it is throwing
    "Error opening message catalog 'Logging.cat': No such file or directory
    Exception:java.lang.IllegalThreadStateException: process hasn't exited
    CommandFailure"
    "Error opening message catalog 'Logging.cat'" what this line means ie,
    I dont know what is Logging.cat could you explain me its urgent.
    Thanks in advance.
    Rgds
    tskarthikeyan

  • How to run NMS perl scripts in SunONE 6.1

    Any one have info on running the NMS perl scripts with the perl compiler shipped with 6.1? Particularly interested in nms FormMail. I need to get it running in on windows xp and Sun Solaris.
    WebServer is reporting the following error.
    failure: for host dbmrpm41.deluxe.com trying to POST /cgi-bin/FormMail.pl, cgi_s
    can_headers reports: HTTP4044: the CGI program C:\Sun\WebServer6.1\bin\https\per
    l\perl.exe did not produce a valid header (program terminated without a valid CG
    I header. Check for core dump or other abnormal termination)
    When I run FormMail.pl in a command prompt, I receive the following:
    Can't locate auto/POSIX/autosplit.ix in @INC (@INC contains: C:/Sun/WebServer6.1
    /bin/https/perl/lib/MSWin32-x86 C:/Sun/WebServer6.1/bin/https/perl/lib) at C:/Su
    n/WebServer6.1/bin/https/perl/lib/AutoLoader.pm line 146.
    at C:/Sun/WebServer6.1/bin/https/perl/lib/MSWin32-x86/POSIX.pm line 5
    Edited by: garyb on Mar 18, 2008 9:04 AM

    The Perl you found in the bin/https/perl directory is a private copy of Perl used to implement parts of the Web Server Administration Server. You shouldn't try to use it to run CGI scripts.
    Instead, you can download your own Perl distribution. ActiveState has a Perl distribution called ActivePerl. You can get it for free from http://www.activestate.com/Products/activeperl/. Other options are listed at http://win32.perl.org/.

  • Geany Trouble: Compiling Perl Scripts (and general Perl questions)

    I'm brand new to Perl because I hear it's one of the best and so far I've found that it is.  I used to program a little C++ here and there and a while ago taught myself python but I'd have to say Perl is better than both of them.  At any rate, that's neither here nor there.  I use Geany and love it, so I didn't see a reason to switch to something new for Perl.  Unfortunately I'm having some trouble with compiling.  Geany flat out refuses to.  I looked around and didn't find anything on here or in the wiki or on the Ubuntu forums other than one person who said to replace the compile command with the execute command. 
    So, do I even need to compile my Perl scripts or is there something else I'm missing?
    On a somewhat related note, the same user on the Ubuntu forums said that at the top of the code there should be:
    #!/usr/bin/perl -w
    I'm curious if I need the "-w" or what it even does since as of right now I have
    #!/usr/bin/perl
    and executing the program poses no problems.
    Any help is greatly appreciated,
    --Wes

    Well, for one, perl is not a compiled language. You can if you want to, but it gains you few benefits. Google for "perl compiler" if you really must.
    As for the second, do you know how the shebang line works in unix, and do you know what the -w option does for perl? The answer should reveal itself to you.
    Make sure you "use strict;", it will catch many errors.

  • LMS 3.2 Apache 403 Error on CGI Scripts

    I've been chasing my tail for a couple of days now, and see no other option than to ask here.  It's probably something reall
    y dumb that I'm just not seeing.
    On a Windows 2008 server with SP1 LMS 3.2 is running fine (as long as no one uses stupid scripts ;o)) on a good day, but whenever I try to access any of the cgi scripts installed under Program Files/CSCOpx/cgi-bin it get the dreaded "You don't have permission to access /cgi-bin/dbadmin/pdbadmin/nph-dbreader.pl on this server".  The httpd.conf section for the CGI handling is as follows:
    ScriptAlias /cgi-bin/ "D:/PROGRA~2/CSCOpx/cgi-bin/"
    <Directory "D:/PROGRA~2/CSCOpx/cgi-bin">
    AllowOverride None
    Options +ExecCGI
    AddHandler cgi-script .pl
    #ScriptInterpreterSource Registry-Strict
    ScriptInterpreterSource Script
    </Directory>
    LoadModule perl_module modules/mod_perl.so
    What I would like to know is what have I missed..?  You can see my first attempt by replacing the ScriptInterpreterSource from Registry-Script to the default, Script, to no avail...
    Also, if I make any modifications to the httpd.conf file I cannot just restart the Apache daemon, I have to stop and start the daemon manager, otherwise no one can access the web login page: is that normal..?  As in the following:
    The Apache daemon is restarted:
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Child process is running
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Acquired the start mutex.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting 500 worker threads.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting thread to listen on port 1741.
    [Fri Dec 11 15:14:38 2009] [notice] Child 6088: Starting thread to listen on port 443.
    Lots of the following messages appear in the error.log file:
    [Fri Dec 11 15:14:38 2009] [error] [client 10.185.64.101] client denied by server configuration: com.cisco.nm.cmf.servlet.LwmsMainServlet
    [Fri Dec 11 15:14:38 2009] [error] [client 10.185.64.101] client denied by server configuration: D:/Program Files/CSCOpx/cgi-bin/error/403.pl
    Any help would be most appreciated...
    Regards,
    Sean

    I have no expirience with the W2008 OS yet.
    I get the impression it does things differently.
    If you know the casuser password, I asume you can try to log onto the server and try an run the perl script in a dos box.
    Maybe it will provide a clue.
    if you don't know the casuser password you can set it using CSCOpx\bin\resetpasswd.exe.
    Cheers,
    Michel

Maybe you are looking for

  • Adding "include virtual" jumbles page

    I have designed a page (www.komenwv.org) and when I added a include virtual under the header (In The News) for my news program and then I look at the page in "show design view" and everything is jumbled. The background turns gray, my table are gone a

  • When can I watch BT Sport after ordering broadband...

    I'm confused. I ordered BT Broadband on Sunday and am sure that somewhere I saw that I could have BT Sport on my SKY digital platform within 24 hours? Two days on it hasn't happened. The helpful people on the BT phone lines have told me after taking

  • (PBR) set next-hop to the same router?

    Hi I need to send some traffic to an external L2 device, and then get it back, to the same router. I planned to use PRB, to set the outgoing interface, and the next-hop as the IP address of the incoming interface, from the same router. Is that possib

  • Sound off on badly encoded mp3's

    Has someone ever had this happen to them ? I have a few mp3's that come from soundbites of the 50's and that seem to have been encoded with some very average software. At some point, the sound in iTunes 6.0.4(3) kinda cracks and then...no more sound.

  • The problem of c2 03

    Nokia c2 03 is not support to neither to whats app or nor we chat.what we should do to keeping nokia phone with not supporting to application.even the phones with lower prices are supporting.can you help me