Cron Job - "No Input File Specified."

Aug 21, 2007

I'm on paid hosting and accessing the cron jobs through a control panel.

I have a php script that I'd like to run daily.

I've put this script in the folder http://mysite.com/Cron/ .

When I navigate to this file directly in my web-browser it runs perfectly and sends me an e-mail.

When I try to set up a cron tab to execute it, though I get the following error in the cron output...

Quote:

Status: 404
X-Powered-By: PHP/4.4.6
Content-type: text/html

No input file specified.

The command I entered into the control panel was...

Quote:

php [url]

I also tried...

Quote:

php -q [url]

...and...

Quote:

php /Cron/SendMail.php

...those times getting the error...


Quote:

/bin/sh: [url]: No such file or directory

why this might not be working for me?

View 6 Replies


ADVERTISEMENT

Plesk 11.x / Windows :: No Input File Specified?

Dec 29, 2014

I have been contracted to resolve an issue for a Plesk installation. This installation in particular is receiving the 'no input file specified' error when attempting to access Horde webmail, and I believe it is because:

IIS is in FastCGI mode (as expected) Permissions are not allowing php to execute out of the expected path.

PHP is working for all other domains (there are multiple) on this account, it is just the horde PHP that is not functional.

I have tried contacting Skype support but received no answer.

I have tried running the commands --fix-webmail that were suggested in other threads, but they have no effect.

View 2 Replies View Related

Cron: How To Run Php File

Feb 7, 2007

My server with cPanel, I'd like run file http://domain.com/file.php at 0h00 everyday, I have set the Cron Job in cPanel :

Code:
0 0 * * * /usr/bin/ehpwget http://domain.com/file.php
but The cron is not working well

Code:
/bin/sh: /usr/bin/ehpwget: No such file or directory

Can any one please let me know how to run a php file with cron.
(as user or root)

View 2 Replies View Related

Cron Command Remove File Not Working

Jan 1, 2007

I have edited /var/spool/cron/root file

and I've added this line:

