Running A Script Via Ssh In The Background

Mar 26, 2008

I'm running a script called hlstatsx which is a ranking system for game servers and it needs to be run 24/7

I use ssh to start it with this command:

perl hlstats.pl

However, I have to keep the ssh window open otherwise the script will stop. Is there a way to keep it running in the background even after I close the ssh window or logout?

View 14 Replies


ADVERTISEMENT

Running Php As Background Service

Mar 29, 2007

I want to run a php script in the background every 15 seconds (otherwise I would simply use cron)... Would anyone be able to tell me how I would set this up?

View 2 Replies View Related

Running A Linux Process In The Background

Nov 23, 2007

So ive installed a bit torrent client on a server for a corporate client to server an internal application they use.

When I run the following code, it starts to seed it fine, however as soon as I close the ssh session which started the seed, it stops seeding.

Ive tried adding an & to the end of the command, however the same thing happens.

Anyone got any ideas how I can get the following line to start as soon as the server boots, and keep running 24/7?

The command is;

btdownloadheadless.py --url [url]

View 7 Replies View Related

Running Php Script In Background Windows

Mar 29, 2007

I have a php script that is scheduled to run once a day via the Windows task manager. My question is how can I tell it to run in the background so the dos window doesnt pop up? Right now the line in task manager to run it is:

c:phpcliphp.exe c:path ophpscript

View 0 Replies View Related

Auto CHMOD Script Running In The Background

Jul 21, 2009

