Debian :: Run A Daemon In PHP?.

Nov 18, 2010

I want to run a daemon in PHP. To this, I took a script and converted it to run my Daemon:

#!/bin/bash
PHP_SCRIPT="/usr/lib/cgi-bin/php5 -q /home/elfet/www/transmitter/websocket/server.php"
RETVAL=0

[Code]....

However, if I close the terminal with him for some reason is closed and this demon. how to add a startup this script: /etc/init.d/elf-deamon start If I write simply update-rc.d elf-deamon defaults - do not run. how to reboot demon every day?

View 5 Replies


ADVERTISEMENT

Debian :: How Autostart Daemon In /etc/init.d

Mar 26, 2010

I installed ntop and it works but I cant make it autostart with my server. I started ntop with its parameters and it works as a daemon but if I restart the server ntop wont load even if an ntop file is in /etc/init.d. I executed rcconf and it wont list ntop. How can I make it autostart in daemon with my parameters? (like ntop -d -w12345)

View 7 Replies View Related

Debian :: How To Use The Skype Daemon (CONSOLE) ?

Jan 1, 2010

I would like to call using the remote control irda (working) any ideas how to use skyped?

here is a mirror of the skyped files, for sid, ubuntu:[URL]..

View 2 Replies View Related

Debian Installation :: TeamViewer Daemon Won't Start

Sep 22, 2014

I am overseas at the moment, and the wife has been having issues with my machine. After many hours of trying to to talk her through doing things, one of my geeks suggested installing Teamviewer and doing it myself.

I have SSH and WinSCP from work. I am using amd64 so the first attempt to install failed due to unmet dependencies. Then I read the MultiArch bit, installed ai32-libs and the install seemed to work. When my wife tried to start TV, it stated that the daemon was not running. When I try to restart the daemon, I get this.....

Code: Select allroot@Champs-Desktop:/home/champs#  teamviewer --daemon restart

/etc/init.d/teamviewerd restart
Stopping teamviewerd... not running

Starting teamviewerd...method return sender=org.freedesktop.DBus -> dest=:1.242 reply_serial=2
   uint32 2

View 4 Replies View Related

Debian :: Nameserver Daemon With Smallest Footprint?

Feb 7, 2011

today i found out that my bind9 on debian 5 suddenly failed and it also consumed 100mb of RAM at most times.

nameserver daemon with smaller memory footprint to replace bind9.

View 2 Replies View Related

Debian :: Disable Snort Daemon At Start Up?

Oct 5, 2010

Code:
test@denial:~# ps -e | grep snort
18470 ? 00:00:00 snort

how do i disable snort daemon at start up? i only want it to be running when i want it to be running.

View 7 Replies View Related

Debian :: Daemon - Send Email When Directory Change?

Dec 27, 2010

Would like to know how can I put a daemon on Debian 5 that can send e-mail when the content of a specific folder change, if not possible, at least how to send a daily e-mail with the content of a specific folder.

View 4 Replies View Related

Debian Configuration :: Can't Shutdown Cups And Avahi-daemon

Nov 15, 2015

I've been using linux for a few months. Recently I have installed debian jessie and I'm learning how to secure my laptop. I have installed

Code: Select allapt-get install sysv-rc-conf

to shutdown few services that I believe I don't need at boot which I found very useful. Among others I have deselected avahi-daemon, cups, cups-browsed, etc. The problem is that, after rebooting, when running:

Code: Select allnetstat -lntup

I still find 'avahi-daemon: r' and 'cupsd' running. I have tried

Code: Select allsystemctl stop cups
systemctl disable cups
systemctl stop avahi-daemon
systemctl disable avahi-daemon

But after rebooting these services are aklways running. I do not know whta to do.

Output of netstat -lntup

Code: Select all[*]Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      250/cupsd       
tcp6       0      0 ::1:631                 :::*                    LISTEN      250/cupsd       
udp        0      0 0.0.0.0:16409           0.0.0.0:*                           526/dhclient   
udp        0      0 0.0.0.0:68              0.0.0.0:*                           526/dhclient   

[Code] ....

I'm aware that cups seems to work just for my printer but I do not understand why I can't just disable it.

View 5 Replies View Related

Debian Configuration :: Nmbd Daemon Dies After Boot?

Mar 7, 2010

