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


ADVERTISEMENT

OpenSUSE Install :: Init 3 & Autostart Of Script?

Jan 25, 2010

I use on my serwer openSuSe11.2 and init 3 /console.I need to put some commands/script

Code:
#!/bin/bash
mv /home/tcp-syn.dmp /home/eftepe/tcp-restart-`date +%d-%B-%Y--%H-%M`.dmp

[code]....

View 1 Replies View Related

Debian :: INIT : Cannot Execute /etc/init.d/rc?

May 7, 2011

I'm trying to boot Emdebian lenny on my compact flash and it shows the following errors during boot time :

Code:
Mounting local filesystems ... done .
/etc/rc.d/S35mountall.sh : line 45 : uname : command not found .

[code]...

View 3 Replies View Related

Debian Multimedia :: Autostart.sh In Openbox?

May 23, 2011

When my .xinitrc contains exec /usr/bin/openbox-session My displays will turn off like there is no video output. I cannot switch to a TTY (or at least there is still no video when I try). I can however ssh into the machine. Alt+SysRq+K does not seem to kill the X session, but Alt+SysRq+B will reboot the machine.When my .xinitrc contains exec /usr/bin/openbox and I manually run sh .config/openbox/autostart.sh everything seems to go smoothly. I really don't understand the discrepancy.

#!/bin/sh
sleep 3s;
xsetroot -solid "#303030"

[code]....

View 2 Replies View Related

Debian Multimedia :: Cannot Get Gnome Autostart Scripts To Run

Mar 5, 2016

I've tried creating .desktop entries in ~/.config/autostart and /etc/xdg/autostart, the contents as follows

Code: Select all[Desktop Entry]
Name=SetResolution
Comment=Fix resolution in VMWare
Exec=/home/me/gnome-autoruns/set_1920x1080.sh
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true

But it simply never runs, I am stuck with an incorrect resolution every time I login. (VMWare guest with virtual display does not detect 1920x1080)

The script is as follows, and works when run from the command line

Code: Select all#!/bin/bash
echo Setting mode to 1920x1080 from ~/gnome-autoruns/set_1920x1080.sh
xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 "1920x1080_60.00"
xrandr --output Virtual1 --mode "1920x1080_60.00"

script is executable to all.

View 4 Replies View Related

Debian Multimedia :: Openbox Autostart On Second Desktop?

Sep 15, 2010

Im currently fitting Openbox to my needs.I want to autostart my email-app (Icedove) on the second desktop, if possible with a given size and position.I googled that already and searched th forum, but did not find anything related to it

View 3 Replies View Related

Debian :: Akregator Won't Autostart From Fluxbox In Xandros?

Dec 22, 2010

I am running Xandros on an asus netbook. I've been trying out the fluxbox window manager. I'm having trouble getting akregator to start after login. I've been able to edit my ~/.fluxbox/apps file and can get other programs to start up just fine. here is my apps file: I added konqueror and kcalc after akregator just to see if they worked.

Code: [startup] {powermonitor}
[startup] {akgregator}
[startup] {konqueror}
[startup] {kcalc}
[startup] {minimixer}
[startup] {networkmonitor ath0 eth0}
[group]
[app] (.*[tT]erm)
[end]
[app] (konqueror)
[end]

View 1 Replies View Related

Debian Multimedia :: Autostart.sh File Is Not Restoring Things?

Jun 13, 2010

I may have posted this in the wrong section before. I had it in General Questions and wasn't getting any feedback there, so I'll try here. Okay, onto the problem...I've decided to give openbox a try with Debian testing. I set up my right-click menu exactly how I want it, and everything else is set up perfectly.I installed trayer and tint2, along with nitrogen. I added the following lines to my ~/.config/openbox/autostart.sh file, but things aren't loading/restoring as they should. Tint2 and trayer don't load at all, and nitrogen isn't restoring my wallpaper. All I get is a black screen with my cursor, but the ability to right-click and open the menu, so it's not like X is dead. I did set the default wallpaper by issuing the command nitrogen /home/john/Pictures/Wallpapers, where "Wallpapers" contains all of my background images.

Here is my autostart.sh file:
# Autostart file for openbox
nitrogen --restore &

[code]....

View 11 Replies View Related

Debian :: Background - Xterm Or Conky - Put Instance In Autostart.sh From Openbox

Feb 4, 2011

I want to put some info on my all black background, for instance i do a lot of vpn connections, so it would be cool that i do startx and a xterm console was on the background (without the window ofcourse) with the tail -f /var/log/messages or my dropbox status and so on Like tilling....but on background...i hate wallpapers

