Ssh Code To Copy Files In Same Server

Jun 28, 2009

I want to my friend's files from /home/admin/dc
to /home/ as I am planning to rebuild kloxo for him, this could kill all the files so, I would like to know the code so tht I could copy few files from the above location to the home directory

View 4 Replies


ADVERTISEMENT

Path To Code Files On Hosts Server

May 29, 2009

I have just FTP'd my code files onto my hosts server and i'm not sure whether i need the files in the root of the htdocs folder or whether i can leave them in my folder called website within htdocs...? the structure looks like this atm: htdocs->website->[all of my php files]

also... do i need an index.html file or is index.php ok? atm i am getting a 403 error when i try to connect,

View 5 Replies View Related

How To Copy Files From One Server To Another

May 1, 2008

I have about 1.80GB of flash games and I want to copy this flash games to another server, I only want to copy the flash games not the entire account.

FYI I have shell access on both server.

View 5 Replies View Related

Windows Server 2008, Can't Copy Files

May 31, 2009

I rent windows dedicated server for just about a month, but I never had problem.

When I copy files on my home computer and then paste them onto server's drive, files begin copying, but after some time they stop copying and I hear double beep sound.

Time after which they stop copying is random.

View 5 Replies View Related

Invalid Response Code Received From Server Code: 451,

Jul 7, 2007

when I try to send Email from horde I have this:

PHP Code:

There was an error sending your message: Failed to add recipient: xxxxx@hotmail.com [SMTP: Invalid response code received from server (code: 451, response: Temporary local problem - please try later)] 

View 5 Replies View Related

Track Changes To Code / Files

Oct 2, 2008

I am currently developing a web application on a WAMP server. Once complete my client will have some in-house "programmers" make changes to the code as they are needed.

My client wants to track all changes made to the source files (ie- who made the change, when it was made, what files were modified, and what specific lines were added/removed/modified). Also, the program must run on the server and not the programmers computers.

I've searched high and low and only found a couple programs that scratch the surface of what they want.

View 4 Replies View Related

Search For A Word In Files Code

Jun 19, 2007

I am wanting to search for a word in the files code iincluding in files in folders in /home/USERNAME/public_html/

View 3 Replies View Related

Copy Dot Files

Feb 23, 2007

How do I copy all files and directories recursively to another folder?

I did:

cp --preserve -r /sourcefolder/* /destinationfolder/

However, it missed the dot files

View 2 Replies View Related

Copy An Account From Another Server Via WHM - Cannot Copy Mysql Database

Oct 7, 2008

In previous thread we made few manual transfer of our domains.

We also made some automated migration of few domains/sites using Web Host Manager's Copy an account from another server feature.

All the files and other settings were properly transferred from old server to new server, but only the mysql database is not visible on new server. I am unsure if the same got copied to new server.

View 4 Replies View Related

Copy Files/dir Without Permissions

Apr 17, 2007

I am trying to copy files from one account to another through SSH, files copy with old account permissions and ownership.

Is this possible when I copy, ownership autometically changed to new account.

I am using CPanel and have root access.

View 2 Replies View Related

Hacker Adds Malicious Code To All Html And Php Files

Apr 30, 2009

we have been having a strange hacking problem on our server that we can not seem to find how they are managing to accompish. I am just wondering if anyone here may be able to offer any suggestions on this?

The problem:

On our server, a hacker has managed to add malicious code to all html and php files on two hosting accounts that we operate. These two accounts are seperate and do not share login information. This is the 2nd time this has happened within the past two weeks.

Originally it was suspected that we needed to add SuPhp to prevent insecure permissions. This has been done, yet the problem continues.

On all html pages, malicious javascript has been added, and on all php files malicious php code has been added.

We have a lot of accounts on this server, and as mentioned only the two accounts seem to have been affected by this.

What we have done to attempt to secure the server:
1) We have installed SuPhp.

2) We have ensured that all scripts on the affected websites are updated and running the latest versions.

3) We have changed all the passwords.

Our server is a managed server, and our server company has been very helpful, however at the moment can not seem to pinpoint the problem. There also does not appear to be any indication via the access logs of the infected files being altered, yet they have been altered.

The computers used to access these websites are clean, and do not have any malware running, which would allow a hacker to obtain any passwords. It also does not appear that the hacker was able to obtain root access.

One other thing I noticed, we run Kayako on one of the sites. When this problem occurs we receive a message that Zend Optimizer is not installed on our server when attempting to login to Kayako, when in fact it is.

Searching Google, I found the following link on the Zend site in which the symptoms seem to be very similar. What are the odds this could be a Zend vulnerabilty?

[url]

View 14 Replies View Related

By Shell How Copy Files And Directory

Apr 25, 2007

I found that with unix's shell is possible copy all the content of a folder to oneother; I see the manual and found the command cp;

but there are many parameters;

which is that good?

I would like to replicate all that I have inner a folder to oneother;

so at the finish they must to hawe the identically content;

but I see, that some parameters can change symlink etc...
I want one clone exactly .

the originally folder have at inner directory,subdirectory, files htaccess etc..

View 1 Replies View Related

Copy Files Between Windows Servers

May 28, 2009

I have tried copy files from Linux server to Windows Server using WinSCP3 and it was so fast.

I am not sure who to copy files as well from Windows to Windows with same speed. I tried to use RDC between the Windows Servers and share one drive. But it wasn't fast as WinSCP3.

View 9 Replies View Related

Batch Remove Files And Copy

Jul 30, 2009

to move the httpdocs folders of multiple sites on my plesk server to another server (share on other serv is already mounted so thats not an issue) but their is 31 different domains i need to copy. wondering if anyone knows any way to batch automate a cp process to copy each domains files to a new folder on remote server (this is for backup purposes not live sites so i cant use plesk migration etc

View 3 Replies View Related

Tool To Copy Files From One Webhost To Another

Nov 22, 2008

What tool is there for me to copy a lots of file from one webhost (FTP site) to another webhost? Like in for migrating to another host.

I'm thinking of a tool where I can specify the FTP access information for both sites, and it would perform the copy without needing to store the files on my local hard disk first.

View 6 Replies View Related

How To Get Copy Of All Mysql Databases Into Individual Tar.gz Files

Mar 26, 2009

I'm trying to use the "mysqldump" command to get a copy of all databases on the server...

but I need each database to go into a "databaseXYZ.tar.gz" file.

Does anyone know how to do this? So far, I can only get all the databases into a single file. But I need each database to have its own file.

View 4 Replies View Related

Shell Script To Copy And Rename Files

Aug 27, 2007

To automate a task, I need to create a shell script that will allow me to copy the folder blank/ to a new location and rename it to news/, same for the files inside that directory. And, if possible, change the content of one of those files as well.

For example, I need to copy this:

Code:
blank/
templates/
frontend/
index.html
Blank.php
...to a new folder and rename it to this:

Code:
news/
templates/
frontend/
index.html
News.php

View 5 Replies View Related

HOWTO Cron Job To Copy Files From Folder To Root

Feb 5, 2008

how to setup a cron job to copy files & directories from one folder to the root folder. I have CPanel X.

My root directory is public_html/
I have another directory public_html/uploads containing both files and directories.

I need a cron job that will copy all the files & directories from public_html/uploads to the root public_html/

If it helps, here is some system info

General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.6.22_hg_grsec_pax
Apache version 1.3.39 (Unix)
PERL version 5.8.8
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
PHP version 4.4.4
MySQL version 4.1.22-standard
cPanel Build 11.17.0-STABLE 19434
Theme cPanel X v2.6.0

View 1 Replies View Related

Plesk 12.x / Linux :: Failed To Copy Files Storage To Destination Path - Disk Quota Exceeded

Mar 3, 2015

I am having problems with two accounts, I get the following errors:

Code:
Failed to copy files storage to destination path. stderr: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded stdout: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded

I have run the command

Code:
quotacheck -avugfm

And the output from the command

Code:
df -i

is:

Code:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vzfs 20000000 1542375 18457625 8% /
/dev/simfs 20000000 1542375 18457625 8% /tmp
/dev/simfs 20000000 1542375 18457625 8% /var/tmp
none 1415577 113 1415464 1% /dev

I am at a loss, I don't know what else to try.

View 1 Replies View Related

Copy Files From Raid5's HD To Raid5's HD

Jul 21, 2009

i use Adaptec 2200s with three scsi HD to do raid,

it is install centos with cpanel.

after rebooting,it can not load into the raid5 well,

and shows no logical drivers... and no operation system found.

i try to add new hd,but it still do not build and run.

i think it may the raid5 configuation on the three HDs are missing are ger problem or it will not work at all.

i want to ask,if a use another three hds with the Adaptec 2200s to set another raid5.

and build another one server.

and i mount the old first one HD from the old raid5 and mount the new first one HD from the new raid5,

and copy the files from old ones to the new ones.

View 3 Replies View Related

To Copy Dns To New Server

Mar 27, 2009

I have around 40 domains and I'm trying to avoid copying each one over manually. I can't remember what files need to be copied and the best command to do that.

View 7 Replies View Related

Copy Server To A New HD

May 18, 2007

It turns out my 250GB hard drive was no match for my data... I need to upgrade the HD.

I'm currently using ClarkConnect Community Edition.

Is it fine to make a duplicate of an existing hard drive and just plug the new one in?

Is there any further configuring or is it all sweet?

Also, what software do you recommend to make the copy?

View 1 Replies View Related

Copy MYSQL To Another Server.

Sep 4, 2007

I would like to copy all MYSQL databases, users, etc.. to another server.

One server is RHEL 4 and the other is RHEL5.

What do I need to copy to insure everything is moved over,

View 14 Replies View Related

Copy Database From Another Virtual Private Server (VPS)

Aug 23, 2008

I've a backup on another server and wish to copy that database onto the new server.

Is there any easy way of doing so?

I can only access the VPS (backup) via it's IP and SSH is working fine. PhpMyAdmin on the server is playing up, as well as a lot of other php-mysql applications.

View 4 Replies View Related

SolarVPS Won't Let Me Install A Licensed Copy Of SQL Server 2005

Jul 24, 2008

After carefully choosing a VPS Host, I decided to go with SolarVPS. The VPS was created quickly. I needed a SQL server for small developemntal purposes; So I didn't want to shell out the $10/month extra just yet. I submitted I ticket to them with a copy of my CAL and Product Key:

http://www.nuerom.com/sqlcal.pdf

They sent me a e-mail back saying:

I'm sorry but the document you have attached does not reflect that the software is licensed to you so with this limited information you provided I cannot approve the use of SQL Server 2005 Standard on your VPS.

Well, I sent them the CAL and product key, so what more could they want? The copy of SQL server was recieved from a Microsoft Launch Event, Launch Tour 2005, so I didn't get a invoice. I sent them a copy of the items sent out with:

http://farm1.static.flickr.com/30/61427015_af82ba821b_o.jpg

And opened a chat with them. The chat conversation is attatched:

http://www.nuerom.com/solarvpschat724.txt

In summary,

I asked what they needed to validate - they claimed they needed a invoice.

I didn't understand how a invoice would prove anything, since it is something that can be generated by anyone in a few minutes.

They claimed they get audited from time to time by Microsoft, so they have to make sure genuine software is running on their VPS.

I offered them my MSDNAA license, since I would be only using the server for developmental purposes. I send the a PDF of the MSDNAA order; only to have them deny it again. They claimed that it wasn't valid because I paid with a paypal business account. Even though the MSDNAA terms clearly state that it is a valid license for test and developmental purposes; and that the license is perpetual.

I offered to ship the DVD, CAL and BOX to them. They claimed that this wouldn't be enough to validate. (Implying, of course, that they had some reason to believe I might have stolen the DVD).

At a loss of what to do; I finally contacted Microsoft to have them validate the product; partner support was very nice and directed me to the appropiate departments. I sent solarvps a e-mail back:

I contacted Microsoft and recieved this information. They advised me that the only restriction on this software is that it is NOT FOR RESALE, and that I may put it in full production use. I was told that if you needed validation, you may call 800-426-9400 option 3, option 1. You may reference my name, or my phone number, which will validate my conversation with Microsoft.

See also,
http://download.microsoft.com/documents/useterms/SQL%20Server%20Standard_2005_English_9137cd88-ab33-48b7-ac2a-544f2ec58c4d.pdf

They have yet to reply. I am at a loss of what to do; as I have other promotional software I'd like to install on that VPS; but if its this much of a hassle, I might just go with another host. Unfortunately, solarvps canceled their refund program, so I am at a loss what to do there.

In particular - I feel that SolarVPS just doesn't want to authorize the SQL server because they want me to pay $10/month. This is way too much validation. Besides, as a MS partner, if they were afraid of the software failing auditing they could have called their MS Partner line to verify it was genuine software. Additionally, I felt that Bogdan Fetita, their "senior tech" had attitude that made me feel very unwelcomed.

Should I just move on and find another VPS server after days of trying to find the right one? Or should I hope solarVPS will lighten up?

View 10 Replies View Related

CPanel Copy Multiple Accounts/packages From Another Server

Nov 2, 2009

When i try to Copy multiple accounts/packages from another server i am getting the error

Quote:

password:sshcmdpermissionden

Eventhough user and password correct

View 7 Replies View Related

Plesk 12.x / Linux :: Copy Firewall Rules From One Server To Another

Oct 3, 2014

Plesk 12.x
CentOS 6.5

Any method for copying the Firewall (extension) rules from one server to another.

View 2 Replies View Related







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