[Mono-list] mod_mono (mono 1.9)with Apache 2.2 and windows 2003

gsvi greg.svitak at onbase.com
Thu Jun 19 11:31:14 EDT 2008


Hi Angel,

Sorry tried to trim down the error log... here is the entire error log


[Thu Jun 19 11:28:48 2008] [notice] Apache/2.2.3 (Win32) mod_mono/1.9
configured -- resuming normal operations
[Thu Jun 19 11:28:48 2008] [notice] Server built: Jul 27 2006 16:49:49
[Thu Jun 19 11:28:48 2008] [notice] Parent: Created child process 692
[Thu Jun 19 11:28:48 2008] [debug] mpm_winnt.c(481): Parent: Sent the
scoreboard to the child
[Thu Jun 19 11:28:48 2008] [warn] creating mono server config
[Thu Jun 19 11:28:48 2008] [warn] Registry key found. SdkInstallRoot:
'C:\\Mono19'
[Thu Jun 19 11:28:48 2008] [warn] creating dashboard mutex =
C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp/mod_mono_dashboard_XXGLOBAL_1.lock
[Thu Jun 19 11:28:48 2008] [warn] Requested locking mechanism name: (null)
[Thu Jun 19 11:28:48 2008] [warn] creating dir config for (null)
[Thu Jun 19 11:28:48 2008] [warn] creating dir config for (null)
[Thu Jun 19 11:28:48 2008] [warn] creating mono server config
[Thu Jun 19 11:28:48 2008] [warn] Registry key found. SdkInstallRoot:
'C:\\Mono19'
[Thu Jun 19 11:28:48 2008] [warn] creating dashboard mutex =
C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp/mod_mono_dashboard_XXGLOBAL_1.lock
[Thu Jun 19 11:28:48 2008] [warn] Requested locking mechanism name: (null)
[Thu Jun 19 11:28:48 2008] [warn] store_config 32
'/appnet:/inetpub/wwwroot/appnet' '(null)'
[Thu Jun 19 11:28:48 2008] [warn] Total mod-mono-servers to spawn so far: 2
[Thu Jun 19 11:28:48 2008] [warn] Initializing handler
[Thu Jun 19 11:28:48 2008] [notice] Child 692: Child process is running
[Thu Jun 19 11:28:48 2008] [info] Parent: Duplicating socket 132 and sending
it to child process 692
[Thu Jun 19 11:28:48 2008] [debug] mpm_winnt.c(599): Parent: Sent 1
listeners to child 692
[Thu Jun 19 11:28:48 2008] [debug] mpm_winnt.c(402): Child 692: Retrieved
our scoreboard from the parent.
[Thu Jun 19 11:28:48 2008] [debug] mpm_winnt.c(558): Child 692: retrieved 1
listeners from parent
[Thu Jun 19 11:28:48 2008] [warn] Mono Child Init
[Thu Jun 19 11:28:49 2008] [warn] try_connect: -1
[Thu Jun 19 11:28:49 2008] [warn] forking XXGLOBAL
[Thu Jun 19 11:28:49 2008] [warn] Applications: (null)
[Thu Jun 19 11:28:49 2008] [warn] Config file: (null)
[Thu Jun 19 11:28:49 2008] [warn] Config dir.: (null)
[Thu Jun 19 11:28:49 2008] [warn] Listen port: 2000
[Thu Jun 19 11:28:49 2008] [warn] Listen address: (null)
[Thu Jun 19 11:28:49 2008] [warn] PATH:
C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:28:49 2008] [warn] serverdir: C:\\Mono19/bin
[Thu Jun 19 11:28:49 2008] [warn] PATH after:
C:\\Mono19/bin;C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:28:50 2008] [warn] try_connect: -1
[Thu Jun 19 11:28:50 2008] [warn] forking XXGLOBAL
[Thu Jun 19 11:28:50 2008] [warn] Applications:
/appnet:/inetpub/wwwroot/appnet
[Thu Jun 19 11:28:50 2008] [warn] Config file: (null)
[Thu Jun 19 11:28:50 2008] [warn] Config dir.: (null)
[Thu Jun 19 11:28:50 2008] [warn] Listen port: 2000
[Thu Jun 19 11:28:50 2008] [warn] Listen address: (null)
[Thu Jun 19 11:28:50 2008] [warn] PATH:
C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:28:50 2008] [warn] serverdir: C:\\Mono19/bin
[Thu Jun 19 11:28:50 2008] [warn] PATH after:
C:\\Mono19/bin;C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:28:50 2008] [notice] Child 692: Acquired the start mutex.
[Thu Jun 19 11:28:50 2008] [notice] Child 692: Starting 250 worker threads.
[Thu Jun 19 11:28:50 2008] [notice] Child 692: Starting thread to listen on
port 8080.
[Thu Jun 19 11:29:33 2008] [warn] handler: mono
[Thu Jun 19 11:29:33 2008] [warn] config = 0x8854c0
[Thu Jun 19 11:29:33 2008] [warn] dir_config = 0x8854b8
[Thu Jun 19 11:29:33 2008] [warn] idx = -1
[Thu Jun 19 11:29:33 2008] [warn] Alias not found. Checking for
auto-applications.
[Thu Jun 19 11:29:34 2008] [warn] try_connect: -1
[Thu Jun 19 11:29:34 2008] [warn] After setup_socket
[Thu Jun 19 11:29:34 2008] [warn] No backend found, will start a new copy.
[Thu Jun 19 11:29:34 2008] [warn] Acquiring the
C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp/mod_mono_dashboard_XXGLOBAL_1.lock
lock for backend start
[Thu Jun 19 11:29:36 2008] [warn] try_connect: -1
[Thu Jun 19 11:29:36 2008] [warn] forking XXGLOBAL
[Thu Jun 19 11:29:36 2008] [warn] Applications:
/appnet:/inetpub/wwwroot/appnet
[Thu Jun 19 11:29:36 2008] [warn] Config file: (null)
[Thu Jun 19 11:29:36 2008] [warn] Config dir.: (null)
[Thu Jun 19 11:29:36 2008] [warn] Listen port: 2000
[Thu Jun 19 11:29:36 2008] [warn] Listen address: (null)
[Thu Jun 19 11:29:36 2008] [warn] PATH:
C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:29:36 2008] [warn] serverdir: C:\\Mono19/bin
[Thu Jun 19 11:29:36 2008] [warn] PATH after:
C:\\Mono19/bin;C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:29:36 2008] [warn] Started new backend, sleeping 2s to let it
configure
[Thu Jun 19 11:29:38 2008] [warn] try_connect: -1
[Thu Jun 19 11:29:38 2008] [warn] After setup_socket
[Thu Jun 19 11:29:38 2008] [warn] No backend found, will start a new copy.
[Thu Jun 19 11:29:38 2008] [warn] Acquiring the
C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp/mod_mono_dashboard_XXGLOBAL_1.lock
lock for backend start
[Thu Jun 19 11:29:40 2008] [warn] try_connect: -1
[Thu Jun 19 11:29:40 2008] [warn] forking XXGLOBAL
[Thu Jun 19 11:29:40 2008] [warn] Applications:
/appnet:/inetpub/wwwroot/appnet
[Thu Jun 19 11:29:40 2008] [warn] Config file: (null)
[Thu Jun 19 11:29:40 2008] [warn] Config dir.: (null)
[Thu Jun 19 11:29:40 2008] [warn] Listen port: 2000
[Thu Jun 19 11:29:40 2008] [warn] Listen address: (null)
[Thu Jun 19 11:29:40 2008] [warn] PATH:
C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:29:40 2008] [warn] serverdir: C:\\Mono19/bin
[Thu Jun 19 11:29:40 2008] [warn] PATH after:
C:\\Mono19/bin;C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:29:40 2008] [warn] Started new backend, sleeping 2s to let it
configure
[Thu Jun 19 11:29:43 2008] [warn] try_connect: -1
[Thu Jun 19 11:29:43 2008] [warn] After setup_socket
[Thu Jun 19 11:29:43 2008] [warn] No backend found, will start a new copy.
[Thu Jun 19 11:29:43 2008] [warn] Acquiring the
C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp/mod_mono_dashboard_XXGLOBAL_1.lock
lock for backend start
[Thu Jun 19 11:29:44 2008] [warn] try_connect: -1
[Thu Jun 19 11:29:44 2008] [warn] forking XXGLOBAL
[Thu Jun 19 11:29:44 2008] [warn] Applications:
/appnet:/inetpub/wwwroot/appnet
[Thu Jun 19 11:29:44 2008] [warn] Config file: (null)
[Thu Jun 19 11:29:44 2008] [warn] Config dir.: (null)
[Thu Jun 19 11:29:44 2008] [warn] Listen port: 2000
[Thu Jun 19 11:29:44 2008] [warn] Listen address: (null)
[Thu Jun 19 11:29:44 2008] [warn] PATH:
C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:29:44 2008] [warn] serverdir: C:\\Mono19/bin
[Thu Jun 19 11:29:44 2008] [warn] PATH after:
C:\\Mono19/bin;C:\\OnBase;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\system32\\WBEM;c:\\Program
Files\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program
Files\\Hyland\\OnBase\\ocr;C:\\OnBase\\ocr;C:\\WINDOWS\\system32\\
[Thu Jun 19 11:29:44 2008] [warn] Started new backend, sleeping 2s to let it
configure
[Thu Jun 19 11:29:46 2008] [error] Failed to connect to mod-mono-server
after several attempts to spawn the process.