I am attempting to setup a script which will automatically append the proper file permissions [posix & acl's] to any new files on certain folders that I specify.

Someone Recommended

find /Users/Kevin/Desktop/TRANSFER -type f -exec chmod 777 {} ;

This only seems to run once and when new files put in I have to have the script run every so often as a cronjob, I really just want to have a script to change the permissions of files going into a folder.

View 7 Replies View Related

[Debian] Command "screen" How Running Background Processes

Jun 14, 2007

To start the process in the background how and hide him?

In the system CentOS is command "screen" There is the command screen
a system debian does not have this command, only "&" but I do not know her to use.

Please pass equivalents:

Centos: screen
Debian: &

Centos: [CTRL] + [A] + [D] (detach)
Debian: ?

Centos: screen -ls
Debian: ?

Centos: screen -r
Debian: ?

View 1 Replies View Related

Many Httpd Nobody Run In Background

Apr 21, 2008

top - 19:57:53 up 3 days, 23:39, 1 user, load average: 43.91, 43.52, 36.36
Tasks: 313 total, 19 running, 294 sleeping, 0 stopped, 0 zombie
Cpu(s): 85.2% us, 14.8% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2073804k total, 2019960k used, 53844k free, 26992k buffers
Swap: 2096440k total, 11176k used, 2085264k free, 839880k cached

PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND
4657 mysql 15 0 49 1146:03 12.2 414m 247m 3088 S mysqld
10993 nobody 25 0 6 1:29.96 1.0 103m 20m 9240 R httpd
11157 nobody 25 0 6 1:52.78 1.0 105m 19m 7164 R httpd .......

View 9 Replies View Related

Background Job Exited

Dec 4, 2007

I have a CentOS system (under VPS, virtuozzo) and I would like to run a background job.

Here what I did:

1. ssh into the server
2. execute:

$ ./myscript.php > output.log &

After executing that command, I got back to the shell prompt.

Then I can see the log file:

$ tail -f output.log

But when I close my ssh session (using putty), the background job is also closed!

Anyone know why?

How can I run background job, leave it running, and quit my ssh session?

View 2 Replies View Related

VPS & Background Processes

Dec 8, 2007

On jaguarpc.com, their terms of service state,

"We do not allow programs to run continually in the background. This is to minimize system resources used and operational maintenance needed. We do not allow any chat or topsite programs on our servers other than the ones we pre-install for our clients to use. IRC: We currently DO NOT allow IRC or IRC bots to be operated on our network."

I thought the whole point of using a VPS was so you could run a continuous application (like a chat/game/etc server)? Why are so many VPS services against IRC (the chat server I use is not IRC based, but I just think its wierd so many prohibit IRC)

View 9 Replies View Related

Background Process Killer

Mar 25, 2009

can anybody tell me more about Background Process Killer on cpanel?
BitchX

bnc

eggdrop

generic-sniffers

guardservices

ircd

psyBNC

ptlink

services

what are them and which of them must enable in Background Process Killer option?

View 3 Replies View Related

Unable To Set Background For Terminal Service Users

May 26, 2007

I am unable to set the background for the users on a terminal server.

The server is running Windows server 2003 R2 64 bit Enterprise edition.

I have setup the background path correctly in the group policy for the ou where the users are located. However the background does not load. I have also enabled Active Desktop in the terminal services configuration manager.

Also when I try to set the background manually as the administrator, everything is grey and I am unable to set the background. I have tried to start the Themes service but this does not resvolve the problem. Do anybody here have a suggestion on why I am unable to set the background even on the administrator user manually? (the administrator user does not have any group policies activated).

View 9 Replies View Related

Running XEN

Oct 5, 2009

I want to purchase a dedicated server onwhich I can set up XEN and make few virtual machines.

how to manage backups - get a sepeare machine and configure it as a NAS, use R1Soft backups etc.

View 5 Replies View Related

Running Out Of My 512 MB Of RAM With VPS

Apr 14, 2008

I recently signed up for a VPS server with 512 MB of RAM. I will be hosting two sites on this VPS server. One is not online yet and I just have a Coming soon page up. The other is a Wordpress blog that is running. I don't have any users yet. But my VPS server is currently using ~410 or my 512 MB. This is with essentially nothing running yet. Does anyone else run their websites with only 512 MB or do I need to upgrade to at least 1 GB? I also checked out which processes are taking up the most
(% wise):

5.6 1 /usr/bin/spamd
5.4 2 spamd
3.8 1 /usr/bin/python
3.4 1 /usr/sbin/mysqld
1.7 1 /usr/local/apache/bin/httpd
1.7 1 cpsrvd
1.7 1 cpdavd
1.6 1 /usr/sbin/restorecond

I know I can't disable apache but what about the others? Spam Assasin is disabled in the WHM but the process restarts even after I kill it. Is Python necessary? I am using php apps..

View 12 Replies View Related

Running Rtg

Nov 13, 2007

after compiling rtg, I run this
/usr/local/rtg/bin/rtgpoll -v -t targets.cfg

and see the data is collected already. However, I cannot keep ssh window all the times. So, how to run rtg automatically as daemon?

View 3 Replies View Related

Can't Get PHP 5 Running With IIS

Jul 20, 2007

let alone with mysql. Have tried to install those both and have tried endless variations of php settings adn moving php.ini around and checked PATH in IIS adn teh extension .php is enabled.

Question:
Should php.ini be copied to Windows or Windows/system32 directory?

I have a test.php file in my virtual directory. I did have it working at one time but then I installed the extensions so I could have teh mysql extension and it hasn't worked since.

I am just a newbie trying to create a testing environment so I can teach myself PHP. I have endless books, have tried the Yanks method but I am not sure it applies to PHP5.

I have PHP at c:/program files/php/ is this a problem? Shoud it just be directly in the c directory? Does that matter?

View 0 Replies View Related

Running Csf

Jun 17, 2007

I installed csf as my server's firewall with using cpanel besides, I've customized configuration file and everything seems to be right but when i use csf -s it results this error :

iptables: No chain/target/match by that name
LOG tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 limit: avg 30/min burst 5 LOG flags 0 level 4 prefix `Firewall: *TCP_IN Blocked* '
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Flushing chain `LOGDROPIN'
Flushing chain `LOGDROPOUT'
Flushing chain `acctboth'
Deleting chain `LOGDROPIN'
Deleting chain `LOGDROPOUT'
Deleting chain `acctboth'
Error: iptables command [/sbin/iptables -v -A LOGDROPIN -p tcp -m limit --limit 30/m --limit-burst 5 -j LOG --log-prefix 'Firewall: *TCP_IN Blocked* '] failed, at line 196

View 14 Replies View Related

Running A Vps Within A Vps

Apr 27, 2007

i'm thinking of installing virtualization software on a linux vps machine.

reason... windows vps vost so much and linux are much cheaper.
so within my cheap linux vps, i can install virtual windows using my pre-purchased win2000 license key.

has anyone tried this or is it completely not possible. also what linux-host virtualization software would you recommend?

note my linux vps already has kde with vnc running so i have a graphical interface to my linux vps at home.

View 14 Replies View Related

Running A JVM On A VPS

Aug 13, 2007

I'm aware of the limitations of using Sun's JVM on a VPS. Are there any good JVMs I can run besides Sun's?

View 14 Replies View Related

Running Out Of Bandwidth

Jan 19, 2008

I have a question that's been bugging me for a few months now (which has gotten worse as traffic increases). I run a site that gets some decent traffic (about 9-10M pageviews per month), and is mostly made up of HTML pages with a lot of images (some pages have about 200k of images, others have maybe 1.5-2MB of them). I have a dedicated server that has 2TB of bandwidth per month, and I'm quickly approaching the 2TB point... what should I do?

Normally, I'd buy more bandwidth... but the host I have charges $400/month for 10mbps unmetered bandwidth -- more than the cost of the server each month! What other options do I have?

View 12 Replies View Related

Running Unmanaged VPS

Apr 30, 2009

I'm looking into purchasing a VPS, and I saw unmanaged are cheaper.

What would I need to know/learn to do maintain an unmanaged VPS?

View 14 Replies View Related

Running Sshfs On A VPS

Apr 15, 2009

I'm trying to run sshfs on my VPS but it seems to require the fuse module compiled on kernel. I already asked my host but they said that they won't change the kernel.

Is there an alternative to sshfs? I really need something to mount an external server.

View 4 Replies View Related

SSH And Running Exe (or Any Other Application)

Jan 5, 2009

I've written an application that acts as a game server for a simple game I'm creating. From what my friends tell me you can't run an exe on a webhost. They did however tell me that you can run java apps on a host that gives ssh access.

View 8 Replies View Related

OpenVZ - SSH Not Running

Jul 22, 2007

If I restart VPS (vzctl stop 1002 | vzctl start 1002 ) I can't join from ssh - not working, but remaining services start correctly: ftp, cpanel, etc.

View 9 Replies View Related

Running A DNS Server

Jan 17, 2008

I currently have one dedicated server and four VPSs all using Plesk and all having their own name servers controlled by Plesk. What I'd like to do is consolidate everything so all my sites use one set of name servers.

I'm a PHP developer (and will be developing my own front end), and only have limited knowledge of administrating a server, so first of all if anyone has done this before and made mistakes in the process, please could you share them with me so I can avoid making them?

Secondly, I would like to use a MySQL database for storing the DNS info - I've found a tutorial at [url]which I'd like to use - could someone who knows what they're talking about have a skim through this and reassure me that everything there is correct and up to date (the article was written in early 2006 - just checking nothing in the world of DNS has changed since)?

I'm using Fedora.

View 0 Replies View Related

Named Already Running

Jun 10, 2008

I keep getting this error when trying to start named, bind 9.3.3 installed through yum (centos 5 x64).

# service named restart
Stopping named: [FAILED]
Starting named: named: already running [FAILED]

# ls /var/run/named
#

# ls /var/lock/subsys | grep named
#

I even uninstalled bind, restarted the system, and reinstalled and it is still giving me the same error.

There aren't any related errors in dmesg/messages and I couldn't find a named related file in /var/log.

View 4 Replies View Related

Xen On Running Server

Nov 13, 2008

I've a production server running web,smtp, ftp, cpanel...

Now I need to run different solutions on the same server (like PABX, games), of course I can't put all on the same place (to better control security, resource usage etc..)
Is it possible to install xen without affecting my production environment? It would be a good choice doing that?

View 10 Replies View Related

Couriertcpd Is Not Running

Jun 20, 2008

We have an OpenVZ VPS, And we have a problem with courier there.

The issue is that when we reboot the VPS, then we see the following error when trying to restart IMAP:

imap has failed, please contact the sysadmin (result was "couriertcpd is not running").

But if we use the following cPanel script, that get resolved until we reboot it (the vps) again:

/scripts/convert2maildir

* We have converted to maildir in the past, but should use that script and choose "3" option to get the issue resolved temporarily.

* I try to start courier with /scripts/courierup --force but that doesnt fix the issue.

* There is some other issues on that VPS which may be related to this one:

- We cannot modify the date on that VPS, I dont know why, It doesnt change ever.

- The results of mkpasswd root command is the same everytime we use it.

Operating System: CentOS 4.6

Control Panel: cPanel 11.23.2

Node Platform: OpenVZ

View 1 Replies View Related

Running Web Server

Aug 13, 2008

I want to start up my web server again. I have Windows XP hosting my web server right now. and, it's slow.
Should i stick with Windows, run IIS and use httpZip from Port80?
I really like microsoft, and don't want to change and adapt to something else.
give me advice

Or, should I run Linux
I would run Linux on it, but I don't know how.
And they have different version of Linux. Example Redhat, Ubuntu etc.
Which one should I go for?

Also, what do I do if I have a netgear ethernet card? Is that Linux? Is it compaitable with Redhat?

And last question, what do I use for security?
I'm a hacker, yeah.. I know what all people can do to websites. How do I stop them?
DoSing, Cross Scripting, XML Attacks, MySql Injection.. Etc.

If a linux fan can respond, that would be nice.

View 4 Replies View Related

Running Zend On IIS 6.0

Aug 20, 2008

I'm not sure if this is the best board for this question but I'll try anyway. We recently had an app built and the developer built it using the Zend framework.

Our server is running IIS. Does anyone have a link to information or know any tricks in getting Zend build apps to work on IIS?

We need to stick to IIS because other apps we have were built in asp so switching to apache is not an option.

View 0 Replies View Related

Those Running DirectAdmin On VPS

Jun 25, 2008

may I know which version of apache and mysql are you running on your production server? Will the latest apache or mysql conflict with DA?

View 9 Replies View Related







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