[Code]....

now a problem to do the command line above and put it for instance in autostart.sh from openbox i need to do it as sudo and give the password......damn..it will not work

View 8 Replies View Related

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory

[code]....

I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

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 View Related

Server :: Diffrence /etc/init.d And /etc/init.d/rc.d Scripts?

Jul 29, 2010

me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.

View 3 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 :: System Mixed With Init?

Aug 28, 2015

ow Debian init system is organized actually (btw i am using stretch) ? I see systemd installed, with some services run from it (systemctl shows a small list), but at the same, i still see /etc/init.d full of traditional init scripts.

View 3 Replies View Related

Debian :: How To Install A File In /etc/init.d/

Sep 10, 2010

use command dpkg -i ****.deb let my deb install a file in /etc/init.d/ what i need to change in debin/rules file?

View 9 Replies View Related

Debian :: How To Make Init Script

Aug 1, 2011

I need to start script I created every time so I created:
/etc/init.d/startflowcapture.
There I put:
flow-capture -w /var/netflow/ft 0/0/2055 -S5 -V5 -E1G -n 287 -N 0 -R /usr/local/netflow/bin/linkme

I made it executable:
chmod +x /etc/init.d/startflowcapture
But permanently adding it to rc defaults shows this error:
update-rc.d startflowcapture defaults
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K01startflowcapture' missing LSB tags and overrides
insserv: warning: script 'startflowcapture' missing LSB tags and overrides

View 6 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 :: No Init Found When Trying To Run Lenny?

Mar 25, 2010

I installed ubuntu on my dual boot Debian/Lenny and windows 7 toshiba laptop. Now when I try to boot Lenny i get the following error messages:

kinit : name_to_dev_t(/dev/sda6)=dev(8,6)
kinit : trying to resume from /dev/sda6
kinit : No resume image doing normal boot ....

[code].....

I can see the whole filesystem is there. The problem may have something to do with the boot loader. I was originally using Grub 1.5 when I just had Lenny and Windows 7, but when I installed ubuntu it has installed GRUB 2. When I use the debian install cd to go into rescue mode, all the init scripts are still where they should be. Another thing that happened when I partioned of a section for ubuntu all the dev numbers went up one. In the debian /boot/grub/menu.lst windows 7 was booting under (hd0,1) now it boots under (hd0,2) debian used to boot from (hd0,7) with root=/dev/sda8 but now it is under (hd0,8) root=/dev/sda9 in the GRUB2 menu.lst. Is there anyway to get my Debian back up and running? After 6 months of studying it at uni I am finally learning my way around and want it back.

View 6 Replies View Related

Debian Configuration :: Init Not Following Crypttab Order

Jun 24, 2010

My setup: Debian Squeeze;4 physical partitions, 3 of those create 1 volume group, 13 logical volumes within that vg; 1 unencrypted(boot); all others encrypted including swap.As stated in the man crypttab:The order of records in crypttab is important because the init scripts sequentially iterate through crypttab doing their thing.

View 2 Replies View Related

Debian Configuration :: INIT Not Running A Script?

Mar 23, 2011

I have a firewall script setup to run in rc2.d. There is a K99 for it and then an S99. The problem however, is that it isn't being called. No errors, no logs, nothing. The symlinks in /etc/rc2.d point to /etc/init.d/script, but nothing ever happens on boot or shutdown. I can manually do /etc/init.d/script start and it will start just fine, including printing a line that it is starting. What's going on here? The permissions are the same as the other scripts in the init directory, so I doubt that is a problem.

View 4 Replies View Related

Debian Hardware :: Run Alsactl Init On Every Reboot

Jun 24, 2015

I installed jessie. every time reboot jessie i have no sound and i must run "alsactl init", after run command all things work great.

View 1 Replies View Related

Debian :: Loading A Module From The Init Process?

Dec 6, 2010

recently I've updated my kernel, i had to reconfigure some stuff, in particular, the b43 module is not loading at init process, my question is: what command should I use to load it from the init? or what file should I hagve to edit?

View 1 Replies View Related

Programming :: Init Scripts In /etc/init.d?

Sep 17, 2010

I have written an init script and placed it in /etc/init.d/ directory.What I would like to know is, will the script run automatically or we need to install the script using "install_initd" command.If I have to invoke this command manullay, what will be the best place to do this ? Can I add this to "/etc/init.d/rcS" file

View 6 Replies View Related







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