Re: Fatal error in shared memory creation
Posted in 1999
Try increasing the SHMSEG kernel parameter.
Hope this helps,
Octav
On Mon, Aug 16, 1999 at 09:49:25AM +0200, Hans-Dieter Tewes wrote:
> Here are the most important files:
>
> #**************************************************************************
> #
> # INFORMIX SOFTWARE, INC.
> #
> # PROPRIETARY DATA
> #
> # THIS DOCUMENT CONTAINS TRADE SECRET DATA WHICH IS THE PROPERTY OF
> # INFORMIX SOFTWARE, INC. THIS DOCUMENT IS SUBMITTED TO RECIPIENT IN
> # CONFIDENCE. INFORMATION CONTAINED HEREIN MAY NOT BE USED, COPIED OR
>
> # DISCLOSED IN WHOLE OR IN PART EXCEPT AS PERMITTED BY WRITTEN
> AGREEMENT
> # SIGNED BY AN OFFICER OF INFORMIX SOFTWARE, INC.
> #
> # THIS MATERIAL IS ALSO COPYRIGHTED AS AN UNPUBLISHED WORK UNDER
> # SECTIONS 104 AND 408 OF TITLE 17 OF THE UNITED STATES CODE.
> # UNAUTHORIZED USE, COPYING OR OTHER REPRODUCTION IS PROHIBITED BY
> LAW.
> #
> #
> # Title: sqlhosts.demo
> # Sccsid: @(#)sqlhosts.demo 9.2 7/15/93 15:20:45
> # Description:
> # Default sqlhosts file for running demos.
> #
> #**************************************************************************
> kasse_test onipcshm kasse-unix-test turbo
> demo_on onipcshm on_hostname on_servername> demo_se seipcpip se_hostname sqlexec
>
>
>
>
> >>>>>
> online.log after first try: oninit -i
> >>>>>
>
> 13:28:54 shmat: [EMFILE][24]: out of shared memory segments, check system> SHMSEG
>
> 13:28:54 mt_shm_init: can't create virtual segment>
> >>>>>
> next try with oninit -i
> >>>>>
>
> 13:31:26 shmget: [EEXIST][17]: key 52564801: shared memory already exists
> 13:31:26 mt_shm_init: can't create resident segment>
>
>
> >>>>>>>
> the /etc/profile
> >>>>>>>
>
> #ident "@(#)profile 1.17 95/03/28 SMI" /* SVr4.0 1.3 */
>
> # The profile that all logins get before using their own .profile.
>
> trap "" 2 3
>
> MANPATH=/usr/opt/SUNWmd/man:$MANPATH
> INFORMIXDIR=/usr/informix> export INFORMIXDIR
> PATH=$INFORMIXDIR/bin:/usr/opt/SUNWmd/sbin:$PATH:/opt/Acrobat3/bin
> INFORMIXSERVER=kasse_test> export LOGNAME PATH MANPATH INFORMIXSERVER
> ONCONFIG=onconfig> export ONCONFIG
>
> if [ "$TERM" = "" ]
> then
> if /bin/i386
> then
> TERM=AT386
> else
> TERM=sun
> fi
> export TERM
> fi
>
> # Login and -su shells get /etc/profile services.
> # -rsh is given its environment in its .profile.
>
> case "$0" in
> -sh | -ksh | -jsh)
>
> if [ ! -f .hushlogin ]
> then
> /usr/sbin/quota
> # Allow the user to break the Message-Of-The-Day only.
>
> trap "trap '' 2" 2
> /bin/cat -s /etc/motd
> trap "" 2
>
> /bin/mail -E
> case $? in
> 0)
> echo "You have new mail."
> ;;
> 2)
> echo "You have mail."
> ;;
> esac
> fi
> esac
>
> /bin/umask 022
> trap 2 3
>
>
> >>>>>>>>
> /etc/services
> >>>>>>>>
>
> #ident "@(#)services 1.20 98/07/08 SMI" /* SVr4.0 1.8 */
> #
> # Network services, Internet style
> #
> tcpmux 1/tcp
> echo 7/tcp
> echo 7/udp
> discard 9/tcp sink null
> discard 9/udp sink null
> systat 11/tcp users
> daytime 13/tcp
> daytime 13/udp
> netstat 15/tcp
> chargen 19/tcp ttytst source
> chargen 19/udp ttytst source
> ftp-data 20/tcp
> ftp 21/tcp
> telnet 23/tcp
> smtp 25/tcp mail
> time 37/tcp timserver
> time 37/udp timserver
> name 42/udp nameserver
> whois 43/tcp nicname # usually to sri-nic
> domain 53/udp
> domain 53/tcp
> bootps 67/udp # BOOTP/DHCP server
> bootpc 68/udp # BOOTP/DHCP client
> hostnames 101/tcp hostname # usually to sri-nic
> pop2 109/tcp pop-2 # Post Office Protocol - V2
> pop3 110/tcp # Post Office Protocol -
> Version 3
> sunrpc 111/udp rpcbind
> sunrpc 111/tcp rpcbind
> imap 143/tcp imap2 # Internet Mail Access
> Protocol v2
> ldap 389/tcp # Lightweight Directory
> Access Protocol
> ldap 389/udp # Lightweight Directory
> Access Protocol
> ldaps 636/tcp # LDAP protocol over TLS/SSL
> (was sldap)
> ldaps 636/udp # LDAP protocol over TLS/SSL
> (was sldap)
> #
> # Host specific functions
> #
> tftp 69/udp
> rje 77/tcp
> finger 79/tcp
> link 87/tcp ttylink
> supdup 95/tcp
> iso-tsap 102/tcp
> x400 103/tcp # ISO Mail
> x400-snd 104/tcp
> csnet-ns 105/tcp
> pop-2 109/tcp # Post Office
> uucp-path 117/tcp
> nntp 119/tcp usenet # Network News Transfer
> ntp 123/tcp # Network Time Protocol
> ntp 123/udp # Network Time Protocol
> NeWS 144/tcp news # Window System
> cvc_hostd 442/tcp # Network Console
> #
> # UNIX specific services
> #
> # these are NOT officially assigned
> #
> exec 512/tcp
> login 513/tcp
> shell 514/tcp cmd # no passwords used
> printer 515/tcp spooler # line printer spooler
> courier 530/tcp rpc # experimental
> uucp 540/tcp uucpd # uucp daemon
> biff 512/udp comsat
> who 513/udp whod
> syslog 514/udp
> talk 517/udp
> route 520/udp router routed
> klogin 543/tcp # Kerberos authenticated
> rlogin
> new-rwho 550/udp new-who # experimental
> rmonitor 560/udp rmonitord # experimental
> monitor 561/udp # experimental
> pcserver 600/tcp # ECD Integrated PC board
> srvr
> kerberos-adm 749/tcp