[Mono-list] Reset mono
Andrus Moor
kobruleht2 at hot.ee
Wed Jun 17 08:24:26 EDT 2009
Robert,
> You have the rights implicitly. Write a page or WS method
> that performs
>
> System.IO.Directory.Move("/tmp/www-data-temp-aspnet-0",
> /tmp/www-data-temp-aspnet-0.old");
I tried
System.IO.Directory.Move("/tmp/www-data-temp-aspnet-0",
"/tmp/www-data-temp-aspnet-0.old");
but got exception
System.IO.DirectoryNotFoundException: Could not find a part of the path.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.Move(String sourceDirName, String destDirName)
ls -l /tmp/ shows this directory:
....
-rw------- 1 www-data www-data 551 Jun 16 14:16
ff2ac246-936b-4eed-a953-fdf11f202816.dll.mdb
-rwx------ 1 www-data www-data 4096 Jun 16 14:16
ff2ac246-936b-4eed-a953-fdf11f202816.tmp
-rw------- 1 www-data www-data 551 Jun 16 18:37
fff112a1-69a4-4412-9efa-d09722cf7f10.dll.mdb
-rwx------ 1 www-data www-data 4096 Jun 16 18:37
fff112a1-69a4-4412-9efa-d09722cf7f10.tmp
-rw------- 1 www-data www-data 8 Jun 16 11:06
mod_mono_dashboard_XXGLOBAL_1
srwx------ 1 www-data www-data 0 Jun 17 14:25 mod_mono_server_global
-rw------- 1 www-data www-data 0 Jun 17 14:25
mod_mono_server_global_1651471482
drwx------ 8 www-data www-data 4096 Jun 17 13:22 www-data-temp-aspnet-0
ls /tmp/w* returns error:
ls: cannot open directory /tmp/www-data-temp-aspnet-0: Permission denied
How to move this directory ?
> and restart mod-mono.
Should I use mono control panel to restart it ?
Mono compiler has stopped working.
http://213.180.31.194/demo/StockService.asmx
returns cryptic exception
Compiler failed to produce assembly. Output ''
after long timeout. Reset from mono control panel does not fix this.
How to make compiler working again ?
Andrus.
More information about the Mono-list
mailing list