I was creating a startup BASH script, when I was given an error similar to: So I went and put in some LSB tags, but it still does not start on startup. The script works perfectly if I start it manually It is a very simple script that is intended to startup a PERL script in the same folder (/etc/init.d/fcgiwrap.pl).
Tag: debian
Send Command to serial port via Cu and exit in same line
I want to execute “sw i01” into cu command and exit cu (with “~.”) in just one line or in file bash because il will execute them from a distant server In this image i put: then it return “Connected.” i put “sw i01” (command switch HDMI to input 1) it return “Command Ok” then i exit with “~.” (the
Can tar extraction erase brother directory ?
I made several backups on different directories with Backup Manager. Eg: /home/user1 /home/user2… It gives me some tar files. The content of a tar file looks like : I tried to test the restoration with something like : But the command above recreate all the structure inside the choosen directory. That gives /home/user1/home/user1/filname1. So I guess I should use the
How do I get vagrant halt to successfully shut down debian jessie vm on yosemite host?
Whenever I attempt to run vagrant halt, it says “default: Attempting graceful shutdown of VM…” but eventually times out and says ” default: Forcing shutdown of VM…” sometimes this works and sometimes it leaves the VM in running state, according to the VirtualBox UI. Here are the details of the system: Host: OS X 10.10.5 Yosemite, Virtual Box 5.0.4, w/extension
Transport Endpoint Not Connected – Mesos Slave / Master
I’m trying to connect a Mesos slave to its master. Whenver the slave tries to connect to the master, I get the following message: The error seems to be: E0806 16:39:59.091384 940 socket.hpp:107] Shutdown failed on fd=25: Transport endpoint is not connected [107] The host was started using: And the slave If I run the slave on the same VM
How OpenVZ boot OS?
I bought VPS on OpenVZ virtualization and enabled Debian guest OS. Guest /boot dir is empty. /etc/inittab is empty. How is the OS initialization process performed? What is the meaning of reboot for OpenVZ container? Answer After research I clone vzctl tool as main job about starting/stopping done here: vzctl uses libvzctl where you can find https://github.com/OpenVZ/libvzctl/blob/master/lib/env.c#L783: Stop done by
Logcat show invisible messages in Eclipse Mars
My PC running on Debian Jessie & Logcat’s messages are all invisible on eclipse Mars. I tried a solution here, but no help. What to do now? ———- UPDATE ———- I tried the followings: Change logcat/ddms’s metadata settings in com.android.ide.eclipse.ddms.prefs file. Don’t use GTK3 by export SWT_GTK3=0 But both failed to fix the situation. Answer I had a similar problem
Provide vim syntax highlighting system wide by debian package
I wrote a custom software using its own configuration files under /etc. The software is built in a Debian package and delivered by a custom repository. In order to provide a nice syntax highlighting in vim I wrote all the necessary files to nicely highlight my own config files. If I place them under ~/.vim/syntax and add a line to
smartctl not working from cron job
I have a problem with smartctl Have updated from version 5.4 to the lastest version 6.4.. No change.. Same issue It works fine when running the command smartctl -H /dev/sda directly from the command line But when running the command from a cronjob its not working as it should. Here you can see the cron job settings.. Its running as
Running git from node.js as a child process?
I am attempting to write a generic command-runner in Node.JS – however that’s not massively important. My setup is as follows: I have a list of string commands that are executed using child_process.exec one after the other. I want to run git from one of these commands, specifically a pull. The location I am pulling from requires SSH authentication. HTTPS