CentOS 5 :: Assigning An IP To Folder / Process?

Jun 14, 2009

This is a long shot but I'm looking for a way to assign an IP to a specific location or process. I'm running a server for a small indie game that I liked, I intend on running as many gameservers as possible from this server, however I hit a problem: The game limits servers to 4 per IP address, after this the servers no longer are able to connect to the main server and therefore be used. My server has enough IPs to run many gameservers, but I'm unable to work this out.

I need to assign either an IP address to a process or folder, right now I have it set up like so: (assuming 1.1.1.1 = server IP)

/gameservers/server1/program < assigned to 1.1.1.1
/gameservers/server2/program < assigned to 1.1.1.1
/gameservers/server3/program < assigned to 1.1.1.1
/gameservers/server4/program < assigned to 1.1.1.1

[Code]....

I do not have access to modifying the core program, it runs in Java. How would I go about doing this, if indeed possible? I need to either apply the selected IP to a folder or process without changing the actual program.

View 1 Replies


ADVERTISEMENT

Networking :: Assigning Process To Use Specific Nic

Apr 19, 2010

I want to be able to tell processes/programs somehow to use a specific nic. I have a laptop (used as dekstop) and want to make pidgin use my wireless. I have a gigabit wired connection and a wireless connection. I want to force pidgin to use the wireless connection. But more specifically, I just want to block pidgin from using eth0... how to go about that? I can't find anything that will block applications... I could block outside servers from communicating with eth0, but I don't want to do that.

View 14 Replies View Related

Red Hat / Fedora :: DHCP Server On CentOS - Assigning The Highest Number From The IP Range

May 26, 2011

I have a DHCP server running on CentOS and for some reason it is assigning the highest number from the IP range as a first one?

- range 192.168.1.20 - 192.168.1.50 - so the first IP on my PC recived from this DHCP server was .50 - is it normal behaviour?

Config file:

View 1 Replies View Related

Debian :: Kill An Process Running From An Folder And With User Parameter?

Dec 4, 2010

i googled around and finally stumbled over this forum. I've been wondering, how would i kill an process running from an folder and with user parameter? I usually type this into the ssh console: pkill -9 < process > -U < username >

But i want users be able to run it multiple times, and killing only an specific process and not every single one.

View 4 Replies View Related

General :: Break Copy Process When Folder Size Reaches Its Maximum?

Mar 19, 2011

I have written a script.

#/bin/bash
a=`du -sh /root/samplefolder | cut -f1`
echo $a > testfile

[code]....

The aim of this script is, when the folder reaches 20M then attributes will be set to that particular folder so that no newfiles and folders cannot be created or copied to that samplefolder. whenever i copy a file morethan 20M to that folder its getting copied fully and then the attributes were applied. But i dont want this to happen, when the folder reaches its maximum current write operation to that folder should be stopped automatically with a error.

View 5 Replies View Related

CentOS 5 Hardware :: Installation - Centos 5.2 On HP Rp5700 Desktop \ Begins The Boot Process Up To Discovering The PCI Stuff And Just Locks Up, No Response?

Mar 28, 2009

I am trying to install CentOS 5.2 on an HP rp5700 desktop unit. These units were originally sold as a Point of Sales unit I believe, but HP also markets it as a high life cycle server for SMB market.I tried to load CentOS on this unit via CD (created from downloaded ISO of course). It presents the initial CentOS banner page and waits for the obligatory "enter" to continue. It begins the boot process up to discovering the PCI stuff and just locks up, no response. I have to power down to restart.Since this does not even get to the point of installing. I am at a loss what to do next. Has anyone had a similar issue with other PCs.The boot stops at the lineACPI: PCI Root Bridge [PCI0] (0000:00)

View 3 Replies View Related

Ubuntu :: Scanner - When Try To Save Image To Desktop Or File/folder - Message - Child Process Error

Jan 23, 2011

I have ubuntu 10.04.1 and a H.P.psc 1311 all-in-one printer scanner.Printer works ok but when trying to scan,with xsane,it goes through the scanning process and an image of the document comes up on the screen.

