Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

symbolic links

Status
Not open for further replies.

harpal

Technical User
Oct 3, 2001
115
GB
Hi,

below are 5 symbolic links under our tmp files system.

ST0001@ -> kb/
ST0003@ -> oxo/
ST0004@ -> leeds/
ST0005@ -> warehouse/
ST0006@ -> prism/

the problems is the tmp completely blows over everynite I have remove file from the kb, oxo, leeds, warehouse, prism directories but the following morning the files I have deleted reapper and the files system blows over again is there a special way that these files need to be deleted as the are symbolic links setup against the directories.

regards

Harpal
 
as requested

root@hqax02 / >ls -la /tmp
total 4728
drwxrwxrwx 10 bin bin 4096 Aug 07 10:46 ./
drwxr-xr-x 30 bin bin 1536 Aug 05 15:20 ../
-rw-rw-r-- 1 ora8i oinstall 9117 Oct 19 2000 BEQ15336
-rw-rw-r-- 1 ora817 oinstall 9053 Apr 17 15:35 BEQ24546
-rw-rw-r-- 1 ora817 oinstall 8985 Apr 16 10:51 BEQ32472
-rw-rw-r-- 1 ora817 oinstall 8985 Apr 16 13:31 BEQ33594
-rw-rw-r-- 1 ora817 oinstall 8985 Apr 16 13:29 BEQ33782
drwxr-xr-x 3 root system 512 Oct 06 2000 bos/
-rw-r----- 1 root system 23 Aug 02 14:47 cfgvg.out
-rw-r--r-- 1 root system 0 Jul 26 09:28 CPxBaz
-rw------- 1 root system 347 Aug 03 05:07 crout0Vigaj
-rw------- 1 root system 4096 Aug 07 06:00 croutZiigbm
-rw-rw-r-- 1 ora8i oinstall 0 Oct 19 2000 DCE15336
-rw-rw-r-- 1 ora817 oinstall 0 Apr 17 15:35 DCE24546
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 10:51 DCE32472
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:31 DCE33594
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:29 DCE33782
-rw-rw-r-- 1 ora8i oinstall 0 Oct 19 2000 DEC15336
-rw-rw-r-- 1 ora817 oinstall 0 Apr 17 15:35 DEC24546
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 10:51 DEC32472
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:31 DEC33594
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:29 DEC33782
-rw-r--r-- 1 root system 0 Jul 25 16:02 device.pkgs
-rw-r--r-- 1 root system 3930 Oct 06 2000 ds1
-rw-r--r-- 1 hsingh staff 4003 Aug 06 11:04 errorlog.hsingh
-rw-r--r-- 1 gsteward staff 1395 Nov 29 2000 files
-rw-r--r-- 1 gsteward staff 10240 Nov 29 2000 files.tar
-rw-r--r-- 1 root system 5081 Jul 25 14:44 .filtered_toc.6006
drwxr-xr-x 2 root system 512 Apr 10 09:23 fwupdate/
drwxr-xr-x 3 root system 512 Aug 07 05:45 geac/
-rw-rw-r-- 1 ora8i oinstall 0 Oct 19 2000 ISPX15336
-rw-rw-r-- 1 ora817 oinstall 0 Apr 17 15:35 ISPX24546
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 10:51 ISPX32472
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:31 ISPX33594
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:29 ISPX33782
-rw-rw-r-- 1 ora8i oinstall 0 Oct 19 2000 ITCP15336
-rw-rw-r-- 1 ora817 oinstall 0 Apr 17 15:35 ITCP24546
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 10:51 ITCP32472
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:31 ITCP33594
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:29 ITCP33782
-rw-rw-rw- 1 root system 16 Aug 02 11:11 last_uuid
-rwsr-x--- 1 root system 6 Nov 10 2000 ligriv16838*
-rwxr-xr-x 1 root system 6 Nov 10 2000 ligriv5758*
-rw-r--r-- 1 root system 1318 Aug 01 12:13 .list_filesets.out
-rw-r--r-- 1 root system 978 Aug 01 12:13 .list_filesets.toc
-rw-rw-r-- 1 ora8i oinstall 0 Oct 19 2000 LU6215336
-rw-rw-r-- 1 ora817 oinstall 0 Apr 17 15:35 LU6224546
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 10:51 LU6232472
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:31 LU6233594
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:29 LU6233782
-rw-rw-r-- 1 ora817 oinstall 925409 Apr 16 13:31 net33594
-rw-rw-r-- 1 ora817 oinstall 926007 Apr 16 13:29 net33782
-rwxr-xr-x 1 root system 81052 Apr 18 16:29 nmon*
-rwxrwxrwx 1 root system 82604 Apr 18 16:30 nmon64*
-rw-rw-r-- 1 ora8i oinstall 0 Oct 19 2000 NMP15336
-rw-rw-r-- 1 ora817 oinstall 0 Apr 17 15:35 NMP24546
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 10:51 NMP32472
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:31 NMP33594
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:29 NMP33782
drwxrwxrwx 2 203 dba 1024 Aug 02 14:48 .oracle/
-rw-r--r-- 1 ora8i oinstall 757 Oct 19 2000 oratabtmp
srwxrwxrwx 1 webi dba 0 Aug 06 16:14 orb_18354_0=
srwxrwxrwx 1 root system 0 Apr 23 2001 orb_19842_0=
srwxrwxrwx 1 webi dba 0 Jun 12 2001 orb_20676_0=
srwxrwxrwx 1 root system 0 Apr 30 2001 orb_21196_0=
srwxrwxrwx 1 root system 0 Apr 23 2001 orb_21306_0=
srwxrwxrwx 1 root system 0 Apr 23 2001 orb_21536_0=
srwxrwxrwx 1 webi dba 0 Apr 09 17:52 orb_21688_0=
srwxrwxrwx 1 webi dba 0 May 16 2001 orb_22470_0=
srwxrwxrwx 1 webi dba 0 May 16 2001 orb_22540_0=
srwxrwxrwx 1 webi dba 0 Aug 06 16:14 orb_23036_0=
srwxrwxrwx 1 webi dba 0 Apr 04 12:52 orb_24082_0=
srwxrwxrwx 1 root system 0 Apr 25 2001 orb_24214_0=
srwxrwxrwx 1 root system 0 Apr 26 2001 orb_24278_0=
srwxrwxrwx 1 root system 0 Apr 23 2001 orb_25426_0=
srwxrwxrwx 1 root system 0 Apr 23 2001 orb_27398_0=
srwxrwxrwx 1 webi dba 0 May 01 2001 orb_27932_0=
srwxrwxrwx 1 root system 0 Apr 23 2001 orb_28496_0=
srwxrwxrwx 1 root system 0 Apr 24 2001 orb_28518_0=
srwxrwxrwx 1 root system 0 Apr 30 2001 orb_28594_0=
srwxrwxrwx 1 webi dba 0 Aug 06 16:14 orb_30926_0=
srwxrwxrwx 1 root system 0 Apr 30 2001 orb_32068_0=
-rw-r--r-- 1 hsingh staff 64839 Jul 26 11:40 .oslevel.mlinfo.cache
-rw-rw-r-- 1 ora8i oinstall 0 Oct 19 2000 RAW15336
-rw-rw-r-- 1 ora817 oinstall 0 Apr 17 15:35 RAW24546
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 10:51 RAW32472
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:31 RAW33594
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:29 RAW33782
-rw------- 1 root system 948 Aug 02 14:47 rc.net.out
-rw-r--r-- 1 root system 36 Nov 03 2000 sh17320.1
-rw-r--r-- 1 hsingh staff 0 Aug 06 11:01 smit.log
-rw-rw-r-- 1 ora8i oinstall 0 Oct 19 2000 SPX15336
-rw-rw-r-- 1 ora817 oinstall 0 Apr 17 15:35 SPX24546
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 10:51 SPX32472
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:31 SPX33594
-rw-rw-r-- 1 ora817 oinstall 0 Apr 16 13:29 SPX33782
-rw------- 1 root system 0 May 14 15:55 ssaraid.lock
-rw------- 1 root system 0 Oct 06 2000 .strload.mutex
-rw-rw-r-- 1 ora8i oinstall 8749 Oct 19 2000 TCP15336
-rw-rw-r-- 1 ora817 oinstall 8875 Apr 17 15:35 TCP24546
-rw-rw-r-- 1 ora817 oinstall 8807 Apr 16 10:51 TCP32472
-rw-rw-r-- 1 ora817 oinstall 8807 Apr 16 13:31 TCP33594
-rw-rw-r-- 1 ora817 oinstall 8807 Apr 16 13:29 TCP33782
-rw-rw-r-- 1 ora8i oinstall 7659 Oct 19 2000 TCPS15336
-rw-rw-r-- 1 ora817 oinstall 7197 Apr 17 15:35 TCPS24546
-rw-rw-r-- 1 ora817 oinstall 6857 Apr 16 10:51 TCPS32472
-rw-rw-r-- 1 ora817 oinstall 6857 Apr 16 13:31 TCPS33594
-rw-rw-r-- 1 ora817 oinstall 6857 Apr 16 13:29 TCPS33782
-rw-r--r-- 1 gsteward staff 0 Nov 29 2000 test291100
drwxr-x--- 2 root system 1536 Aug 01 12:17 upg/
-rw-rw-r-- 1 ora8i oinstall 6147 Oct 19 2000 US15336
-rw-rw-r-- 1 ora817 oinstall 6217 Apr 17 15:35 US24546
-rw-rw-r-- 1 ora817 oinstall 6149 Apr 16 10:50 US32472
-rw-rw-r-- 1 ora817 oinstall 6149 Apr 16 13:31 US33594
-rw-rw-r-- 1 ora817 oinstall 6149 Apr 16 13:29 US33782
drwxr-xr-x 4 root system 512 Oct 09 2000 vgdata/
drwxrwxrwx 5 webi dba 512 Aug 07 10:23 webitemp/
-rw-r--r-- 1 root system 954 May 15 2001 winstall.11934
-rw-r--r-- 1 root system 0 Apr 30 2001 winstall.22252
-rw-r--r-- 1 root system 0 May 01 2001 winstall.22994
-rw-r--r-- 1 root system 0 Apr 23 2001 winstall.24188
-rw-r--r-- 1 root system 0 Apr 23 2001 winstall.24196
-rw-r--r-- 1 root system 0 Apr 23 2001 winstall.25348
-rw-r--r-- 1 root system 947 Apr 23 2001 winstall.25490
-rw-r--r-- 1 root system 0 Apr 23 2001 winstall.25592
drwxrwxrwx 2 gsteward staff 512 Aug 02 14:47 .X11-unix/
-rw-r--r-- 1 root system 0 Aug 02 14:47 xlogfile
root@hqax02 / >fsck /tmp