*/1 * * * * rm -f /tmp/*.pl

and I have created file lol.pl

and after 10 minute file is still there, why?

View 4 Replies View Related

How To Set Up Cron Job To Replace Index File Every 3 Hours...

Apr 18, 2007

I would like to replace my index file every three hours, with a specified file on the server thats in a different folder (someone keeps putting unwanted stuff in my index file) Can someone explain to me how this is done?

View 2 Replies View Related

Plesk 11.x / Linux :: Setting Up Cron Job For Domain User - No Such File Or Directory

Apr 20, 2014

Can't get it working, I want to set up a cron job for a domain user, but seems that there's a problem to find the php executable. The command is:

Code:
/usr/bin/php/ -f /var/www/vhosts/thedomain.com/httpdocs/test.php

But the report says

-: /usr/bin/php/: No such file or directoryClick to expand...

View 3 Replies View Related

Inmotion Company Input

Feb 11, 2009

I have an Architecture/Interior Design firm and send lots of emails and CAD and photo files. I am designing a website and having it hosted for the first time. (I know...I know...I should have done it long ago..) I have read tons of articles on web hosting.

The website will be lots of photos (thumbnails to be enlarged possibly), text.

Has anyone heard of Inmotion? (web hosting company) They seem to have what I am looking for at a decent price and have gotten some good reviews (but I don't know if those reviews are sponsored by someone).

I work on a Macbook Pro and am looking into creating the website on iWeb....

View 7 Replies View Related

Input On Vritual Hosts

Jul 24, 2008

I have gotten my server configured and running, and have been advised to look into creating virtual hosts for each site, I have found good information on setting virtual hosts within postfix, but does anyone have any good reading on configuring Apache2?

I only have one site I intend to host in the immediacy, but I'd like to host multiples eventually.

View 4 Replies View Related

Colocation In Milwaukee, Input

Jul 2, 2008

I'm thinking about colocating in Milwaukee, purchasing a rack over at the Cogent facility to resell and was faced with a problem. The problem is, to some people, a rather simple one. How can a reseller sell their servers when competition sells their services for unlimited space, bandwidth, domains, sub-domains and such for only $1/month?

I've done the math I could with the information provided to me but am not able to get around the above problem. I can see why some users go to this type of service though. A lot of websites don't even need more than what these sellers offer, and with good reason.

Usually that person only uses 10MB of space and 10GB of transfer.

To break even on hosting, I would have to be able to sell 12 servers at $169 each. Our hardware would be fairly new, capable of whatever you want it to do, short of cutting your lawn, clipping your toenails and what have you, all with 5mbps standard port connectivity inside a 1u case. Obviously you can upgrade the port speeds, drives or whatever else you need in it. This is to snag users into coming with us. Bigger guys charge much more per month for higher end hardware.

I guess what I'm trying to ask is simple. Is it even worth it? Are there users out there who are happy and able to put down $100+ a month for a dedicated server? I'm willing to expand our current services to this type of offering, but I need your input based on your experiences on what you think will end up happening.

View 8 Replies View Related

Input Wanted: Optimizing SQL - For Millions Of Queries

Jul 7, 2008

I am running a SQL test server here that is piping HUGE amounts of data for a test project I am running.

Approximately 30 queries a second - constantly. That's over 2.5M queries a day -- so we are talking big (I think?)

I am currently running this test on a

AMD Phenom 9300, 4GB RAM - SATA 500GB HDD and I am running MySQL 5.0.51a i386 on CentOS

I have programmed a process control for our applications purpose - basically it controls the launching of our SQL intense applications, and stops launching when the Load is greater than 2.5

I have plans to optimize the number of queries (I will build in a cache to some of the applications - and run INSERT statements all together) however I am looking for SQL tweaks that will improve performance. Would running the 64bit version work better?

View 12 Replies View Related

Input For New Intel Quad Core Colo Box

Mar 14, 2007

I'm considering to buy new Intel Quad Core box for running CPanel shared hosting (high traffic sites).

Supermicro 6015P-8
Intel Clovertown E5310 Quad Core (Quantity 2)
4 x Kingston 1GB 240-Pin DDR2 FB-DIMM ECC Fully Buffered DDR2 667
2 x Seagate Cheetah 10K.7 ST3146707LC 147GB 10,000 RPM (RAID-1)
LSI LOGIC 320X2128-F
Total: $3742

Supermicro 6015V-MT
Intel Clovertown E5310 Quad Core (Quantity 2)
4 x Kingston 1GB 240-Pin DDR2 FB-DIMM ECC Fully Buffered DDR2 667
2 x Western Digital Raptor WD1500ADFD 150GB 10,000 RPM (RAID-1)
3ware 9550SX-4LP
Total: $2950

Which one of the above offers better performance and I/O?

I went with higher end SCSI chassis and higher end LSI card to have 133Mhz on the PCI-X slot, but is it worth the extra cost?

Any better recommendation with similar or cheaper prices?

I'm also wondering which one is faster between a single Intel E5310 Quad Core vs dual Woodcrest 5130?

View 7 Replies View Related

Plesk 12.x / Linux :: Increase PHP Max Input Vars Value

Apr 24, 2015

I'm using php 5.5.9 with Plesk 12 running on Ubuntu and am trying to increase the max_input_vars value.

For the PHP settings in the additional directives box I have added the following: max_input_vars = 5000

I have saved the settings and even rebooted the server, however the max_input_vars is stuck at 1000 when looking at the php configuration.

View 8 Replies View Related

Lynis (Unix Audit Tool), Technical Input

Jun 22, 2008

After peeking around at this board for some years, I decided to create an account.

I'm the original author of Rootkit Hunter and decided to create a new tool, named Lynis.

Lynis is an auditing tool for Unix (Linux, BSD and other). It scans the system and available software to detect security issues, bad/insecure configuration options and unsafe file(s) permissions. It tries to assist administrators in using and maintaining best practices, but also in the common things which get forgotten (like expired SSL certificates).

Though Lynis has been available for some months now, and many
updates/suggestions have been implemented, it still can use a broader user base. So my issue (we are in the technical issues section after all) is that I like more input and want to know what other people audit on their systems. Or what tools they like the most. Of course I have many ideas myself, but with the many different people here (in skills and specialties), every input is most likely improving the tool and increasing security for others as well.

In case you like to try the software (GPL, free to use), the software can be found at www . rootkit .nl (can't use URL's yet, due 5 post policy)

Since I don't only want to announce my tool (but like to have some input), I placed it in this section, hope it doesn't look like a "commercial" sell.

View 2 Replies View Related

Dell 1600SC DRAC3 No Keyboard Input With RHEL 5

Dec 18, 2007

I just got a Dell 1600SC dual xeon 2.8 from the Planet with a Dell DRAC3 remote access card. In my RHEL3 system this hardware combination works great, but in the new RedHat Enterprise Linux 5 system the DRAC accepts no keyboard input after RHEL5 loads, thus making it impossible to login to the OS through the drac remote console redirect. Tech support suggested it was because the RedHat Enterprise 5 and CentOS5 kernel does not load the PS/2 keyboard driver which is required for the Drac3 to accept keyboard input. (a drac4 works, but that's not an option for this server I would guess.)

At tech support's suggestion, I added
atkbd.set=2
to the /boot/grub/grub.conf file
rebooting had no change - still text input to enter the bios, but no text input to login to the OS.
I also added
serial --unit=0 --speed=9600 -word=8 --parity=no --stop=1
terminal --timeout=2 serial console
which I saw in /etc/grub.conf (which is not linked to /boot/grub/grub.conf but instead a separate file) but still no luck - no keyboard input accepted through the drac3 remote console to login to the os through the drac console redirect.

Has anyone solved this hardware/software combination? Or is RHEL5 simply not going to be backwards compatible with the Dell DRAC3 hardware?

Any ideas, suggestions, or solutions would be greatly appreciated as I've been working on getting a solution for this for a week now and no closer at this point.

I would really like to have the DRAC as a backup connection with my server incase any firewall or software update issue ever prevents me from connecting via ssh. I hate to have roll back to an older OS though to get it. I'm stuck.

View 0 Replies View Related

Unexpected Character Input Error When Running Php4 And Php5 Together

Jul 21, 2008

CentOS - I had php4 running and php5 as cgi but then decided I wanted to have it the other way around i.e. run php5 standard and php4 as cgi.

php5 is now running fine but php4 bombed with this error:

Code:
Unexpected character in input: '?' (ASCII=15) state=1 in /usr/local/cpanel/cgi-sys/php4
I fixed it by doing the following:

EDIT php.ini file:
Normally in /usr/local/php4/lib/php.ini

Under
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

UNCOMMENT this line

Code:
;cgi.fix_pathinfo=0
(i.e. remove the ";" infront)

and
CHANGE 0 to 1:

Code:
cgi.fix_pathinfo=1
This is for Linux and must be done with root via SSH

Not sure if this will help anyone, but I thought I'd post it anyway.

View 0 Replies View Related

Input/output Error On /home Partition On A Freebsd Server

Mar 8, 2008

I'm getting the feared "input/output error" on /home partition on a freebsd server this server runs RAID-1, dmesg shows:

twed0: controller error - device failure (flags = 0x40)
g_vfs_done():twed0s1g[READ(offset=36997054464, length=16384)]error = 5

anyone knows what's my best action here? unmount /home and fsck it? or shutdown the server and replace a drive? (but, from this error message, I couldn't guess which drive is it... also, the 3dm raid monitoring didn't find any problem, so maybe it's the controller?)

View 3 Replies View Related

Unexpected Character In Input: (ASCII=26) State=1 In /usr/local/cpanel/cgi-sys/ph

Apr 3, 2008

i add the php5 and set php4 as cgi from whm,

after finisging,

it takes errors

Warning: Unexpected character in input: (ASCII=26) state=1 in /usr/local/cpanel/cgi-sys/php4 on line 864

Warning: Unexpected character in input: (ASCII=8) state=1 in /usr/local/cpanel/cgi-sys/php4 on line 864

Parse error: syntax error, unexpected '?' in /usr/local/cpanel/cgi-sys/php4 on line 864

View 2 Replies View Related

Plesk 11.x / Windows :: Parallels - Input String Was Not In Correct Format / Failed To Update RRD Database

Sep 24, 2013

Every day we get a couple off Parallels.Diagnostics.RRD.RrdStorageProvider errors:

Parallels.Diagnostics.RRD.RrdStorageProvider - <log4net.Error>Exception during StringFormat: Input string was not in a correct format. <format>Update to database {0} has failed [{2:HH:mm:ss:ffff}]. {1}</format><args>{cpu-1.rrd, Parallels.Diagnostics.RRD.RrdException: Failed to update RRD database "C:Program Files (x86)ParallelsPleskvarhealthdatalocalhostcpu-1.rrd":ERROR: could not lock RRD
, 00:00:09.6084608}</args></log4net.Error>

Source: ParallelsHealthMonitor

We are running a Windows 2008 R2 Enterprise server with the latest Plesk 11.5.30 update 16.

View 3 Replies View Related

Plesk 12.x / Linux :: Deny User Upload File Via File Manager Or Hidden File Tab?

Feb 10, 2015

I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...

View 2 Replies View Related

Iconv: Unable To Allocate Buffer For Input: Cannot Allocate Memory

Jun 26, 2009

iconv: unable to allocate buffer for input: Cannot allocate memory

as title I have this error when I try convert database to uft-8
when I try this command

Code:
# iconv -c -f windows-1251 -t utf-8 vbulletin_db.sql > vbulletin_db_utf8.sql

I get this error
iconv: unable to allocate buffer for input: Cannot allocate memory

View 12 Replies View Related

1.com/file.php, 2.com/file.php Where File.php Is Hosted On Main.com/file.php

May 26, 2008

Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php.

I want to use the file like this:
website1.com/file.php
website2.com/file.php

View 2 Replies View Related

Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0

Mar 6, 2008

Rapidly growing error logs showing the same message

$ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0

root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*

Using cpanel 11 / centos 4

View 1 Replies View Related

How Can I Show Hidden File In Cpanel File Management Tool

Jun 16, 2008

i have a server with centos,

i need to edit the hidden file .htaccess from the file management tool of cpanel,

but the hidden files not shown,

ow can i modify the setting and let the files shown in the file management tool of cpanel?

View 6 Replies View Related

Plesk 12.x / Windows :: STOP Resetting File Permissions On DLL File?

Sep 17, 2014

How can we stop Plesk resetting the file permissions on a dll file that is found in

C:Program Files (x86)

??

Specifically,

we have a file, jmail.dll,

here

C:Program Files (x86)Dimacw3JMail

By default Plesk permissions are set to DENY for PSACLN.

But the JMail plugin cannot work with these permissions !

We change this to be ALLOW for READ & EXECUTE and DENY for WRITE.

And everything works fine.

But every time Plesk does an update it reverts it back !

This means that a number of our customers contact forms stop working !

View 12 Replies View Related

/usr/bin/gzip -p Correct Option To Unzip First File To Second File?

Nov 22, 2008

I'm trying to do this

/usr/bin/gzip -p /home/mysite/public_html/shop/feeds/myfile.xml.zip > /home/mysite/public_html/shop/feeds/myfile.xml

But it just tells me

/usr/bin/gzip: invalid option -- p
X-Powered-By: PHP/5.2.5
Content-type: text/html

How do I find the correct option to unzip first file to second file?

View 8 Replies View Related

Apache :: How To Discover Which Php File Allows Malicious File Upload

Oct 10, 2014

i manage linux apache webserver with a few wordpress blogs and from time to time i see someone inject a malicious .php file into wp-content/uploads/2014/10/ directory.

i think its some bad plugin or theme, but these is more blogs, i ugrade, update, WP, but

how can i setup some monitor to tell me which php file (or even line in php file) injected that malicious .php ? I have linux root access so i can setup anything 

View 3 Replies View Related







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