When I try to save this image to desktop or file/folder whatever I get the message; "Child Process Error. Failed to execute OCR command:GOCR:no such file or directory."

View 3 Replies View Related

CentOS 5 :: Make A Folder Downloadable From Centos Server?

Aug 5, 2011

Im running cent os 5.5 64 bit. I simply want to type in a url (In my browser) on my windows desktop, that downloads a zipped folder from my cent os server.

View 2 Replies View Related

CentOS 5 :: Find Which Cpu Used By A Process?

Oct 3, 2010

Normally servers having multiple CPU's I need to found out, which CPU is used by a process. or else from the out put /proc/pid/stat how we can identify used CPU by the process

View 5 Replies View Related

General :: CentOS 5 - Two Yum Process At Same Time?

Jul 14, 2011

I started to use linux (CentOS 5) 1 week ago. And I took lot of imformation from this forum. Is it possible to install two program at same time?
Total download size: 67 M
Is this ok [y/N]: y
Downloading Packages:
jdk-6u24-linux-i586.rpm 19% [========-] 6.0 kB/s | 13 MB 153:51 ETA
It is so boring to wait and I have to wait there is nothing to do something else just centOs text.

View 8 Replies View Related

CentOS 5 :: Create An Unkillable Process?

Dec 27, 2009

I have a process that seems to be unexpectadly quitting. Checking the messages log I could not find anything out of the ordinary. Would anyone here know how to make a process unkillable or lock a process somehow? I read information on doing this by making a looped iso, however the process im starting requires to be able to read/write to the files in the iso so this is not going to work. For now I just niced the process to top priority but I dont really think that will work. This process is a voice server so I dont want people getting discouraged that the server will not stay up and decide not to use the free service im offering.

Would anyone else have any insight as to what I can do? Im not new to linux but im not familiar enough with how every command is used, so if at all possible please give me the commands that need to be executed.

View 5 Replies View Related

CentOS 5 :: Check 'how Much Ram And Cpu A Process Is Consuming'

Mar 19, 2010

I'm trying to check how much ram memmory and CPU is a particular process consuming, i have checked free -m and top but is not esay to undesrtand the output from CPU

What i need is to check the consuming for a particular process; with free -m i'm able to see only the available space of memmry and i want to know how much is consuming a particular process, the same with 'top'

It's hard ot understan the output from top, to many columns and MAY process, not easy to check the process i want to monitor

View 5 Replies View Related

CentOS 5 :: Pgrep Can't Find The Process

May 13, 2010

I start a QEMU command, but pgrep can't found the process.

Host> ps aux | grep qemu-system-mips

With the full name, nothing can be found.

View 1 Replies View Related

CentOS 5 :: Sending Process To Background?

Apr 30, 2011

It's my first post and think not last here. I'm new to Linux system ( had a bit of unix programming at school but forgot already ). Please, take a good care of nooby me Now, let's get to the point

I have CentOS installed on one of my machnce, its my PHP development server. I also wanted to run a Minecraft server on it. I would like to skip autostart with init.d thing and be able to control it's run manually, but remotely. Thing is, when i log via putty to server and start server the server output is in terminal. When I close puty, ran application closes also. So I need to have putty window ran all the time.

