Debian :: How To Add Own Application In System Start Process
Sep 25, 2015
I am new to this debian plotform. How can I add my app to init.d linkup.
I did my programe for I2C Bit banging method and got output on Beaglebone black rev.C hardware.
I want to run my code after booting of beaglebone with out connecting to laptop or login process.
I want just powerup,then run my programe default.
# The default runlevel.
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
how can we inert our application with a debian based Operating system, what should be basic ground work to be done if one wants to insert his Application(Open Source)within a Linux Operating System(OS).I request you all to send me some clues or hints with some url's for exploring and proceeding further.
I'm trying to find how to schedule a process to start at a specific time (not on start up). How would I schedule a process/application to start at a specific time (if it matters, it will be a background process). For instance, have process abc start every weekday at 5am. I've done this for windows many times though have only been using linux regularly for a few months and haven't figured out the best way of doing this.
So far the best solution I have is to create a program that will start on boot and have it check the time and sleep until the required time and then start the required process(es) at the required time(s). But this seems more of a hack since I'd expect there to be a proper way of doing this.
I have a web server that hosts multiple websites. Am looking for an application that can be run on my workstation and makes it possible to watch Apache logs live.
It should have a tabbed interface. When I launch the application, it has to connect to my server and should automatically open all access.log and error.log files and display all changes in real time (similar to tail -f command).
Does anything like this exist?
I'm tired of logging in many times in Konsole and executing tail -f commands to see parallel logs.
Although I'm a linux user, I don't know much about the whole booting process myself. I normally have a friend that I can consult when things don't go the way I expected. But here's the thing: he updated my computer and went away. And of course I can't reach him and I really need it to work. And moreover, I want to be able to sole things myself.
The booting process stops halfway. The last thing it says is: can't access tty: job control turned off (initramfs) ...
I have searched for the solution with no luck and still wondering if there is a way to find out what's an application process name is from the name of the application itself. And then pkill the process from the terminal.I tried using
I have just recently installed firestarter to get an idea of iptables editing with a GUI. Firestarter works great and I love it, however when I turn my system on, and my system is booting up the terminal displays a "Failed" message when attempting to start up firestarter. Now I have been doing my homework (reserch) and have read that a user will get this error because firestarter trys to load prior to the network manager starting up. I have also read some other variables that can cause this is if you use network manager and have a password on your user account (which I do have) can cause this issue.
However in most cases from what I have read is even though it gives the user a "Failed" startup message, once the user logs in, and is connected to the internet firestarter will actually load the iptables. I did some tests and from what I understand I can see that this is true because I have allowed access to certain torrent trackers, and denied access to others, and I can see some come online. Does firestarter load iptables once the user logs in? Or once it fails to load, does it not load at all unless you manually open/load the application. If firestarter just modifies iptables, then once I save my listings in firestarter then I really don't need it to start up correct?
For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.
what is the correct process for updating an application installed via the './configure, make, make install' sequence?For example, I have an app checked out via a git repository, on which I run the 'make install' on to install. Then a few days later I run a git pull to update to the latest release, do I just run the same sequence again or should I 'make uninstall' first?
my iwlist scan is normal. ethernet connection ok, wirless not working but does seem to receive. wifi radar lists my router ssid. Does this say I have the correct router for my wireless is my question? I am also getting this error message with this system on KDE, LENNY. From KWLAN a wpasupplicant front end.
"you do not have permissions to start pppd or pppd was not found. Dial up networking will not work."
if my network downs my system process get slow down ... only in user mode but in root it is working fine ..the process slow especially if i try to open a terminal or run any gui application its taking much time comparing to normal time where network is up ..
Whenever I'm running my application process, I've 1M physical memory usage is increasing for every 2 hours.This I observed using 'free -m' command.But 'top' command did not showing any increase 'RSS' size.It is same as it was started initially.Even though I stopped my process,the increased memory was not released back. If I start my application process then again memory usage start increasing by 1M for every 2 hours. increase of memory usage observer with 'free' and that too when my application is running, but top command is not showing any change in the RSS sizeIf my application is leaking any memory which is allocated by new/malloc, that should be released back whenever my application exit and the size increase will be show through top command for that process, right? This is not happeningThis proves that there is no potential leaks in my process.But why physical memory is increasing when only my process is running?
ubuntu 10.10 At times something starts thrashing the HD. Often after the computer has been taken out of Suspension. The whole things slows down and stays slow. This can be fixed by logging off (which takes quite a while under this condition while the HD light stays on, solid) and logging back on. Then the system becomes responsive, with only HD light flickers. Anyway, I can't determine what process is doing the thrashing. System Monitor doesn't show any memory problems, and neither do top or htop. htop shows plenty of swap space available, and memory usage is on par with what it looks like when there is no thrashing. Is there some tool that can display what processes are running the HD so hard?
I want to start process automatically For Ex:- To start snort it need the root user, So here I need a script which will start snort automatically without asking the root user or password.So that I can start snort from anywhere as same as root
I have just build a new computer, and I want to install Ubuntu 10.10 on it. The problem is that when I run the Live cd and start the installation it cant find enough space to install. I have a 1TB WD Black Caviar disc installed and I can see that the BIOS detects it.
When my system starts this command is executed by a script /usr/sbin/apache2 -k start...How can I find which one start it? I check in rc2.d/ dir in the apache script but didn't found anything similar. Where else should I look?
I have Thunderbird installed and I really enjoy it as an application. I would like to set Thunderbird to start on boot. I tried to locate the binary for it in /usr/bin/ but was not able to. Has anyone done this before or does anyone know how I might go about locating the binary for it?
I just installed the miro internet tv application using yast on my openSUSE 11.2 and I cannot start it.
Running the miro application from console gives me the following output:
nuca@ionpetrache:~> miro PyNotify support disabled on your platform. 2010-05-28 13:51:55,501 INFO Starting up Miro 2010-05-28 13:51:55,502 INFO Version: 2.5.4 2010-05-28 13:51:55,508 INFO OS: Linux 18.104.22.168-0.2-desktop i686 2010-05-28 13:51:55,509 INFO Revision: ssh://email@example.com/var/git/miro - 1e20db82