Ubuntu 10.10

10 views
Skip to first unread message

eloverton2

unread,
Nov 22, 2010, 4:06:42 AM11/22/10
to hfm-net
I've tried following the ubuntu install guide and I keep getting this
error:


HFM.NET v0.6.1.251

Unix 2.6.35.22

Single Instance IPC Channel Failed to Register.

Exception Thrown:
System.IO.FileNotFoundException: Could not load file or assembly
'System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'
at HFM.Program.Main (System.String[] args) [0x00000] in <filename
unknown>:0

Thanks,
eloverton2

harlam357

unread,
Nov 22, 2010, 3:33:00 PM11/22/10
to hfm-net
Looks like the following package is not installed by default on Ubuntu
10.10.

libmono-system-runtime2.0-cil

Try installing that package and see if it fixes the issue. I haven't
validated this yet... will have to fire up a Mono VM and check it out
for myself.

harlam357

unread,
Dec 4, 2010, 1:53:55 AM12/4/10
to hfm-net
Validated... on a fresh install of Ubuntu 10.10 all one needs to do is
go to Synaptic Package Manager and install the following (and any
dependencies).

libmono-winforms2.0-cil
libmono-system-runtime2.0-cil

Eric Lee Overton

unread,
Dec 5, 2010, 4:24:15 AM12/5/10
to hfm...@googlegroups.com
i tried this and hfm still gave me an unhandled exception box, however when i run the program as sudo mono HFM.exe it works fine. is there any danger in running HFM as root?
thanks, eric

--
You received this message because you are subscribed to the Google Groups "hfm-net" group.
To unsubscribe from this group, send email to hfm-net+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hfm-net?hl=en

harlam357

unread,
Dec 5, 2010, 9:52:00 PM12/5/10
to hfm...@googlegroups.com
No danger... HFM only manipulates files in user folders or
configuration files as directed by the user. However, I had no issue
running HFM on 10.10 as a standard user. The only reason I can think
of that it would require root privileges to run is if the files were
installed into a folder where the user had no permissions. I simply
unpacked the zip file into a folder on my user desktop and then ran
HFM.

If you can't get it to run as a standard user then please send me the
exception text that is being displayed.

Eric Lee Overton

unread,
Dec 6, 2010, 2:37:10 AM12/6/10
to hfm...@googlegroups.com
HFM.exe is in:

/home/eloverton2/HFM/HFM.exe

from the terminal, when I enter:

eloverton2@890GXM-G65:~$ cd HFM
eloverton2@890GXM-G65:~/HFM$ mono HFM.exe

I get:

An unhandled exception has occurred. The exception text and other diagnostic information is found below. If you choose, you can report this exception to the program author. Please note the option to copy the error text to the clipboard upon clicking the "Report Exception" button.

HFM.NET v0.6.1.251

Unix 2.6.35.23

Single Instance IPC Channel Failed to Register.

Exception Thrown:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: There's already a server listening on /tmp/B5B41348-23C1-11DB-8AF6-B622A1EF5492
  at Mono.Unix.UnixListener.Init (Mono.Unix.UnixEndPoint ep) [0x00000] in <filename unknown>:0 
  at Mono.Unix.UnixListener..ctor (System.String path) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Mono.Unix.UnixListener:.ctor (string)
  at Mono.Remoting.Channels.Unix.UnixServerChannel.StartListening (System.Object data) [0x00000] in <filename unknown>:0 
  at Mono.Remoting.Channels.Unix.UnixServerChannel.Init (IServerChannelSinkProvider serverSinkProvider) [0x00000] in <filename unknown>:0 
  at Mono.Remoting.Channels.Unix.UnixServerChannel..ctor (System.String path) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.Runtime.Remoting.Channels.Ipc.Unix.IpcServerChannel..ctor (System.String portName) [0x00000] in <filename unknown>:0 
  at System.Runtime.Remoting.Channels.Ipc.IpcServerChannel..ctor (System.String portName) [0x00000] in <filename unknown>:0 
  at HFM.Classes.SingleInstanceHelper.RegisterIpcChannel (HFM.Forms.frmMain frm) [0x00000] in <filename unknown>:0 
  at HFM.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 

I have installed 
libmono-winforms2.0-cil
libmono-system-runtime2.0-cil

and I still get this error unless I run it as sudo. I am the owner of my home folder as well as the HFM folder. In properties of HFM.exe, I've also tried the "allow executing file as program" box both checked and unchecked.

Thanks, 
Eric
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages