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.
/***************************Extra Information*************
#etc/inittab file
# The default runlevel.
id:2:initdefault:
# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS
I want to use LibreOffice but I keep getting an error every time I try to open any office application.
The error is : The application cannot be started. [context="bundled"] caught unexpected exception!
I installed the .debs the first time and thought it might be wiser to install it from the experimental repos.So I reinstalled but there's no difference,I keep getting the error.
I reinstalled and found that the same error is caused by the installation for the dictionaries.I removed those but the error is still present.
I've seen people post this error on some forums except context=user and not bundle.However,it seems those were Windows 7 machines and that it's a 64 bit bug.
I'm also running the 64 bit version.
Also,if I try to install the desktop-integration .debs I get another error ( that is,if I remove the dictionaries,otherwise the installation runs just fine ) :
I would like to configure visudo to authorize user to start only one application with sudo on one peculiar host and forbid everything else so, after reading the man, I came up with :
Code:
Select alluser ALL = (ALL:ALL) !ALL user host_name = /usr/bin/application
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 want to know where should I keep a script which I developed so that it always start with system boots also if some one can let me know about strace some common use scenarios.
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?
I'm porting C++ application from ARM to MIPS platform. It works now, but I see some strange timing problems. I've seen now that My app process is called multiply time. Here is "top" output:
My previously running debian system recently started failing with systemd failure messages as some services are being started. It never completes. I can log into recovery mode.
I added systemd.log_target=kmsg systemd.log_level=debug into my grub parameters.
After I do that all that I see scrolling down the page on boot are:
systemd-journald[36] /dev/kmsg buffer overrun, some messages lost and the occasional systemd[1] Looping too fast Throttling execution a little
Is there a way that I can boot without systemd using sysvinit?
After install debian 8, I can't see system start and stop message from console ... How can I enable system message from console in debain 8?
debian 7 output ---------------------------------------------- root@demo:~# service apache2 restart [ ok ] Restarting web server: apache2 ... waiting . root@demo:~#
debian 8 output ----------------------------------------------- root@demo:~# service apache2 restart root@demo:~# <=============================== No message (start or stop)
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 2.6.31.12-0.2-desktop i686 2010-05-28 13:51:55,509 INFO Revision: ssh://wguaraldi@pcf1.pculture.org/var/git/miro - 1e20db82
I have a binary application that runs only in shell, now I want to open it from another application(Mathematica program) but simply invoking it will start it in memory but not in a shell.
I tryed "bash app" which does not work and "gnome-terminal app" just opens the terminal without launching that application.
Ps: Its the same thing as in Java when you want to invoke a system command like ping but you need to do it like this .exec("cmd ping") instead of just ping.