Rysnc While File Still Writing
Jul 15, 2008
I wanted to make a cronjob with rsync, but I was wondering what happens when a user is uploading a file and the file is being created and at the same moment rsync synchronizes with another server.
Will the file be skip, partially be synced, ...?
View 2 Replies
ADVERTISEMENT
Aug 31, 2008
My account has been hacked with every index.php page defaced. I've cleaned up and my shared wehost is pointing at me saying there shouldn't be any 777 permissions for any files in there.
I used 777 to allow php to add records in a txt file and in an xml file.
Is there a better / more secure chmod code I can use?
Those are the only two instances where I need php to write to a file and those files shouldn't be served to anyone, I do not want anyone to be able to access them.
How can I secure them while letting php write in them?
View 5 Replies
View Related
Aug 24, 2007
send mail from my server doesn't work!
exim log give:
Code:
2007-08-24 16:52:18 1IOZa6-0007Ct-8y ** xserverx@hotmail.com R=lookuphost T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<root@server.XXXX..info> SIZE=1419: host mx3.hotmail.com [65.54.244.200]: 501 Invalid Address
2007-08-24 16:52:18 1IOZaE-0007DC-Do Error while reading message with no usable sender address (R=1IOZa6-0007Ct-8y): at least one malformed recipient address: root@server.XXXX..info - domain missing or malformed
2007-08-24 16:52:18 1IOZa6-0007Ct-8y Process failed (1) when writing error message to root@server.XXXX..info (frozen)
View 3 Replies
View Related
Feb 21, 2014
I'm trying to change url structure so instead of /default/category/product.html it would show /category/product.html
With this line I've managed to do it on my personal blog
RedirectMatch 301 /default/(.*) //$1
But when I've implemented it on a customers Magento site it started showing double slashes like this //category/product.html and the whole template just collapsed .
View 17 Replies
View Related
Jan 19, 2008
Does writing large files (ie, 10GB backups in one archive) cause any risk of damaging a linux filesystem?
View 1 Replies
View Related
Jul 30, 2007
I got this while trying to force the urchin log processing:
Code:
WARNING: (7024-323-2398) Could not delete backup file - check permissions.
DETAIL: /home/virtual/mysite.com/var/log/httpd/access_log : Permission denied
All permissions are OK.. I dont know what is happening.
Also, scheduler can not start:
Code:
[root@srv1php.com:~]sudo -u apache ./urchinctl start
Urchin webserver is already running
WARNING: (7004-557-91) Unable to open database for writing - check permissions.
DETAIL: Permission denied
Im using Ensim Pro 10.
View 2 Replies
View Related
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
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
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
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
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
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
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
Jul 9, 2007
Today I found some cstomer on the servers make a link for named it file.txt and link it to other customer php file.
so that customer have the ability to show the other custoer file content when visiting the url because it is a text wile originally it is a php file.
the php file was a config file, so now he know the database password , and because he is in the same server he can use that databse.
the question , how to avoide this prolem in the future?
notes , the SuExec is rnning and the open_basedir protection is enabled, but the problem still exists.
View 12 Replies
View Related
Oct 3, 2009
have some E_Books in PDF I want to convert them to word document format
Also need a share hosting for this
View 14 Replies
View Related
Nov 26, 2008
how to put a .FLV format file on a web page with out using the .swf file?
View 4 Replies
View Related
Jul 1, 2009
un-tar big file - big head ache - any way to overcome?
I was un-tarring a file of 6.622gb, the un-tar size should be around 14.4gb I think, most of them are image files .jpg's
and its taking hell a lot of time and not to mention the breaks for un-specified time to process once again,
started decompress around 40-50mins earlier and still the process is on,,.....
using centos5 , ssh - root access
is any there any way I can overcome this problem in future, I can't afford to spend so much time on friends vps just to decompress files?
View 8 Replies
View Related
Jun 12, 2009
Client asked me:
I'd like you " to move my web sites that I have in a FTD file from were it is now to GoDaddy? I have the accounts already set up all that has to happen is the move."
I must confess that I have no clue what he means by FTD file. What am I missing?
BTW, I have Googled it with no results that make sense to me.
View 5 Replies
View Related
Jun 25, 2009
I was playing around with this and that as you do, and somehow changed my /tmp folder from rwxrwxrwt to rwxrwxrwx -
iv tried running chmod 1777 /tmp as someone suggested that but nothing seems to of happened?
View 5 Replies
View Related
Jan 30, 2008
I have a web site backup file (let's call it 'filename.tar.tgz') that was generated from a home-grown web hosting panel and is ~1.6GB in size. It is resident on a WinXP computer, but I also have it copied to a *nix machine.
I have attempted to restore the backup using the normal restore process provided by the site admin panel, but it will never complete because of the size of the file. So, I need to retrieve the folders/files from within the 'filename.tar.tgz' file so that I can re-upload the files/folders through normal FTP.
I have had no success extracting the files/folders when using tar, gtar, gunzip, etc on the Linux box. 7Zip won't open it either. The Linux terminal reports a 'stdin: not in gzip format' error when trying to decompress/extract the files.
What I need is the exact syntax (with any switches) that I can use in my Linux Terminal Shell for extracting this archive so that I can access the files within.
View 8 Replies
View Related
Oct 2, 2007
Where would the my.cnf file be kept for Plesk?
I found one in /etc, but the max_allowed_packet option was there.
View 2 Replies
View Related
Apr 2, 2008
If a hosting company offers both paypal and CC on file (CC on file with auto-subscription/-recurring ability), which payment method do you prefer to use as a customer?
View 14 Replies
View Related
Jan 12, 2008
I've been recently trying to move an account between servers, but the backup file is always incomplete. I was told that it is possible there are too many files.
I decided to tar some of them and move manually, but I cannot access the tar file. I already changed all permissions (644), owner, group, but I still get 403 Forbidden error. Is it possible that the file is too big (9 BGs), and if it is, how do I change the file size limit?
View 14 Replies
View Related
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
Apr 29, 2009
How to clear all content in e.g file.txt via ssh(OS is Debian)?
I need a script to merge contents of 2 .txt files, e.g file1.txt and file2.txt to 1 file - file3.txt
View 4 Replies
View Related
Oct 25, 2009
I'm having a issue with my current robots.txt file , which is not properly handling the requests/ blocking the content to be access . What I want is that to only allow like google bots , yahoo , msn , bing , alexander ranking beside those bots block all other bots . my current file rebots.txt is below
Code:
User-agent: Googlebot
Allow: /
User-agent: googlebot-image
Allow: /
User-agent: googlebot-mobile
Allow: /
User-agent: MSNBot
Allow: /
User-agent: Slurp
Allow: /
User-agent: Teoma
Allow: /
User-agent: twiceler
Allow: /
User-agent: Gigabot
Allow: /
User-agent: Scrubby
Allow: /
User-agent: Robozilla
Allow: /
User-agent: Nutch
Allow: /
User-agent: ia_archiver
Allow: /
User-agent: baiduspider
Allow: /
User-agent: naverbot
Allow: /
User-agent: yeti
Allow: /
User-agent: yahoo-mmcrawler
Allow: /
User-agent: psbot
Allow: /
User-agent: asterias
Disallow:
User-agent: yahoo-blogs
Allow: /
View 5 Replies
View Related
Mar 8, 2009
Can i share files from linux to linux machine using SAMBA
View 1 Replies
View Related
Mar 3, 2009
Can i find how much a file consumes bandwidth when the file is executed on the server or when the request is made on the server?
View 6 Replies
View Related