** Checking /dev/hd3 (/tmp) MOUNTED FILE SYSTEM; WRITING SUPPRESSED;
Checking a mounted filesystem does not produce dependable results.
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Inode Map
Bad Inode Map (NOT SALVAGED)
** Phase 6 - Check Block Map
Bad Block Map (NOT SALVAGED)
Filesystem integrity is not guaranteed
4709 files 589912 blocks 16296 free
root@hqax02 / >errpt
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
369D049B 0807060002 I O SYSPFS UNABLE TO ALLOCATE SPACE IN FILE SYSTEM
C60BB505 0806202002 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806201602 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806201202 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806200902 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806200502 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806200102 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806195702 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806195402 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806195002 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
D1E21BA3 0806194602 I S errdemon LOG FILE EXPANDED TO REQUESTED SIZE
C60BB505 0806194602 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806194302 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806193802 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806193502 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806193102 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806192702 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
C60BB505 0806192302 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
 
ok.

1."ls -la" results are slightly cut off.
2.fsck points to some problems - please unmount /tmp and run "fsck -y /tmp",post results.
3.to determine the reason of "SOFTWARE PROGRAM ABNORMALLY TERMINATED" - cu&paste the following in any shell and post results:
========================
ksh
DATE1=`errpt -a -j C60BB505 | grep Date | awk '{ print $5 }' | cut -d: -f 1,2 |head -1`
for SEQUENCE in `errpt -a -j C60BB505|grep Sequence|cut -d: -f2`
do
DATE2=`errpt -a -j C60BB505 -l $SEQUENCE | grep Date | awk '{ print $5 }' | cut -d: -f 1,2`
if [[ $DATE1 != $DATE2 ]] ;then
echo “`errpt -l $SEQUENCE -a | grep Date | awk '{ print $3,$4,$5 }'` \c\t”
errpt -a -j C60BB505 -l $SEQUENCE | awk '/PROGRAM NAME/,/ADDITIONAL INFORMATION/' | grep -vE "PROG|ADD"
DATE1=$DATE2
fi
done
exit
===============================================
"Long live king Moshiach !"
h
 
