/usr/bin/gzip -p Correct Option To Unzip First File To Second File?
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 Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Proc List Only Shows "/usr/bin/php" - No More File Names
We use cpanel on our centos servers and we've updated our servers recently using easyapache to the latest php4 and mod_suphp and I've noticed that in top (running "top c" in shell) all php processes by any user are simply displayed as "/usr/bin/php" Before this update the processes also showed the file name eg. "/usr/bin/php lamescript.php" which allowed to easily find troublesome scripts ... but now there's no way of knowing what the script in question is that's eating up 100% of the cpu .. or is there?
View Replies!
View Related
/usr/bin/fakegauge
Is anybody aware what this file or what it is for? /usr/bin/fakegauge LFD on my cPanel CentOS 5.1 Linux box reported an md5 checksum failure on this file. I am not sure what it is for. I want to know if this is something I can get rid of or a sign that my server has been compromised.
View Replies!
View Related
Permission Denied /usr/bin/maildrop
I have a VPS with Ubuntu 9.04. I've setup ISPConfig etc as per the Perfect Server Howto Forge pages. However I'm getting a problem with the configuration of maildrop, I get Code: temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Unable to change to home directory. ls -lah /var/vmail Code: drwxr-xr-x 4 vmail vmail 4.0K Jul 27 04:19 . drwxr-xr-x 15 root root 4.0K Jul 26 13:01 .. -rw------- 1 vmail vmail 1.3K Jul 26 13:01 .mailfilter drwxr-xr-x 5 vmail vmail 4.0K Jul 26 17:15 siricom.co.uk -rw-rw---- 1 vmail vmail 4 Jul 27 04:19 ispconfig_mailsize drwxr-xr-x 2 root root 4.0K Jul 26 13:01 mailfilters grep vmail /etc/passwd Code: vmail:5000:5000::/home/vmail:/bin/sh
View Replies!
View Related
/usr/bin/php Overloads CPU
Moved to new server today (and upgraded PHP to 5.2.6). All I see now is high CPU load due bin/php + lots of defuncts. 24324 nobody 0 97.7 0.4 /usr/bin/php 21253 nobody 0 96.0 1.2 /usr/bin/php 28225 nobody 0 94.1 0.4 /usr/bin/php 18109 nobody 0 79.0 0.0 php <defunct> 12750 nobody 0 50.7 0.0 php <defunct> 24961 nobody 0 18.1 0.3 /usr/bin/php 18967 nobody 0 6.3 0.0 php <defunct> Once I click on process in WHM, it says: The Process no longer exists. Trying to trace this now.
View Replies!
View Related
/usr/bin/perl -w Hnc.cgi
When i was running top -cd2 command following scripts are taking high cup uses on server. But when we are go home directory we didn't find any thing. 24489 "User Name" 20 0 6732 5084 1164 S 8.0 0.2 11:00.69 /usr/bin/perl -w hnc.cgi 26456 "User Name" 20 0 6876 5080 1164 S 8.0 0.2 7:23.47 /usr/bin/perl -w hnc.cgi 32569 "User Name" 20 0 6748 5056 1164 S 7.5 0.2 8:57.30 /usr/bin/perl -w hnc.cgi update us why this script are running under some particular users and what the application of this script.
View Replies!
View Related
Permission Problem On /usr/bin For Hosting Users
I'm working on one of my customer's server but i have a permission problem. I want to run some commands via php but there is a permission problem with commands. If my php file having root user and group permissions i can check and use the executable files. Otherwise, if the php files have normal hosting account user and group permissions i can't be able to use needed commands/executable files. I tried to change commands group to same group but it didn't work. What should i do for solve this?
View Replies!
View Related
Is It Safe To Put /usr/local/bin In Basedir
I am trying to assist a customer install a Dolphin CMS but it returns some "open_basedir restriction in effect" on /usr/local/bin/php (it needs the path to the PHP binary). If I put /usr/local/bin/php in httpd.conf -> php_admin_value open_basedir "..." it seems to work and it finds the required binary but...is this safe?
View Replies!
View Related
/usr/local/apache/bin/httpd -k Start -DSSL
When I look at my Current CPU Usage / process manager, I see this: Pid |Owner | Priority | Cpu % |Mem % | Command 13754 | nobody | 0 | 2.2 | 4.0 |/usr/local/apache/bin/httpd -k start -DSSL I've got about 9 more of these, and it keeps eating up the memory. What is it and what can I do? Is it just apache running?
View Replies!
View Related
Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0
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 Replies!
View Related
Links Files In Linux (file.txt For File.php)
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 Replies!
View Related
Clear The File
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 Replies!
View Related
File Info
any idea on this error,? my fiend is having pb with fileinfo after his installation Warning: finfo_open() [function.finfo-open]: Failed to load magic database at '/usr/share/file/magic.mime'. in /home/tomita/public_html/ff/fileinfo.php on line 2 Warning: finfo_file(): supplied argument is not a valid file_info resource in /home/tomita/public_html/ff/fileinfo.php on line 3 Warning: finfo_close(): supplied argument is not a valid file_info resource in /home/tomita/public_html/ff/fileinfo.php on line 4 these are the errors he see when he use the following code <pre><?php $finfo=finfo_open(FILEINFO_MIME); $FT=finfo_file($finfo,'windows2008.png'); finfo_close($finfo); print_r($FT); ?> ~
View Replies!
View Related
FTD File
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 Replies!
View Related
/tmp File
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 Replies!
View Related
Finding This File
finding this file iam stuck in middle of install,that install need the below file i tried in google i cant find it can anyone help me to find the file ffmpeg-SVN-r14473.tar.gz
View Replies!
View Related
Upload File
I have a forum ( VBulletin ) in admincp Upload file is ok and high, For example .Zip file are max 3 Meg upload, but i want upload .Zip in thread, i can not upload over 1 Mb, and i view database error!
View Replies!
View Related
File Sharing
I tried searching for this, but haven't found the solution. I currently have a VPS I'm not using for anything else, so I thought it would make a good file server for sharing files between my home and office computers. Ideally, I'd like to do this via SMB/Samba so I could map a windows network drive to a directory on the VPS from both locations. I've set up SAMBA and it works great via the VPS (ie. smbclient returns that it is sharing the directory, etc...). The problem is I can't get either of the remote machines to connect. I read about a way to do tunneling in PuTTY, which worked. In essence I created a Microsoft Loopback device on the remote machine and ran putty forwarding the samba share port. This worked perfectly, in that I could type "10.0.0.1" (the MS loopback interface) and access my VPS shares on my home machine. However, this isn't ideal, as you have to keep PuTTY running to be able to access the shared drive and you have to keep a live SSH session going. Does anyone have any ideas as to how to cut out PuTTY from the mix and just be able to do "vps.hostname.comsharename" directly from both the home and office machine. I gather this would be trivial if my home machine and the VPS were on the same network. Would a VPN solution make sense here? Any good recommendations? I think a VPN connection would be much easier to setup and deal with than the SSH tunneling solution. Searching on here revealed adding a line "hosts allow" with the remote IP into smb.conf; however, that did not work for me. It's still as if the remote machines cannot see the VPS through SMB.
View Replies!
View Related
Cannot Upload File
When I try to install ffmpeg, but it fail. The server cannot upload 1KB file from php. $_FILES['xxx']['size'] return to 0 $_FILES['xxx']['tmp_name'] return to '' Server: CentOS 5.x X86_64 Bit + Cpanel + Apache 1.3 + PHP 4.4.8... Quote: Originally Posted by php.ini ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 30 max_input_time = 60 memory_limit = 64M ; Maximum size of POST data that PHP will accept. post_max_size = 8M ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; ; Whether to allow HTTP file uploads. file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ;upload_tmp_dir = ; Maximum allowed size for uploaded files. upload_max_filesize = 50M
View Replies!
View Related
Cant Download File
I have just performed a ftp backup of my entire server. I then zipped it up in Cpanel. The file size its self it 3322megs big (about 3.3gb). If i press it to download it says: Forbidden You don't have permission to access /backup/sepmid07/sepmid07.zip on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.37 Server at backup.xxx*********** Port 80 I have made sure that i have the right permissions, I have also made sure that it belongs to the correct user. Also next to it where it would say how big it is, it says "-"
View Replies!
View Related
File Size Is 0
So I got the dedicated server. Now, when I upload files to my server, some files upload fine but most upload but with 0 file size. That's weird. What can cause this? I used 3 FTP clients same results also no passive mode..
View Replies!
View Related
MasterZone File
is the BIND9 zone file correct? Code: $ttl 38400 example.co.uk. IN SOA ns1.example.co.uk. webmaster.example.co.uk. ( 1184891779 10800 3600 604800 38400 ) example.co.uk. IN A 123.123.123.122 ns1.example.co.uk. IN A 123.123.123.122 ns2.example.co.uk. IN A 123.123.123.123 ftp.example.co.uk. IN A 123.123.123.122 server.example.co.uk. IN A 123.123.123.122 mail.example.co.uk. IN A 123.123.123.122 example.co.uk. IN NS ns1.example.co.uk. example.co.uk. IN NS ns2.example.co.uk. example.co.uk. IN MX 10 mail.example.co.uk www.example.co.uk. IN CNAME example.co.uk. www.example.co.uk. IN A 123.123.123.122 will this work as a DNS and nameserver server?
View Replies!
View Related
File Permissions
my question is relating to a "DJ Panel" that I am making. I am looking into various file permissions and was wondering if all PHP files that are part of the DJ Panel have file permissions of 0666 will that pose any kind of security threat (make life easier for hackers) or do you see any downside to doing this?
View Replies!
View Related
File Is Not Accessable
I have created pkgacct on one of my server and moved it to public_html, now when I am trying to download that file through the valid link i.e [url] Its not accessable, Its showing the following error:- Forbidden You don't have permission to access /cpmove-myusername.tar.gz on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.33 Server at www.mydomain.com Port 80 The file size is 2.6GB, the above error is because of large size ? or is there any limit of file size in apache?
View Replies!
View Related
Rysnc While File Still Writing
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 Replies!
View Related
Rsync With Password File
I have created a password file in /root/passw.txt then run command rsync -ave 'ssh -p 1234' --password-file=/root/passw.txt admin@10.0.0.10:/home/admin/backups/* /backups But it still asks for the password. How can I fix it?
View Replies!
View Related
Htaccess File Not Working
I'm wondering why sometimes my htaccess files don't seem to work, especially when contained within subdirectories. I've got two problematic situations: (1) I've got a mod rewrite that supposedly works. I put it in a subdirectory like /dbase/stuff/ but the script ignores it like it just isn't there. Permissions don't change anything and they are currently set to 644. It's very simple and only contains the following code: ....
View Replies!
View Related
Htaccess File Size
I manage a high traffic website on one of my dedicated servers. It currently serves around 2 million uniques/mo. In time, due to page changes, around 200 important URIs got a redirect [L,R=301] in the main .htaccess file that's sitting on the root directory. Redirects are in the form of : person/J/James_Blake_2000/ --> /user/James_Blake/ Thus, the .htaccess file has reached well above 200 lines. I would like to kindly ask for advice: should I limit the dimension of this htaccess file ? How do you guys treat these permanent redirects?
View Replies!
View Related
Function.file-get-contents
I got this warning message from a script I was working on to read XML feeds. Warning: file_get_contents(url) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:Apache2.2htdocs est5.php on line 8 but when i run the url itself, it works fine. i already set allow_url_fopen = On
View Replies!
View Related
|