| Date Of Receipt: 30-AUG-1995 11:02:18.26
From: SMURF::QUARRY::"[email protected]" "30-Aug-1995 1058"
To: [email protected]
CC: [email protected]
Subj: Re: I'm having trouble doing a bcreate - msg. unable to lock via
lockf()
Where are you trying to do this, on your machine or a production machine?
If on your own machine, is nfs locking enabled?
cardinal ~ [26] ps wax |grep lockd
298 ?? I 0:00.09 /usr/sbin/rpc.lockd
If not you must configure it to run nfs locking with the nfs setup utility.
-Grant
| I've been doing the exercises in the DECode II tutorial, using material
| supplied in the ODE-II User's Guide, using_ode_slides.ps, and the ODE-II
| tutorial text. Earlier, I had some problems creating a sandbox, but the
| environment variables have been updated to fix that problem.
|
| Now, I can create a sandbox, do a workon, make some links with mklinks,
| and run sbinfo, currentsb, bsh, etc. Unfortunately, when I want to create
| a new file I run into file locking problems. Here's what happens:
|
| $ bcreate file1.c
| bcreate: unable to lock via lockf() /home/masinick/tutbox/src/.BCSlock
| errno=77
| : No locks available
| $ ls
| Makeconf bin include lib test zapwrk
| $ cat ~/.sandboxrc
| # sandbox rc file created by mksb
|
| # default sandbox
| default tutorialbox
|
| # base directories to sandboxes
| base * /home/masinick
|
| # list of sandboxes
|
| # mksb config specific
| mksb -dir /home/masinick
| mksb -tools b
| mksb -obj b /
| mksb -src b /
| bsubmit -auto_out
| sb tutbox
| $
| $ sbinfo
| Description of rc_file for tutbox sandbox:
|
| The following environment variables were set:
| host_machine=alpha
| host_os_type=OSF1
| BCSDIRECTORY=/usr/sde/ode3.0
| BCSPORT=549
| PATH=/usr/sde/tutorial/build/tutorial1.0/tools/alpha_ace/bin:/usr/sde/ode
3.
| 0
| /tools/alpha_OSF1/bin:/usr/sde/tutorial/build/tutorial1.0/tools/alpha_ace/bin
:/
| u
| sr/sde/ode3.0/tools/alpha_OSF1/bin:/usr/sde/tutuorial/build/tutorial1.0:/home
/m
| a
| sinick/bin:/usr/ucb:/bin:/usr/bin:/usr/bin/X11:/sbin:/usr/sbin:/usr/local:/us
r/
| l
| ocal/alpha.OSF1/bin:/usr/bin/mh:/usr/hosts:/etc:/usr/sde/ode2.0/tools/alpha_a
ce
| /
| bin:.
| context=alpha_ace
| project_name=tutorial
| PROJECT_NAME=TUTORIAL
| SITE=ZSO
| RULES_MK=ode.rules.mk
| MAKESYSPATH=/usr/sde/ode3.0/lib/mk
| SOURCEDIR=/usr/sde/tutorial/build/tutorial1.0/src
| BACKED_SOURCEDIR=/home/masinick/tutbox/src:/usr/sde/tutorial/build/tutori
al
| 1
| .0/src
| SOURCEBASE=/home/masinick/tutbox/src
| OBJECTDIR=../obj/alpha_ace
| EXPORTBASE=/home/masinick/tutbox/export/alpha_ace
| INCDIRS=-I/home/masinick/tutbox/export/alpha_ace/usr/include
| -I/usr/sde/tuto
| rial/build/tutorial1.0/export/alpha_ace/usr/include
| LIBDIRS=-L/home/masinick/tutbox/export/alpha_ace/usr/lib
| -L/usr/sde/tutorial
| /build/tutorial1.0/export/alpha_ace/usr/lib
| SHLIBDIRS=-L/home/masinick/tutbox/export/alpha_ace/usr/shlib
| -L/usr/sde/tuto
| rial/build/tutorial1.0/export/alpha_ace/usr/shlib
| BACKED_PATH=/usr/sde/ode3.0/tools/alpha_OSF1/bin:/usr/sde/tutorial/build/
tu
| t
| orial1.0/tools/alpha_ace/bin:/usr/sde/ode3.0/tools/alpha_OSF1/bin:/usr/sde/tu
tu
| o
| rial/build/tutorial1.0:/home/masinick/bin:/usr/ucb:/bin:/usr/bin:/usr/bin/X11
:/
| s
| bin:/usr/sbin:/usr/local:/usr/local/alpha.OSF1/bin:/usr/bin/mh:/usr/hosts:/et
c:
| /
| usr/sde/ode2.0/tools/alpha_ace/bin:.
|
| The following directives are defined in the rc file:
| copyright_list: DEC_COPYRIGHT;DEC_COPYRIGHT_MIN;DEC_COPYRIGHT_MAX;DEC_COP
YR
| I
| GHT_FSF
| default_build: tutorial1.0
| build_base: /usr/sde/tutorial/build
| sandbox_base: /home/masinick/tutbox
| build_list: /usr/sde/build_list
| rcs_host: buffer.zk3.dec.com
| rcs_base: /usr/sde/tutorial/rcs/tutorial1.0/src
| rcs_owner: devbld
| rcs_cover: /usr/sde/ode3.0/tools/alpha_OSF1/lib/rcsauth
| submit_host: buffer.zk3.dec.com
| submit_owner: devbld
| submit_base: /usr/sde/tutorial/build/tutorial1.0/logs
| submit_cover: /usr/sde/ode3.0/tools/alpha_OSF1/lib/subauth
| submit_defect: false
| default_set: TUTORIAL
| release_cover: /bin/echo
| release_owner: root
| release_group: system
| check_out_config: TUTORIAL;<>
| src_control_init: bco
| build_makeflags: -r
| source_base: /home/masinick/tutbox/src
| object_base: /home/masinick/tutbox/obj/alpha_ace
| export_base: /home/masinick/tutbox/export/alpha_ace
| tools_base: /usr/sde/tutorial/build/tutorial1.0/tools/alpha_ace
| release_base: /home/masinick/tutbox/export/alpha_ace
| release_lock: /home/masinick/tutbox/export/alpha_ace/release_lock
| tools_path: /usr/sde/tutorial/build/tutorial1.0/tools/alpha_ace/bin
| stage:
| default default norm
| tutorial1.0 tutorial1.0 norm
| $
|
| I hope this information is helpful. I'm suspicious of the lockf() message
| that the problem may not be in ODE-II, but perhaps in the way my filesystems
| are mounted and/or the rev. of software I'm running.
|
| Please advise. I'm currently unable to create even the simplest of files
| in my sandbox.
|
| Thanks,
|
| Brian W. Masinick Easynet: R2ME2::MASINICK, quarry::masinick
| Mailstop: ZKO3-3Y25 Internet: [email protected]
| 110 Spitbrook Road DTN: 381-0013
| Nashua, NH 03062 Phone: (603) 881-0013
|
|
|
|
| Date Of Receipt: 30-AUG-1995 13:24:00.25
From: SMURF::QUARRY::"[email protected]" "30-Aug-1995 1319"
To: [email protected]
CC: [email protected]
Subj: Re: I'm having trouble doing a bcreate - msg. unable to lock via
lockf()
Oh yeah, that's a problem. This is really the ode2.0 tutorial, the 3.0 isn't
really setup yet. But you need to access it with the 3.0 tools, and you have
/usr/sde/ode2.0/tools/alpha_ace/bin in your path which doesn't appear to be
coming from the backingtree. Do you have this defined in your .cshrc or .login?
Try defining your path like this in your .cshrc:
set toolspath=( /usr/sde/tools/`machine`_`uname`/bin )
set path=( $path $toolspath /usr/ucb /bin /usr/bin /sbin /usr/sbin /etc
/usr/bin/X11 ......
-Grant
| >
| > This is usually a path problem. Try sbinfo PATH and make sure that ode3.0
| > appears and not any other ode dir.
| >
| > The bcreate error is because you can't create the same file twice.
| >
| > Did you run bindsetup and ode install again?
| >
| > -Grant
|
| Here's what I have done so far to attempt to fix my system: run NFSSETUP,
| which started up lockd, run bindsetup (I didn't notice anything change there)
,
| and reinstalled ODE. I think I had the ODE V2.0 client kit installed before,
| so that ought to make a difference.
|
| When I ran sbinfo PATH, here's what I got:
|
| $ sbinfo PATH
| /usr/sde/tutorial/build/tutorial1.0/tools/alpha_ace/bin:/usr/sde/ode3.0/tools
/al
| pha_OSF1/bin:/usr/sde/tutorial/build/tutorial1.0/tools/alpha_ace/bin:/usr/sde
/od
| e3.0/tools/alpha_OSF1/bin:/usr/sde/tutuorial/build/tutorial1.0:/home/masinick
/bi
| n:/usr/ucb:/bin:/usr/bin:/usr/bin/X11:/sbin:/usr/sbin:/usr/local:/usr/local/a
lph
| a.OSF1/bin:/usr/bin/mh:/usr/hosts:/etc:/usr/sde/ode2.0/tools/alpha_ace/bin:.
| $
|
| I do indeed appear to have some redundancies in PATH in my sandbox. How
| does PATH get built in a sandbox? Does it take anything from PATH as
| exported from ksh? I've got a pretty long PATH there, and it could be
| looped if I've done a export PATH=$PATH:<mumbo-jumbo>.
|
| Any suggestions are appreciated.
|
| Thanks,
|
|
| Brian W. Masinick Easynet: R2ME2::MASINICK, quarry::masinick
| Mailstop: ZKO3-3Y25 Internet: [email protected]
| 110 Spitbrook Road DTN: 381-0013
| Nashua, NH 03062 Phone: (603) 881-0013
|
|
|