/etc/ppp/ppp-up script not executing in Lion

The upgrade to Lion deleted the /etc/ppp/ppp-up script I use to add routes when connecting to a remote network. I re-added this script, however, it no longer seems to execute when connecting to the remote VPN. I can add the routes manually and they work, so it's not a routing problem.
I turned on verbose logging, but don't see any clues in /var/log/ppp.log.
Does anyone know of a solution for this?
Thanks.

Should the filenames not be: ip-up and ip-down instead of ppp-up/down? WIth IP-UP and IP-DOWN it is working for me.

Similar Messages

  • Tmadmin in unix script not executed in cron

    Hi,
    I have a script in HP UX that is using tmadmin and pclt to know the no of users that are currently using the system.
    Let me call this script as myscript.sh.
    #!/bin/sh
    count = ' echo pclt | tmadmin | grep <search string> | wc -l '
    echo $count
    When the script is run in command line, (./myscript.sh) I am getting the results or the no of users. BUT when the script is put in cron , I have '0' output. It appears that tmadmin is not being executed when the script is called inside crontab.
    I did specified the PATH environment variable, and hard coded the directory when tmadmin is located but still tmadmin is not executed.
    Can someone help me on this ? Thanks.

    Hi,
    You need more than the Tuxedo bin directory in your path. You also need the TUXDIR, APPDIR, and TUXCONFIG environment variables set. Add setting those to your script before invoking tmadmin and you should be good to go, assuming the account the cron job is running under has access to the TUXDIR and APPDIR directories.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Patches with pre and or post patch scripts not executable -- why?

    In my frustration with update manager hangs I have had to kill processes and restart and even manually unjar files and patchadd. Sometimes I run across the error that the pre or post patch scripts are not executable. I have in the past chmod 744 and patchadd then applies the patch. This has happened several times in my latest patch update. I also had a patch ( X11) that implied a lack of entitlement but the manual patchadd showed that the real problem was a missing prerequisite patch.
    My questions are:
    1. is this lack of executable permission on scripts ( pre and post) by design and am I missing the correct procedure?
    2. missing prerequisite scripts? why?
    3. out of frustration --- IS THIS PATCHING UTILITY THE BEST THAT SUN CAN DO?

    Update Manager is sometimes a little flaky, particularly on unpatched systems (as it uses many different utilities). I would suggest that if you are having problems then you should use smpatch instead - it's not really any more difficult to use and is often much quicker.
    If a patch has a script that is not executable that is not a fault of updatemanager, but a fault with the patch itself (being archived with incorrect settings) or possibly your umask setting, which should ideally be globaly set to 0022 prior to patching to prevent problems during extraction and application.
    If updatemanager has complained about a lack of entitlement I would tend to believe that this was the case, check the contents of your entitlement file:
    # cat /var/sadm/spool/cache/entitlement/*entitlement_clientYou may be missing SolarisAllUpdates or other entitlements - please post the output.
    Sun do offer other patching tools, but what is best for one person/company may not be the best for all. There is also the possibility that you don't have it setup correctly - I would ask that you run the attached script and upload the output file generated to our [Support Uploads|http://supportuploads.sun.com/] site.

  • Script not executing EOF

    Hi Frinedz,
    We are in the process of implementing flash copy backups for one of our production database.
    we have two instance running.
    for which i've created the following script wen I am trying to execute a script which is having the following content it is not executing,
    echo "*** Start Oracle PROD Backup Begin ***"
    echo " "
    echo " "
    su - oracle -c "sqlplus system/manager@PROD" << EOF
    @/scripts/TKM/flash_copy/new/begin_backup_ebs.sql;
    @/scripts/TKM/flash_copy/new/begin_backup_ebs_run.sql;
    alter database backup controlfile to trace;
    alter system archive log current;
    exit
    EOF
    echo " "
    echo " "
    echo "*** End Oracle PROD Backup Begin ***"
    echo " "
    echo " "
    exit
    Im getting the following error...
    *** Start Oracle PROD Backup Begin ***
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    SQL*Plus: Release 10.2.0.4.0 - Production on Fri Aug 21 16:41:05 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> ERROR:
    ORA-12162: TNS:net service name is incorrectly specified
    Warning: You are no longer connected to ORACLE.
    SQL> SP2-0640: Not connected
    SQL> SP2-0734: unknown command beginning "SP2-0640: ..." - rest of line ignored.
    SQL> SP2-0640: Not connected
    SQL> SP2-0640: Not connected
    SQL>
    *** End Oracle PROD Backup Begin ***
    Plz suggest me..!!!!

    I agree that the env is probably incorrect. A few points to consider
    - background environments like cron do not have any real environment set up;
    - the more professional way to set up env would be to use oraenv, not hard code paths - especially since it sets up PATH correctly;
    - the command is currently in quotes. That may be throwing the entire bungee cord over the bridge;
    - the usual way of running a (su -c) would be to call a second script which in itself is designed to standalone in the target user env;
    - su almost implies from root, and living in root is a less-than-stellar way to do Oracle admin
    IOW, I'd probably suggest
    script 1: (runback.sh)
    #!/bin/bash
    echo "*** Start Oracle PROD Backup Begin ***" | tee >> /var/opt/oracle/backup.log
    echo `date` | tee >> /var/opt/oracle/backup.log
    echo " "
    echo " "
    # Set the environment
    ORAENV_ASK=NO
    ORACLE_SID=PROD
    # may need /usr/local/bin/oraenv in place of the next line.
    . oraenv
    unset ORAENV_ASK
    # Hopefully the database is not really running with system's password 'manager'
    # Have we really modified the default FHS to include /scripts?
    # Use 'silent' and NOLOG * untested, going from memory *
    sqlplus -S /NOLOG << EOF
    rem
    rem This technique avoids displaying a password in 'ps' output
    rem
    connect system/manager@PROD
    @/scripts/TKM/flash_copy/new/begin_backup_ebs.sql;
    @/scripts/TKM/flash_copy/new/begin_backup_ebs_run.sql;
    alter database backup controlfile to trace;
    alter system archive log current;
    exit
    EOF
    echo " "
    echo " "
    echo `date` | tee >> /var/opt/oracle/backup.log
    echo "*** End Oracle PROD Backup Begin ***" | tee >> /var/opt/oracle/backup.log
    echo " "
    echo " "
    exit
    script 2: (callback.sh)
    #!/bin/bash
    su oracle -c {path to}/runback.sh

  • Hostapd daemon script not executable

    With the newest hostapd upgrade from community-testing, a rebuild for a newer lib i got errors that /etc/rc.d/hostapd isn't there or is not an executable. chmod fixed that but then i checked the file from the package and it seems fine.
    hostapd: Bourne-Again shell script, ASCII text executable

    http://projects.archlinux.org/svntogit/ … 8539a0615a

  • Dbora script not executing all startup processes

    Hi,
    I am running Oracle10gR2 on RHEL4. I am having issues with my dbora script. I read quite a few of the posts about it and most people were having similar issues as me. However, I was still not able to get it to work properly. I am going to paste my dbora script and all the other things that I am suppose to do like edit the /etc/oratab file. The main problem I am having is that not all the process that need to be started are starting up. I've been messing around with the /etc/rc.d/init.d/rc.2..rc.3...rc.4...etc files and trying different combinations and they all give me different results. However, the one thing that never starts up is the database. I can get the listener to work and sometimes http server also, but never the database. And another weird thing is that when I check the logs (/var/log/boot.log) it says that the opmn process, for example, has been started, but when I check the status it is down. Here is how things look now.
    The /etc/oratab file
    # This file is used by ORACLE utilities. It is created by root.sh
    # and updated by the Database Configuration Assistant when creating
    # a database.
    # A colon, ':', is used as the field terminator. A new line terminates
    # the entry. Lines beginning with a pound sign, '#', are comments.
    # Entries are of the form:
    # $ORACLE_SID:$ORACLE_HOME:<N|Y>:
    # The first and second fields are the system identifier and home
    # directory of the database respectively. The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    FPRCQA:/opt/app/oracle/product/10.2.0/db_1:Y#
    # *:/opt/app/oracle/product/10.2.0/http_1:N
    *:/opt/app/oracle/product/10.2.0/http_1:N
    -- The /etc/rc.d directory
    /etc/rc.d/rc4.d/S99dbora
    /etc/rc.d/rc4.d/K01dbora
    /etc/rc.d/rc3.d/S99dbora
    /etc/rc.d/rc3.d/K01dbora
    /etc/rc.d/rc5.d/S99dbora
    /etc/rc.d/rc5.d/K01dbora
    /etc/rc.d/rc1.d/K01dbora
    /etc/rc.d/rc2.d/S99dbora
    /etc/rc.d/rc2.d/K01dbora
    /etc/rc.d/rc6.d/K01dbora
    /etc/rc.d/rc0.d/K01dbora
    -- The dbora script
    #!/bin/bash
    # chkconfig: 35 99 10
    # description: Starts and stops Oracle processes
    # Set ORA_HOME to be equivalent to the $ORACLE_HOME
    # from which you wish to execute dbstart and dbshut;
    # Set ORA_OWNER to the user id of the owner of the
    # Oracle database in ORA_HOME.
    ORA_DB_HOME=/opt/app/oracle/product/10.2.0/db_1
    ORA_HTTP_HOME=/opt/app/oracle/product/10.2.0/http_1
    ORA_OWNER=oracle
    ORA_LSNR=LSNR_FPRCQA
    case "$1" in
    'start')
    # Start the TNS Listener
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/lsnrctl start $ORA_LSNR"
    # Start the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c $ORA_DB_HOME/bin/dbstart
    # Start the Intelligent Agent
    if [ -f $ORA_DB_HOME/bin/emctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/emctl start agent"
    elif [ -f $ORA_DB_HOME/bin/agentctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/agentctl start"
    else
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/lsnrctl dbsnmp_start"
    fi
    # Start Management Server
    if [ -f $ORA_DB_HOME/bin/emctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/emctl start dbconsole"
    elif [ -f $ORA_DB_HOME/bin/oemctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/oemctl start oms"
    fi
    # Start HTTP Server
    if [ -f $ORA_HTTP_HOME/opmn/bin/opmnctl ]; then
    su - $ORA_OWNER -c "$ORA_HTTP_HOME/opmn/bin/opmnctl start"
    su - $ORA_OWNER -c "$ORA_HTTP_HOME/opmn/bin/opmnctl startproc -ias_component=HTTP_Server"
    fi
    # Start iSQL*Plus
    if [ -f $ORA_HTTP_HOME/bin/isqlplusctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/isqlplusctl start"
    fi
    touch /var/lock/subsys/dbora
    'stop')
    # Stop iSQL*Plus
    if [ -f $ORA_DB_HOME/bin/isqlplusctl ]; then
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/isqlplusctl stop"
    fi
    # Stop HTTP Server
    if [ -f $ORA_HTTP_HOME/opmn/bin/opmnctl ]; then
    su - $ORA_OWNER -c "$ORA_HTTP_HOME/opmn/bin/opmnctl stopall"
    fi
    # Stop the TNS Listener
    su - $ORA_OWNER -c "$ORA_DB_HOME/bin/lsnrctl stop $ORA_LSNR"
    # Stop the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c $ORA_DB_HOME/bin/dbshut
    rm -f /var/lock/subsys/dbora
    esac
    # End of script dbora
    exit 0
    I would also appreciate if someone could tell me how these rc.2 execute and what order.
    Thank you all.

    Ok, I have tried your combination as well as other ones for the runlevels and they all took an hour or more to get the server back up again. The current configurations bring up the server within a few minutes, however, the database nor opmn process is starting. I was wondering if you could still help me? Here is my current runlevel configuration and /var/log/boot.log file. Notice the dbora entries. Thanks!
    /etc/rc.d/rc4.d/K10dbora
    /etc/rc.d/rc3.d/S99dbora
    /etc/rc.d/init.d/dbora
    /etc/rc.d/rc5.d/S99dbora
    /etc/rc.d/rc1.d/K10dbora
    /etc/rc.d/rc2.d/K10dbora
    /etc/rc.d/rc6.d/K10dbora
    /etc/rc.d/rc0.d/K10dbora
    Aug 7 11:48:56 rh-staging cups-config-daemon: cups-config-daemon -TERM succeeded
    Aug 7 11:48:56 rh-staging haldaemon: haldaemon -TERM succeeded
    Aug 7 11:48:56 rh-staging messagebus: messagebus -TERM succeeded
    Aug 7 11:48:56 rh-staging rhnsd: rhnsd shutdown succeeded
    Aug 7 11:48:56 rh-staging atd: atd shutdown succeeded
    Aug 7 11:48:57 rh-staging cups: cupsd shutdown succeeded
    Aug 7 11:48:57 rh-staging dbora: iSQL*Plus 10.2.0.3.0
    Aug 7 11:48:57 rh-staging dbora: Copyright (c) 2003, 2006, Oracle. All Rights Reserved.
    Aug 7 11:49:26 rh-staging dbora: iSQL*Plus instance on port 5560 is not running ...
    Aug 7 11:49:26 rh-staging dbora: opmnctl: stopping opmn and all managed processes...
    Aug 7 11:49:32 rh-staging dbora:
    Aug 7 11:49:32 rh-staging dbora: LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 07-AUG-2007 11:49:32
    Aug 7 11:49:32 rh-staging dbora:
    Aug 7 11:49:32 rh-staging dbora: Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Aug 7 11:49:32 rh-staging dbora:
    Aug 7 11:49:32 rh-staging dbora: Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rh-staging.fprc.ophth.wisc.edu)(PORT=1521)))
    Aug 7 11:49:33 rh-staging dbora: The command completed successfully
    Aug 7 11:49:33 rh-staging dbora: ORACLE_HOME_LISTNER is not SET, unable to auto-stop Oracle Net Listener
    Aug 7 11:49:33 rh-staging dbora: Usage: /opt/app/oracle/product/10.2.0/db_1/bin/dbshut ORACLE_HOME
    Aug 7 11:49:33 rh-staging dbora: Processing Database instance "FPRCQA": log file /opt/app/oracle/product/10.2.0/db_1/shutdown.logAug 7 11:49:34 rh-staging rc: Stopping dbora: succeededAug 7 11:49:34 rh-staging xfs: xfs shutdown succeeded
    Aug 7 11:49:35 rh-staging gpm: gpm shutdown succeeded
    Aug 7 11:49:35 rh-staging sshd: sshd -TERM succeeded
    Aug 7 11:49:35 rh-staging sendmail: sm-client shutdown succeeded
    Aug 7 11:49:35 rh-staging sendmail: sendmail shutdown succeeded
    Aug 7 11:49:35 rh-staging smb: smbd shutdown succeeded
    Aug 7 11:49:36 rh-staging smb: nmbd shutdown succeeded
    Aug 7 11:49:36 rh-staging xinetd: xinetd shutdown succeeded
    Aug 7 11:49:36 rh-staging acpid: acpid shutdown succeeded
    Aug 7 11:49:36 rh-staging crond: crond shutdown succeeded
    Aug 7 11:49:36 rh-staging autofs: Stopping automount:
    Aug 7 11:49:36 rh-staging autofs: automount shutdown succeeded
    Aug 7 11:49:36 rh-staging autofs:
    Aug 7 11:49:36 rh-staging autofs:
    Aug 7 11:49:36 rh-staging rc: Stopping autofs: succeeded
    Aug 7 11:49:37 rh-staging ntpd: ntpd shutdown succeeded
    Aug 7 11:49:37 rh-staging nfslock: rpc.statd shutdown succeeded
    Aug 7 11:49:37 rh-staging irqbalance: irqbalance shutdown succeeded
    Aug 7 11:49:38 rh-staging portmap: portmap shutdown succeeded
    Aug 7 11:49:39 rh-staging syslog: klogd shutdown succeeded
    Aug 7 11:51:32 rh-staging syslog: syslogd startup succeeded
    Aug 7 11:51:32 rh-staging syslog: klogd startup succeeded
    Aug 7 11:51:32 rh-staging irqbalance: irqbalance startup succeeded
    Aug 7 11:51:32 rh-staging portmap: portmap startup succeeded
    Aug 7 11:51:32 rh-staging nfslock: rpc.statd startup succeeded
    Aug 7 11:51:33 rh-staging rpcidmapd: rpc.idmapd startup succeeded
    Aug 7 11:51:33 rh-staging netfs: Mounting other filesystems: succeeded
    Aug 7 11:51:33 rh-staging rc: Starting lm_sensors: succeeded
    Aug 7 11:51:34 rh-staging autofs: automount startup succeeded
    Aug 7 11:51:34 rh-staging acpid: acpid startup succeeded
    Aug 7 06:50:19 rh-staging rc.sysinit: -e
    Aug 7 06:50:31 rh-staging start_udev: Starting udev: succeeded
    Aug 7 06:50:34 rh-staging rc.sysinit: -e
    Aug 7 06:50:41 rh-staging sysctl: net.ipv4.ip_forward = 0
    Aug 7 06:50:41 rh-staging sysctl: net.ipv4.conf.default.rp_filter = 1
    Aug 7 06:50:41 rh-staging sysctl: net.ipv4.conf.default.accept_source_route = 0
    Aug 7 06:50:41 rh-staging sysctl: kernel.sysrq = 0
    Aug 7 06:50:41 rh-staging sysctl: kernel.core_uses_pid = 1
    Aug 7 06:50:41 rh-staging sysctl: kernel.shmmax = 2147483648
    Aug 7 06:50:41 rh-staging sysctl: kernel.sem = 250 32000 100 128
    Aug 7 06:50:41 rh-staging sysctl: net.ipv4.ip_local_port_range = 1024 65536
    Aug 7 06:50:41 rh-staging sysctl: net.core.rmem_default = 262144
    Aug 7 06:50:41 rh-staging sysctl: net.core.rmem_max = 262144
    Aug 7 06:50:41 rh-staging sysctl: net.core.wmem_default = 262144
    Aug 7 06:50:41 rh-staging sysctl: net.core.wmem_max = 262144
    Aug 7 06:50:41 rh-staging rc.sysinit: Configuring kernel parameters: succeeded
    Aug 7 11:50:42 rh-staging date: Tue Aug 7 11:50:42 CDT 2007
    Aug 7 11:50:42 rh-staging rc.sysinit: Setting clock (localtime): Tue Aug 7 11:50:42 CDT 2007 succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Loading default keymap succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Setting hostname rh-staging.fprc.ophth.wisc.edu: succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Checking root filesystem succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Remounting root filesystem in read-write mode: succeeded
    Aug 7 11:50:42 rh-staging lvm.static: No volume groups found
    Aug 7 11:50:42 rh-staging rc.sysinit: Setting up Logical Volume Management: succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Checking filesystems succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Mounting local filesystems: succeeded
    Aug 7 11:50:42 rh-staging rc.sysinit: Enabling local filesystem quotas: succeeded
    Aug 7 11:50:43 rh-staging rc.sysinit: Enabling swap space: succeeded
    Aug 7 11:50:43 rh-staging sysstat: Calling the system activity data collector (sadc):
    Aug 7 11:50:43 rh-staging sysstat:
    Aug 7 11:50:43 rh-staging rc: Starting sysstat: succeeded
    Aug 7 11:50:44 rh-staging readahead_early: Starting background readahead:
    Aug 7 11:50:44 rh-staging rc: Starting readahead_early: succeeded
    Aug 7 11:51:28 rh-staging kudzu: failed
    Aug 7 11:51:28 rh-staging kudzu: Hardware configuration timed out.
    Aug 7 11:51:28 rh-staging kudzu: Run '/usr/sbin/kudzu' from the command line to re-detect.
    Aug 7 11:51:29 rh-staging pcmcia: Starting PCMCIA services:
    Aug 7 11:51:29 rh-staging pcmcia: cardmgr[2283]: no sockets found!
    Aug 7 11:51:29 rh-staging pcmcia: done.
    Aug 7 11:51:29 rh-staging rc: Starting pcmcia: succeeded
    Aug 7 11:51:29 rh-staging sysctl: net.ipv4.ip_forward = 0
    Aug 7 11:51:29 rh-staging sysctl: net.ipv4.conf.default.rp_filter = 1
    Aug 7 11:51:29 rh-staging sysctl: net.ipv4.conf.default.accept_source_route = 0
    Aug 7 11:51:29 rh-staging sysctl: kernel.sysrq = 0
    Aug 7 11:51:29 rh-staging sysctl: kernel.core_uses_pid = 1
    Aug 7 11:51:29 rh-staging sysctl: kernel.shmmax = 2147483648
    Aug 7 11:51:29 rh-staging sysctl: kernel.sem = 250 32000 100 128
    Aug 7 11:51:29 rh-staging sysctl: net.ipv4.ip_local_port_range = 1024 65536
    Aug 7 11:51:29 rh-staging sysctl: net.core.rmem_default = 262144
    Aug 7 11:51:29 rh-staging sysctl: net.core.rmem_max = 262144
    Aug 7 11:51:29 rh-staging sysctl: net.core.wmem_default = 262144
    Aug 7 11:51:29 rh-staging sysctl: net.core.wmem_max = 262144
    Aug 7 11:51:29 rh-staging network: Setting network parameters: succeeded
    Aug 7 11:51:30 rh-staging network: Bringing up loopback interface: succeeded
    Aug 7 11:51:31 rh-staging network: Bringing up interface eth0: succeeded
    Aug 7 11:51:35 rh-staging cups: cupsd startup succeeded
    Aug 7 11:51:36 rh-staging sshd: succeeded
    Aug 7 11:51:36 rh-staging xinetd: xinetd startup succeeded
    Aug 7 11:51:37 rh-staging ntpd: succeeded
    Aug 7 11:51:37 rh-staging ntpd: ntpd startup succeeded
    Aug 7 11:51:38 rh-staging sendmail: sendmail startup succeeded
    Aug 7 11:51:38 rh-staging sendmail: sm-client startup succeeded
    Aug 7 11:51:38 rh-staging gpm: gpm startup succeeded
    Aug 7 11:51:39 rh-staging crond: crond startup succeeded
    Aug 7 11:51:40 rh-staging xfs: xfs startup succeeded
    Aug 7 11:51:40 rh-staging smb: smbd startup succeeded
    Aug 7 11:51:40 rh-staging smb: nmbd startup succeeded
    Aug 7 11:51:41 rh-staging winbind: winbindd startup succeeded
    Aug 7 11:51:41 rh-staging anacron: anacron startup succeeded
    Aug 7 11:51:41 rh-staging atd: atd startup succeeded
    Aug 7 11:51:41 rh-staging readahead: Starting background readahead:
    Aug 7 11:51:41 rh-staging rc: Starting readahead: succeeded
    Aug 7 11:51:41 rh-staging messagebus: messagebus startup succeeded
    Aug 7 11:51:41 rh-staging rhnsd: rhnsd startup succeeded
    Aug 7 11:51:41 rh-staging cups-config-daemon: cups-config-daemon startup succeeded
    Aug 7 11:51:41 rh-staging haldaemon: haldaemon startup succeeded
    Aug 7 11:51:43 rh-staging dbora:
    Aug 7 11:51:43 rh-staging dbora: LSNRCTL for Linux: Version 10.2.0.3.0 - Production on 07-AUG-2007 11:51:43
    Aug 7 11:51:43 rh-staging dbora:
    Aug 7 11:51:43 rh-staging dbora: Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Aug 7 11:51:43 rh-staging dbora:
    Aug 7 11:51:43 rh-staging dbora: Starting /opt/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
    Aug 7 11:51:43 rh-staging dbora:
    Aug 7 11:51:44 rh-staging dbora: TNSLSNR for Linux: Version 10.2.0.3.0 - Production
    Aug 7 11:51:44 rh-staging dbora: System parameter file is /opt/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Aug 7 11:51:44 rh-staging dbora: Log messages written to /opt/app/oracle/admin/FPRCQA/logmuseum/oraclenet/lsnr_fprcqa.log
    Aug 7 11:51:44 rh-staging dbora: Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rh-staging.fprc.ophth.wisc.edu)(PORT=1521)))
    Aug 7 11:51:44 rh-staging dbora: Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Aug 7 11:51:44 rh-staging dbora:
    Aug 7 11:51:44 rh-staging dbora: Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rh-staging.fprc.ophth.wisc.edu)(PORT=1521)))
    Aug 7 11:51:44 rh-staging dbora: STATUS of the LISTENER
    Aug 7 11:51:44 rh-staging dbora: ------------------------
    Aug 7 11:51:44 rh-staging dbora: Alias LSNR_FPRCQA
    Aug 7 11:51:44 rh-staging dbora: Version TNSLSNR for Linux: Version 10.2.0.3.0 - Production
    Aug 7 11:51:44 rh-staging dbora: Start Date 07-AUG-2007 11:51:43
    Aug 7 11:51:44 rh-staging dbora: Uptime 0 days 0 hr. 0 min. 0 sec
    Aug 7 11:51:44 rh-staging dbora: Trace Level off
    Aug 7 11:51:44 rh-staging dbora: Security ON: Local OS Authentication
    Aug 7 11:51:44 rh-staging dbora: SNMP OFF
    Aug 7 11:51:44 rh-staging dbora: Listener Parameter File /opt/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Aug 7 11:51:44 rh-staging dbora: Listener Log File /opt/app/oracle/admin/FPRCQA/logmuseum/oraclenet/lsnr_fprcqa.log
    Aug 7 11:51:44 rh-staging dbora: Listening Endpoints Summary...
    Aug 7 11:51:44 rh-staging dbora: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rh-staging.fprc.ophth.wisc.edu)(PORT=1521)))
    Aug 7 11:51:44 rh-staging dbora: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Aug 7 11:51:44 rh-staging dbora: Services Summary...
    Aug 7 11:51:44 rh-staging dbora: Service "FPRCQA.fprc.ophth.wisc.edu" has 1 instance(s).
    Aug 7 11:51:44 rh-staging dbora: Instance "FPRCQA", status UNKNOWN, has 1 handler(s) for this service...
    Aug 7 11:51:44 rh-staging dbora: Service "PLSExtProc" has 1 instance(s).
    Aug 7 11:51:44 rh-staging dbora: Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Aug 7 11:51:44 rh-staging dbora: The command completed successfully
    Aug 7 11:51:44 rh-staging dbora: ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener
    Aug 7 11:51:44 rh-staging dbora: Usage: /opt/app/oracle/product/10.2.0/db_1/bin/dbstart ORACLE_HOME
    Aug 7 11:51:44 rh-staging dbora: Processing Database instance "FPRCQA": log file /opt/app/oracle/product/10.2.0/db_1/startup.log
    Aug 7 11:51:51 rh-staging dbora: TZ set to US/Central
    Aug 7 11:51:54 rh-staging dbora: Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Aug 7 11:51:54 rh-staging dbora: Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    Aug 7 11:51:55 rh-staging dbora: Starting agent ...
    Aug 7 11:51:56 rh-staging dbora: .
    Aug 7 11:51:57 rh-staging dbora: .
    Aug 7 11:51:58 rh-staging dbora: started.
    Aug 7 11:52:03 rh-staging dbora: TZ set to US/Central
    Aug 7 11:52:04 rh-staging dbora: Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Aug 7 11:52:04 rh-staging dbora: Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    Aug 7 11:52:04 rh-staging dbora: http://rh-staging.fprc.ophth.wisc.edu:1 ... pplication
    Aug 7 11:52:04 rh-staging dbora: Agent Version : 10.1.0.5.1
    Aug 7 11:52:04 rh-staging dbora: OMS Version : 10.1.0.5.0
    Aug 7 11:52:04 rh-staging dbora: Protocol Version : 10.1.0.2.0
    Aug 7 11:52:04 rh-staging dbora: Agent Home : /opt/app/oracle/product/10.2.0/db_1/rh-staging.fprc.ophth.wisc.edu_FPRCQA
    Aug 7 11:52:04 rh-staging dbora: Agent binaries : /opt/app/oracle/product/10.2.0/db_1
    Aug 7 11:52:04 rh-staging dbora: Agent Process ID : 3701
    Aug 7 11:52:04 rh-staging dbora: Parent Process ID : 3698
    Aug 7 11:52:04 rh-staging dbora: Agent URL : http://rh-staging.fprc.ophth.wisc.edu:3938/emd/main
    Aug 7 11:52:04 rh-staging dbora: Started at : 2007-08-07 11:51:55
    Aug 7 11:52:04 rh-staging dbora: Started by user : oracle
    Aug 7 11:52:04 rh-staging dbora: Last Reload : 2007-08-07 11:51:55
    Aug 7 11:52:04 rh-staging dbora: Last successful upload : (none)
    Aug 7 11:52:04 rh-staging dbora: Last attempted upload : (none)
    Aug 7 11:52:04 rh-staging dbora: Total Megabytes of XML files uploaded so far : 0.00
    Aug 7 11:52:04 rh-staging dbora: Number of XML files pending upload : 3
    Aug 7 11:52:04 rh-staging dbora: Size of XML files pending upload(MB) : 0.05
    Aug 7 11:52:04 rh-staging dbora: Available disk space on upload filesystem : 78.17%
    Aug 7 11:52:04 rh-staging dbora: Agent is already started. Will restart the agent
    Aug 7 11:52:09 rh-staging dbora: Stopping agent ...
    Aug 7 11:52:11 rh-staging dbora: stopped.
    Aug 7 11:52:11 rh-staging dbora: Starting Oracle Enterprise Manager 10g Database Control ...
    Aug 7 11:52:15 rh-staging dbora: .Aug 7 11:52:46 rh-staging last message repeated 6 times

  • Script not executed

    How do you use javascript within yr' jsp page? The ff script never gets executed and I need a popup displayed when user is not logged on. Any suggestions would be appreciated.
    <% if(XXXXXXXx.verifyUser()) { %>
    <jsp:forward page="xxx.htm"/>
    <% } else { %>
    <SCRIPT>
    function openpopup(){
    var popurl="Invalid UserName/Password"
    winpops=window.open(popurl,"","width=400,height=338,status,")
    openpopup()
    </Script>
    <jsp:forward page="login.htm"/>
    <% } %>

    The problem seems to be that you have the <jsp:forward> tag after your script. This causes the server to forward the request to another page, so that your page with the script won't be sent to the client at all. Remove the <jsp:forward> and put a line like
    document.location="something"
    in your client-side script after the pop-up..

  • Perl Scripts not executable in web server

    I have a MacMini running 10.4 Server. It is hosting a web site for some surveys that are created using SurveyTracker.
    The person creating the surveys SMB connects to the web server to create the files in the share point that is also the main web directory (not /Library/WebServer/Documents but a different location).
    The problem is, when the person does the SMB file create, it does not create the pl scripts with the 'x' bit enabled. Instead of rwx/rwx/r-x (775) it comes rw-/rw-/r-- (664).
    I have tried setting a cron job to auto chmod to 775 every five minutes but the cron job does not run.
    Is there a way to change the permsissions on the folder, i.e. Sticky Bit, so any file being created in the folder wil have the 'x' bit automatically?
    The option of giving ssh access to the person creating the file is not as easy as it sounds, as they do not understand terminal/ssh.
    I have mod_perl and mod_cgi enabled in the webserver settings, and allow CGI-Execute.
    XServe   Mac OS X (10.4.3)  

    Hi Ludek,
                   After installing default printer on Server, i got No printers installed.
    below is my code, (checking in Default printer installed or not in TRY)
    CR_TGL_EBL.HasPrintButton = False
    CR_TGL_EBL.ReportSource = rpt
    Try
    rpt.PrintToPrinter(No_of_copies, True, 0, 0)
    Catch ex As Exception
    Page.ClientScript.RegisterStartupScript([GetType](), "printer Problems", (Convert.ToString("alert('" + ex.Message + " ")) +"Your associated printer not working contact the admin!');", True)
    End Try
    Even i installed default printer i got alert message, How to get direct print in server.
    Locally it's working fine. Once i enable printtoprinter it's loading only...
    Please help me to solve this issue...
    Regards,
    Mani.

  • Script not executing the CALCDEFAULT

    I've got a load script which gets run everynight, using ESSCMD, which loads new data into an essbase cube, this all seems to work OK, but it doesnt recalculate the cube data.
    If I run the calcdefault from within the EAC all is OK. Can someone advise on what I'm doing wrong?
    LOGIN "XXX" "XXX" "XXX";
    UPDATEVARIABLE "SQL_SOURCE" "" "Dealing" "" "3G.UAT";
    SELECT "Dealing" "OpenPos";
    DISABLELOGIN;
    BUILDDIM 2 "B_AREA" 4 "XXX" "XXX" "build.log"
    BUILDDIM 2 "B_DATE" 4 "XXX" "XXX" "build.log"
    BUILDDIM 2 "B_LOAD" 4 "XXX" "XXX" "build.log"
    BUILDDIM 2 "B_MKT" 4 "XXX" "XXX" "build.log"
    IMPORT 4 "XXX" "XXX" 2 "L_DATA" "N" "dataload.log"
    CALCDEFAULT;
    ENABLELOGIN;
    EXIT;

    Hmm, if you had an IFERROR statement in your code (should I go into lecture mode -- nope, you know what I'm going to write about untrapped steps in a script -- lecture mode off) I wouldn't be all that surprised -- an error occured and it branched out.
    However you don't have error traps so it sounds like Esscmd just up and quit.
    I guess you won't know if it works or not till you run it again.
    Why don't you throw a SPOOL (I can't remember if that's the Esscmd or MaxL command -- whatever Esscmd uses to log STDOUT and STDERR to a text file) into your code and see where it's failing?
    You should also be able to look in the application log and see what happened there.
    Regards,
    Cameron Lackpour

  • Powershell script not executing in Windows 8.1 TS

    I have this simple powershell script that will create a log file in a certain directory. I added a "Run Command Line" step in my task sequence to call my powershell script
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File .\POSTINSTALL.ps1
    When I did not specify any account in "Run this step as the following account" section, the log file was created in the directory. But when I specify an account in "Run this step as the following account", the log file was not created.
    The account that I have used have full admin rights on the directory as I have added the account in local admin group using another task sequence step. I have also modified the security rights of the folder to give all users and administrators to have full
    control of the folder, but the log file was not created. Any idea why the script only works with System account?
    Note that I have only experience this on a Windows 8.1 OS. The script works in Windows 7 whether I specify an account in "Run this step.." or not.

    If that is all you are doing, why not run it without content?
    powershell.exe -executionpolicy bypass -command "& {New-Item C:\Windows\PCLOGS\Logs\TS-Test.log -ItemType File}"
    We use Run Command Line steps in literally dozens of steps in our task sequences. I would remove the path and let the TS control which architecture of PowerShell to call, that may be your problem.
    Daniel Ratliff | http://www.PotentEngineer.com

  • Conditional action script not executing

    I have four buttons, Q1, Q2,Q3,Q4.  the script for each works fine:  the variable (ex. Q1) is set equal to 1 and the other functions perform as scripted.  When all four buttons are clicked on and equal to 1, another script (Slide_End) is supposed to work--hiding a box on the screen and showing the Next button.  This Slide_End script is not working.  I have the slide properties On Enter assigned to Advanced Actions>Slide_End.  The Slide_End script has been labelled as All Clicked within the script itself.  I just can't understand what I am missing.  I have the exact same settings on another slide and it works fine.

    Never had a formal training neither, but have been blogging about advanced actions and solving use cases for many users. And wrote some articles long time ago, here you can find the link with those:
    https://workspaces.acrobat.com/?d=tGgSjfVqRtEgI6fORG-zbw
    Normally for a standard action, you choose 'Standard action', not a 'Conditional action'. Have a look at this old presentation, maybe it will clarify something:
    http://blog.lilybiri.com/presentation-devlearn-2011
    Double click on the second 'Untitled' and you have a second possibility to check something. The first condition will always be fulfilled  (IF 1 is equal to 1) so that is really a standard action. The second Untitled will be your real condition where you check all the variables and have two different sets of statement/commands depending on the answer Yes or No for that condition.
    Lilybiri

  • How to get 'exit event' script to execute again when form file with saved data is re-opened?

    I have created an Adobe Dynamic XML Form using LiveCycle Designer with many fields / subforms that are ‘visible’ or ‘hidden’ dependent upon the options selected from various Drop-Down Lists. The form has also been save-enabled. Users can successfully complete the form and save a copy with the data that has been input.
    The problem I have is that when the saved file is re-opened the ‘hidden’ fields / subforms which were previously made visible by selection of the appropriate options from the Drop-down Lists are now NOT displayed. However if you make the same selections from each of the Drop-down Lists AGAIN the hidden fields / subforms are displayed and do contain the data that was entered.
    The problem appears to be that the script which determines whether a field / subform is ‘hidden’ or ‘visible’ is an
    <event activity="exit" name="event__exit">
    which is followed by
    if (this.rawValue == "0")- (i.e. the value of the Drop-down List)
    sfCompanyDetails.presence = "visible";
    sfRecruitmentAgency.presence = "hidden";
    etc, etc
    and, therefore, it is not executed again when the saved file is re-opened.
    Can anyone please advise how to achieve this?

    Moved from Adobe Connnect Forums.

  • "File does not exist: /etc/apache2/htdocs/ABC/script" why?

    Hey all,
    on Linux error.log I go:
    "File does not exist: /etc/apache2/htdocs/ABC/script" when I try to use the browser connecting to system. Why?
    Any help is fine.
    Thanks a lot in advance and best regards
    Michael

    get it myself
    ip adress in wgate config has to be changed to default

  • SSIS Script task not executing macro through SQL Agent (but it does through bids)

    <p>Hello everyone,</p><p>I am having an issue with SQL Agent when executing a macro contained in a script task component. The script task actually opens an excel file, runs the macro, save and closes the file. </p><p>When
    I execute the package via BIDS/Visual studio, it works like a charm. However, when i execute the package with SQL agent, the package runs successfully but it seems that the macro is not executed as the excel file has not been modified as it should have. Also,
    the history log does not show any error messages. </p><p>Could </p>

    Thanks!I did create a credential and a proxy too but still the macro is not executed.I have searched online for solutions but no one has experimented this kind of issue before it seems. Please have a look at the script task code:
    Imports
    Excel = Microsoft.Office.Interop.Excel
    Imports
    System
    Imports
    System.Data
    Imports
    System.Math
    Imports
    Microsoft.SqlServer.Dts.Runtime
    <System.AddIn.AddIn(
    "ScriptMain", Version:="1.0",
    Publisher:="", Description:="")>
    <System.CLSCompliantAttribute(
    False)> _
    Partial
    Public
    Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    Enum ScriptResults
    Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    End
    Enum
    Public
    Sub Main()
    Dim Macro_name
    As
    String
    Dim ExcelObject
    As
    New Microsoft.Office.Interop.Excel.Application
    Dim oBook
    As Microsoft.Office.Interop.Excel.Workbook
    Dim oBooks
    As Microsoft.Office.Interop.Excel.Workbooks
    Try
    Macro_name =
    "Macro001"
    ExcelObject =
    CType(CreateObject("Excel.Application"),
    Excel.Application)
    ExcelObject.Visible =
    True
    ExcelObject.UserControl =
    False
    ExcelObject.DisplayAlerts =
    False
    oBooks = ExcelObject.Workbooks
    oBook =
    CType(oBooks.Open("C\Book1.xls"),
    Excel.WorkbookClass)
    ExcelObject.Run(Macro_name)
    Catch ex
    As Exception
    ExcelObject.Application.Quit()
    ExcelObject.DisplayAlerts =
    True
    ExcelObject =
    Nothing
    End
    Try
    Dts.TaskResult = ScriptResults.Success
    End
    Sub
    End
    Class

  • ICal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed on alert.

    iCal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed.

    Calendar (not called iCal anymore) does not include that capability any longer, apparently.  What you have to do now is go to Automator and create a Calendar Alert action.  You can add a Run AppleScript object to the action and paste in your script there, then when you save it, it will become available as a choice in the alert menu in Calendar.

Maybe you are looking for

  • Office Web Apps Farm - undo the AllowHTTP switch

    I allowed HTTP while troubleshooting a cert issue, only to discover that the argument doesn't take a $false option. It seems to be enable-only.   Now I want to disable it.  Can I do this via PS or must I do a registry hack?

  • Installation on Mac OS X 10.5.8

    Hello, I have a new Mac Pro workstation on which I want to install a local copy of Oracle for my development work. I went to this page: http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10204macsoft_x86-64.html and download

  • Opening .vtf files in Photoshop

    Hey everyone! I am interested in re-skinning some of my CS:GO weapons, but Photoshop doesn't support .vtf files by default. I tried to install the VTF plugin, but there is no "File Formats" folder. Could somebody please tell me how to fix this proble

  • Help! 1280x800 highest resolution I can get on 30" display

    Just got it and plugged it in.....running it on a Dual 2.5 with Radeon 9600XT card. System Preferences-Displays shows that I have Apple HD Display....but refresh rate indicates n/a and available resolutions are from 640x480 to 1280x800. Can anyone he

  • Can't download Flash Player 10.1.85.3

    I'm using Vista 64 with Firefox version 3.6.12. I have Flash Player version 10,0,45,2 installed. Someone told me there was a new version of Firefox that fixes a new security issue. I checked my version and noticed i had Firefox version 3.6.2 installe