Debian :: Rc.d Permanently Stopping Processes ?

Feb 21, 2011

I will be switching to Debian soon and have been forming a large script with a vbox test system to automate my system configuration when I switch.

When I install lamp (Or basically it's equivalent packages) apache and mysql start up automatically.

I could just use update-rc.d to remove the autostart but whenever there's a security or feature update for the package the files get replaced.

In addition, for some reason the system thinks it's a good idea to autostart half a dozen apache2 processes at the same time, sucking up a good 150Mb ram when not doing anything. (Anyone know why?)

How would I stop my system from doing this? Could I "chmod 000" the /etc/init.d files?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Get A Handle On Starting / Stopping And Managing Processes?

Sep 17, 2010

I'm trying to get a handle on starting/stopping and managing processes. I was playing around with rcconf and things I disabled (or enabled there) didn't take effect. I found the initctl command, so that led me to believe I'm using Upstart instead of all the rc and init directories. Is there any way to tell? Could I be running both? I'm running an Ubuntu 10.04 server.

View 1 Replies View Related

Ubuntu :: Boot Hangs On "Stopping Save Kernel Messages" Or "stopping System V Runlevel Compatib?

May 16, 2011

Boot of a new minimal system hangs on "Stopping save kernel messages" or "stopping system v runlevel compatibility". I have ubuntu minimal iso x86_64 from usb stick created with unetbootin (don't have a cd drive on the machine in question), and after that I didsudo aptitude install gnome-terminal network-manager-gnome gdm geditsudo rebootnever got a system back. Annoyingly I can't boot into the recovery mode either, and it seems the keyboard is only semi-responsive (i.e. many dead keys when at the grub menu).qualms about reinstalling, but I've done this a few times and ended up at the same place every time.

View 6 Replies View Related

Debian :: Stopping Aptitude Upgrading A Package?

Jan 29, 2010

I've build a package using dpkg-buildpackage but whenever I run aptitude safe-upgrade it upgrades the package I compiled as well even though it's the same version is there a way to tell it to leave it alone?

View 3 Replies View Related

Debian :: Stopping Specific Dependancies From Being Installed?

Jul 29, 2010

I am trying to install freemind without it downloading and installing openjdk as a dependency as it makes freemind run very, very slow. I have already installed sun-java-jre as a substitue but debian still wants to install openjdk.Any ideas how I can stop this? Also, should I assume that sun-java-jre is not installed properly as debian thinks the dependency is not met? I installed sun-java-jre with the auto bin file downloaded from the sun site. It is installed in /usr/java, is this right?I love debian! It's much faster and more robust then Ubuntu, even with squeeze testing (current version). Just a bit of a shock have to do some basic config myself.

View 2 Replies View Related

Debian :: Full-upgrade Fails At Stopping Fancontrol

Jul 11, 2015

summary: `sudo aptitude full-upgrade` (to jessie) ran long time before hanging @

Code: Select allSetting up fancontrol (1:3.3.5-2) ...
Installing new version of config file /etc/init.d/fancontrol ...
[ ok ] Stopping fan speed regulator: fancontrol.

Killing the job produced damage detailed below. How best to proceed?

details:

I'm upgrading a 7-year-old 64-bit Clevo/System76 laptop to jessie. My first run of `sudo aptitude full-upgrade` ended after fetching packages, with the following lines ending the console spew:

Code: Select allGet: 2051 http://http.debian.net/debian/ jessie/main user-setup all 1.61 [196 kB]
Fetched 1,816 MB in 17min 38s (1,715 kB/s)
E: This installation run will require temporarily removing the essential package python:amd64 due to a Conflicts/Pre-Depends loop. This is often bad, but if you really want to do it, activate the APT::Force-LoopBreak option.
E: Internal Error, Could not early remove python:amd64 (2)

So I started a second run with `sudo aptitude -o APT::Force-LoopBreak=true full-upgrade`. I left it running overnight, checking back periodically to OK overwriting `/etc/*` files with package-maintainer's versions. Friday I checked the box ~0900 and found

Only GUI application running was `gnome-terminal`, with the upgrade running in a single tab. This was working as intended, since I closed all other apps, and all but one `gnome-terminal` tab, before starting the upgrade. desktop environment (DE)=Cinnamon (also as intended) mouse was non-responsive: swiping the touchpad produced no movement keyboard appeared non-responsive (but more on that below) internal fan was running apparently full-speed (certainly as loud as I've ever heard it) console spew ended with the following 3 lines:

Code: Select allSetting up fancontrol (1:3.3.5-2) ...
Installing new version of config file /etc/init.d/fancontrol ...
[ ok ] Stopping fan speed regulator: fancontrol.

I left it running in hope the upgrade would recover, but after 7 hours nothing had changed, so I attempted to kill the job. The following all failed:

invoking shutdown via desktop menu (neither mouse movement nor pressing Super key produced any change) C-c/Ctrl-c in the terminal tab (nothing changed in the GUI) A-F2/Alt-F2 (trying to run another `gnome-terminal` to run `sudo shutdown -Ph now`, but no dialog appeared) C-A-F1 (to goto tty1 and run `sudo shutdown -Ph now`, but again no change in GUI/X)

The good news is, the box did reboot after `A-SysRq-[REISUB]`, though only to tty1. From there, `sudo dpkg --audit` produces these results.

So obviously the upgrade is incomplete; how best to resume it, or to debug the current situation before resuming? I'd prefer to fix the problem with `fancontrol` before proceeding, since the previous `full-upgrade` was quite long-running.

FWIW I also recorded the packages that the previous/broken `aptitude full-upgrade` wanted to {add, remove, upgrade}, and note that package=`fancontrol` is one that `aptitude` wanted to upgrade. So I'd like to know if I should just

Configure unpacked-but-not-yet-configured packages as directed by `dpkg --audit` reconfigure only-half-configured packages as directed by `dpkg --audit` process triggers for packages awaiting processing of triggers as directed by `dpkg --audit` reinstall packages missing md5sums as directed by `dpkg --audit` create a list of packages to remove (from those listed in the previous upgrade) add `fancontrol` to that list run `sudo aptitude remove [list of packages]` from tty1 create a list of packages to add and upgrade (from those listed in the previous upgrade) delete `fancontrol` from that list run `sudo aptitude install [list of packages]` from tty1 rerun `sudo aptitude full-upgrade` from tty1 (hoping that cleans up any remaining upgrade work, and does not try to reinstall package=`fancontrol`)

View 13 Replies View Related

Server :: Stopping Automatic Disc Check In Debian?

Sep 7, 2010

Whenever my debian based server is rebooted 35 times it does an automatic disc check. When it does this and completes the disc check it doesn't properly establish network comms and I can't get in using SSH and I can't even ping the server.If I reboot again, it operates as normal but the problem is that the server is remote to me and I need to travel to the site when this occurs.

View 6 Replies View Related

OpenSUSE :: Stopping The Screen Saver And Stopping The Screen Locking?

Jan 23, 2011

In December I finally filled up my root partition and broke Suse 11.1. I therefore resized my partitions and installed Suse 11.3 on /root. I didn't not touch my /home partition.

I notice that when I leave my machine and come back the screen has locked. I have tried to turn off the screensaver, but it hasn't worked. I have Googled, but unfortunately the screen shots don't look like what I have and the instructions to stop this do not seem to match what I am seeing on the screen.

Is there a way to do this via the command line?

View 7 Replies View Related

Debian Configuration :: Starting/Stopping A XEN VM Kills Network For 30 Seconds

Jul 13, 2010

I'm having trouble working with Xen on debian, I have many centos servers running Xen and have no problems. Everytime I start or stop a XEN vm it kills networking on the host OS for about 30 seconds. It doesn't respond to pings or anything, then it returns and everything works. I have asked about this issue in #xen on freenode.

View 3 Replies View Related

Debian Hardware :: Sdparm Not Stopping SATA Disk In Squeeze

Feb 9, 2011

I recently updated from Lenny to Squeeze. In Lenny I used to spin down my internal SATA backup drive like this:

# sdparm --command=stop /dev/sdb

It worked well in Lenny, but it doesn't work in Squeeze:

XXXX:~>sudo sdparm --command=stop /dev/sdb
/dev/sdb: ATA       WDC WD2500AAJS-2  01.0

All I can hear is a click indicating drive head movement but the disk keeps spinning.

View 1 Replies View Related

Debian Configuration :: Permanently Add Boot Parameters?

Mar 12, 2011

I installed Debian 6 last night on an older Compaq. For the system to properly reboot and shutdown when requested, both acpi=force and reboot=warm must be in the boot parameters, this was required with other Linux distros installed on this hardware. Otherwise, the system erroneously shuts down when reboot is chosen.

I would like to know how to permanently add these so they pass each time the system is turned on.

I already added these to /etc/default/grub (and ran update-grub afterwards) and at the next startup, noticed they were NOT in the parameters when "e" was pressed at the boot menu.

View 5 Replies View Related

Debian Configuration :: How To Disable Swap Permanently

Apr 3, 2011

So from a web server stand point if we start using swap for httpd or mysql its bad and performance goes down the drain. So would it be a good or bad idea to disable swap entirely?

View 2 Replies View Related

Debian Multimedia :: How To Permanently Set A Custom Resolution

Oct 23, 2015

I just installed Debian 8 (loving it so far) and everything its working right except for one thing: The monitor resolution!

I've got a LG 22 inch monitor and it supports up to 1360x768 but the display settings only shows 1024x768 as max resolution. Doing a little research i was able to get the desire resolution (1360x768) through the use of the tool "xrandr". The problem is that the resolution its not permanent and i need to invoke the xrandr script (i wrote a very basic "script" to set the resolution) on every restart or session logout and of course this is annoying. I've tried to use "crontab" to invoke the script on every restart but for some reason did not worked.

So, making more research i saw that apparently the correct way to set the resolution is by making use of "xorg.conf" but didn't quite get how to do....

Here's the xrandr script that i use:

Code: Select allOUTPUT=VGA1
MODE=1360x768
MODELINE=""1360x768"   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsyn$

xrandr --newmode $MODELINE
xrandr --addmode $OUTPUT $MODE
xrandr --output $OUTPUT --mode $MODE

View 4 Replies View Related

Debian Hardware :: Polkitd Permanently Using About 17% Of CPU Performance

Oct 3, 2014

How to start. I know the problem is polkitd. But how can I analyse the source of the problem more deeply? Something is calling polkitd permanently, but how can I find out which process it is? My system resources are limited.

View 1 Replies View Related

Debian Hardware :: How To Disable Bluetooth Permanently

Oct 1, 2010

I have problems with a high pitch noise on my lenovo thinkpad t61. Seems that more people have the problem: [URL]... When I stick in my usb mouse, problem is gone. I only have this problem on battery. when posting this rmmod uhci_hcd seems to solve it. How to make that permanent? How do disable bluetooth permanently?

View 1 Replies View Related

Debian Configuration :: Permanently Disable The Input-device

Jul 31, 2011

my thinkpad Edge 11 has some problems with the touchpad and the trackpoint, so i want to permanently disable the touchpad, but not the TrackPoint. Both are PS2 devices.

/dev/input/mouse0 --> TouchPad
/dev/input/mouse1 --> TrackPoint

How can i disable the device? In X it does not work with gpointing-device-settings

View 2 Replies View Related

Debian Multimedia :: Permanently Remove Gtk-3.0 Folder In Wheezy?

Sep 1, 2011

There is a folder in my home titled 'gtk-3.0,' which continues to reappear even after I have deleted it. The reappearance of the folder seems to occur after using lxappearance to change the themes. I will not be participating in the headaches of the switch from gtk2 to gtk3, just as I did not participate in the headaches of the switch from KDE 3 to 4. So the following are my questions;1. Is it possible to permanently delete the gtk-3.0 folder so that it can not ever reappear in my home? (And why is it appearing there anyway? Shouldn't it be hidden with a dot?)2. If I can not prevent this folder from appearing in my home, is there a setting I can use in Wheezy to block gtk3 libs and apps from installation? Presently, the only gtk3 lib or app shown by aptitude search is libcanberra-gtk3-0, but I can't remove it due to notification-daemon dependencies.3. If I switch from all gtk2 apps to all KDE apps will that solve the problem of gtk3 placing a completely unnecessary folder in my home?

View 2 Replies View Related

Debian :: Permanently Change Locale From POSIX To En_GB?

Apr 3, 2010

All my LC environment variables are currently set to POSIX at boot, though I can't find the startup script that does this. I've grepped through /etc/rcS.d and /etc/rc2.d but no luck. In /etc/default/locale, LANG is set to en_GB.UTF-8, which is my preferred locale. But this doesn't stop all the LC's being set to POSIX. Consequently, my dates follow the American convention, which I find hard to read.

I tried resetting with update-locale LC_TIME=en_GB.UTF-8. This changed all the locales to en_GB but only for the session. When I rebooted, everything went back to POSIX. The only change is that en_GB.utf-8 is now in the /etc/default/locale file as the value of LC_TIME as well as LANG.

View 2 Replies View Related

Debian Configuration :: Annoying Screen Artifacts Are Permanently Appearing?

Feb 4, 2010

every now and then there appear ugly artefacts on my screen. Until yesterday it happened every five to ten minutes; now it happens every few seconds. It is no fun to work with such a system, it is extremely annoying... The artefacts remember me on the artefacts you had 20 years ago when you overwrote an analog VHS-cassette a hundred times, except that the screen looks perfect between the moments the ugly artefacts are present. My notebook is a cheap Acer Extensa 5230E, exact specifications is being made public by my vendor: [URL]

user@host:~$ uname -r
2.6.32-trunk-686
(the same problem with the old kernel 2.6.30)

Here is some /var/log/messages output that might be useful:

Feb 4 04:27:17 host_system kernel: [ 233.292624] tg3 0000:02:00.0: PME# enabled
Feb 4 04:27:17 host_system kernel: [ 233.292633] tg3 0000:02:00.0: wake-up capability enabled by ACPI
Feb 4 04:27:32 host_system kernel: [ 248.387813] ADDRCONF(NETDEV_UP): wlan0: link is not ready

[code].....

View 4 Replies View Related

Debian :: Hidden Processes On Squeeze X86?

Jul 18, 2011

This morning I ran unhide on my Squeeze x86 netbook. The brute force process detection came up with ahidden process. Repeated runs of unhide with the system in various states continued to show the process,but with a different PID each time.(Or maybe it was spawning new processes and killing itself every second or so. A newer version of unhide,which I compile from source, did describe the process as "maybe transient" or omesuch. Anyway, I've unhide on Squeeze before, and I know that detection of any hidden process is absolutely not normal.)Also, rkhunter found some hidden directories. Of particular note, I think, is /etc/.java, which contains evenmore hidden stuff. It *might* be system-wide preferences for the JVM, but somehow I doubt it.

So, I have two questions...1. Do I really have a rootkit or trojan infection? It looks like it, but I want confirmation that I'm not chasingphantoms. (Or that I am, whichever.)2. If so, how can I prevent a recurrence? FWIW I was running without iptables or any other firewall, but I madesure all my ports were closed; and I did most of my browsing through Chromium, which should have pretty

View 7 Replies View Related

Debian Configuration :: ZTE MF112 Modem Setup - Light Stays Permanently Red

Oct 1, 2010

I recently got an upgrade from my mobile broadband provider (3 UK) that included a ZTE MF112 modem. I found that (unlike the Hauwei modem that preceeded it) this item did not work "out of the box". After a bit of googling around I decided that a good starting place would be to upgrade the OS on my laptop. I've been meaning to do this for a while anyway so have just installed Squeeze (the i386 version, on Thinkpad x61). I think it's now pretty close to working "out of the box" but annoyingly isn't quite there. I thought of getting a ZTE modem to work say that usb-modeswitch needs to be used to make it not load as a cdrom. However, it appears to load correctly without any alteration (in fact, adding the /etc/udev/rules.d/zte_eject.rules file I have found described appear to do the reverse and make it load as a storage device - at least an icon for it appears on screen).

lsusb correctly lists it as device 19d2:0031 and identifies the device as a ZTE MF636 (though it says MF112 on the package). Looking at the Network Connections tool there is an entry for 3 mobile that is, afaik, correctly configured. If I click on the network applet on the toolbar, there is a bit of contradiction: towards the top of the drop-down list it reports mobile broadband as not enabled, but further down under the "available" list is an entry for "3 internet". I haven't paid too much attention to the not enabled entry because it also reports the wired network as not managed, so maybe this is just a quirk of network manager. - I know you have to comment out eth0 entries in /etc/network/interfaces to have network manager deal with the interface in Squeeze. There are no entries for the mobile connection in the interfaces file.

If I click on the 3 internet entry the applet goes momentarily into trying to connect mode (the circling dot) but very quickly pops up a Disconnected box, and that's all that ever happens. I note that the light on the modem stays permanently red. On the old Huwei it started green but went blue, and I think I read something about it also changing colour on the ZTE. On the other hand, the Hauwei didn't show up on the network manager list until the light had turned blue, whereas this does seem to be there. It looks as if the problem is something fairly trivial since the device appears to be both recognised and (almost!) correctly configured. How to sort this.

View 3 Replies View Related

Debian :: Monitor Abd Record Processes Activity?

Nov 11, 2015

I need something to monitor and record the activity of the top 5 processes in terms of CPU usage and load average during a specific timespan. I'm having some spikes in the morning and just realized it's not always at the same time so it's hard to get up and watch the processes with top. I need something that records CPU usage and load average of the processes from 4AM to 9AM (for instance) so I can debug the process that it's consuming my CPU and spitting +80 e-mails with monit each day.

View 2 Replies View Related

Debian :: How To Log (Remaining Processes) Of Systemd-shutdown

Mar 22, 2016

How to log "remaining processes"? How to know their names?

Code: Select allsystemd-shutdown[1]: Sending SIGTERM to remaining processes...

View 4 Replies View Related

Debian :: Running Boot Processes In Parallel?

Apr 5, 2011

Does Debian 6 "Squeeze" automatically run boot processes in parallel if not how do I

configure it to do so. Here is the quote from my /etc/init.d/rc :
# Specify method used to enable concurrent init.d scripts.
# Valid options are 'none' and 'makefile'. Obsolete options

[code]...

View 2 Replies View Related

Debian :: Suddenly High IO From Random Processes?

Jun 27, 2011

I try to open an application, and it's painfully slow, and i think "this is weird i've had it open just 10 seconds ago and it should be in the cache". the disk is constantly working, so maybe i ran out of ram and it's swapping, so i check: according to 'free -m', about 200m of 2g ram is used (without buffers/cache), but still also 200m of swap is used, although swappiness is set to 1 (low tendency to swap). so this is not normal.also, kswapd0 is eating pretty much cpu (but not 100%). switching to tty1, logging in, and starting iotop takes about a minute. according to iotop, about 8 random processes (could be a browser, could be some daemon) have 99% IO activity (i'm not sure what that means, how can 8 processes take 99% each?).after the first 3 times, i disabled swap by adding swapoff -a to rc.local, but it's still the same, and kswapd is still among the cpu-eaters.

View 4 Replies View Related

Debian :: Htop Showing 50+ Processes Of /usr/sbin/console?

Jun 16, 2011

This might be nothing but when booting a computer directly into the console (tty), and running htop, I expect the list of running processes to be very short, but it turns out I have more than 50 instances of /usr/sbin/console-kit-daemon --no-daemon running (see screenshot below). Is this normal?

View 2 Replies View Related

Debian :: Synaptic/update Manager Causes Duplicate Scim Processes?

Jan 18, 2011

[rant]Ok, I've been ignoring this for a couple of months, but now it's gotten to me and I want to know what's causing it.[/rant] Here's my problem. I have scim 1.4-9 (latest) installed for Japanese input. It works fine. I have no problems with it. However, when I launch Synaptic or update manager a duplicate instance of scim starts.This is on Debian Squeeze. See below:

Fresh reboot:

Code:

scim-bridge 34.2MIB
scim-helper-manager 32.7MIB
scim-launcher x2 47.8MIB, 165.4MIB
scim-panel-gtk 153.2MIB

After launching Synaptic or Update manager:

B signifies before as above

Code:

B scim-bridge 34.2MIB
scim-bridge 34.2MIB
B scim-helper-manager 32.7MIB
scim-helper-manager 32.8MIB

[code].....

It's not a huge deal, because when I close said programs, the duplicate process stop. I just find it odd because these are the only two programs that seem to cause it. Oh, and I'm using Gnome, if that matters.

View 2 Replies View Related

Debian :: Utility For Stop All Dispensable Processes Giving Maximum Resources For Games?

Sep 6, 2010

Are there a utility for stop all dispensable processes giving maximum resources for games ?

View 1 Replies View Related

Debian Installation :: "permanently" Change The Mount Point?

Feb 11, 2011

I recently installed Squeeze and it was simple and is running great. I have a usb fat32 drive that shares data on 3 partitions with winxp. None are listed in fstab. They all are mounted in /media.2 partitions, Video and Music, are shown in gparted as mounted by their volume labels, which is what I want; eg /media/MUSIC. The DATA volume is mounted by its' uuid. This is how it is displayed on my desktop. The other 2 volumes display the way I want: MUSIC and VIDEO. I have changed the mount point in /media to the label name:/media/DATA but it returns to its' uuid after reboot. How can I change it to display the label name? It works fine, but I have a need to "tidy up" my desktop.

View 5 Replies View Related

Ubuntu :: Stopping External USB HDD?

Nov 4, 2010

I have a problem with my non-powered external UBS HDD.

When i right click it and choose "Remove safely", it vanishes from nautilus and the Places menu, but it continues to have the lights on and spin. I am wondering if it is really safe to remove my hard drives like that or if it is an issue.

View 1 Replies View Related







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