General :: Can't Find ./prog.sh Start - Unable To Kill Manually Using Command

Nov 3, 2010

I'm trying to figure out how to operate a rather large Java program, 'prog'. If I go to its /bin/ dir and configure its setenv.sh and prog.sh to use local directories and my current user account. Then I try to run it via "./prog.sh start". Here are all the relevant bits of prog.sh:

[code]...

When I actually do ./prog.sh start, it starts. But I can't find it at all on the process list. Nor can I kill it manually, using the same command the shell script uses. But I can tell it's running, because if I do ./prog.sh stop, it stops (and some temporary files elsewhere clean themselves out).

[code]...

the process is running yet not in any way listed by the system. I can't find it in ps or /proc/, nor can I kill it. But the shell script can still stop it properly. So my question is, how can something like this happen? Is the process supremely hidden, actually unlisted, or am I just missing it in some fashion? I'm trying to figure out what makes this program tick.

View 2 Replies


ADVERTISEMENT

Red Hat / Fedora :: Diff Between Service Prog Start & /etc/init.d/prog Start

Apr 3, 2009

The difference between: service httpd start & /etc/init.d/httpd start.

View 3 Replies View Related

Software :: Unable To Kill Process With Kill -9

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

General :: Unable To Start Apache On CentOS - Invalid Command 'Order'

Aug 25, 2009

I am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13

View 99 Replies View Related

General :: Using The Kill Command In Ssh?

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

General :: How To Find And Kill Remote Processes

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

General :: Cleaning Up Kill Command?

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

General :: How To Find (and Kill) Process Running On A Certain Port

Aug 12, 2011

Possible Duplicate: Finding the process that is using a certain port in Linux I'm using Ubuntu Linux 11.04. How do I write a shell script expression that will find the process running on port 4444 and then kill the process?

View 4 Replies View Related

General :: Unable To Kill The Program

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

General :: How To Tell The Kill Command To Ignore Processes If That Process Is Not Alive

Jun 18, 2010

How to tell the kill command to ignore processes if that process is not alive?

For example: 3453 is an alive process but 44534 is not.

kill -9 3453 44534

View 4 Replies View Related

Ubuntu :: Searching For A Prog In The "start" Menu?

Dec 29, 2010

Being used to KDE (Suse), I really like the ability to click on the "start" menu, and being able to immediately type in to search for a program/file/link, which then brings up the options and you can just click on one.Is there any way to do a similar thing in Ubuntu/Gnome?

View 1 Replies View Related

Red Hat / Fedora :: Find The Right Command To Start Another XServer?

Jun 30, 2010

I tried my best on searching for the answer to this question. I couldn't find the right command to start another XServer. Maybe I just don't know how to look for it, or I'm using the wrong keywords. Anyway, what I want to happen is hit CTRL+ALT+F6 (F7 to return to my desktop) and start another XServer to run a full screen game. How do i do that? Is it possible to have multiple instances of X?

By the way, the error says that an instance of x server is already running on display 0 after I have issued this command: Code: startx In case you're wondering why this is my solution, it's because scripting is not my type for automatically making an xserver when I click a game, especially if you'd have to do it for all other games :/ So, let's stick to my idea D unless it's impossible, of course. EDIT: I was able to get a new xserver with xterm in it, but it seems there is no acceleration or some sort >.< OpenLieroX runs at a frame rate of 15 fps or so. Anyone have an idea on how to enable acceleration on openbox?

View 1 Replies View Related

General :: Detect And Kill Zombie Processes Left From The Command Line Of A Terminal?

Apr 28, 2011

how do I detect and kill zombie processes left from the command line of a Linux terminal?

View 3 Replies View Related

CentOS 5 :: Can't Find The Start Command For Gnome From Terminal

Jan 11, 2010

I can't find the start command for Gnome from Terminal.

I tried:

start gnome
startx
start gne

Nothin is matching. In the Documenation is no help from console.

View 7 Replies View Related

Software :: Samba Refuses To Start On Startup - But Will Start Manually

Apr 14, 2009

I just moved my / from sda1 to an ide drive, hde1. i dont see how this could have caused any of these issues, but it did.

First my network card failed to start. i added a line in my rc.local file (where i put all of my additional programs, etc i want to start):/etc/rc.d/rc.inet1

The above now starts my network card with my static ip configured. dhcpcd also worked but i wanted this static.

Now samba will not start. i have the following line in my rc.local: /etc/rc.d/init.d/samba start

This used to work just fine. at first i thought that samba may be trying to start before my network card gets an ip, but the line is *after* the network startup line. just to make sure, i made an additional script called startsamba which contained a sleep 60 followed by samba start, to delay the startup of samba even further.

