Attachmate Worldwide  |   Contact Us  |   NetIQ.com
Home » Support » Solution Library

Technical Support

Error: "Cannot open or create the nohup.out file"


Technical Note USA11210
Created 21-Oct-2004

Applies To
KEA! X 6.0

Unix

nohup.out


Symptoms

Error: "Cannot open or create the nohup.out file"

Error is displayed during login with Display output on


Cause

Possible Causes

You used the nohup command, and one of the following occurred:

- Your HOME variable is not set, and you do not have write permission on your home directory.
- Your HOME variable is set, but you do not have write permission on your home directory.
- Your HOME variable is set and a nohup.out file already exists in your home directory, but you do not have write permission on the $HOME/nohup.out file.

Fix

Procedures for Recovery:

1. Ensure that your HOME environment variable reflects your home directory.
2. Enter the echo $HOME command to see the value of your HOME environment variable.
3. If the two do not match, enter export HOME=PathName, where PathName is the full path of your home directory.
4. Reissue the nohup command.
5. Obtain write permission on the current directory.
6. Enter the ls -ld command to display the permissions on the current directory.
7. If you do not have write permission, see Recovering from File and Directory Permission Errors <dirpermerrs.htm> .
8. Reissue the nohup command.
9. Verify that the nohup.out file exists and obtain write permission.


Did this technical note answer your question?

Yes    No    Somewhat     Not sure yet

Additional comments about this tech note:

Need further help? For technical support, please contact Support.