Angel Marin-2 wrote:
> 
> Hi greg,
> 
> The apache log you posted is missing all the [debug] info so either
> you're not using the debug mod_mono.so or you must increase debug level
> on apache command line args (or config file).
> 
> Once you get all the [debug] messages you should get there the exact
> command mod_mono is using to launch mod-mono-server, executing that
> manually on a command prompt (replacing the double \\ and / with single
> \) should give a hint on why mod-mono-server is dying upon start.
> 
> gsvi wrote:
>> Hello Angel,
>> 
>> Thank you for replying. Yes I did replace the binaries with the files in
>> the
>> zip from the link you included. Please let me know if you can think of
>> anything else.
>> 
>> Greg
>> 
>> 
>> Angel Marin-2 wrote:
>>> gsvi wrote:
>>>> Hello,
>>>>
>>>> I am struggling trying to get mod_mono to work with a windows 2003
>>>> environment.  I was wondering if someone could post a sample conf file
>>>> for
>>>> the windows version of mod_mono. Additionally, if anyone could point
>>>> out
>>>> what seems to be my problem, I would greatly appreciate the help. I
>>>> have
>>>> included my conf file and log file at the bottom of the post.
>>>>
>>>> I am using mod 1.9 and able to get xsp2 server to load up the samples
>>>> without any problem.
>>>>
>>>> I need to launch the mod_mono-server2 because I have asp.net 2.0
>>>> application
>>>> that I would like to test out on windows.
>>>>
>>>> I have installed apache 2.2.3 and downloaded the mod_mono.so from
>>>> http://anmar.eu.org/mono/mod_mono/. I am using the latest version with
>>>> debug
>>>> turned on to help me diagnosis the problem.
>>>>
>>>> I am running the apache server from the console and not a windows
>>>> service.
>>>>
>>>> When i attempt to hit the index2.aspx page, three command windows open
>>>> and
>>>> close so I think it is trying to start the mod-mono-server2.exe
>>>> process.
>>>> In
>>>> the temp directory, it appears to be creating the temp files for the
>>>> sockets
>>>> so I know the os permissions are correct.
>>>>
>>>> However when the page loads, I get the 503 Service Temporarily
>>>> Unavailable
>>>> message. 
>>>>
>>>> Any help would be appreciated,
>>> Have you replaced mod-mono-server binaries with a post-1.9 build[1]?
>>> mono 1.9 shipped with a broken mod-mono-server that didn't work over tcp
>>> [2].
>>>
>>> [1] http://anmar.eu.org/mono/mod_mono/files/xsp-r98570.zip
>>> [2] https://bugzilla.novell.com/show_bug.cgi?id=372220
>>> -- 
>>> Angel Marin
>>> http://anmar.eu.org/
>>>
>>> _______________________________________________
>>> Mono-list maillist  -  Mono-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>>
>>>
>> 
> 
> 
> -- 
> Angel Marin
> http://anmar.eu.org/
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://www.nabble.com/mod_mono-%28mono-1.9%29with-Apache-2.2-and-windows-2003-tp17990145p18011535.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list