util o/3/1: "tail: cannot open input" or "No such file or directory"
- Article Type: General
- Product: Aleph
- Product Version: 16.02
Description:
util o/3/1 ("View Oracle ALERT LOG") gives you the error:
1. tail: cannot open input
or
2. tail: /exlibris/app/oracle/admin/aleph0/bdump/alert_aleph0.log: No such file or directory
Resolution:
1. "cannot open input" probably means that you do not have permission to access the alert log. cd to the directory and try to view it:
cd /aleph_dev/exlibris/app/oracle/admin/aleph1/bdump
> ls -lrt *alert* gives:
-rw-r----- 1 oracle dba 435961 Apr 24 12:44 alert_aleph1.log
> view alert_aleph1.log gives "permission denied".
One needs to be logged in as the owner, "oracle", or to be in the "dba" group in order to read this file.
2. " No such file or directory" probably indicates that this is a "two-task" environment, with Oracle on a separate database server.
To check this do:
echo $ORA_HOST
If the result is a diffrent server than you are on, you will need to connect to that server to look at the alert log.
It may be that the Oracle indicates that there is a separate server for Oracle.
The following command will show this:
echo %ORA_HOST
If the response is different than the (aleph) server which you are on, then this site has a separate server for Oracle.
- Article last edited: 10/8/2013