General :: Running Control Scripts As Daemons ?

Jun 6, 2011

I'm working with debian squeeze in an embedded system that have an ARMv5 on it.

I need to maintain active several programs, they always have to be running, and if they die, no matter what happend, they must be launched again.

Now I have one script for each program that basically do this:

Code:

And then I call all the script from etc/inittab whith respawn. That work fine for me, but I think that there is a better way to do this...

View 3 Replies


ADVERTISEMENT

Ubuntu :: Where To Control (REAL) Daemons KDE?

Jan 30, 2010

Anyone knows where I can control daemons startup on KDE? On systemsetting there is only KDE daemons, I want to control startup of crond/mysqld/apache2d and son on.

I want something like this from Gnome

View 3 Replies View Related

General :: Filtering Daemons List?

Feb 10, 2011

How do i filter the daemoms list for just 1 letter and then turn off certain run levels for that daemon?

View 2 Replies View Related

General :: Automatically Disable Some DAEMONS In /etc/rc.conf?

Aug 25, 2010

trying to automatically disable some DAEMONS in /etc/rc.conf. This requires inserting ecxlamation signs itno the file. The example command

Code:
echo Hi?|sed 's/?/!/'
returns "unterminated `s' command".
but

Code:
echo netfs|sed 's/netfs/!netfs/'
returns !netfs as expected.

Where does the difference come from?

View 4 Replies View Related

General :: Back Out Of The Daemons Config Screen?

Feb 15, 2011

how to back out of the Network/Daemons configuration screen, so I can return to the install menu.I just tried the CTRL-O -> <CR> CTRL-X, it did not work.

View 2 Replies View Related

General :: Give Web Application/daemons File Permissions?

Dec 4, 2010

I have a web application which calls scripts on the linux box it's deployed on. Currently, there are some file permission issues which prevent the scripts from running properly. How can I give my web application the needed permissions? I thought of creating a user 'group' , assigning my web app to that group, and changing the ownership of the script files to the new group. Unfortunately, I'm having trouble with the following: What user id does my web app have? If my web app does not have an user id,

View 3 Replies View Related

General :: Debian Lenny Won't Startup Koha Daemons At Boot

Oct 11, 2009

I have installed Koha on Debian Lenny. It does work well, but I have to manually start the koha-zebra-ctl.sh by entering /usr/share/koha/bin/koha-zebra-ctl.sh start The is, however, that this starts at boot from /etc/init.d/koha-zebra-daemon. Like /etc/init.d/koha-zebra-daemon start (does not work now) In the koha-zebra-daemon file I have:

#!/bin/sh
# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh
set -e
# Must be a valid filename

[code]....

I have made a symbolic link;

ln -s /usr/share/koha/bin/koha-zebra-ctl.sh /etc/init.d/koha-zebra-daemon

I have tried checking whether the symbolic link exists with readlink, but this never seems to return anything anywhere.

View 6 Replies View Related

General :: Backup Daemons Or Mdadm RAID Across Internal And External HDDs?

Aug 15, 2010

I'm building a new desktop computer, on which I plan to install Debian Squeeze. I'll have a 1 TB SATA hard drive in the system. I'm also considering using two 500 GB external USB drives, but I'm debating about how I want to use them. Running them all separately for 2 TB of space could be a nightmare, with three potential points of failure, so I was thinking of using the two external drives as a backup system instead.

I'm considering linking the two external drives in a RAID 0 array, then linking that array and the internal drive in a RAID 1 array. I would use mdadm software RAID for all of this so I could use individual partitions in the arrays, avoid hardware dependency, and have greater software control. So now is this feasible to do (having a partial RAID 0+1 setup)? Moreover, what kind of performance could I expect from using potentially slow external drives (one of which I know has a very long spin-up time after idle periods) in a mirroring setup with the internal drive?Would I be far better off using a filesystem backup daemon instead?

