LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2013, 12:07 AM   #1
ted_chou12
Member
 
Registered: Aug 2010
Location: Zhongli, Taoyuan
Distribution: slackware, windows, debian (armv4l GNU/Linux)
Posts: 431
Blog Entries: 32

Rep: Reputation: 3
starting hamachi on boot with rc.local


Hi, I am trying to start hamachi on boot but it doesn't seem to be up on boot:
Code:
#/etc/rc.d/rc.local#
#hamachi VPN
if [ -x /etc/init.d/logmein-hamachi ]; then
. /etc/init.d/logmein-hamachi start
/logmein-hamachi-2.1.0.86-x86/hamachid
hamachi login
hamachi join 174-117-245
fi
Here is the cmd line right after boot:
Code:
7.0 LIGHT built on March-20-2012 on Linux 3.0.17
You are working as root
Frequently used programs:
Configuration  : vasm
Package manager: slapt-get, pkg
Network tools  : ifconfig, host, ping, nmap, iptables
File manager   : mc (press F2 for useful menu)
Editor         : mcedit, nano, vi
Multimedia     : alsamixer, play
Default X      : startx
xmodmap:  unable to open display ''
server:/~
root:# hamachi login
Hamachi does not seem to be running.
Run '/etc/init.d/logmein-hamachi start' to start daemon.
but it does start up manually:
Code:
root:# . /etc/init.d/logmein-hamachi start
-bash: /lib/lsb/init-functions: No such file or directory
Starting LogMeIn Hamachi VPN tunneling engine logmein-hamachi-bash: start_daemon: command not found
-bash: log_failure_msg: command not found
server:/~
root:# /logmein-hamachi-2.1.0.86-x86/hamachid
server:/~
root:# hamachi login
Logging in .. ok
server:/~
root:# hamachi
  version    : 2.1.0.86
  pid        : 3092
  status     : logged in
  client id  : 131-647-618
  address    : 25.134.197.65
  nickname   : server
  lmi account: -
Thanks,
Ted
 
Old 05-29-2013, 01:43 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by ted_chou12 View Post
Code:
root:# . /etc/init.d/logmein-hamachi start
-bash: /lib/lsb/init-functions: No such file or directory
Starting LogMeIn Hamachi VPN tunneling engine logmein-hamachi-bash: start_daemon: command not found
-bash: log_failure_msg: command not found
Well it's missing the "/lib/lsb/init-functions" file that contains functions it seems to need.
Try to find out where to get it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] hamachi /usr/share/hamachi/hamachid: cannot execute binary file ted_chou12 Linux - Software 1 05-27-2013 11:25 AM
Starting Hamachi problems Nsis Linux - Newbie 1 01-25-2009 05:06 PM
perl script in rc.local file not starting at boot up time nscjagan Linux - Newbie 1 11-26-2008 07:19 AM
What is the difference between /etc/init.d/boot.local and /etc/rc.d/boot.local..? mozart Linux - Newbie 3 06-13-2007 06:50 PM
Starting vncserver at boot using rc.local promethious Linux - General 3 10-14-2005 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration