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)
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.
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
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.
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 &
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
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.
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.
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?
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.....
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.
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
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.
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
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:-
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 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.
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.
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.
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?
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