Franck Lebastardwrote: |Hi, | |I have a problem while we are changing the machine Ingres is running on. | |Ingres version is 6.4/02 (su4.u42/00) | |The new machine is a Sun SS5 Running SunOS Release 4.1.3_U1 (GEN_64U_MTC) |(The old was a SS4, same OS and Ingres was running well) | |We asked for a new key to our furnisher and we installed it. | |When we try to start up Ingres, here is what happens : |Checking Ingres installation environment... | | ----------------------------------------------------------------------- || | || The ingres user, 'ingres', is in your yellow pages password file. || Please make sure that yellow pages is up and running before you use | || this INGRES installation. | || | | ----------------------------------------------------------------------- | | |Ingres installation is setup correctly | | ----------------------------------------------------------------------- || | || Before INGRES can come up, all INGRES servers should be shut down. | || We now run 'iishutdown' to check for existing servers and to shut | || them down if necessary. | || | | ----------------------------------------------------------------------- | | |Checking for active INGRES Servers in installation i6... | |There is no NAME server (iigcn) running. |There are no registered DBMS servers (iidbms) running. |There are no private DBMS servers running. |There is no recovery process (dmfrcp) running. |There is no archiver process (dmfacp) running. |There are no STAR servers (iistar) running. |There are no INGRES/NET servers (iigcc) running. | |There are no active INGRES servers in the installation "i6". | | |---------------------- CHECKING SYSTEM RESOURCES ------------------------ | | | Per-process Resource Limits Current Maximum |-------------------------------------------------------- | File Size Limits: NONE NONE | Resident Set Size Limits: NONE NONE | CPU Time Limits: NONE NONE | Data Segment Size Limits: NONE NONE | Stack Segment Size Limits: 8388608 NONE | File Descriptors: 256 | |Shared Memory Resources |------------------------------------------------------------------------ |Maximum size of a shared memory segment should be: 1048576 |Size of the INGRES system segment is: 8192 |Size of the INGRES locking and logging memory segment is: 270336 |Size of the DBMS server segment is: 103464 | |Maximum number of shared memory segments is: 100 |Number of segments being used: 2 |Number of segments required by INGRES: 3 | |Shared memory resources are ok | |Semaphore Resources |---------------------------------------------------- |Maximum number of semaphores: 60 |Number of semaphores per ID: 60 |Number of semaphores being used: 5 |Number of semaphores needed by INGRES: 35 | |Maximum number of semaphore sets: 10 |Number of semaphore sets being used: 1 |Number of semaphore sets needed by INGRES: 2 | |Semaphore resources are ok. | |Swap Space Resources |--------------------------------------------------------- |Total swap space in the system: 209870848 |Free swap space: 180215808 |Swap space required to run INGRES: 16777216 | |Swap space is ok. |Your system is configured correctly to run INGRES. | |---------------------- RESOURCE CHECKING COMPLETE ----------------------- | | |Allocating 278528 bytes of shared memory... | |!shmat for id 101 at address F4000000 fails |!errno = 22 |!Can't map locking segment into memory at address FFFFFFFF |!Check or adjust the value of II_LG_MAP_ADDR |Could not create the system segment, does your kernel have enough |shared memory or has this program already been run? | | ----------------------------------------------------------------------- || ***ERROR*** | || | || Cannot allocate shared memory for the logging and locking system. | || You can either free shared memory or reconfigure the locking and | || logging system with less users. | || | || Please run 'iistartup -init' when you have solved this problem. | || | | ----------------------------------------------------------------------- | | | |Any idea ? |Thanks in advance for your help | |Franck |-- | |Franck Lebastard http://www.inria.fr/secoia/lebastard |INRIA/CERMICS (+33) 93 65 77 42 Franck.Lebastard@sophia.inria.fr We had a memory problem at one time when we were rebuilding an installation. The proble was in csinstall. For some reason when it is called from the iistart or whatever it doesn't find it. : if ( csinstall - ) then : else echolog : : I think we ran csinstall separately then everything was OK, otherwise put the full pathname to csinstall in the script. paulr -- | Paul Rodenhuis | Database Administration | Information Services Branch | | NSW Public Works Dept | paulr@pwd.nsw.gov.au | +61-2-372-7037 FAX 7022 | | VK2AHB@VK2XY Home +61-2-449-9212 Fax +61-2-449-7827 | Mobile 018-647-364 | In article <436g47$4ul@news-sop.inria.fr> lebastar@crazy.inria.fr (Franck Lebastard) writes: > > ----------------------------------------------------------------------- >| ***ERROR*** | >| | >| Cannot allocate shared memory for the logging and locking system. | >| You can either free shared memory or reconfigure the locking and | >| logging system with less users. | >| | >| Please run 'iistartup -init' when you have solved this problem. | >| | > ----------------------------------------------------------------------- >Any idea ? >Thanks in advance for your help > You changed kernel architectures, methinks. Follow the instructions in the release notes for installing on a SPARCserver 1000/2000 and I think your problems will be solved. I think you need to set II_LG_SHMSIZE or something like that. I don't have access to my archive on that tonight. Cheers, |--------------------------------------------------------------------------| | Michael Leo | The Ingres FAQ is at ftp.adc.com, /pub/ingres. | | York & Associates, Inc.| Also check out /pub/ingres/utilities/NAIUA for | | Minneapolis, MN, USA | the NAIUA Tool Kit. Lastly, access all this via| | (612) 921-8083 (voice) | WWW at http://www.adc.com/ingres/ing-top.html. | | mal@winternet.com | All constructive suggestions/criticism welcome. | |--------------------------------------------------------------------------|
© William Yuan 2000
Email William