EDIT:After some more research and brainstorming, I've decided I might just end up using rsync+cron, lsyncd, or DRBD (assuming it can easily make backups locally). I'd probably have to link up the external drives in RAID 0 (or use some filesystem link trickery). But I suppose such a setup would offer greater control, flexibility in disk capacities (the full system isn't so strictly limited to the capacity of the smallest member of the array), and granularity than RAID 0+1 would.I'm still open to thoughts on the mdadm RAID 0+1 solution, but does anyone have any advice on choosing backup software? For some background on my needs, I'll be using this computer as both an everyday desktop and a personal LAMP server (MySQL database files would be included in the backups).

View 6 Replies View Related

Ubuntu :: Remote Control Daemon Not Running

Feb 15, 2010

I am trying to use my Apple Remote Controller that came with my iMac 4.1. I did some research and on the Ubuntu site it said that its possible with a application called Infrared Remote Controller. It detected from the hardrive which version I had etc but than a error message appeared on the bottom saying:

Warning: Remote control daemon not running.

How can I activate this? I included a screenshot!

View 1 Replies View Related

Programming :: Running Commands In Control Structures?

Apr 25, 2011

how to run a linux commands in shell programming using control structures.

View 1 Replies View Related

Ubuntu Multimedia :: Control Vlc Running Video From Another Computer?

Mar 21, 2010

I have one laptop connected to my tv. It has all the videos on it. ther laptop(actually a netbook) that I have set up to do light browsing on. Both are running ubuntu 9.10. I would to be able to remotely control vlc running on the laptop connected to the tv from the netbook. I have been searching for a while and have found hints that this is possible, but everything either refers to streaming from one machine to another or doesn't give enough examples to figure it out. I have tried enabling the http interface, but I can't access this from another computer.

View 9 Replies View Related

Ubuntu :: Remote Control Running At Work From Home PC?

Oct 12, 2010

I have an Ubuntu 10.10 running on a pc at work. On my Windows pc I can use a free utility called Teamviewer which you run on the pc (no install needed) and then you connect without any need to VPN into my work network.

So, what would be the best way to connect from home and remotely connect to my Ubuntu system at work?

View 5 Replies View Related

Debian Hardware :: Fan Control On Supermicro 6027R TRF Running Wheezy

Oct 10, 2014

On a Supermicro 6027R TRF, I run the latest Debian Wheezy. I have a problem with the server, because I cannot control fan speed anymore.

My plan was to control the drive bay LEDs via software, so I installed i2c-tools and ledmon packages. While I was at it, I also installed fancontrol and lm-sensors.

Then I ran the Superdoctor program (distributed on the Supermicro website) that prints information on fan speed, temperatures and system voltages. I ran it only once by executing the command "sdt" as root. After the command completed, the 3 system fans started spinning at max RPM. And this is extremely noisy! The program had run before, but without spinning up the fans.

Since then I didn't manage to regain control of the fans. Even after a reboot the fans start to speed. Also, removing the installed packages again does not work.

I also tried to control the fans with the fancontrol package, but this fails because I do not have a correct fancontrol config file. I am supposed to run pwmconfig first to create such a file, but this fails as well ("/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed")

I have collected the output of sensors-detect, sensors and pwmconfig here: [URL] ....

View 1 Replies View Related

Ubuntu :: How To Control Running Instance MPlayer From Bash Script

Nov 23, 2010

I am starting an instance of mplayer from a bash script, opening an audio stream:

Code:
mplayer [URL]

How do I do to control this mplayer instance from another script? I want to control volume and pause it from within the bash script. I know the commands for doing so from terminal, but once mplayer gets started from the script, how do I 'direct' the commands to that specific mplayer instance?

View 9 Replies View Related

Ubuntu Multimedia :: Control Fan Speed When Running Text Only Mode?

Aug 23, 2011

I often run my ubuntu as SSH server only so i stop GDM when i do that, but i found out that after i stop gnome, my ATI gpu fans spins up like crazy and sounds like a jet plane, (i have ati closed source driver installed) i am worried to leave the fan on like that, so i have to start a X session again. Then the fan slows down I would like to be able to have slow fan speed when i drop to text mode only, one is its light weight, two is for security

View 3 Replies View Related

Ubuntu :: Daemons Being Killed On Logout?

Jan 20, 2011

How do I prevent ubuntu from killing my server daemons on user logout. I have the user irc which I run Unrealircd on but unfortunately I have to be logged into that user in terminal to keep it running, the moment i exit it loses connection in xchat.

View 9 Replies View Related

CentOS 5 Networking :: Daemons Is Not Responding

Jun 4, 2009

The server is a Dell 1650 1U server, which a fresh install of CentOS 5.3, formatting the drive in the process. It has two e1000 NIC's and based on the wiring eth0 is the public segment and eth1 is the private segment.Both nic's make a solid 100mb connection to the cisco switch, and I can ping both interfaces "just fine".

If I run nmap on a remote PC that is also dual-homed in this fashion, I get the same response as to which ports are open (essentially everything since I disabled iptables temporarily to troubleshoot this issue) on both interfaces, which would be the expected result.But... and here is the source of my confusion... I can see the server by pinging it, I can use SSH to make such a connection and log in, but I cannot get apache to "answer the phone" so to speak.Runing "tcpdump -i eth0" shows me that my browser on a remote PC is attempting to connect, but without reply.If I send my browser to the ip address of eth1, I get the default CentOS new web server page as is the norm.Nothing shows in my /var/log/httpd/access_log or error_log at all... apache simply isn't answering.The httpd.conf is the original, and the one line I attempted to 'adjust' was the "listen 80" line, which I added the ip addresses specifically, but that didn't change anything.I am unsure how nmap can indicate the port is open and there is a service behind it, when on the same PC that ran nmap, I cannot connect at all.Might anyone have a clue to toss me so I can work to figure this out?

View 1 Replies View Related

Fedora :: 10 Show Daemons Loading At Boot?

Feb 2, 2009

Just installed FC10. I edited the /etc/inittab to start FC at the command prompt. However, how can I change the boot so that I can see the daemons loading not just that graphical bar at the bottom of the screen.

View 3 Replies View Related

Slackware :: : Automatic START Of 3 Daemons At Boot?

May 17, 2010

I'm loging my slackware as a simple user After each reboot I need to start cupsd for my printer nfsd and mountd to export my shared directories I use init 4 for my desktop I would like these services to start always without the konsol and the command lines.

View 8 Replies View Related

CentOS 5 :: Make Daemons Dump Core?

Oct 22, 2010

I modified the following files according to all I found after googling the net:

/etc/security/limits.conf
* soft core unlimited
/etc/profile
ulimit -c unlimited[code]....

I don't get a core file when I kill -11 <pid_of_sleep>

System is centos 5.3

View 3 Replies View Related

Fedora :: Selected Important Daemons Unable To Start?

Feb 2, 2011

Haldaemon, pscd not starting... cannot force to start. Do not start when running service pscd start. Just failed. Boot message is below:

Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK ]
Enabling /etc/fstab swaps: [ OK ]

