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


ADVERTISEMENT

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 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

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

[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

Running A Vpn Service

Dec 10, 2008

I am thinking of running a vpn service for a limited number of my clients, so that they can surf the web securely and anonymously through our VPS (routing all traffics through a vps). However I have no idea what features should I looking for, I mean how much BW or ram does it need.

Lets say I have 10~20 clients at all, Is a VPS with 300G monthly BW and 256(or 512)M of ram enough to have it work smoothly?

View 8 Replies View Related

MySQL Database Service Stops From Running

Jan 4, 2008

I have a phpBB forum, which uses MySQl database.

For the last two months the forum has been going down every couple of days because the database service has been continuously stoped running on the server with no reason.

What can cause such a frequent database failures?

Can someone attack the forum/database/server in a way that will cause the above problem?

(there is a good reason I consider this possibility very seriously)

How can I prevent futher database failures?

View 2 Replies View Related

Iptables Service Need To Be Running In Order For APF To Function?

Jan 11, 2008

Does the iptables service need to be running in order for APF to function? If so, can APF act like it is running, when the iptables service is not running, thus giving you a false sense of security?

View 14 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

Plesk 12.x / Linux :: Centos 7 - Service Configuration (Bind Service Is Not Installed)

Apr 27, 2015

I have a Server with Centos7 + Plesk 12 and in the service configuration say that the Bind service is not installed, from command line i have install named services and make a manual configuration the first domain, but when I return to the service page in plesk... the problem is the same, the Bind Service is not installed; then the problem is when i want create a new hosting i need to go to the ssh to make the DNS configuration...

View 1 Replies View Related

Plesk 12.x / Linux :: Unable To Find Service Node For Web Service On Domain With ID 0

Sep 10, 2014

Got following Problem: Unable to find service node for web service on domain with id = 0

After a Check from [URL] ....

I tried this: [URL] ....

Result:

+--------------------+--------------+---------------------------------------+------------------------------+------------+
| Domains | Service Type | IpAddressesCollections.ipCollectionId | Current value of ipAddressId | Have to be |
+--------------------+--------------+---------------------------------------+------------------------------+------------+
| XXXXXXXXXXXXX.org | mail | 30 | 0 | 1 |
+--------------------+--------------+---------------------------------------+------------------------------+------------+

Resolution:

mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e 'Update IpAddressesCollections SET ipAddressId = 1 WHERE ipCollectionId = 30'

Result: ERROR 1062 (23000) at line 1: Duplicate entry '30-0' for key 'PRIMARY'

View 16 Replies View Related

Plesk 12.x / Linux :: Unable To Find Service Node For Web Service On Domain With ID 6

Jun 24, 2015

Deleted a domain workspace in Parallels Plesk and now I am getting this error when signing into the panel:Looked at the logs and been trying multiple commands (including the bootstrapper repair etc.)I found the full error from the logs:

[13-Jun-2015 16:35:33 UTC] PleskDBException: Unable to find service node for web service on domain with id=6
file: /usr/local/psa/admin/plib/PhDomain.php
line: 1404
code: 0
trace: #0 /usr/local/psa/admin/plib/Smb/Subscription/Domain.php(490): PhDomain->getWebHostingServiceNode()

[code]....

View 1 Replies View Related

Plesk 11.x / Windows :: Values In Priority Of Service And Weight Of Service In SRV Records

Jul 6, 2014

We are currently using Parallel Plesk 11.0 version and there is one requirement from microsoft provider to add the exact same values in SRV Records.

Priority of Service = 100
Weight of Service = 1

but these values are not available in the dropdownlist. attached are the screenshots.

View 9 Replies View Related

Plesk 12.x / Linux :: Internal Error - Unable To Find Service Node For Web Service On Domain With ID 5

Jun 15, 2014

Clean install on openSUSE 13.1

After deleting a domain, we got the following error which rendered the panel useless.

Internal error: Unable to find service node for web service on domain with id=5
Message Unable to find service node for web service on domain with id=5
File PhDomain.php
Line 1402
Type PleskDBException
Go To Previous Page

View 6 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







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