Debian Configuration :: Running A Nondaemonized Process At Startup?
Feb 15, 2011
I have a script that needs to start executing on startup. Because I originally wrote it for MacOSX I never cared to learn how to daemonize it (thanks launchd!). Are there any relatively easy ways to run it on startup on debian to?
View 2 Replies
ADVERTISEMENT
May 6, 2010
I have not been able to find any information on this, mostly because I am sure I am searching for the wrong terms. Let me explain what it is I need to do.I have a timeclock process that needs to be running all the time on my Red Hat server. Right now, I manually start the process from terminal:Code:# ./timeclockThis runs the process inside the terminal. The only problem is that if I close the terminal by accident, the timeclock stops working. This is all well and good for now, until I get more timeclocks.Then I will need to have one terminal open per. What I would like to do is to make this process run at start up, and run behind the scenes (no terminal). At the same time, I need to be able to re-run the process (again, hopefully behind the scenes) in case the timeclock goes offline or the process crashes.I know very basic things about Linux administration, and I know it is possible to do this (as there are processes now setup by someone else that do this), I just do not know how. EDIT: An idea I had would be to make the script run every minute, checking to see if the process is already running, and if it is not, then to start it. That way it would automatically correct itself if it went offline.
View 3 Replies
View Related
Dec 5, 2010
I installed Gnunet (a secure P2P program) on Ubuntu 10.10 using Ubuntu software centre but had difficulties getting it to work so removed it. However, the gnunetd process loads at startup. It is only visible when typing 'top' in the console and not in the system monitor list of processes.gnunetd --version tells me that it is 0.8.1b sudo apt-get remove gnunetd tells me 'unable to locate package' why the process loads and how to remove it? I can kill it in the console but would like a way of getting rid of it permanently.
View 2 Replies
View Related
Aug 6, 2010
Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.
View 1 Replies
View Related
Mar 9, 2011
if i start a program over ssh by 'foo &'how can i go back 'in' this process, so i could see the output and type in commands?
View 1 Replies
View Related
Jan 31, 2010
I want to monitor the process running and execute a command if some new process start. For example send a mail if any new process start.
View 1 Replies
View Related
Dec 4, 2010
i googled around and finally stumbled over this forum. I've been wondering, how would i kill an process running from an folder and with user parameter? I usually type this into the ssh console: pkill -9 < process > -U < username >
But i want users be able to run it multiple times, and killing only an specific process and not every single one.
View 4 Replies
View Related
Mar 2, 2011
I am trying to set up samba using AD to authenticate users. I did a clean install with the latest version of debian (need at least version 3 of samba for this to work). When I first installed winbind and ran "ps -ef | grep winbind", I could see about 4 instances of winbindd running. I set up kerberos and ran kinit and that ran fine, then tried changing my smb.conf file and restarting samba and winbind. Everything seems to appear normal when I restart the daemons, but when I run "ps -ef | grep winbind", I see nothing running.
View 1 Replies
View Related
Apr 25, 2016
I have got a debian (v3.16.7-ckt25-2) for server (without X). There is a br0 bridge connected to eth0 network device. It works fine when I start it manually by
Code: Select all# ifup br0 but I cannot start automatically at startup.
there was a missing line in /etc/network/interfaces:Code: Select allauto br0
View 1 Replies
View Related
Mar 10, 2010
I have vnc4server installed and I can get it to work on a desktop by desktop basis, but I can't figure out how to get it to run on startup. There isn't a script for vnc in /etc/init.d/ How do I go about creating one? Is there a better way to solve this problem?
View 4 Replies
View Related
May 30, 2010
I tried recompiling a new kernel yesterday (2.6.34) on my debian sarge box, but I ran into multiple difficulties. These difficulties forced me to do a double dist-upgrade to lenny. The new kernel was (seemingly) compiled without any hiccups, and I ran dpkg -i on both the image and the header debs. They didn't install properly into grub, but I think I managed to fix that manually.Next thing I did was rebooting the server. It refused to come back up. Luckily my ISP has recovery tools, so I managed to switch back to the old kernel. It boots just fine with that kernel, but the problem is that there is no ssh daemon running! I can access it through ftp and do limited jobs through php, but nothing big, as I have no root access.Now, enough backstory. My question is: How can I install openssh-server onto the server remotely? I cannot access the server personally, as the server is in a completely different country.
View 14 Replies
View Related
Oct 25, 2010
I've been trying to setup Plymouth on Debian Squeeze, but have only been partially successful: Plymouth works with shutdown (i.e. I see Plymouth after I tell the computer to shut down), but not when I start up my computer (before it reaches GDM). In other words, Plymouth seems to work with my graphics, but for some reason does not show up at startup (not even briefly, as far as I can tell). I've searched the forums and followed this advice, as well as the instructions found here: [URL] but neither of those worked. I'm running Debian Testing (Squeeze) on a Thinkpad X41, which uses "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller" for graphics.
View 4 Replies
View Related
Dec 22, 2010
I've been using Debian since the early days of Lenny being testing as OS on the same Computer. Its a Acer Aspire Notebook with switches for wireless and bluetooth. While booting Lenny my wireless and bluetooth stayed off as long as I didn't switch them on. But since squeeze they get activated ( you can see it by looking at the LED's ) the moment after the grub screen. I now do have to turn bluetooth and wireless off by hand everytime which is quite annoying since I mostly use eth0.
how to disable bluetooth and wireless per default in a way I can simply turn them back on by using the switch?
View 5 Replies
View Related
Feb 21, 2011
how can i setup ddclient at startup i already configured the client all i need is to let it start on bootup
View 3 Replies
View Related
Jun 16, 2011
when my computer starts up (from boot, reboot, hibernate or sleep) the speakers give out an annoying "boom".I an using Debian testing (wheezy kernel 2.6.32-5-amd64), with a Dell XPS L701. Alsa is version 1.0.23, and sound is working fine, other than this little annoyance.
View 6 Replies
View Related
May 4, 2010
I can consider my Debian Squeeze installation completed at the moment. In fact, it looks like everything is working with not so much effort:
- video graphics card
- keyboard
- mouse (both external USB and built-in touchpad)
- ethernet wired lan
- wireless lan (WPA!)
- sound (headphones and loudspeakers!)
- web-cam
What else? I think it's everything! Now I run a 'dmesg' command (see below since it looks like I cannot attach files) and I get some errors/problems/warnings (see below some rows which has been extracted from the whole 'dmesg' output) that I'm not able to "weight": are they true problems? Is it something I have to worry about? Can anybody suggest solutions to correct/solve the problems?
[Code]...
View 1 Replies
View Related
Nov 30, 2010
So I found many methods on google, but no one works. It seems that this one is THE Debian way.
Code:
### BEGIN INIT INFO
# Provides: mystartupscript
#[code]...
View 5 Replies
View Related
Oct 10, 2015
The "System Settings/Startup Programs" window is large enough but the "Program" column is too narrow and it cannot be resized. The window can be dragged to make it larger but not the individual columns. It looks like a Java listbox with "Enabled = false" set. This occurs in Debian8 64 bit and also in Mint 17 and Mint LMDE2. I am surprised nobody else has raised the issue. I have a basic setup with 22" screen and 1680 x 1050 resolution. It occurs with Nouveau and NVidia drivers. It is not a critical bug so I have coped with it for 2 years but it would be nice to see it fixed. Unfortunately I could not upload a screen shot as "board attachment quota has been reached".
View 2 Replies
View Related
Oct 30, 2010
My wireless in fresh Squeeze install would not connect automatically. I have to click on the network manager and enter the root password to connect every time I start up. I have "Enable Networking" and "Enable Wireless" checked in the Network Manager.
System>Preferences>StartupApplications>NetworkManager --- checked
NetworkManager>NetworkConnections>Wireless>[mywifinetwork]Edit>AutomaticallyConnect --- checked
There are only 2 lines now in /etc/network/interfacesauto loiface lo inet loopbackWhat should I do to get the NM to look for and connect wireless automatically at start up
View 13 Replies
View Related
May 30, 2011
We have setup squeeze workstations with gnome, citrix receiver and vmware-view client. Which startup programs and daemons, for example avahi-daemon can be normally disabled or what is disabled on your workstations?
View 1 Replies
View Related
Jun 10, 2011
I got a problem with a Dell Latitude E5500. I can not disable the hardware beep after the gdm3 login screen has been loaded. All alsa beeps and system sounds are disabled and/or muted. I also tried setterm -blength 0, xset -b in startup scripts. They disable terminal-beeps, but not the halt or the gdm login beep. I tried wasting around with the gconftool, but nothing happened. It is an annoying sound. If you use, init 0 to shut down, no beep comes up.
View 10 Replies
View Related
Jan 18, 2010
i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi
apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>
[Code]...
View 3 Replies
View Related
Sep 25, 2010
Howto configure /boot/grub/menu.lst from Lenny to hide boot text messages during the startup?
View 14 Replies
View Related
Feb 17, 2011
I have to use pppoe because my ISP uses service names, and as far as I know the only program which lets me input a service name is pppoe (inside the pppoe.conf file). Networkmanager is buggy because it tends to disappear from the panel periodically and, worse, it doesn't reconnect (although the option is selected, it does reconnect only once).
So, for peace of mind I open a superuser terminal and enter "pppoe-start" and "pppoe-stop" to have everything I want (reconnects automatically, etc.). Now the question is: how can I have pppoe-start run at startup, automatically, without entering superuser mode, and without having a terminal open for this? Using Debian Testing (Wheezy).
View 2 Replies
View Related
May 16, 2011
I upgraded my main PC's Xfce 4.6 to Xfce 4.8 this morning.Now, every time I start Thunar for the first time after a new boot, it takes about 30 seconds to appear, and then about 10 seconds later, a second instance of it appears.After that, Thunar appears instantly every time I start it during that same session. But if I shut-down or restart my PC, Thunar again takes about 30 seconds to start up, and a second instance of it appears about 10 seconds later.
Google searches seem to indicate that people running other distros are also experiencing this problem. On advice in a different forum, I deleted the ~/.config/Thunar folder and restarted my PC, but that didn't help -- it created a new Thunar folder, but the long delay and the double-Thunars are still there every time I run Thunar for the first time in a session.
View 13 Replies
View Related
May 6, 2015
My plex media server does not work with systemd apparently but running the command below makes plex startup properly
Code: Select all/usr/sbin/start_pms &
Is there anyway to make this command run on my computer at startup.
I am running debian 8 jessie.
View 4 Replies
View Related
Jul 21, 2015
I recently installed debian testing, amd64, on my box and I am running the xfce desktop. When I login, I always get a bubble popup telling me that virtualbox is not running. Is it something I should be worried about? I use only Linux on my machine.
View 14 Replies
View Related
Sep 3, 2010
I wanted to get SystemTap running on my lenny. I use the "debian 2.6.32-bpo.5-686" Kernel. Actually my lenny doesnot support my hardware by default so I have compiled kernel modules myself to get them working. Also I have no backup so cannot really mess up with the system
View 1 Replies
View Related
Sep 15, 2010
I'm configuring a server for Zenoss monitoring over SNMP, but the SNMP process is running on 127.0.0.1:161 instead of 0.0.0.0:161, according to "netstat -an | grep -i udp".
Not sure why this is happening, but Zenoss reports that SNMP is not running due to this. My snmpd.conf file is the same as all of the other servers that are running SNMP, but this is the first Debian server I've tried to add (the other's are CentOS).
View 2 Replies
View Related
Nov 3, 2010
I am running a dual-boot of LMDE and Debian Squeeze XFCE, and I actually have a Debian XFCE question. How can I tell what is running in the background. I have been tweaking my Debian install since I first installed it about 3 weeks ago, and I keep adding to the RAM usage. What is the best way to see what else is running out there and whether or not is it necessary?
View 5 Replies
View Related