[code]...

View 14 Replies View Related

Slackware :: How To Stop Starting Daemons At Boot Time

Dec 28, 2009

How to stop starting daemons at boot time? For example:rc.bluetooth

View 3 Replies View Related

Fedora :: Errors - Alerts Booting F13 - Default Daemons Config ?

Dec 22, 2010

I receive these alerts when booting.

What do they means?

Why some daemons find for config on a non-existent file (/etc/modprobe.conf)?

Maybe because these daemons was disabled and reenabled?

Code:

Code:

And hostname command output is "localhost.localdomain".

Where I can find daemons' default setting list?

View 1 Replies View Related

Ubuntu :: System Hangs On Boot When Stating Samba Daemons

Feb 7, 2010

My system was working fine. I followed a thread online to try to get samba to share better, installed "winbind" and now I can't get passed "Checking System Files" on boot up.

Upon boot, "Checking System Files":
Starting Firestarter firewall .... fails.
Starting samba daemons _ .... Just hangs there forever

Is there a way to get back into my system so that I can uninstall winbind, firestarter, or samba if need be?

View 1 Replies View Related

Ubuntu :: Tried To Copy Include Directory From G++ - After Few Minutes All Daemons Crashed - Now Can't Boot Normally

Nov 13, 2010

I have a little problem here. I tried to copy include directory from g++ to a place where it suppose to be and when i couldn't because of the rights i wrote something like this in the bash:

