[Newbies] GemStone/S 6.1.5 on Debian running problem

johnps11 at bigpond.com johnps11 at bigpond.com
Sat Dec 29 02:22:58 UTC 2007


Hi,

I think it's probably a vendor bug.  I notice that Gemstone is getting a
SIGILL, this is  usually either a bad opcode (data corruption) or an
attempt to do stupid tricks like overwrite the return address in the stack
(this is in breach of POSIX).

Possibly you might have a subtle issue with library versions.  Try setting
LD_PRELOAD to point to some libraries that have debug information and see
if you get a more meaningful error.  You can get debug versions of the
Debian Libraries by searching using apt-cache and installing them using
apt-get.

Better yet, ask Gemstone what's going on, as no well written and built app
should ever cause the kernel to throw SIGILL.


John

> Hi all,
> sorry for posting in a squeak mailing list with my GemStone problem,
> but I try to run GemStone on Linux and after that I can use squeak to
> connect and develop  :)
>
> I tried several times to get GemStone/S 6.1.5 running on Debian, with no
> success.
>
>
> After starting GemStone the stone process is immediately being killed.
>
>
> startstone
>
> ----- snip -----
> Stone process (id=16068) has died
> ----- snap -----
>
> (The complete output feom startstone, gemserver61.log und
> gemserver61*pcmon.log is attached below.)
>
> I installed Gemstone on: Debian, DamnSmallLinux and Ubuntu - but every
> time the same error.
>
> I also used the installation script install/installgs. The installation
> runs with no problem.
>
> * directory rights : ok
> * directories opt/gemstone/locks /opt/gemstone/logs : ok
> * netldi in /etc/services : ok
> * Number of licences (8 Connections, Non Commercial) : ok
> * Shared Page Cache, Semaphore (ipcs -m : output below.) : ok
>
> -> All seems to be ok - for me
>
>
> My installation:
>
> uname -a: Linux gibson.markross.de 2.6.18-4-486 #1 Wed May 9 22:23:40
> UTC 2007 i686 GNU/Linux
>
> Installation for user/ group: gemstone
>
> I also tried to start as root with no success
>
>
> Does anyone has an idea for that problem - any dependency I don´t know
> about?
> Kind regards
>
> Mark Ross
>
> ************************************************************************
>
> startstone
>
>
> gemstone at gibson:~/GemStone6.1.5-i686.Linux/data$ startstone
> startstone[Info]: GemStone version '6.1.5'
> startstone[Info]: Starting Stone repository monitor "gemserver61".
> startstone[Info]: GEMSTONE is:
> "/home/gemstone/GemStone6.1.5-i686.Linux".
> startstone[Info]:
>
> GEMSTONE_SYS_CONF=/home/gemstone/GemStone6.1.5-i686.Linux/data/system.conf
>
> GEMSTONE_EXE_CONF=/home/gemstone/GemStone6.1.5-i686.Linux/data/gemserver61.conf
> startstone[Info]: Log file is
> '/home/gemstone/GemStone6.1.5-i686.Linux/data/gemserver61.log'.
>
> startstone[Error]: Stone process (id=16068) has died.
> startstone[Error]: Examine
> '/home/gemstone/GemStone6.1.5-i686.Linux/data/gemserver61.log' for more
> information.  Excerpt follows:
> ========================================================================
>     Now starting GemStone monitor.
>
>
> _____________________________________________________________________________
> |     SESSION CONFIGURATION:  The maximum number of concurrent sessions
> is 8. |
> |
> _____________________________________________________________________________|
>
>     GemStone is attaching the Shared Cache using Stone name:
> gemserver61.
>
>
> [14:14:20.39]
>     The stone's connection to the local shared cache monitor was lost.
>     Error Text: 'Network partner has disconnected.'
>
> *******************************************************************************
>
> ipcs -m
>
>
> gemstone at gibson:~/GemStone6.1.5-i686.Linux/data$ ipcs -m
>
> ------ Shared Memory Segments --------
> key        shmid      owner      perms      bytes      nattch
> status
> 0x4c018007 327682     gemstone  660        11370496   0
> locked
> 0x4c018005 589827     gemstone  660        27648000   0
>
>
>
> *******************************************************************************
> logs
>
> gemserver61.log:
>
> cat gemserver61.log
> _____________________________________________________________________________
> |               GemStone Object-Oriented Data Management System
> |
> |               Copyright (C) GemStone Systems, Inc. 1986-2006.
> |
> |                            All rights reserved.
> |
> +-----------------------------------------------------------------------------+
> |    PROGRAM: STONE, Stone Repository Monitor
> |
> |    VERSION: 6.1.5, Fri Jan 13 17:12:05 US/Pacific 2006
> |
> |  BUILT FOR: x86 (Linux 2.4.9-e.25smp #1 SMP glibc-2.2.4-32.3)
> |
> | RUNNING ON: 1-CPU gibson.markross.de i686 (Linux 2.6.18-4-486 #1 Wed
> May 9  |
> | 22:23:40 UTC 2007)
> |
> | PROCESS ID: 1325      DATE: Mi 26 Dez 2007 23:27:01 CET
> |
> |   USER IDS: REAL=gemstone (1001) EFFECTIVE=gemstone (1001)
> |
> +-----------------------------------------------------------------------------+
> _____________________________________________________________________________
> |                             Configuration Files
> |
> |
> |
> | System File: /home/gemstone/GemStone6.1.5-i686.Linux/data/system.conf
> |
> |
> |
> | Executable
> File: /home/gemstone/GemStone6.1.5-i686.Linux/data/gemserver61.conf
> | Warning:  File not found (errno=2, ENOENT, The file or directory
> specified  |
> | cannot be found)
> |
> |           using defaults.
> |
> |
> _____________________________________________________________________________|
>
>
> WARNING: STN_HALT_ON_FATAL_ERROR is not a known GemStone option.
>
> _____________________________________________________________________________
> |                 Non-Default Configuration Options for Stone
> |
> |
> _____________________________________________________________________________|
>
> DBF_EXTENT_NAMES = "$GEMSTONE/data/extent0.dbf";
> SHR_PAGE_CACHE_SIZE_KB = 25000;
> STN_GC_SESSION_CONFIGURATION = 1;
> STN_MAX_SESSIONS = 8;
> STN_PRIVATE_PAGE_CACHE_KB = 1600;
> STN_TRAN_FULL_LOGGING = TRUE;
> STN_TRAN_LOG_DIRECTORIES = "$GEMSTONE/data/",
> "$GEMSTONE/data/";
> STN_TRAN_LOG_SIZES = 10,
> 10;
> |                     All Configuration Options for Stone
> |
> |
> _____________________________________________________________________________|
>
> CONCURRENCY_MODE = "full_checks";
> DBF_ALLOCATION_MODE = "SEQUENTIAL";
> DBF_EXTENT_NAMES = "$GEMSTONE/data/extent0.dbf";
> DBF_EXTENT_SIZES = "";
> DBF_PRE_GROW = FALSE;
> DBF_REPLICATE_NAMES = "";
> DBF_SCRATCH_DIR = "$GEMSTONE/data/";
> DUMP_OPTIONS = TRUE;
> LOG_WARNINGS = TRUE;
> SHR_NUM_FREE_FRAME_SERVERS = 1;
> SHR_PAGE_CACHE_LOCKED = FALSE;
> SHR_PAGE_CACHE_NUM_PROCS = 13;
> SHR_PAGE_CACHE_SIZE_KB = 25000;
> SHR_SPIN_LOCK_COUNT = 1;
> SHR_TARGET_FREE_FRAME_COUNT = -1;
> STN_CHECKPOINT_INTERVAL = 300;
> STN_DEAD_X_LOCKING_ENABLED = TRUE;
> STN_DISABLE_LOGIN_FAILURE_LIMIT = 15;
> STN_DISABLE_LOGIN_FAILURE_TIME_LIMIT = 15;
> STN_DISKFULL_TERMINATION_INTERVAL = 3;
> STN_FREE_FRAME_CACHE_SIZE = 1;
> STN_FREE_SPACE_THRESHOLD = 1;
> STN_GC_SESSION_ENABLED = TRUE;
> STN_GC_SESSION_CONFIGURATION = 1;
> STN_GEM_ABORT_TIMEOUT = 1;
> STN_GEM_LOSTOT_TIMEOUT = 60;
> STN_GEM_TIMEOUT = 0;
> STN_HALT_ON_FATAL_ERR = TRUE;
> STN_LOG_LOGIN_FAILURE_LIMIT = 10;
> STN_LOG_LOGIN_FAILURE_TIME_LIMIT = 10;
> STN_MAX_AIO_RATE = 300;
> STN_MAX_SESSIONS = 8;
> STN_NUM_LOCAL_AIO_SERVERS = 1;
> STN_PRIVATE_PAGE_CACHE_KB = 1600;
> STN_RECOVERY_PAGE_RECLAIM_LIMIT = 2000;
> STN_REPL_TRAN_LOG_PREFIX = "repltranlog";
> STN_REMOTE_CACHE_PGSVR_TIMEOUT = 15;
> STN_REMOTE_CACHE_TIMEOUT = 5;
> STN_SHR_TARGET_PERCENT_DIRTY = 33;
> STN_SIGNAL_ABORT_CR_BACKLOG = 20;
> STN_TRAN_FULL_LOGGING = TRUE;
> STN_TRAN_LOG_DEBUG_LEVEL = 0;
> STN_TRAN_LOG_DIRECTORIES = "$GEMSTONE/data/",
> "$GEMSTONE/data/";
> STN_TRAN_LOG_LIMIT = 1000;
> STN_TRAN_LOG_PREFIX = "tranlog";
> STN_TRAN_LOG_SIZES = 10,
> 10;
> [Mi 26 Dez 2007 23:27:01 CET]
> _____________________________________________________________________________
> |    Key file:  /home/gemstone/GemStone6.1.5-i686.Linux/sys/gemstone.key
> |
> | GemStone ID:NC-200703261
> |
> | LICENSED TO:  Mark Ross -
> |
> |  EXPIRATION:  Di 15 Jan 2008 19:00:00 CET
> |
> |  KEY ORIGIN:  0x809c3427 (a Sun Solaris)
> |
> | SESSION MAX:  The licensed concurrent session max is 8.
> |
> |
> _____________________________________________________________________________|
>
> [23:27:01.86]
> ========================================================================
>     Now starting GemStone monitor.
>
>
> _____________________________________________________________________________
> |     SESSION CONFIGURATION:  The maximum number of concurrent sessions
> is 8. |
> |
> _____________________________________________________________________________|
>
>     GemStone is attaching the Shared Cache using Stone name:
> gemserver61.
>
>
> [23:28:04.91]
>     The stone's connection to the local shared cache monitor was lost.
>     Error Text: 'Network partner has disconnected.'
>
>
> *****************************************************************************
>
> gemserver611326pcmon.log
>
>
> cat gemserver611326pcmon.log
> _____________________________________________________________________________
> |                             GemStone Child Task
> |
> |
> |
> |    VERSION: 6.1.5, Fri Jan 13 17:12:05 US/Pacific 2006
> |
> |  BUILT FOR: x86 (Linux 2.4.9-e.25smp #1 SMP glibc-2.2.4-32.3)
> |
> | RUNNING ON: 1-CPU gibson.markross.de i686 (Linux 2.6.18-4-486 #1 Wed
> May 9  |
> | 22:23:40 UTC 2007)
> |
> | PROCESS ID: 1326      DATE: Mi 26 Dez 2007 23:27:01 CET
> |
> |   USER IDS: REAL=gemstone (1001) EFFECTIVE=gemstone (1001)
> |
> |    COMMAND: /home/gemstone/GemStone6.1.5-i686.Linux/sys/startshrpcmon
> gemserver61 at 192.168.115.200
> | 3125 13 0 1 390
> |
> |
> _____________________________________________________________________________|
>
> [Mi 26 Dez 2007 23:27:01 CET]
>
> SharedPageCache Monitor Summary:
>    the hostname is:    gibson.markross.de
>    GEMSTONE is:        "/home/gemstone/GemStone6.1.5-i686.Linux"
>    shrpcmon arguments are:
>       SharedPageCache Monitor name  gemserver61 at 192.168.115.200.
>       Number of pages               3125.
>       Number of processes           13.
>       Cache locked in memory        0.
>       SpinLockCount                 1.|               GemStone
> Object-Oriented Data Management System               |
> |               Copyright (C) GemStone Systems, Inc. 1986-2006.
> |
> |                            All rights reserved.
> |
> +-----------------------------------------------------------------------------+
> |    PROGRAM: SHRPCMON,  GemStone SharedPageCache Monitor
> |
> |    VERSION: 6.1.5, Fri Jan 13 17:12:05 US/Pacific 2006
> |
> |  BUILT FOR: x86 (Linux 2.4.9-e.25smp #1 SMP glibc-2.2.4-32.3)
> |
> | RUNNING ON: 1-CPU gibson.markross.de i686 (Linux 2.6.18-4-486 #1 Wed
> May 9  |
> | 22:23:40 UTC 2007)
> |
> | PROCESS ID: 1326      DATE: Mi 26 Dez 2007 23:27:01 CET
> |
> |   USER IDS: REAL=gemstone (1001) EFFECTIVE=gemstone (1001)
> |
> |
> _____________________________________________________________________________|
> Warning: removed old shared memory with id=458755!
> Warning: removed old semaphore array with id=393219!
>
>
> [Mi 26 Dez 2007 23:27:01 CET]
>   NOTE:  Shared cache is _not_ locked into memory.
>
> Shared memory region number 1 has id = 491523.
>
> The shared semaphore array has id = 425987.
>
>
>
> GS Signal Handler: Unhandled signal 4, SIGILL Received at Mi 26 Dez 2007
> 23:27:02 CET
> HostFaultHandler: signal (int) = 4
>     info->si_signo = 4 = 0x4
>     info->si_code =  2 = 0x2
>     info->si_errno = 0 = 0x0
>
> C-level stack:
>
>
> _____________________________________________________________________________
> | Possible Internal Error: HostCoredump invoked.
> |
> |                    Date: Mi 26 Dez 2007 23:27:04 CET
> |
>
>     Sleeping for 60 seconds before dumping core.
>     You can now attach a debugger.     Process Id is 1326
>
>       TargetFreeFrameCount          390.
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>




More information about the Beginners mailing list