Koozali.org: home of the SME Server

Logmein Hamachi on SME Server 9.0

Offline andersrh.arh

  • 3
  • +0/-0
Logmein Hamachi on SME Server 9.0
« on: May 25, 2015, 04:24:13 PM »
Hi.

I tried to install Hamachi on my SME Server 9.0 to be able to access services remotely.
I was able to install Hamachi on my laptop which runs Manjaro (based on Arch Linux) without any problems.

When I want to start the service it says it has been started, but when I run the 'hamachi' command it just hangs and I can see that "/sbin/udev -d" and "hamchid" are eating up 100% CPU.

After some time hamachi says that I have to start the service so I guess it has crashed in the attempt to start.

I have installed the package "logmein-hamachi-2.1.0.139-1.x86_64.rpm" and installed "redhat-lsb" because I found that it was required to run Hamachi.

Anyone who knows a solution to this issue?

Thanks in advance.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Logmein Hamachi on SME Server 9.0
« Reply #1 on: May 25, 2015, 04:36:49 PM »
hi, welcome here

you need to be more verbose:
- how did you install hamachi?
- did you check your logs (in /var/log/ dir, /var/log/messages at least)
- did you follow any how-to to install hamachi? if so, which one (url please)

thank you

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Logmein Hamachi on SME Server 9.0
« Reply #2 on: May 25, 2015, 04:40:11 PM »
moreover, I see here (http://tecadmin.net/install-and-configure-logmein-hamachi-on-rhelcentos-56/) that before invoking hamachi, you have to start logmein-hamachi service; did you do it?

Offline andersrh.arh

  • 3
  • +0/-0
Re: Logmein Hamachi on SME Server 9.0
« Reply #3 on: May 25, 2015, 07:58:04 PM »
hi, welcome here

you need to be more verbose:
- how did you install hamachi?
- did you check your logs (in /var/log/ dir, /var/log/messages at least)
- did you follow any how-to to install hamachi? if so, which one (url please)

thank you

Hi Stefano
Thanks for your reply and attention to this topic.

I followed the guide on this link: http://tecadmin.net/install-and-configure-logmein-hamachi-on-rhelcentos-56/ and installed like described in this guide.

I also checked for logs but there is nothing to find.

I also tried to install GroupVPN IPOP as another solution from this guide: https://github.com/ipop-project/documentation/wiki/Running-GroupVPN-on-Linux and I get this error when I try to start "gvpn_controller.py":

Code: [Select]
Traceback (most recent call last):
  File "./svpn_controller.py", line 174, in <module>
    main()
  File "./svpn_controller.py", line 163, in main
    CONFIG["xmpp_host"], CONFIG["ip4"], CONFIG["local_uid"])
  File "./svpn_controller.py", line 7, in __init__
    UdpServer.__init__(self, user, password, host, ip4)
  File "/root/ipop-14.07.0-x86_64_CentOS6/ipoplib.py", line 241, in __init__
    self.sock_svr.bind((CONFIG["localhost6"], CONFIG["contr_port"]))
  File "<string>", line 1, in bind
socket.error: [Errno 99] Cannot assign requested address

It seems to me that the applications can't create a new network interface for the VPN and therefore fails.

For GroupVPN my config.json looks like this:
Code: [Select]
{
    "xmpp_username": "****",
    "xmpp_password": "****",
    "xmpp_host": "talk.google.com",
    "ip4": "192.168.5.2",
    "ip4_mask": 24,
    "stat_report": true,
    "tincan_logging": 0,
    "controller_logging": "DEBUG"
}

Offline andersrh.arh

  • 3
  • +0/-0
Re: Logmein Hamachi on SME Server 9.0
« Reply #4 on: May 25, 2015, 08:01:52 PM »
moreover, I see here (http://tecadmin.net/install-and-configure-logmein-hamachi-on-rhelcentos-56/) that before invoking hamachi, you have to start logmein-hamachi service; did you do it?

Yes. As described in my post it is where the trouble starts to happen.

It's when I start the service, it eats up my CPU.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Logmein Hamachi on SME Server 9.0
« Reply #5 on: May 25, 2015, 08:52:43 PM »
When I want to start the service it says it has been started, but when I run the 'hamachi' command it just hangs and I can see that "/sbin/udev -d" and "hamchid" are eating up 100% CPU.

Sure sounds like a hamachi bug to me. Ask the hamachi people how to troubleshoot/correct the problem.

I would recommend that you avoid using a proprietary, closed-source VPN technology.