[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20000316: McIDAS and mounted filesystems (cont.)
- Subject: 20000316: McIDAS and mounted filesystems (cont.)
- Date: Fri, 17 Mar 2000 08:04:52 -0700
>From: David Fitzgerald <address@hidden>
>Organization: Millersville University of Pennsylvania
>Keywords: 200001262144.OAA16099 McIDAS-X 7.6
Dave,
>After taking a break from messing with McIDAS (hoping that if I left it
>alone it would fix itself!) I decided to get back into it. I followed
>Mike Schmidt's advice and patched up both snowball and twister to the
>recommended patch sets and nfs patches. I also messed around with how
>the /software directory is mounted on twister, making sure it was
>read/write, and making sure the McIDAS user was NOT automounted on
>twister, since the /software filesystem is already mounted on boot.
OK.
>Anyway I created a soft link to /tmp/mctmp for the
>/software/mcidas/.mctmp directory, unfortunately mcenv STILL hangs.
On which system? I had already done this to prove that McIDAS worked
previously.
>I'm not sure how Mike got McIDAS to work by doing this last time.
Actually, I got things to work. The idea is that McIDAS needs to create
files in directories created for each McIDAS session under a .mctmp
directory in the user's account. Given that the locking was not working
with your NFS mount setup, I did the following:
o make sure all McIDAS things in the account were inactive (i.e. no sessions
running
o cd ~mcidas
rm -rf .mctmp
mkdir /tmp/mctmp
ln -s /tmp/mctmp .mctmp
>I
>followed the steps he laid out exactly, and I still get mcenv to hang.
Weird. Can I get the login again?
>I have attached the output from `truss mcenv` and you can see from the
>last line it goes to sleep... permanently. The PID (23913) referenced
>in the last line of the truss output is for the EU command. ps'ing for
>that PID gives:
>
> mcidas 23913 23908 0 16:06:51 pts/3 0:00 EU REST X 1 1 DEV=NNN
>
>I am still stumped at this point. Do you have any words of wisdom?
The truss you sent along indicates hanging in a different spot than
before. Previously, the system would hang waiting for a lock on the
file mcclean.lock. Now it is hanging when doing an EU command. This
_may_ be progress :-)
>/software/mcidas% truss mcenv
>execve("/software/mcidas/mcidas7.6/src/mcenv", 0xFFBEF9BC, 0xFFBEF9C4) argc =
> 1
>open("/dev/zero", O_RDONLY) = 3
>mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x
> FF3A0000
>open("/usr/lib/libgen.so.1", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF390000
>mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF370000
>munmap(0xFF376000, 57344) = 0
>mmap(0xFF384000, 9847, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 4, 16384) = 0xFF384000
>close(4) = 0
>open("/usr/lib/libsocket.so.1", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xF
> F390000
>mmap(0x00000000, 106496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF350000
>munmap(0xFF358000, 57344) = 0
>mmap(0xFF366000, 11073, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 4, 24576) = 0xFF366000
>close(4) = 0
>open("/usr/lib/libnsl.so.1", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xF
> F390000
>mmap(0x00000000, 655360, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF280000
>munmap(0xFF300000, 57344) = 0
>mmap(0xFF30E000, 36244, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 4, 516096) = 0xFF30E000
>mmap(0xFF318000, 26192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 3, 0) = 0xFF318000
>close(4) = 0
>open("/usr/lib/libm.so.1", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xF
> F390000
>mmap(0x00000000, 155648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF250000
>munmap(0xFF266000, 57344) = 0
>mmap(0xFF274000, 7804, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 4, 81920) = 0xFF274000
>close(4) = 0
>open("/usr/lib/libF77.so.4", O_RDONLY) Err#2 ENOENT
>open("/usr/dt/lib/libF77.so.4", O_RDONLY) Err#2 ENOENT
>open("/programs/ldm/lib/libF77.so.4", O_RDONLY) Err#2 ENOENT
>open("/usr/ccs/lib/libF77.so.4", O_RDONLY) Err#2 ENOENT
>open("/usr/ucblib/libF77.so.4", O_RDONLY) Err#2 ENOENT
>open("/software/SUNWspro/lib/libF77.so.4", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xF
> F390000
>mmap(0x00000000, 352256, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF1F0000
>munmap(0xFF226000, 57344) = 0
>mmap(0xFF234000, 13256, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 4, 212992) = 0xFF234000
>mmap(0xFF238000, 51494, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 3, 0) = 0xFF238000
>close(4) = 0
>open("/usr/lib/libM77.so.2", O_RDONLY) Err#2 ENOENT
>open("/usr/dt/lib/libM77.so.2", O_RDONLY) Err#2 ENOENT
>open("/programs/ldm/lib/libM77.so.2", O_RDONLY) Err#2 ENOENT
>open("/usr/ccs/lib/libM77.so.2", O_RDONLY) Err#2 ENOENT
>open("/usr/ucblib/libM77.so.2", O_RDONLY) Err#2 ENOENT
>open("/software/SUNWspro/lib/libM77.so.2", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xF
> F390000
>mmap(0x00000000, 131072, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF1C0000
>munmap(0xFF1D0000, 57344) = 0
>mmap(0xFF1DE000, 4880, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 4, 57344) = 0xFF1DE000
>close(4) = 0
>open("/usr/lib/libsunmath.so.1", O_RDONLY) Err#2 ENOENT
>open("/usr/dt/lib/libsunmath.so.1", O_RDONLY) Err#2 ENOENT
>open("/programs/ldm/lib/libsunmath.so.1", O_RDONLY) Err#2 ENOENT
>open("/usr/ccs/lib/libsunmath.so.1", O_RDONLY) Err#2 ENOENT
>open("/usr/ucblib/libsunmath.so.1", O_RDONLY) Err#2 ENOENT
>open("/software/SUNWspro/lib/libsunmath.so.1", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xF
> F390000
>mmap(0x00000000, 622592, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF100000
>munmap(0xFF180000, 57344) = 0
>mmap(0xFF18E000, 37188, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 4, 516096) = 0xFF18E000
>close(4) = 0
>open("/usr/lib/libc.so.1", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xF
> F390000
>mmap(0x00000000, 770048, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF000000
>munmap(0xFF0A4000, 57344) = 0
>mmap(0xFF0B2000, 31788, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 4, 663552) = 0xFF0B2000
>mmap(0xFF0BA000, 5520, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 3, 0) = 0xFF0BA000
>close(4) = 0
>open("/usr/lib/libdl.so.1", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xF
> F390000
>close(4) = 0
>open("/usr/lib/libmp.so.2", O_RDONLY) = 4
>fstat(4, 0xFFBEF554) = 0
>mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF340000
>mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF1A0000
>munmap(0xFF1A4000, 57344) = 0
>mmap(0xFF1B2000, 3993, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 4, 8192) = 0xFF1B2000
>mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x
> FF330000
>close(4) = 0
>open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 4
>fstat(4, 0xFFBEF334) = 0
>mmap(0xFF340000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xF
> F340000
>mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xFF0F0000
>close(4) = 0
>close(3) = 0
>munmap(0xFF340000, 8192) = 0
>brk(0x0005D958) = 0
>brk(0x0005F958) = 0
>shmget(0, 384300, 0600) = 10
>shmat(10, 0, 0) = 0xFEF90000
>getpid() = 23908 [23907]
>open("/tmp/pid23908", O_RDWR|O_CREAT, 0666) = 3
>lstat64("/tmp/pid23908", 0xFFBEF618) = 0
>unlink("/tmp/pid23908") = 0
>lseek(3, 799, SEEK_SET) = 799
>write(3, "\0", 1) = 1
>lseek(3, 0, SEEK_END) = 800
>mmap(0x00000000, 800, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xFF340000
>mkdir("/software/mcidas/.mctmp", 0700) Err#17 EEXIST
>sigfillset(0xFF0BA380) = 0
>sigprocmask(SIG_BLOCK, 0xFFBEF5EC, 0xFFBEF5DC) = 0
>sigaction(SIGCLD, 0xFFBEF4A8, 0xFFBEF59C) = 0
>vfork() = 23909
>sigaction(SIGINT, 0xFFBEF4A8, 0xFFBEF558) = 0
>sigaction(SIGQUIT, 0xFFBEF4A8, 0xFFBEF538) = 0
>waitid(P_PID, 23909, 0xFFBEF448, 0403 ) = 0
>sigaction(SIGINT, 0xFFBEF4A8, 0x00000000) = 0
>sigaction(SIGQUIT, 0xFFBEF4A8, 0x00000000) = 0
>sigaction(SIGCLD, 0xFFBEF4A8, 0x00000000) = 0
>sigprocmask(SIG_SETMASK, 0xFFBEF5DC, 0x00000000) = 0
>unlink("/tmp/mclock/10") Err#2 ENOENT
>mkdir("/software/mcidas/.mctmp/10", 0700) = 0
>open("/software/mcidas/.mctmp/10/BASICVV1", O_RDWR|O_CREAT, 0600) = 4
>write(4, "80", 1) = 1
>close(4) = 0
>open("/software/mcidas/.mctmp/10/FRAMED", O_RDWR|O_CREAT, 0600) = 4
>write(4, "80", 1) = 1
>close(4) = 0
>open("/software/mcidas/.mctmp/10/FRAMENH.001", O_RDWR|O_CREAT, 0600) = 4
>write(4, "80", 1) = 1
>close(4) = 0
>open("/software/mcidas/.mctmp/10/TERMCHAR.001", O_RDWR|O_CREAT, 0600) = 4
>write(4, "80", 1) = 1
>close(4) = 0
>open("/software/mcidas/.mctmp/10/GRAPHICS.KEY", O_RDWR|O_CREAT, 0600) = 4
>write(4, "80", 1) = 1
>close(4) = 0
>open("/software/mcidas/.mctmp/10/STRTABLE", O_RDWR|O_CREAT, 0600) = 4
>write(4, "80", 1) = 1
>close(4) = 0
>open("/software/mcidas/.mctmp/10/mcclean.lock", O_RDWR|O_CREAT, 0600) = 4
>write(4, "80", 1) = 1
>fcntl(4, F_GETFD, 0x00000000) = 0
>fcntl(4, F_SETFD, 0x00000001) = 0
>fcntl(4, F_SETLK, 0xFFBEF788) = 0
>stat("/software/mcidas/mcidas7.6/data/TERMCHAR.001", 0xFFBEF4BC) = 0
>getuid() = 302 [302]
>getgid() = 100 [100]
>open("/software/mcidas/mcidas7.6/data/TERMCHAR.001", O_RDWR|O_CREAT, 0666) = 5
>fcntl(5, F_GETFD, 0x00000000) = 0
>fcntl(5, F_SETFD, 0x00000001) = 0
>write(5, " T E R M I N A L _ T Y P".., 4096) = 4096
>write(5, " T O W R\0\001E0\0\00280".., 4096) = 4096
>write(5, " W W W \0\001E0\0\00280".., 4096) = 4096
>write(5, " E G A \0\001 ^\0\00280".., 4096) = 4096
>write(5, " V G A \0\001 ^\0\00280".., 4096) = 4096
>write(5, " M O 1 3\0\0\0C8\0\001 @".., 4096) = 4096
>write(5, " S D A \0\001E0\0\00280".., 4096) = 4096
>write(5, " X W I N\0\004\0\0\005\0".., 4096) = 4096
>write(5, " R S W W\0\001E0\0\00280".., 4096) = 4096
>write(5, " P M \0\001E0\0\00280".., 4096) = 4096
>write(5, " M O 6 2\0\001E0\0\00280".., 4096) = 4096
>lseek(5, 0, SEEK_END) = 45056
>lseek(5, 0, SEEK_SET) = 0
>read(5, " T E R M I N A L _ T Y P".., 4096) = 4096
>lseek(5, 0, SEEK_END) = 45056
>lseek(5, 28672, SEEK_SET) = 28672
>read(5, " X W I N\0\004\0\0\005\0".., 4096) = 4096
>stat("/software/mcidas/mcidas7.6/data/FRAMED", 0xFFBEF284) Err#2 ENOENT
>stat("/software/mcidas/mcidas7.6/src/FRAMED", 0xFFBEF284) Err#2 ENOENT
>stat("/software/mcidas/.mctmp/10/FRAMED", 0xFFBEF284) = 0
>open("/software/mcidas/.mctmp/10/FRAMED", O_RDWR|O_CREAT, 0666) = 6
>fcntl(6, F_GETFD, 0x00000000) = 0
>fcntl(6, F_SETFD, 0x00000001) = 0
>lseek(6, 0, SEEK_END) = 1
>lseek(6, 0, SEEK_END) = 1
>stat("/software/mcidas/mcidas7.6/data/ALLOC.WWW", 0xFFBED034) = 0
>open("/software/mcidas/mcidas7.6/data/ALLOC.WWW", O_RDWR|O_CREAT, 0666) = 7
>fcntl(7, F_GETFD, 0x00000000) = 0
>fcntl(7, F_SETFD, 0x00000001) = 0
>lseek(7, 0, SEEK_END) = 4084
>lseek(7, 4016, SEEK_SET) = 4016
>write(7, "E0018002", 4) = 4
>lseek(5, 0, SEEK_END) = 45056
>close(5) = 0
>lseek(6, 0, SEEK_END) = 1
>close(6) = 0
>lseek(7, 0, SEEK_END) = 4084
>close(7) = 0
>stat("/software/mcidas/mcidas7.6/data/LWPATH.NAM", 0xFFBEF3F4) Err#2 ENOENT
>stat("/software/mcidas/mcidas7.6/src/LWPATH.NAM", 0xFFBEF3F4) Err#2 ENOENT
>stat("/software/mcidas/.mctmp/10/LWPATH.NAM", 0xFFBEF3F4) Err#2 ENOENT
>stat("/software/mcidas/mcidas7.6/data", 0xFFBEF39C) = 0
>brk(0x0005F958) = 0
>brk(0x00077958) = 0
>fstat64(2, 0xFFBEEED8) = 0
>fstat64(2, 0xFFBEEED8) = 0
>ioctl(2, TCGETA, 0xFFBEEE64) = 0
>fstat64(0, 0xFFBEF058) = 0
>fstat64(0, 0xFFBEEED8) = 0
>fstat64(0, 0xFFBEEED8) = 0
>ioctl(0, TCGETA, 0xFFBEEE64) = 0
>fstat64(0, 0xFFBEF058) = 0
>fstat64(1, 0xFFBEEF38) = 0
>fstat64(1, 0xFFBEEF38) = 0
>ioctl(1, TCGETA, 0xFFBEEEC4) = 0
>fstat64(0, 0xFFBEF0B8) = 0
>stat64("/software/mcidas/mcidas7.6/data/LWPATH.NAM", 0xFFBEF0B8) Err#2 ENOENT
>lstat64("/software/mcidas/mcidas7.6/data/LWPATH.NAM", 0xFFBEF0B8) Err#2 ENOENT
>stat("/software/mcidas/mcidas7.6/src/eg.k", 0xFFBEF41C) = 0
>fork() = 23911
>sigaction(SIGHUP, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGINT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGQUIT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGTERM, 0xFFBEF440, 0xFFBEF4C0) = 0
>waitid(P_PID, 23911, 0xFFBEF480, WEXITED|WTRAPPED) = 0
>sigaction(SIGHUP, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGINT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGQUIT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGTERM, 0xFFBEF440, 0xFFBEF4C0) = 0
>stat("/software/mcidas/mcidas7.6/src/eg.k", 0xFFBEF41C) = 0
>fork() = 23912
>sigaction(SIGHUP, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGINT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGQUIT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGTERM, 0xFFBEF440, 0xFFBEF4C0) = 0
>waitid(P_PID, 23912, 0xFFBEF480, WEXITED|WTRAPPED) = 0
>sigaction(SIGHUP, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGINT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGQUIT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGTERM, 0xFFBEF440, 0xFFBEF4C0) = 0
>stat("/software/mcidas/mcidas7.6/src/eu.k", 0xFFBEF41C) = 0
>fork() = 23913
>sigaction(SIGHUP, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGINT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGQUIT, 0xFFBEF440, 0xFFBEF4C0) = 0
>sigaction(SIGTERM, 0xFFBEF440, 0xFFBEF4C0) = 0
>waitid(P_PID, 23913, 0xFFBEF480, WEXITED|WTRAPPED) (sleeping...)
>
>--Grist_of_Bees_326_000--
Tom