I am running a recently built Debian 'Lenny' system 5.0.4.I used the gui install and asked for desktop/file server/ I created a raid 1 systemsing two similar drives.Finally I set up some samba shares to use from my (wife's) windows PC. I wanted to use PC names rather than IP adresses to access the shares so activated wins.My Debian system, called arcturus, did not appear in windows network places. After much trial and error and googling found that the nmbd service had stopped.'/etc/init.d/samba restart' reported nmbd not present, stopped smbd and then restarted both. My networking then all came to life.There is a Ubuntu forum discussion around this subject and the consensus seems that the samba daemons are starting before the network is properly established. I have installed a work-around by putting the restart line in /etc/rc.local.But I'm concerned that I have some kind of configuration error.The following is a section of my log.nmbd after setting logging to level 3:-

Initialising global parameters
[2010/03/07 14:22:56, 3] param/params.c:pm_process(569)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"

[code]....

View 5 Replies View Related

Debian Multimedia :: Notification-daemon Stopped Displaying ?

Aug 1, 2011

My notification-daemon stopped displaying the notification bubble using the position hint provided in notify-send, the notification is always displayed in upper right corner of the screen.

Example of the command line with the position hints: notify-send --hint int:x:500 -h int:y:500 asdf

I'm on Debian unstable, amd64.

View 7 Replies View Related

Debian Installation :: Error From Xend Daemon While Creating Domain

Mar 6, 2011

I get the message when I try to deploy a virtual machine in the virt-mnager.
Unable to complete install: "Post operation failed: xend_post: error from xend daemon: (xend.err "Error creating domain: device model "usr/lib64/xen/bin/qemu-dm" not found")
Unable to complete install '<class 'libvirt.libvirtError'> POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: device model '/usr/lib64/xen/bin/qemu-dm' not found")
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1555, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 973, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1038, in _do_install "install")
File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1009, in _create_guest
dom = self.conn.createLinux(start_xml, 0)
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1277, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: device model '/usr/lib64/xen/bin/qemu-dm' not found")

View 1 Replies View Related

Debian :: Unable To Open A Connection To The Libvirt Management Daemon

Dec 26, 2010

I get this error message when I open up virt-manager (logged in as a typical user):

Code: Unable to open a connection to the libvirt management daemon. Libvirt URI is: qemu:///system Verify that: The 'libvirtd' daemon has been started Manually trying to start the daemon results in: Code: error : qemudWritePidFile:508 : Failed to open pid file '/var/run/libvirtd.pid' : File exists virt-manager works just fine when I log in as root.

View 2 Replies View Related

Ubuntu :: How To Run Daemon Tools

Feb 19, 2010

but it said "daemon tools installed" so i think they are installed, but i cant find em anywhere in program center :/ im using newest version of ubuntu

View 7 Replies View Related

Software :: Does Anyone Know Of Daemon That In Essence 'does Nothing'?

May 18, 2011

I couldn't find it googling.I think I want a daemon that does nothing but keep this bash script, (specified in the ~/.xinitrc exec line) alive.I used to have my X session die with the Compiz process, but now I need to execute some things after Compiz in the script above, meaning I have to background it.I figure, anyhow, it makes sense to have the life of ~/.xinitrc depend on a process that isn't used for anything else (?).

View 9 Replies View Related

Fedora :: Running Java App As Daemon

Aug 28, 2009

I'm new to Fedora and have just purchased a subscription to a GoDaddy Virtual Dedicated Server, which I'm able to control using SSH.I have a Java application that I want to run as a daemon on this VDS. Some google searching yielded a bunch of different methods of doing this, none of which I'm sure would be guaranteed to work with Fedora, so I was hoping someone here could give it to me straight and fill me in on the simplest way of doing this.What is the best/simplest way to run a Java application as a daemon on Fedora?

View 2 Replies View Related

Fedora :: Get A Daemon To Load On Boot?

Mar 12, 2011

I was trying to get a daemon to load on boot, I stupidly added it to rc.local and it just hangs. I would love to put in a live CD and edit out the line but the volume is encrypted and I cannot get it to mount.

Is there a way I can cancel the daemon from loading or get to the grub menu (not readily visible since I am single boot) and then boot into a console?

View 5 Replies View Related

Fedora :: Run Transmission-daemon As A Different User?

May 5, 2011

i installed transmission on my fedora14 VPS for headless usage by "yum install transmission transmission-daemon", problem comes when i try to configure the init.d Scrip for transmission-daemon to run as a different user instead of the pre-specified user �transmission�,how should i modify the default transmission-daemon file bellow?

Code:
#!/bin/bash
#

[code]....

View 4 Replies View Related

OpenSUSE :: Run Script As A Daemon Under Root?

Mar 1, 2010

How do I turn a Python script into a daemon that runs under root, and starts automatically when I boot into Linux?/home/username/bin/pystromo/pystromo-remap.py -m /home/username/.config/pystromo/default.mapFailing that, how do I start the script as a background process from the console? I thought 'bg' would do that, but it only takes a pid from an already-running process as an argument.Basically I want this remapper running constantly in the background, preferably as a service. Unfortunately it currently only works when run as su, which I'm trying to fix.

View 4 Replies View Related

OpenSUSE Install :: Run An Application As A Daemon?

Feb 10, 2010

I have SLES9.I am running a Java-application named meinServer5.This app starts two application servers, one admin process and one worker process, where the admin process has to be started before and ended after the worker process:

meinServer5 startadmin // starts the admin process
meinServer6 stopadmin // stops the admin process
meinServer5 start //starts the worker process

[code]....

View 2 Replies View Related

General :: How To Send Command To Daemon

Jan 20, 2011

I have a minecraft server running as a daemon. When you run it normally (not as a daemon), you can type commands into the console. How can you get to the console so I can send it commands while it's running as a daemon?

View 1 Replies View Related

General :: Windows - Screenshare Daemon On LAN?

Jun 25, 2011

