Thanks for the tips, I read the README and appendix C of the users guide, but I'm still having trouble.
First, if I set the envinormental variable DXPROCESSORS to 1, everything starts as expected. If I set DXSHMEM to -1 it says multiple processors require shared memory. If I set DXSHMEMSEGMAX to 1 and DXSHMEM to 1 and then start "dx -execonly -memory 7" I get an error "failed on segment 7 of 7." Am I setting these wrong, or is this system not configured for shared memory? thanks for your patience, Randy On Tue, 6 Mar 2001, David Thompson wrote: > Randy, > > Make sure to Read the Readme for the Sun, it will describe this in much > more detail. > > David > > On Tue, 6 Mar 2001, Paul Andre wrote: > > > Randy Polson wrote: > > > > > > Hello- > > > A while ago Michael Boyles had difficulty with compilation on a sun > > > machine. I have a similar difficulty with the same error. I used dbx to > > > trace dxexec and found the line 331 of src/exec/libdx/mem.c > > > "id = shmem(... " > > > returns an error. Where is shmem so I can try and trace this further? > > > > > > Thanks, > > > Randy > > > > > > compiler -cc, c++ > > > > > > uname -a: > > > > > > System = SunOS > > > Node = darkstar > > > Release = 5.7 > > > KernelID = Generic_106541-14 > > > Machine = sun4u > > > BusType = <unknown> > > > Serial = <unknown> > > > Users = <unknown> > > > OEM# = 0 > > > Origin# = 1 > > > NumCPU = 2 > > > > > > Michael Boyles wrote: > > > > > > > I downloaded the binary that was compiled for Sun Solaris 2.6. But, I > > > > am running Solaris 8 and am having problems getting the server to > > > > start. The error message is as follows: > > > > > > > > " Starting DX executive > > > > > > > > ... cannot get shared memory segment / failed on segment 1 of 1 needed > > > > segments / last call to shmget returned errno 22 cannot initialize DX > > > > library. " > > > > > > > > It seems that the amount of shared memory is limited on your system > > (this is a kernel parameter, i think). Try setting DXSHMEM to -1 (export > > DXSHMEM=-1, with zsh) before starting dx. If that helps you could use dx > > this way (there is a speed penalty) or raise the maximum amount of > > shared memory. > > > > Cheers, Paul > > > > -- > > Paul Andre > > http://sites.netscape.net/paulandrefr > > >