WAFastCGIAdaptor d'ont start

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

WAFastCGIAdaptor d'ont start

dario trussardi
Hi,

 i have a script to run the FastCGI gem:

        $GEMSTONE/envgofame/bin/runSeasideGems30 start WAFastCGIAdaptor "9030 9031 9032"

The script report :

        Starting Gems....
                Starting WAFastCGIAdaptor gem on port 9030
                Starting WAFastCGIAdaptor gem on port 9031
                Starting WAFastCGIAdaptor gem on port 9032
                Starting maintenance gem

but any service is run and the web request aren't  resolved.



The WAFastCGIAdaptor_server-9030.log report:

        SHR_PAGE_CACHE_SIZE_KB = 500000;
SHR_PAGE_CACHE_NUM_PROCS = 1017;
SHR_TARGET_FREE_FRAME_COUNT = -1;
(vmGc spaceSizes: eden init 2000K max 9368K , survivor init 400K max 1568K,
 vmGc    old max 37496K, code max 10000K, perm max 5000K, pom 10 * 4168K = 41680K,
 vmGc    remSet 1008K, meSpace max 47800K oopMapSize 262144 )
 _____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System             |
|               Copyright (C) GemStone Systems, Inc. 1986-2010                |
|                            All rights reserved.                             |
|     covered by Patent Number 6,567,905 Generational Garbage Collector.      |
+-----------------------------------------------------------------------------+
|    PROGRAM: topaz, Linear GemStone Interface (Linked Session)               |
|    VERSION: 2.4.4.1, Tue Jul 13 15:19:49 2010                               |
|      BUILD: gss64_2_4_4_x_branch-23813                                      |
|  BUILT FOR: x86-64 (Linux)                                                  |
|       MODE: 64 bit                                                          |
| RUNNING ON: 2-CPU monviso x86_64 (Linux 2.6.32-21-server #32-Ubuntu SMP Fri |
| Apr 16 09:17:34 UTC 2010) 2008MB                                            |
| PROCESS ID: 7115      DATE: 31/08/2010 18:51:20 CEST                        |
|   USER IDS: REAL=dario (1000) EFFECTIVE=dario (1000)                        |
|   DATEFORMAT: %d/%m/%Y %T                                                   |
|_____________________________________________________________________________|
topaz> topaz> topaz> topaz> topaz> topaz> topaz> [Info]: LNK client/gem GCI levels = 844/844
[Info]: User ID: DataCurator
[Info]: Repository: gofame
[Info]: Session ID: 3
[Info]: GCI Client Host: <Linked>
[Info]: Page server PID: -1
[Info]: Login Time: 31/08/2010 18:51:20.377 CEST
[31/08/2010 18:51:20.445 CEST] gci login: currSession 1 rpc gem processId -1
successful login
topaz 1> topaz 1> [75609345 sz:3 cls: 114945 GsFile] a GsFile
  isClient        [2 sz:0 cls: 74241 SmallInteger] 0
  pathName        [75609857 sz:73 cls: 74753 String] /opt/gemstone/product/envgofame/dbgofame/WAFastCGIAdaptor_server-9030.pid
  mode            [8827393 sz:1 cls: 74753 String] w

topaz 1> topaz 1> WAFastCGIAdaptor Server started on port 9030
-----------------------------------------------------
GemStone: Error         Nonfatal
The Specified Error Dictionary contains no information for error number
2318 in the current language.
Error Category: 75596289 [User] Number: 2318 Arg Count: 3 Context : 75596033
Arg 1: [1267969 sz:12 cls: 110849 Symbol] genericError
Arg 2: [20 sz:0 cls: 76289 UndefinedObject] nil
Arg 3: [233217 sz:0 cls: 66817 Array] an Array

Now executing the following command saved from "iferr 1":
   where
