[Mono-dev] xsp2 won't run when invoked as service

Tomasz Kubacki tomasz.kubacki at gmail.com
Fri Jan 14 11:41:03 EST 2011


hi,

Thanks for clue, but it did not help. 

I've done:

chmod -R a+rwx myapp

and the result is the same as in previous email.

Tomasz Kubacki


Dnia 2011-01-12, śro o godzinie 19:40 -0600, Eddy Zavaleta pisze:
> Hi,
> 
> 
> It seems to be an access right (permission) problem.
> You should verify what user own the service and if that user has
> access to your app's path.
> 
> 
> To make sure everyone can read your app's path try executing:
> $ chmod -R a+r /path/to/your/web/app
> 
> 
> 
> On Wed, Jan 12, 2011 at 4:18 PM, Tomasz Kubacki
> <tomasz.kubacki at gmail.com> wrote:
>         Hi,
>         I've sheeva plug box (arm) with default mono 2.6.1 and
>         facing strange issue. 
>         I can run my asp.net app from console without any problems,
>         but when i try to run it as a service i've got below error on
>         request.
>         What can cause this ?
>         
>         
>         cheers,
>         
>         
>         Tomasz Kubacki
>         -------------------------------------
>         
>         
>         Error: System.UnauthorizedAccessException: Access to the path
>         "/root/Piecyk/[Unknown]" is denied.
>           at System.IO.FileStream.ReadData (IntPtr handle,
>         System.Byte[] buf, Int32 offset, Int32 count) [0x00000] in
>         <filename unknown>:0
>           at System.IO.FileStream.ReadInternal (System.Byte[] dest,
>         Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
>           at System.IO.FileStream.Read (System.Byte[] array, Int32
>         offset, Int32 count) [0x00000] in <filename unknown>:0
>           at System.IO.StreamReader.ReadBuffer () [0x00000] in
>         <filename unknown>:0
>           at System.IO.StreamReader.ReadLine () [0x00000] in <filename
>         unknown>:0
>           at System.IO.UnexceptionalStreamReader.ReadLine () [0x00000]
>         in <filename unknown>:0
>           at System.IO.SynchronizedReader.ReadLine () [0x00000] in
>         <filename unknown>:0
>           at System.Console.ReadLine () [0x00000] in <filename
>         unknown>:0
>           at Mono.WebServer.XSP.Server.RealMain (System.String[] args,
>         Boolean root, IApplicationHost ext_apphost, Boolean quiet)
>         [0x00000] in <filename unknown>:0
>         
>         
>         
>         _______________________________________________
>         Mono-devel-list mailing list
>         Mono-devel-list at lists.ximian.com
>         http://lists.ximian.com/mailman/listinfo/mono-devel-list
>         
> 
> 
> 
> -- 
> Eddy Zavaleta
> mictlanix.org
> 
> 
> 
> 




More information about the Mono-devel-list mailing list