Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

nohup: appending output to `nohup.out'

JhilApr 17 2017 — edited Apr 20 2017

Hi,

How to avoid  " nohup: appending output to `nohup.out'

# su - oracle

nohup: appending output to `nohup.out'

$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 18-APR-2017 02:45:58

Copyright (c) 1991, 2013, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.214.131)(PORT=1521)))

STATUS of the LISTENER

------------------------

Alias                     listener

Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production

Start Date                18-APR-2017 02:45:50

Uptime                    0 days 0 hr. 0 min. 7 sec

Trace Level               off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

Listener Log File         /u01/app/oracle/diag/tnslsnr/AUSDEV/listener/alert/log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.214.131)(PORT=1521)))

Services Summary...

Service "crms" has 1 instance(s).

  Instance "crms", status UNKNOWN, has 1 handler(s) for this service...

Service "crms_DGMGRL" has 1 instance(s).

  Instance "crms", status UNKNOWN, has 1 handler(s) for this service...

Service "hrmss" has 1 instance(s).

  Instance "hrmss", status UNKNOWN, has 1 handler(s) for this service...

The command completed successfully

[1]+  Done                    nohup lsnrctl start listener /dev/null 2>&1

$ cat .bash_profile

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi

# User specific environment and startup programs

export EDITOR=vi

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

export GGS_HOME=/u01/app/oracle/gg_home

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib

export PATH=$GGS_HOME:$ORACLE_HOME/bin:$PATH:/sbin:/usr/sbin:/bin:/usr/bin

#. oraenv

nohup lsnrctl start listener /dev/null 2>&1&

alias rlsqlplus='rlwrap sqlplus'

alias rlrman='rlwrap rman'

#rlsqlplus / as sysdba

Actually my requirement is, when i connect to my database machine

listener should be started automatically. Actually this is a personal machine.

Os : Oracle Linux 5.5

DB: 11.2.0.4

This post has been answered by Nik on Apr 17 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 18 2017
Added on Apr 17 2017
9 comments
4,943 views