==> 1 UserDefinedError >> defaultAction @9 line 3   [GsMethod 20294913]
2 ExceptionA >> _defaultAction @1 line 4   [GsMethod 10050561]
3 ExceptionA >> signal @7 line 37   [GsMethod 10057473]
4 GsError >> signal @3 line 5   [GsMethod 20972033]
5 ExceptionA >> signal: @3 line 12   [GsMethod 10050817]
6 ExceptionA class >> signal: @2 line 3   [GsMethod 11895041]
7 GsError class >> signal: @3 line 5   [GsMethod 21805313]
8 UserDefinedError class >> signal: @3 line 4   [GsMethod 22234625]
9 Object >> error: @3 line 7   [GsMethod 19075073]
10 FSGsSocketServer >> newServerSocket @12 line 12   [GsMethod 152712705]
11 FSGsSocketServer >> startInForeground @1 line 3   [GsMethod 152714753]
12 WAFastCGIAdaptor >> basicStart @3 line 3   [GsMethod 155792641]
13 ComplexBlock in WAServerManager >> start: @5 line 3   [GsMethod 113785601]
14 ComplexBlock in ExecutableBlock >> ifCurtailed: @4 line 6   [GsMethod 109386497]
15 ComplexBlock in ExecutableBlock >> ensure: @4 line 11   [GsMethod 2304001]
16 ComplexBlock in ExecutableBlock >> ensure: @6 line 11   [GsMethod 2304001]
17 ComplexBlock in ExecutableBlock >> ifCurtailed: @8 line 8   [GsMethod 109386497]
18 WAServerManager >> start: @8 line 4   [GsMethod 113785601]
19 WAServerAdaptor >> start @2 line 2   [GsMethod 115023873]
20 WAServerAdaptor class >> startOn: @8 line 10   [GsMethod 136459521]
21 WAGemStoneRunSeasideGems >> startOn: @2 line 3   [GsMethod 150992385]
22 WAGemStoneRunSeasideGems class >> startGemServerOn: @6 line 9   [GsMethod 150807809]
23 Executed Code @24 line 29   [GsMethod 75521793]
  [GsProcess 75596033]
topaz 1> [268 sz:0 cls: 68097 Boolean] true
topaz 1>
[Info]: Logging out at 31/08/2010 18:51:20 CEST
 


Any considerations ?

I'm not certain but the problem start after a GemTools backup - restore cicle terminate correctly.

Transcript command : SystemRepository restoreStatus answer :  'Restore is not active.'

Thank,

        Dario

Reply | Threaded
Open this post in threaded view
|

Re: WAFastCGIAdaptor d'ont start

Dale Henrichs
Dario,

I would guess that there is already a topaz process listening on the
specified port. At least, this is a common problem...

If you upgrade to GLASS 1.0-beta.8.3, you should get a better error
message in the log ... if you don't then that in itself is a bug.

If there are no other topaz gems running, then it is possible that your
development gem itself has an open connection on that port (log out and
back in)...

Dale

Dario Trussardi wrote:

> Hi,
>
>  i have a script to run the FastCGI gem:
>
> $GEMSTONE/envgofame/bin/runSeasideGems30 start WAFastCGIAdaptor "9030 9031 9032"
>
> The script report :
>
> Starting Gems....
> Starting WAFastCGIAdaptor gem on port 9030
> Starting WAFastCGIAdaptor gem on port 9031
> Starting WAFastCGIAdaptor gem on port 9032
> Starting maintenance gem
>
> but any service is run and the web request aren't  resolved.
>
>
>
> The WAFastCGIAdaptor_server-9030.log report:
>
> SHR_PAGE_CACHE_SIZE_KB = 500000;
> SHR_PAGE_CACHE_NUM_PROCS = 1017;
> SHR_TARGET_FREE_FRAME_COUNT = -1;
> (vmGc spaceSizes: eden init 2000K max 9368K , survivor init 400K max 1568K,
>  vmGc    old max 37496K, code max 10000K, perm max 5000K, pom 10 * 4168K = 41680K,
>  vmGc    remSet 1008K, meSpace max 47800K oopMapSize 262144 )
>  _____________________________________________________________________________
> |             GemStone/S64 Object-Oriented Data Management System             |
> |               Copyright (C) GemStone Systems, Inc. 1986-2010                |
> |                            All rights reserved.                             |
> |     covered by Patent Number 6,567,905 Generational Garbage Collector.      |
> +-----------------------------------------------------------------------------+
> |    PROGRAM: topaz, Linear GemStone Interface (Linked Session)               |
> |    VERSION: 2.4.4.1, Tue Jul 13 15:19:49 2010                               |
> |      BUILD: gss64_2_4_4_x_branch-23813                                      |
> |  BUILT FOR: x86-64 (Linux)                                                  |
> |       MODE: 64 bit                                                          |
> | RUNNING ON: 2-CPU monviso x86_64 (Linux 2.6.32-21-server #32-Ubuntu SMP Fri |
> | Apr 16 09:17:34 UTC 2010) 2008MB                                            |
> | PROCESS ID: 7115      DATE: 31/08/2010 18:51:20 CEST                        |
> |   USER IDS: REAL=dario (1000) EFFECTIVE=dario (1000)                        |
> |   DATEFORMAT: %d/%m/%Y %T                                                   |
> |_____________________________________________________________________________|
> topaz> topaz> topaz> topaz> topaz> topaz> topaz> [Info]: LNK client/gem GCI levels = 844/844
> [Info]: User ID: DataCurator
> [Info]: Repository: gofame
> [Info]: Session ID: 3
> [Info]: GCI Client Host: <Linked>
> [Info]: Page server PID: -1
> [Info]: Login Time: 31/08/2010 18:51:20.377 CEST
> [31/08/2010 18:51:20.445 CEST] gci login: currSession 1 rpc gem processId -1
> successful login
> topaz 1> topaz 1> [75609345 sz:3 cls: 114945 GsFile] a GsFile
>   isClient        [2 sz:0 cls: 74241 SmallInteger] 0
>   pathName        [75609857 sz:73 cls: 74753 String] /opt/gemstone/product/envgofame/dbgofame/WAFastCGIAdaptor_server-9030.pid
>   mode            [8827393 sz:1 cls: 74753 String] w
>
> topaz 1> topaz 1> WAFastCGIAdaptor Server started on port 9030
> -----------------------------------------------------
> GemStone: Error         Nonfatal
> The Specified Error Dictionary contains no information for error number
> 2318 in the current language.
> Error Category: 75596289 [User] Number: 2318 Arg Count: 3 Context : 75596033
> Arg 1: [1267969 sz:12 cls: 110849 Symbol] genericError
> Arg 2: [20 sz:0 cls: 76289 UndefinedObject] nil
> Arg 3: [233217 sz:0 cls: 66817 Array] an Array
>
> Now executing the following command saved from "iferr 1":
>    where
> ==> 1 UserDefinedError >> defaultAction @9 line 3   [GsMethod 20294913]
> 2 ExceptionA >> _defaultAction @1 line 4   [GsMethod 10050561]
> 3 ExceptionA >> signal @7 line 37   [GsMethod 10057473]
> 4 GsError >> signal @3 line 5   [GsMethod 20972033]
> 5 ExceptionA >> signal: @3 line 12   [GsMethod 10050817]
> 6 ExceptionA class >> signal: @2 line 3   [GsMethod 11895041]
> 7 GsError class >> signal: @3 line 5   [GsMethod 21805313]
> 8 UserDefinedError class >> signal: @3 line 4   [GsMethod 22234625]
> 9 Object >> error: @3 line 7   [GsMethod 19075073]
> 10 FSGsSocketServer >> newServerSocket @12 line 12   [GsMethod 152712705]
> 11 FSGsSocketServer >> startInForeground @1 line 3   [GsMethod 152714753]
> 12 WAFastCGIAdaptor >> basicStart @3 line 3   [GsMethod 155792641]
> 13 ComplexBlock in WAServerManager >> start: @5 line 3   [GsMethod 113785601]
> 14 ComplexBlock in ExecutableBlock >> ifCurtailed: @4 line 6   [GsMethod 109386497]
> 15 ComplexBlock in ExecutableBlock >> ensure: @4 line 11   [GsMethod 2304001]
> 16 ComplexBlock in ExecutableBlock >> ensure: @6 line 11   [GsMethod 2304001]
> 17 ComplexBlock in ExecutableBlock >> ifCurtailed: @8 line 8   [GsMethod 109386497]
> 18 WAServerManager >> start: @8 line 4   [GsMethod 113785601]
> 19 WAServerAdaptor >> start @2 line 2   [GsMethod 115023873]
> 20 WAServerAdaptor class >> startOn: @8 line 10   [GsMethod 136459521]
> 21 WAGemStoneRunSeasideGems >> startOn: @2 line 3   [GsMethod 150992385]
> 22 WAGemStoneRunSeasideGems class >> startGemServerOn: @6 line 9   [GsMethod 150807809]
> 23 Executed Code @24 line 29   [GsMethod 75521793]
>   [GsProcess 75596033]
> topaz 1> [268 sz:0 cls: 68097 Boolean] true
> topaz 1>
> [Info]: Logging out at 31/08/2010 18:51:20 CEST
>  
>
>
> Any considerations ?
>
> I'm not certain but the problem start after a GemTools backup - restore cicle terminate correctly.
>
> Transcript command : SystemRepository restoreStatus answer :  'Restore is not active.'
>
> Thank,
>
> Dario
>