If a file named smit.log exists in your default (home) directory, ensure that you have write permission to this file by using the ls -l command. Use the chmod command to change permission, if necessary.
If you wish to specify an alternate smit.log file rather than correct directory or permission problems, use the -l flag. You must have write permission for the alternate log file specified.
The following produces a smit.log file in the specified location (logging takes place in this file during the session):
You should research the possibility that your default (home) directory has been deleted (using the cd and ls commands) or that your file system has been damaged (using the fsck command).