05-28-2008
Zaxxon,
The file size is 1MB;
root@axappk01::/test_tmp> du -m /var/adm/ras/errlog
1.00 /var/adm/ras/errlog
root@axappk01::/test_tmp> errpt | pg
pg: 0652-122 Cannot write to the temporary file.
root@axappk01::/test_tmp>
root@axappk01::/test_tmp> errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
EA88F829 0528155208 I O SYSJ2 USER DATA I/O ERROR
A96B4002 0528155208 I O grpsvcs Group Services informational message
EA88F829 0528155208 I O SYSJ2 USER DATA I/O ERROR
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have attempted to backup some database files on my company's Solaris machine about 3 times now. Each time that I attempt the backup, about 6 files are evident on the dat tape when I do read of the media and then I see the dreaded "tar: write error unexpected EOF" message. Each time that I... (2 Replies)
Discussion started by: robyn
2 Replies
2. AIX
Hello,
Whenever a non-root user try to run any cmd with |pg on a AIX 5.1 system it returns:
pg: 0652-121 Cannot create the temporary file.
Does anyone knows what this is about? This doesn't occur with root account.
Obrigado (2 Replies)
Discussion started by: maraquez
2 Replies
3. Shell Programming and Scripting
Hi all,
In the script I am creating a temporary file with process id as temp.txt.$$
I want to remove this tomporary file first from the current directory when i'll run the same script next time.
Note: Every time when the script executes then it has unique process id and it'll create a... (5 Replies)
Discussion started by: varungupta
5 Replies
4. Solaris
Hi Guys.
This is part of my filesystem structure :
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 47G 5.2G 42G 12% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% ... (2 Replies)
Discussion started by: aggadtech08
2 Replies
5. Shell Programming and Scripting
Hi All,
I have a file like below, how can i insert one line after line 1 without using a temporary file in perl?
line 1
line 2
line 3
expected result
line 1
new line <---insert here
line 2
line 3 (2 Replies)
Discussion started by: summer_cherry
2 Replies
6. Shell Programming and Scripting
After processing around 300 files , I am getting the below error.Please help me to resolve it
cat: 0652-050 Cannot open /dir1/dir2/dir3/dir/abc.txt
mv: 0653-401 Cannot rename /dir1/dir2/dir3/dir/abc.temp to /dir1/dir2/dir3/dir/abc.csv:
.
.
.
how to avoid it.
because I am getting... (1 Reply)
Discussion started by: vsachan
1 Replies
7. Shell Programming and Scripting
Hi-
How can I make the temporary file 0 byte , created inside gawk.
I am using
system("rm -f temp_orders");
It seems system command is deleting file permanently and I am not able to execute below statement.
print ORD_HEAD_FULL >> cFILE; (cFile is temp_orders) (2 Replies)
Discussion started by: ashish_kaithi
2 Replies
8. UNIX for Dummies Questions & Answers
How would I go about resolving this error
temporary mail message file: No such file or directory
Can anybody tell me where the default location is for the temporary mail message file is for mailx? It appears that it doesn't exist.
Thanks (1 Reply)
Discussion started by: joen
1 Replies
9. Shell Programming and Scripting
Hi all,
I have
export LOG_FILE=$HOME_DIR/error.log
sqlplus -s /nolog << EOF
whenever sqlerror exit sql.sqlcode
@$HOME_DIR/connect.sql
whenever sqlerror exit sql.sqlcode
@$SQL_FILE
EOF
can display the sql error in putty, how can I write them into log file ?:( (2 Replies)
Discussion started by: Hscript
2 Replies
10. Programming
How would someone save a file such as /etc/vpnc/test.conf locally into a temp file, so it can be queried? So for example if I used rsync to copy this file locally, how would I add that to a temp_file variable and discard it using unlink?
#include <stdio.h>
#include "error.h"
... (15 Replies)
Discussion started by: metallica1973
15 Replies
ktutil(1) User Commands ktutil(1)
NAME
ktutil - Kerberos keytab maintenance utility
SYNOPSIS
/usr/bin/ktutil
DESCRIPTION
The ktutil command is an interactive command-line interface utility for managing the keylist in keytab files. You must read in a keytab's
keylist before you can manage it. Also, the user running the ktutil command must have read/write permissions on the keytab. For example,
if a keytab is owned by root, which it typically is, ktutil must be run as root to have the appropriate permissions.
COMMANDS
clear_list Clears the current keylist.
clear
read_kt file Reads a keytab into the current keylist. You must specify a keytab file to read.
rkt file
write_kt file Writes the current keylist to a keytab file. You must specify a keytab file to write. If the keytab file already
wkt file exists, the current keylist is appended to the existing keytab file.
add_entry number Adds an entry to the current keylist. Specify the entry by the keylist slot number.
addent number
delete_entry number Deletes an entry from the current keylist. Specify the entry by the keylist slot number.
delent number
list Lists the current keylist.
l
list_request Lists available requests (commands).
lr
quit Exits utility.
exit
q
EXAMPLES
Example 1: Deleting a principal from a file
The following example deletes the host/denver@ACME.com principal from the /etc/krb5/krb5.keytab file. Notice that if you want to delete an
entry from an existing keytab, you must first write the keylist to a temporary keytab and then overwrite the existing keytab with the the
temporary keytab. This is because the wkt command actually appends the current keylist to an existing keytab, so you can't use it to over-
write a keytab.
example# /usr/krb5/bin/ktutil
ktutil: rkt /etc/krb5/krb5.keytab
ktutil: list
slot KVNO Principal
---- ---- ---------------------------------------
1 8 host/vail@ACME.COM
2 5 host/denver@ACME.COM
ktutil:delent 2
ktutil:l
slot KVNO Principal
---- ---- --------------------------------------
1 8 host/vail@ACME.COM
ktutil:wkt /tmp/krb5.keytab
ktutil:q
example# mv /tmp/krb5.keytab /etc/krb5/krb5.keytab
FILES
/etc/krb5/krb5.keytab keytab file for Kerberos clients
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWkrbu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|Command arguments |Evolving |
+-----------------------------+-----------------------------+
|Command output |Unstable |
+-----------------------------+-----------------------------+
SEE ALSO
SEAM(5)
SunOS 5.10 11 Apr 2003 ktutil(1)