So, since many programs can be run as background task (like httpd). Is there a way to log via putty. Start application and send it to process... log out of putty ( and application doesn't shut down with putty)?

Also, would be nice if I was possible to log to putty and switch to that application, so i could see server output, info and Issue commands. Basically, I want to start a service and be able to manage it via putty. and not close it when i terminate putty.

PS: I have installed Windows on CentOS server. Is there a way to issue a system start without loading whole GUI thing? When I was installing it I thought it would be easier to manage it with GUI, but now loading it only eats system resources and i unplugged monitor and mouse nad manage it only from Putty

View 9 Replies View Related

General :: Centos - Which Command To Use To Know How Much RAM Consumed By Each Process

Jul 10, 2011

I have tried top and PS command but i am not able to find the RAM used by each process.top command says that 240MB RAM used but the Memory shows 0% for all the processes, same with ps. i want to know which process consumes all 240MB RAM.Is there any command which / script which can sort the running process in oder of increasing RAM usage so that i can see. Also i find it very hard to read bytes and KB. Is there any to way to chnage those units to MB

View 2 Replies View Related

CentOS 5 :: Throttling Process Resource Consumption?

Mar 2, 2009

Is there a way of throttling a process resources, something akin to limits but for processes not users?ie I want processX to be restricted in the amount of memory it can consume. For process cpu I guess I can simply nice the process, but total memory consumption is my primary concern.

View 1 Replies View Related

CentOS 5 :: How To Know What Process Was Busying Before Forced Reboot

Mar 22, 2009

My centos machine suddenly stuck, the hdd LED flashes constantly, and the system reacts to all my operations very slow. I even cannot log in to a native terminal (always timeout). I had no choice, I pressed the power button. Reboot once failed. The system failed to find mount points.

I inserted the installation disk into computer and entered rescue mode. But I found everything was there. And another reboot brought up the system. I wonder what was the process that stuck my system.

View 4 Replies View Related

CentOS 5 Hardware :: Software / Process Used For Automount Of DVD?

Feb 12, 2011

I'm running CentOS-plus V5.5.CDs automount fine, but DVDs don't. I can, however, mount DVDs manually.I have scoured the web without seeing a solution. Its also clear that the software or process used by the OS to automount a DVD, has changed in the last few CentOS versions. So now I would like to ask:,In V5.5, what is the current process or software used by the OS for automatically mounting media such as a CD or DVD?What configuration files are involved that allow a CD to be mounted, and what entry(ies) would be needed to automount a DVD?

View 13 Replies View Related

CentOS 5 :: Iscsi Process Eating Memory

Apr 30, 2011

Linux 2.6.18-238.9.1.el5
Apache 2.2.3
MySql 5.0.77
PHP 5.3.3
Samba 3.5.4-0.70.el5_6.1

Problem: my server eats up all the memory in the box after a few days. My guess is it has something to do with these processes:

[Code]...

View 7 Replies View Related

CentOS 5 :: Mysql Runs Single Process

Jun 11, 2011

i have 2 linux centos server Linux version 2.6.18-238.9.1.el5 icant find the problem... server1: you can see mysql runs only single proc but its not possible bcause this is webserver

[Code]...

server2: as you can see there are many mysql

[Code]...

View 3 Replies View Related

CentOS 5 :: Look Deeper Into The Process '10862' And See What Webpage Is Being Used?

Jul 15, 2011

running ps -ef I get a number of processes back.. lets take the one below..

apache 10862 2845 0 16:02 ? 00:00:00 /usr/sbin/httpd

It is clearly a webpage that is being used..How do I look deeper into the process '10862' and see what webpage is being used?

View 2 Replies View Related

Ubuntu :: Assigning Ip On Boot Up?

Apr 13, 2010

I'm wanting my ubuntu setup to 'get' it's IP details during bootup, i.e. before login.

This is so that I can logon via NX from my laptop without having to logon via the ubuntu machine first.

View 3 Replies View Related

Programming :: Process Hangs Up Upon Receiving More Than 8 Or 10 Signals In Centos-5?

Jul 23, 2011

My program is creating 4 threads per transaction. Threads doing nothing but simply sleeping.

Now, when transaction ends, I want to wake up all the threads from sleeping. For this I am using pthread_kill() to wake up the threads using signal SIGUSR2.

Problem raises when I put more transactions(eg. 100 trans). My process gets hangup.

View 3 Replies View Related

CentOS 5 Server :: Lockd Stucks And Can't Kill It's Process?

Feb 20, 2009

I'm have some desktop computers sharing my Centos 5 server diskpace through NFS. From time to time, without any warning, lockd bugs and all the users that are using GTK applications like Firefox,Gnome.get stuck.

My first atempt is to restart the NFS, but locked files persist because I can kill the lockd pid process, even using root account , I suppose this is because it's a kernel process. Here is the message error I get when restarting NFS matrix kernel: lockd_down: lockd failed to exit, clearing pid

View 1 Replies View Related

CentOS 5 Server :: PCI Scans Causes HTTPD Process To Use All Memory

Jun 22, 2009

We had servers that worked fine for years. After updated them to the latest version of CentOS (5.2 with latest updates), they keeps on hanging when being scanned by PCI Verdors (a Credit Card security standard). Basically, the scan causes httpd process to eat up all memory, and the server becomes unresponsive. Normal operations resume after the scan stops for 5, 10 minutes. Output from top looks like the following:

Mem: 1018988k total, 1007168k used, 11820k free, 432k buffers
Swap: 2096440k total, 2096440k used, 0k free, 4528k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13601 apache 16 0 289m 102m 456 D 4.0 10.3 0:15.25 httpd
12836 apache 16 0 330m 101m 232 S 2.4 10.2 0:17.57 httpd
12834 apache 16 0 341m 100m 292 D 8.9 10.1 0:17.70 httpd
12837 apache 16 0 317m 99m 456 D 6.0 10.0 0:17.66 httpd
12839 apache 15 0 327m 97m 232 S 0.0 9.8 0:17.37 httpd
13590 apache 15 0 287m 96m 228 S 0.7 9.7 0:15.18 httpd
12833 apache 15 0 333m 96m 232 S 2.2 9.7 0:17.58 httpd
12835 apache 15 0 322m 95m 232 S 0.4 9.6 0:17.50 httpd
12840 apache 15 0 310m 88m 232 S 6.9 8.9 0:17.34 httpd
12838 apache 15 0 297m 85m 232 S 1.3 8.6 0:16.52 httpd
12831 root 18 0 20644 1360 248 S 1.3 0.1 0:00.27 httpd

View 5 Replies View Related

CentOS 5 :: Splash Screens Displayed During The Boot Process?

Aug 6, 2009

Google has not found the information I ws looking for. Does anyone have any information how to adjust the variouse splash screens displayed during the boot process?

We are working on an applience project where we would like to add a company logo to the boot and desktop screens. (Worked out the desktop already)

View 4 Replies View Related

Networking :: Assigning Eth0 Value To Device

Dec 14, 2010

I have to do a project on network security.For that i have to capture the packets from the device. I installed libpcap tool in ubuntu. If I give ifconfig -a it lists out eth0, wlan0, lo. I am able to connect to the internet via eth0. But when I give

#include <stdio.h>
#include <pcap.h>
int main()
{
char *dev, errbuf[PCAP_ERRBUF_SIZE];

[Code]...

It says device is null. I'm not able to run sniffex.c program also. All I want to do is to capture the live network level packets and analyse them.

View 2 Replies View Related

Networking :: Assigning Eth0 To PCMCIA Nic?

Apr 26, 2010

Just completed installing Xubuntu 9.04 to my old Dell Latitude CPi and it seems to be working quite well. However I need to assign interface eth0 to my pcmcia network card (as opposed to eth1 or eth2). I have two cards to try out. One of them comes up as eth1 and the other as eth2. There is no eth0 listed when I run ifconfig -a. There is no built-in network cards on the laptop, so I don't know why it won't assign eth0 to either of the cards.

how to assign eth0 to either of the two PCMCIA network cards.

View 4 Replies View Related

General :: RHEL5 Not Assigning Partition For Usb Key

Dec 16, 2010

I'm trying to mount a USB key in a RHEL5 box to upload some file. I found doc online and followed it and mounted it fine the first time. Then I unplugged it and found that I have another file to upload so I plugged it back in. However this time it's not assigned a partition (last time was sdb1) and I can't mount it anymore. I think the USB key is recognized and the driver is installed properly:

[code]....

View 6 Replies View Related

General :: Sed: Assigning Its Output To A Variable?

Feb 3, 2011

Kernel 2.6.21.5, GNU/Linux (Slackware 12.0).In this script,

Code:
semoi@darkstar:~$ cat rename4.sh
#!/bin/bash
INPUT="k3b_audio_0_04"

[code]...

View 3 Replies View Related







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