Notice “nohup: ignoring input and appending output to `nohup.out'”


When running a script using nohup and piping the output to a logfile, I received this message:

nohup: ignoring input and appending output to `nohup.out'

This is simply a notice to let you know that the standard error message will also be sent to standard out which will then be redirect to a log file, usually nohup.out. If you would prefer to not to have the message printed, you can modify nohup to send both stderr and stdout to the same file. This is ideal for scripts run in cron or schedule to avoid unnecessary log messages.

Example of message when running a script:

nohup dstat --output /home/user/logs/myoutput_stats.csv -cmnl 3600 90 &
nohup: ignoring input and appending output to `nohup.out'

Use the following modification to avoid this message:

nohup dstat --output /home/user/logs/myoutput_stats.csv -cmnl 3600 90 > /dev/null &

Updating Java to 1.8.0

Howdy ma Peeps!

Long time no post!

I recently ran into an issue with a client trying to update OpenJDK to 1.8.0 (using the “yum install java-1.8.0”) to his cPanel server (CenotOS 6.9 WHM v68.0.23) which failed with the error that it requires (Network Security Services) nss >= 3.28.4 (and the server is running nss 3.21.0).

In attempting to update nss, it looks as though there are exclusions in the yum.conf file which blocks the server from updating nss:

exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* nss* p0f perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*

Once removed, the OpenJDK update completed without error.