Code:

Code:

cause i hate when I can't do what I want without tiping command

After few minutes all daemons crashed and now I can't boot normally

in console i've tried

Code:

And that stopped on /prc/756 directory

Well now i can boot normally but most of programs are not working, i can't get to the internet? and it looks like there is no way to become a root cause there is no sudo/

Can i reinstall ubuntu and keep all packages and files on its places?

View 9 Replies View Related

Networking :: Connect To A Vpn Server - The Required Daemons - Pppd And Pptpd - Aren't Availabale

Apr 12, 2010

I want to connect to a vpn server and I'm using debian 5.

I installed Kvpnc package but when I try to make a new profile I choose "Microsoft pptp" as vpn type and I receive the following message: the required daemons (pppd and pptpd) aren't availabale

Is there anyway to download required daemons in another computer and use them in my computer (I'm worried about dependencies)?

View 3 Replies View Related

Fedora :: Lost Volume Control / Internet And Battery Indicator From Control Panel On F11

Jul 15, 2009

I feel little silly asking this, I accidently removed from my gnome panel my internet connection, volume control and battery indicator on F11. how can I add this back. It does not show up in the add to panel menu and the applications do not give you back the default feel.

View 1 Replies View Related

Ubuntu :: Control-c - Control-v - Copy And Paste Functions - Stopped Working

Jan 19, 2011

I don't know how this happened, but my keyboard copy and paste functions have stopped working. Oddly enough, I discovered that I can only copy and paste by using the third mouse button. Pressing down on the scroll wheel after highlighting text copies the text, pressing it again pastes it Ican still use the Edit-copy and Edit-paste menu functions.

I'm sure it has something to do with all the tinkering I have been doing with my desktop. I have been experimenting with CompizConfig and Cairo dock, changing my themes and things of this nature.

Ububtu 10.04.1
kernel 2.6.32-27 generic

View 7 Replies View Related

Hardware :: Control Cpu Fan Speed - No Fan Control With BIOS - Acpi - Lm-sensors

Dec 31, 2010

I cannot get any fan information from 'lm-sensors' or 'sensors', I tried to run 'pwmconfig' and got this:

Code:

Code:

But I have no tools to control the fan speed from 'acpi'. in particular '/proc/acpi/fan' is an empty directory.

There are no fan info/controls in BIOS either.

I believe the fans do not work as fast as they should and I am trying to find a way to fix this before the cpu cores are melted down from overheating.

Laptop information: HP Pavilion dv2500t

Code:

View 14 Replies View Related

Debian :: Sound Not Card Configured - Error 'Volume Control Did Not Find Any Elements And/or Devices To Control" - Driver

Feb 8, 2011

Laptop is Dell Latitude C600/C500 with Pentium III 850Mhz, 256Kb L2 Cache, 256MB RAM, ATI M3 video card, HD 20005 MB and sound card is EES Maestro 3i. After trying to do something with Windows 2000 which was installed on the machine, I decided to put Linux without keeping windows on the machine. First I try with Xubuntu (latest version) which was working but slowly, then I found that Debian could work fine on that machine. I have installed latest version 5.08 and was surprised how goodly old machine can work. I solved problems with screen resolution (change from 800x600 to 1024x768) but I couldn't find solution how to fix problem with sound.

Actually I don't have sound on the machine. I looked for a linux driver for that sound card and Dell is only providing windows drivers. Then I found that I can solve the problem with ALSA drivers but I couldn't find the easy way (or any way at all) to install drivers and to get back the sound. When I click on 'Volume Control' (top right corner of the screen) I get the message: 'Volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured.'

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved