Hi javsap,
file=$1 -- Input File btpy30
file2=$file"b"
if [`head -1 $file | cut -f 1 -d " "` = "PY3012B" ];then
cp $file $file2
fi
or
if [ `head -1 $file | cut -c7` = "B" ];then
the -d option with the cut command is for your field separator...
Thanks Sushveer,
I shall check it out. Although I think one of the disks need replacing. Our server is over 10 years old and definately needs upgrading.
Teklid
Hi Boria,
I've just done that and the it seems that the following filesystems need to be recovered:
/dev/informix
/dev/hd4
/dev/softw
AIX is really not my field especially when it comes to hardware problems. Is it okay to run the command
fsck -p <filesystem> to automatically correct any errors?
Thanks Boria,
You hit the nail on it's head!! - Problems with hard disk0
A39F8A49 0708164603 T S syserrlg ERROR LOGGING BUFFER OVERFLOW
0BA49C99 0708162503 T H scsi0 SCSI BUS ERROR
A39F8A49 0708162503 T S syserrlg ERROR LOGGING BUFFER OVERFLOW...
Hi,
I'm trying to run smit on our AIX 4.3 server and it comes back with the following error:
1800-093 Could not open SMIT log file:
./smit.log
I am not sure if one of the smit files is corrupt. I've checked to see if the relevant smit files exist and they are all present. Could...
Thanx jwtesch. I shall try this out immediately. Will this still cause a problem when checking files back into SCCS as the user name not the userid is in the SCCS p-file?
I've written a shell script to get around this problem by changing the user name in the p-file to that of root and logging...
This is my problem:
I am using the same user login ID on two development AIX servers. Both servers have filesystems mounted on each other and I am getting a mix match of User ID and names when I view the files in the mounted directories. This causes a big permission problem when checking files...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.