I was thinking about getting a kiosk or two I thought since monitors are facing potential customers and we'll be behind a table I'd be hard to see if something gone wrong/needs our attention. How might I capture all the machines screen on my own? I'd need some kind of daemon in the background. I may have VMs so I'd either need it to work on the OS capturing what is shown in the VM or have it installed on each VM. My machine would likely be windows. I don't need to take over and control the screen but that may be nice since I wouldn't need to walk around to fix something.

View 2 Replies View Related

Ubuntu :: How To Create A Startup Daemon

May 25, 2010

I installed ActiveMQ, set up an init.d script and was able to start | stop | restart ActiveMQ from the init.d script. However, when I tried to use:

>sudo chkconfig --add activemq

upstart seemed not to like it. Having NO documentation on how to create a daemon that works with Upstart on the Ubuntu forums, I'm wondering if anyone has any idea why my init.d script doesn't convert.I'm using Ubuntu 10.x.x but this happens on 9.x.x also.

Here is my script..

Code:

#!/bin/bash
#
### BEGIN INIT INFO
# Provides: activemq

[code]....

View 2 Replies View Related

Ubuntu :: Gdevils Pie Daemon Error?

Sep 2, 2010

gdevils pie daemon won't start. in lucid, i open from term and get the following errors

pyramid@Pyramid:~$ gdevilspie

** (gdevilspie:210: WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'[code].....

gdevilspie opens fine, and I can select and save rules, but it won't start.

View 9 Replies View Related

Ubuntu :: Deluge Won't Connect To Daemon?

Jan 17, 2011

I'm trying to connect the Deluge GTK UI to the daemon running on the same system. This worked just fine previously, but for no apparent reason I can't connect now. I have Deluge set to autoconnect on startup, but it doesn't. If I open the connection manager, it says the daemon isn't running (which isn't true; I checked), and trying to start or connect to the daemon from there does nothing.I get the following errors from deluge:

Code:
[ERROR ] 16:12:11 gtkui:343 Connection to host failed..
[ERROR ] 16:12:32 gtkui:343 Connection to host failed..

[code]....

View 1 Replies View Related

Ubuntu :: Add Database To PostgreSQL Daemon

Feb 24, 2011

While watching the text scroll by as I shut down I noticed that there is a PostgreSQL Daemon running somewhere. The question I have is, how do I add myself and my own database to this daemon or do I need to run one on my own user?

View 2 Replies View Related

Ubuntu :: Running Program As A Daemon?

Apr 10, 2011

i am trying to daemonize my (java) program on ubuntu. For that end i created a script based on /etc/init.d/skeleton script which obviously uses start-stop-daemon.

But I cannot make the process (java program) run on the background. it keeps running in the same terminal i start my daemon script. Trying --background option for start-stop-daemon does not help.

View 5 Replies View Related

Ubuntu :: MRTG Doesn't Run As Daemon?

Jul 8, 2011

I set up MRTG on my ubuntu 10.10 using this link:[URL]...Now, i am trying to set it up so it refreshes every 5 minutes... I tried program scheduled task be entering /etc/init.d/mrtg start but it does not work... I also added the RunAsDaemon: Yes line to mrtg.cfg file but still nothing. It works fine from the terminal but not from the program...

View 6 Replies View Related

Ubuntu :: Start Daemon On Login?

Aug 11, 2011

I'm creating a script that I want to run every time any user logs in (not only on the GUI, but also via SSH or via text terminal). The script will check if a daemon program is running (one per user or per session, haven't decided yet) and, if it isn't, will start it. I want this to be system-wide, not per-user. I thought about using /etc/profile (or creating a file in /etc/profile.d/) for CLI logins and /etc/X11/Xsession (same remark, Xsession.d) for GUI logins. My problem is that if the user uses a non-Bourne shell (e.g. TCSH) this won't work. Is there any initialization script that is run no matter what shell the user has?

View 2 Replies View Related

Networking :: SMB Daemon Shuts Down After About Minute

Jan 25, 2010

I am new to linux and WAS a window user. boy am i glad i switched, but still have lots to learn. Any who, currently i am working on a server for some residents at my current job. I have DNS and everything setup right and it is working. Samba on the other hand is configured right but it keeps shutting down after about a minute. it says "Dead". Ill restart the service(rcsmb start), and keep checking the status, and after about a minute it shuts down again. I have done a restart, double checked my configurations and still cant find why this is happening. (config file somewhere?)

Now since im new, im not sure what info any of you would need to help me out, so please chime in, if there is a specific file or info you need to know, please let me know and ill try my best to get it.

View 4 Replies View Related

General :: Avahi Daemon Failure

Apr 15, 2010

i am running a sabayon linux system 5.0 when i attempt to log in onto my user account it fades back to log in page. i attempted to log in on the console and it still wont do so, but the avahi daemon does have two exclamation points in red which signifies to my mind an issue with avahi.

i log in as root and the computer opens...i go to system and it says the avahi daemon is not activating..my question... do i need the avahi daemon or is it redundant?would removing avahi damage the over all operating of my computer or should i have a geek reconfigure it

View 2 Replies View Related







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