Re: [U2] Can't get current working directory. ?
Ah Ha!!! We were able to perform a "umount /test", change permissions, and "mount /test". It is now working :-) Thank you all for your help! *---* Jon Wells Database Administrator Beloit College Information Services & ResourcesBeloit, Wisconsin 608-363-2290[EMAIL PROTECTED] 608-363-2100(fax) *---* Colleague 17 Benefactor 5.1 AIX 5.1.3IBM RS6000 F50UniData 6.1.11 *---* --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Can't get current working directory. ?
Just checked our records. After the restore and before we started mussing with permissions, a ls -l screen shot showed /test was @ 755, sys, sys which is what we see for the currently working just fine /live directory. Is there a difference between '/test' the directory and '/test' the mount point? I believe test was @ 770 when we started looking at permissions :-/ . *---* Jon Wells Database Administrator Beloit College Information Services & ResourcesBeloit, Wisconsin 608-363-2290[EMAIL PROTECTED] 608-363-2100(fax) *---* Colleague 17 Benefactor 5.1 AIX 5.1.3IBM RS6000 F50UniData 6.1.11 *---* --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Can't get current working directory. ?
Hi Jeff, Here's what our file system looks like --> # /> df -k Filesystem1024-blocks Free %UsedIused %Iused Mounted on /dev/hd4 122880 69976 44% 4040 7% / /dev/hd2 3997696 1074744 74%54030 6% /usr /dev/hd9var188416135664 28% 1052 3% /var /dev/hd3 2007040 19433924% 100 1% /tmp /dev/lv01 4931584 1143964 77%82665 7% /release /dev/lv04 9535488 2508596 74%24153 2% /live /dev/lv00 147456 39624 74% 402811% /home/staff /dev/lv0314024704 3821248 73% 119975 4% /reltest /proc - -- - - /proc /dev/lv0210027008 3770780 63%17208 1% /test From a ls -l --> drwxr-sr-x 4 sys sys 512 Dec 13 2004 live/ I believe test was @ 770 when we started looking at permissions :-/ . My SA was wondering about un-mounting /test. We tried to do that and smit will not allow it saying it is busy. We're not sure what it is that is tying '/test' up. We've been trying to find any pertinent notes from when we first created '/test' and have been coming up short. We will catch it in the morning (Friday) when we can have a quite system. Any more thoughts? Thanks, Jon At 10:34 AM 6/21/2007, Jeffrey Butera wrote: When you readded the new disk and (presumably) recreated the /test filesystem on the new disk set, who owns it? We run everything under /datatel and ran out of space, so added a /datatel2 partition for a new account. I too did not realize when I created /datatel2 it was owned by root. You need to check ownerships on /test with the filesystem for /test NOT mounted. -- Jeff Butera, Ph.D. *---* Jon Wells Database Administrator Beloit College Information Services & ResourcesBeloit, Wisconsin 608-363-2290[EMAIL PROTECTED] 608-363-2100(fax) *---* Colleague 17 Benefactor 5.1 AIX 5.1.3IBM RS6000 F50UniData 6.1.11 *---* --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Can't get current working directory. ?
I have seen this before. Usually one of 2 things. 1) Someone rm'ed the directory while you were still in it 2) You don't have correct permissions to the account directory I am guessing the latter since root appears to be fine. If you sure permissions are wide open on the directory, files and all subdirectories, you can check the VOC for corruption. -Doug At 09:10 AM 6/21/2007, Jon Wells wrote: 464 datatel>udt /test/coltest Can't get current working directory. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Can't get current working directory. ?
Jon, The fact that you can get things to work as root, but not as other users, sounds like a permissions problem somewhere out in unix. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Wells Sent: Thursday, June 21, 2007 9:10 AM To: u2-users@listserver.u2ug.org; [EMAIL PROTECTED] Subject: [U2] Can't get current working directory. ? Hi all, Earlier this week I set out to replace a test account with a fresh copy of the live account (Unidata 6.1 on AIX 5.1). The Live account had grown more then I had anticipated and I found myself with a max'ed out "/test" file system. While preparing to restore from tape, we found we had a bad disc. We had another disc from a decommissioned box, created a new /test file system, and restored from tape there. The problem is I can not get to the colon prompt unless I'm logged in as root. I tried stripping the LOGIN paragraph down to just a couple of UDT.OPTIONS commands along with a DISPLAY statement so I can tell if the LOGIN paragraph was even run. 464 datatel>udt /test/coltest Can't get current working directory. It did not run the LOGIN paragraph??? We're not sure what else to look at. The system was rebooted this morning. The startud logs look fine. Looks like all permissions were preserved. Any suggestions? *---* Jon Wells Database Administrator Beloit College Information Technology Services Beloit, Wisconsin 608-363-2290[EMAIL PROTECTED] 608-363-2100(fax) *---* AIX 5.1.3 IBM RS6000 F50 UniData 5.1.35 *---* --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material not intended for Public use. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is strictly prohibited. If you received this communication in error, please notify the sender and delete the material from any and all computers or devices. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Can't get current working directory. ?
> Hi all, > > Earlier this week I set out to replace a test account with a fresh > copy of the live account (Unidata 6.1 on AIX 5.1). The Live account > had grown more then I had anticipated and I found myself with a > max'ed out "/test" file system. While preparing to restore from > tape, we found we had a bad disc. We had another disc from a > decommissioned box, created a new /test file system, and restored > from tape there. The problem is I can not get to the colon prompt > unless I'm logged in as root. I tried stripping the LOGIN paragraph > down to just a couple of UDT.OPTIONS commands along with a DISPLAY > statement so I can tell if the LOGIN paragraph was even run. > > > 464 > datatel>udt > > /test/coltest > > Can't get current working directory. > > It did not run the LOGIN paragraph??? > > We're not sure what else to look at. The system was rebooted this > morning. The startud logs look fine. Looks like all permissions > were preserved. > > Any suggestions? When you readded the new disk and (presumably) recreated the /test filesystem on the new disk set, who owns it? We run everything under /datatel and ran out of space, so added a /datatel2 partition for a new account. I too did not realize when I created /datatel2 it was owned by root. You need to check ownerships on /test with the filesystem for /test NOT mounted. -- Jeff Butera, Ph.D. Administrative Systems Hampshire College [EMAIL PROTECTED] 413-559-5556 "We don't have a lot of rules, but that's Hampshire..." Bobbie Stuart --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Can't get current working directory. ?
Just a thought, but are the permissions of the directory rwxr-xr-x or something similar? If a directory doesn't have execute permissions, you can't CD to it. That's also true if the parent directories don't have execute permissions set. Karl > Hi all, > > Earlier this week I set out to replace a test account with a fresh > copy of the live account (Unidata 6.1 on AIX 5.1). The Live account > had grown more then I had anticipated and I found myself with a > max'ed out "/test" file system. While preparing to restore from > tape, we found we had a bad disc. We had another disc from a > decommissioned box, created a new /test file system, and restored > from tape there. The problem is I can not get to the colon prompt > unless I'm logged in as root. I tried stripping the LOGIN paragraph > down to just a couple of UDT.OPTIONS commands along with a DISPLAY > statement so I can tell if the LOGIN paragraph was even run. > > > 464 > datatel>udt > > /test/coltest > > Can't get current working directory. > > It did not run the LOGIN paragraph??? > > We're not sure what else to look at. The system was rebooted this > morning. The startud logs look fine. Looks like all permissions > were preserved. > > Any suggestions? > > > *---* > Jon Wells > Database Administrator Beloit College > Information Technology Services Beloit, Wisconsin > 608-363-2290[EMAIL PROTECTED] 608-363-2100(fax) > *---* > AIX 5.1.3 IBM RS6000 F50 UniData 5.1.35 > *---* > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > -- Karl Pearson Director of I.T. ATS Industrial Supply, Inc. [EMAIL PROTECTED] http://www.atsindustrial.com 800-789-9300 x29 Local: 801-978-4429 Fax: 801-972-3888 "To mess up your Linux PC, you have to really work at it; to mess up a microsoft PC you just have to work on it." --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/