General :: How To Kill The Grub2
Sep 24, 2010
How to kill grub2? Even with a 20 second hard-drive delay grub2 throws a error: no such partition and will not boot to a floppy. I know there is no partition I deleted all and started over. How do I kill grub so I can install fresh? I can boot to a thumb drive with gpart how do I clear the partition table and bootstrap?
View 7 Replies
ADVERTISEMENT
Oct 21, 2010
Today I run OpenOffice.org extensions update and it freezed fter showing me that everything was successful.When i xkilled it it refused tolaunch without any problem indication.killall soffice.bin didn't report "No process found" after 1,2,3...20 times.So I tried killall soffice.bin -i
Code:
$ sudo killall soffice.bin -i
Kill soffice.bin(3319) ? (y/N) y
[code]...
View 1 Replies
View Related
Jan 13, 2011
the process is mcelog. When I do as root kill -9 2323 which is pid of mcelog the process is not killed. I tried doing the same from top, press K and enter pid of mcelog. doing ps auwx | grep mcelog I see there are several results. I tried killing all of them like kill -9 2355 2341 3425 2345. But re-running the above commands still shows them as running. How else would I troubleshoot this to avoid restarting of the box.
View 5 Replies
View Related
Jul 30, 2011
I have seen the following command:
$ kill %1
What is the usage of this statement?
View 2 Replies
View Related
Feb 18, 2010
use kill command in ssh? some of my friends are always disturbing me while i'm programing using ssh...
View 1 Replies
View Related
Apr 5, 2010
Can we just put all the processes in one group and kill that group? Is there any other way to do this?
View 3 Replies
View Related
Dec 10, 2010
A process with name=example can be killed by killall -9 example
How to kill multiple instances of following command which contain spaces?
"valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitpid03"
Following command returns valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitpid03: No such file or directory
View 3 Replies
View Related
Feb 9, 2011
Ctrl-c doesn't always work to kill the current process (for instance, if that process is busy in certain network operations). In that case, you just see "^C" by your cursor, and can't do much else.What's the easiest way to force that process to die now without losing my terminal?
Summary of answers below:Usually, you can Ctrl-z to put the process to sleep, and then do "kill -9 process-pid", where you find the process's pid with 'ps' and other tools.On Bash (and possibly other shells) you can do "kill -9 %1" (or '%N' in general) which is easier. If Ctrl-z doesn't work, you'll have to open another terminal and kill from there.
View 6 Replies
View Related
Feb 18, 2011
How to kill a process initiated by another user, who is in same group as me?
View 1 Replies
View Related
Aug 22, 2010
This is a humbling experience for a long time MS admin/tech.I am wanting to build a file server fr my home network. So, I downloaded and installed FreeBSD 8.1 last night.Wanting a more familiar interface, I downloaded and tried to install KDE. It loads and asks for language. Then I select "Install kubuntu".
The kubuntu logo and a progress meter pop up for a while. Eventually the screen goes black and nothing else happens. I have to reboot. If I take the CD out it boots to FreeBSD.Am I missing something? Kubuntu never asks anything regarding partitioning. Is FreeBSD an os like DOS and kubuntu a GUI like Win 3.1 or is kubuntu more like XP with a GUI built in to the os? If it is the latter, how do I get it to kill the FreeBSD install?"Try kubuntu without installing" does the same thing.
View 3 Replies
View Related
Oct 30, 2010
I have a big problem with one of my processes named "mbusd" ;it is an opensource modbus RTU/TCP gateway when I plug USB to serial convertor to it my laptop without this process linux makes virtual ttyUSB very fine and when I unplug it it removes except some times (SOME TIMES not all the times) that I run mbusd process to work with, at that time during mbusd process work when I unplug USB/serial converter the virtual ttyUSB does not disappear and mbusd does not exit too and it turnes in something like this when I get ps -aux: mbusd [defunc] at this time I can not even kill it with -9 or -15 signals and pluging back the converter does not solve the problem too and mbusd does not exit or start to run again.
View 3 Replies
View Related
Jul 19, 2011
Using Ubuntu 11.04. I use this command to kill frozen Flash processes ...
Code:
pgrep -P1 -f 'npviewer.bin' | xargs kill -9
IF there are no hung processes, I get the error ...
Code:
Usage:
kill pid ... Send SIGTERM to every process listed.
[Code]...
View 4 Replies
View Related
Apr 22, 2010
We want to kill a process provided that only process name is given and we are to first find out the process id and then kill the process. Yes, in one go! That is, using pipe.
So, I tried this (the bold text):
[Code]...
View 17 Replies
View Related
Jan 29, 2010
just installed iptraf and was using it. However, I lost the SSH link while IPTRAF was running. Now when I try to go into detailed statistics it says: detailed interface stats alreday monitoring eth0. How do I stop that so I can start it again? I tried kill and the process id which I found using pidof iptraf but it won;t stop the program.
View 1 Replies
View Related
Dec 14, 2010
if i do a
ps aux | grep ftp
that would show me at least any active ftp connects started with the ftp command, right? Is there then a way to use that to somehow kill any stuck sessions that are older than an hour?
View 9 Replies
View Related
Mar 14, 2011
I want to kill a process when timeout where 2 processes are running parallel or simultaneous in a same user witout effecting the another process,i have used the command
ps -ef |grep user
kill -9
but its killing another process suppose if i try to kill with processname sub processes in that process converting as daemon process and its not killing sub processes when killing parent process.
View 1 Replies
View Related
Jun 9, 2010
I'm having trouble killing X server and keeping access to the console. I'm trying to install an Nvidia driver so that I can use OpenGL with Geant4. To install the driver, I need X server to be off.I Googled, and found a lot of things about runlevels that no longer apply in 10.04, since inittab has been removed, and that the runlevel now defaults to 2.
I tried CTRL + ALT + Backspace, but that just boots me to the GUI login prompt. In earlier versions of Ubuntu, I would set the default runlevel to 3, but since I'm already at 2, that seems to be as low as I need to go. I tried it in runlevel 1, but the installer warned me about the possibility of needing daemons that would otherwise be running. So in summary, I just need to be able to kill the X server and keep using the console on the current run level. If anyone knows how I can do that in 10.04,
View 5 Replies
View Related
Jun 17, 2010
I want to limit the time a grep process command is allowed to run or be alive.For example. I want to perform the following:grep -qsRw -m1 "parameter" /varBut before running the grep command I want to limit how long the grep process is to live, say no longer than 30 seconds.How do I do this?And if it can, how do I return or reset to have no time limit afterwards.
View 4 Replies
View Related
Jul 4, 2010
I just installed Arch Linux with Gnome and gdm is set to boot into gnome as soon as it boots.
But I realized that the barebone gnome package that I installed doesn't include a terminal or a text editor so I can't install anything further or modify the rc.conf file to make it boot without gdm.
Is there a way for me to kill x from the Gnome interface?
View 1 Replies
View Related
Jul 31, 2010
how to kill all Programs on a specific X display? In example, I need to kill all Programs on Display :1. How is this possible?
View 2 Replies
View Related
Oct 28, 2010
I am developing a daemon that is acting up and I am now unable to create any new processes (ie. I cannot start a new process to kill the other rogue processes). So, I need to be able to kill the processes from a remote machine. How do I do "kill" remotely without admin privileges? If I cannot kill my own process from a remote machine as a normal user then tell me so I can mark it as the correct answer.
View 3 Replies
View Related
Feb 23, 2011
I'm running Linux Mint 10, although I've had this same issue with other variants of Linux. I've been told/found while researching that if the X server hangs or otherwise errors, one can drop to a root prompt, usually at another tty, and execute init 3 (to drop to single user mode) and then init 5 to return to the default, graphical session. Needless to say, I've tried this before in multiple configurations on multiple machines to no avail.
The only feedback I receive form executing those two commands is a listing of VMWare services (from a kernel module) that are stopped and then restarted. If I run startx (either before or after init 3), then I am told that the xserver is still running and that I should remove /tmp/.X0-lock. Having tried that, it removes that error message, but claims that the xserver cannot be attached as another instance is running. How do I kill the xserver completely? Can I killall some process name?
View 2 Replies
View Related
Jun 22, 2011
I'm using Ubuntu 11.04. What command can I run that will shut down all Firefox instances?Here's what I get when I scan for processes with "firefox" included in them
Code:
$ ps -elf | grep firefox
0 R selenium 31849 1253 32 80 0 - 186593 - 14:08 ? 00:00:05 /usr/lib/firefox-4.0.1/firefox-bin -profile /tmp/customProfileDir85da96184657425da4ec1b05d75e7523
0 S selenium 31892 31849 0 80 0 - 53633 poll_s 14:08 ? 00:00:00 /usr/lib/firefox-4.0.1/plugin-container /var/lib/flashplugin-installer/npwrapper.libflashplayer.so -omnijar /usr/lib/firefox-4.0.1/omni.jar 31849 true plugin
View 3 Replies
View Related
Aug 26, 2009
I've run into what is apparently an age-old SSH problem, which is that killing an ssh client process does not kill the remote process (unlike e.g. rsh). There seem to be lots of patches and a couple of open bugs on this topic that have been there for about 10 years or so... Having convinced myself by googling that there is no easy solution, I'm now looking for a workaround of some sort. I'm writing a testing framework so the processes I'm running remotely could be anything at all, i.e. I only have control of the client side. Also the remote processes are of course highly unstable and I need to be able to terminate them if they hang. ssh -t won't work for me as I don't necessarily have a terminal. Finding the remote process ID would be enough so I can do ssh <machine> kill <pid>, but I don't see any way to do that either. Just using ps, pgrep etc seems to suffer from not being able to uniquely identify the correct process, and killing the wrong process is of course very bad.
View 14 Replies
View Related
Nov 10, 2010
For a special purpose I needed a initramfs - that didn't work. So I reduced the initramfs setup to the simplest.
Mount the root and switch_root into it. But that didn't work either.
If I go with the init-script for the initramfs I posted below the system prints out the switch_root usage-text from busybox. But the syntax is right, ain't it?
When I use chroot instead of switch_root then it prints the usage-text of init before the kernel panic.
If I try with "/sbin/init 5" then, after a while the system reports "init: timeout opening/writing control channel /dev/initctl".
In the other cases I get the following error messages before the system hangs: "Kernel Panic", "Attempted to kill init", "init not tainted"
(With the init script below there is a error saying:"sh: can't access tty; job control turned off". I know why it's there - but don't know if it is connected to this problem.)
This information may be important:
- The machine boots from a usb-harddisk
- /sbin/init on the new root is available
- the system on newroot is sane and runs perfect standalone (without initramfs)
- the system on newroot uses baselayout-2 with openrc
- busybox is built as static binary
- busybox version is v1.15.3
Here is the relevant data:
My uname -a on that machine:
Code:
Content of the initramfs:
Code:
View 1 Replies
View Related
Nov 18, 2010
All the kill idle user processes scripts I've seen don't take into account that the user might have multiple sessions open. Such is the case with one of our clients. Currently, every hour or two I need to do the following:
This will get the TTY and idle time for all users.
For each idle time over a half hour, I do the following (TTY is the TTY from the previous command with a space.
I then kill those processes.
There must be a way to do this automatically in a bash or perl script. I've tried both, but can't seem to get things to work properly.
View 2 Replies
View Related
Feb 25, 2010
I just bought an SSL cert and installed on my Apache server. When I restarted something went wrong so I had to change some config stuff and when I tried to restart apache for the second time I got this:
$ sudo apache2ctl start
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Problem is that apache isn't running. For some reason there is something hogging my tcp 80 port, preventing apache from starting properly. How do I fix this? Is there a way to "free" a port?
View 1 Replies
View Related
Sep 17, 2010
I have some binaries running on my server. I want to make a script to kill the binaries.
View 7 Replies
View Related
Aug 3, 2010
i was referring to an article given in following website.[URL] I was surprise to know that i can kill all running processes by using kill 0. However when i tried running the command nothing happened.
my machine details:
Code:
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: Carthage
View 4 Replies
View Related
Jun 1, 2011
How do I kill the KDE program KSnapshot. I'm running Slackware 13 - 37, which is the latest version of Slackware. I don't see any way to
kill this thing. There's no Remove Program or Delete anywhere on KDE and this stupid program keeps poping up all the time. I want to kill this thing.
View 4 Replies
View Related