The message samba reports is very vague, something like failed - core dumped. most of the core dump log is garbage characters, but here is the beginning which seems like it might contain some info:

Code:

ERROR: Can't log to stdout (-S) unless daemon is in foreground (-F) or interactive (-i) after the system starts, i can drop to a console and type "/etc/rc.d/init.d/samba start" and the service starts just fine. i've also tried starting samba manually with "smbd -d" which also produces the core dump when started from rc.local, but not when started from a console after startup.

View 8 Replies View Related

Ubuntu :: Find Start And End Sector Of Partition With Sudo-command?

Jun 18, 2010

How to find Start and end sector of partition with sudo-command?

View 2 Replies View Related

General :: Debian - Manually (command Line) Disabling USB Automounts?

Jan 30, 2011

I know that I can use the GUI (gnome-volume-properties) enable/disable the USB sticks/disks automount features, by checking/unchecking the pertinent options.My question is: how can I obtain the same results from the command line (that is, without using any GUI frontend)?

View 5 Replies View Related

General :: Corrupt Oracle Data Block Manually Using Dd Command From Sysem?

Mar 1, 2010

How can I corrupt oracle data block manually using dd command from Linux?

View 2 Replies View Related

Slackware :: Unable To Find 'daemon' Command?

Feb 16, 2010

I recently installed a software package that needs a command called 'daemon' to be able to start up. Slackware doesn't seem to have this command and I'm unable to find it. Where can I get it and what exactly is it that it does?

View 5 Replies View Related

General :: Run A Tcl File - AgentJ Prog Error

Mar 10, 2011

when trying to run a tcl file, i gt the following error

[Code]...

View 2 Replies View Related

General :: Making Picasa The Default Prog For Pictures?

Nov 18, 2010

how do i make "picasa" the default program for viewing my photoes.im now using "google chrome" as my prefered browser,instead of firefox,much better imho,

View 7 Replies View Related

Fedora :: Unable To Get Computer To Boot Under CUI And The Command 'start X' Started The GUI

Feb 17, 2010

I remember a friend of mine was able to get my computer to boot under CUI, and the command 'start x' started the GUI. with booting up my computer through CUI.

View 3 Replies View Related

Ubuntu :: Stuck On Command Line / No Gui / Unable To Start Xorg?

Apr 2, 2011

Last night my system rebooted and dropped screen resolution to 800*600. I was unable to change that from no where. I tried to install nvidia driver and now no gui, only command line. Starting xorg by using 'startx' fails. How I can get back to normal with normal resolution?At the moment I am logged in via live cd. Let me know if any log files needed (if I can locate those).

View 9 Replies View Related

CentOS 5 Networking :: Unable To Start Eth1 From The Command Line?

May 28, 2009

I am trying to attach my server to 2 diferent networks, with fixed ip addresses,
eth0 = 192.168.0.2 255.255.255.0 with gateway 192.168.0.1. This is currently working, and I can ssh o the machine on this address

eth1 = 192.168.150.5 255.255.255.0 with gateway 192.168.150.1

When I try and start eth1 with ifconfig eth1 up, I get the error message "eth1: unknown interface: no such device"

I have configured eth1 using system-config-network-tui and /etc/sysconfig/networking/devices/ifcfg-eth1 looks correct

GATEWAY=192.168.150.1
TYPE=Ethernet
DEVICE=eth1
BOOTPROTO=none

[Code].....

View 2 Replies View Related

General :: Find Mechanism With Irregular Expression (find Command) Or Perl?

Sep 7, 2010

I have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following

more /etc/inet/file.example1

182.23.2.4
255.255.0.0
10.10.1.1

View 1 Replies View Related

General :: Find/grep/wc Command To Find Matching Files - Print Filename And Word Count?

Sep 11, 2009

I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:

wc `find . ( -name "*.as" -o -name "*.mxml" ) -exec grep -H HeightResizableList {}` ;

View 10 Replies View Related

General :: Command Line - Use Find To Find Text Files?

Jul 15, 2011

Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.

View 2 Replies View Related

Ubuntu :: Unable To Find Any List Of Arguments That Can Be Added In The Command Line

Aug 23, 2010

I am able to start up firefox just fine out of my terminal, but i have not been able to find any list of arguments that can be added in the command line. what i'm looking for is that it starts up in Full Screen mode right off. is there an argument that can be added to ti to do that?

View 2 Replies View Related

General :: Find Setuid Files Using FIND Command?

Jan 25, 2009

I know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"

View 1 Replies View Related

General :: Find A File In Directories Without Using Find Command?

Aug 3, 2010

am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.

View 14 Replies View Related







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