1. root@hqax02 / >umount /tmp
umount: 0506-349 Cannot unmount /dev/hd3: The requested resource is busy. ( is there a way to force a umount )

2. root@hqax02 / >ksh
DATE1=`errpt -a -j C60BB505 | grep Date | awk '{ print $5 }' | cut -d: -f 1,2 |head -1`
for SEQUENCE in `errpt -a -j C60BB505|grep Sequence|cut -d: -f2`
do
DATE2=`errpt -a -j C60BB505 -l $SEQUENCE | grep Date | awk '{ print $5 }' | cut -d: -f 1,2`
if [[ $DATE1 != $DATE2 ]] ;then
echo "`errpt -l $SEQUENCE -a | grep Date | awk '{ print $3,$4,$5 }'` \c\t"
errpt -a -j C60BB505 -l $SEQUENCE | awk '/PROGRAM NAME/,/ADDITIONAL INFORMATION/' | grep -vE "PROG|ADD"
DATE1=$DATE2
fi
done
exit
root@hqax02 / >root@hqax02 / >> > > > > > > > 6 Aug 20:16:30 BcsScdul
6 Aug 20:12:42 BcsScdul
6 Aug 20:09:03 BcsScdul
6 Aug 20:05:15 BcsScdul
6 Aug 20:01:37 BcsScdul
6 Aug 19:57:49 BcsScdul
6 Aug 19:54:07 BcsScdul
6 Aug 19:50:24 BcsScdul
6 Aug 19:46:31 BcsScdul
6 Aug 19:43:38 BcsScdul
6 Aug 19:38:53 BcsScdul
6 Aug 19:35:09 BcsScdul
6 Aug 19:31:15 BcsScdul
6 Aug 19:27:17 BcsScdul
6 Aug 19:23:38 BcsScdul
root@hqax02 / >root@hqax02 / >

 
1.It's difficult to unmount /tmp.

What you want is to boot from AIX CD in maintenance mode,then import rootvg and run fsck on /tmp.

2.Looks like your application BcsScdul keeps crashing - I would check why. "Long live king Moshiach !"
h
 
how do i check apllication BcsScdul I will arrange some downtime to to run fsck on /tmp and post the results.

thanks
 
Normally if it's a home written applic - you go to the programmer who wrote it and get him to debug it ...


If it's an external pive of SW - look at the web support site,as usual. "Long live king Moshiach !"
h
 
hi,

can plz u let me know step by step on how to bring the system down in maintence mode and import roovg and run fsck
thanks mate.

regards

Harpal
 
I believe that you can issue:

shutdown -m

to enter single-user mode but I do not know if /tmp will be mounted or not. Might use -Fm as args so you don't wait five minutes.

To shutdown machine otherwise:

shutdown -F

To not have to poke power button:

shutdown -Fr

During boot you will see screen cover with "RS6000" and at the bottom you will see words like "memory", "scsi", "keyboard" and so. While those are appearing, press 5 on an ASCII term or F5 on a graphical term to force a boot from CDROM. IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top