Change File Name In Linux

Jul 29, 2009

I have a file and i need to change this file name.

But its have space now.

Its: My File Name.tar.gz

How can change this file name to: My-File-Name.tar.gz

View 2 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Cannot Change User File

Jan 19, 2015

We have a website under httpdocs/. We can change/delete files with a ftp user : "ftpold". All is ok. We must create another ftp access for another company which can access only to httpdocs directory (not to logs/, error_docs/...).

So we have create a ftp access in Plesk. But with this ftp connexion, we can not update/delete files ou update rights.

So we decide to change rights on the files/directories under httpdocs with the new ftp access :

httpdocs# chown -R ftpnewsacln *

The is no errors but the files:directories are always with the old ftp user :

httpdocs# ls -l
ftpold psacln ... libs/
ftpold pscln ... index.php

Why ? How can i create another ftp access ?

View 3 Replies View Related

File/Command To Change Number Of Open Files In Linux

Aug 22, 2009

I can't seem to remember, but what's that command or file used in Linux so that you can view/adjust the number of open files and others in the system?

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

Plesk 12.x / Linux :: Change Plan Via WHMCS Causes Dedicated IP To Change To Shared

Feb 21, 2015

I have a client on a dedicated IP, today we needed to downgrade the web hosting plan. As the web hosting plan puts users on a default shared IP, this plan change also changed the dedicated IP to the shared one causing some propagation issues for a small period of time.

I have contacted WHMCS about this asking if they had a way of changing the clients plan but keeping the IP address intact as this could lead to some very undesirable outcomes. They explained that it is not their fault and to contact Parallels.

I know I can change the plan directly in Plesk however by initiating the plan change via WHMCS, everything is automated.

View 1 Replies View Related

PHP File Change String

Dec 14, 2007

I currently have this code in my Image Upload script which changes the file name into sets of numbers and letters

Quote:

$new_file_name = "uploads/" . md5($_FILES['selector']['name'] . time()) . "." . $extension;

How can i make it so its smaller than an md5, about 6 or 7 numbers and letters.

View 2 Replies View Related

Do VPS Or Dedicated Allow Change File System

May 17, 2009

well i am running into the problem of hitting 30k subdir limit. so i need to change to a file system that supports something much bigger.

question is, do hosts allow this ?

View 3 Replies View Related

Unable To Change The File Attribute

Sep 14, 2007

I am not able to change the attribute of a file using the command chattr. Please see the output below.

root@server [~]# lsattr /etc/exim.conf
----ia------- /etc/exim.conf
root@server [~]# chattr -ai /etc/exim.conf
root@server [~]# lsattr /etc/exim.conf
----ia------- /etc/exim.conf

In fact, I can change the attributes for all the other files.

I noticed that attribute of /etc is I

root@server [~]# lsattr -d /etc
----------I-- /etc

View 3 Replies View Related

How To Change Permissions Of A Read Only File System

Jun 21, 2008

I have a dedicated server and till few days back i was able to edit my files fine but this morning when i am trying to edit any file, it gives me back this error:

[user@domainname theme]$ chmod 777 header.php
chmod: changing permissions of `header.php': Read-only file system
[user@domainname theme]$

[root@domainname theme]$ chmod 777 directoryy
chmod: changing permissions of `directoryy': Read-only file system
[root@domainname theme]$

I tried both as normal user and root and same results. Do you think the hosting guys changed the permissions of the file system or something?

View 4 Replies View Related

Apache :: How To Change Bulk File Permission From All Folder

Sep 14, 2013

Recently I moved my WordPress website to another server, After moving my site I see that my all files permission set to 664, for that I getting many error, now I want change all files permission 644, but problem is I have many subdomain with this site, is there any way to make change all files permission to 644 with SSH or any other way?

View 1 Replies View Related

Links Files In Linux (file.txt For File.php)

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

Trying To Change PHP Config On Linux Server

Mar 8, 2007

after a number of hours I finally got myself an SSH connection to my Linux server. I created an account with bin/bash access, whatever that is, and got in. Phew, this is all new to me!

I can get to the ./configure prompt and all looks well when I type command --enable-magic-quotes but I refresh my phpinfo() and nothing has changed.

All I want to do is install Joomla!

My Joomla! installation tells me to action following: Set PHP magic_quotes_gpc setting to ON
Set RG_EMULATION setting to `ON` instead of `OFF` in file globals.php
Display Errors should be on
Register Globals Emulation should be off instead of on


It's also telling me that the var/lib/php/session is unwriteable. Do I need to get shell access and command to do that too?

View 5 Replies View Related

Plesk 12.x / Linux :: Can't Change SSL Certs For IP Addresses

Jun 12, 2015

I have installed a new SSL cert and tried to assign it to an IP address.

Plesk says "Information: The properties of the IP address .... were changed."

But it seems the SSL cert was not changed.

Running in mysql the following query

select d.name from domains d inner join hosting h on h.dom_id = d.id where h.certificate_id = <id of new cert>;
gives:

Empty set (0.00 sec)

I changed the cert for the IP where all my domains are so it should show the domains using that IP/cert. Running the query using the ID of the old cert lists all the domains on that IP/cert.

View 1 Replies View Related

Plesk 12.x / Linux :: PHPMyAdmin Permissions Change

Jan 28, 2015

CentOS 6.6
Plesk 12.0.18
64-bit

At some point, not sure when, PHPMyAdmin's (as accessed through the admin panel by clicking on a customer, manage hosting, databases, etc) permissions have changed such that I cannot view, edit or add MySQL routines/procedures. This appears to have occurred system-wide, though I have not checked every database on the server.

Is there a fix to get the permissions set so that I can make these changes again?

View 3 Replies View Related

Plesk 12.x / Linux :: Change Root Password

Feb 9, 2015

Are that possible to change root password on plesk?

I have a man so work for me on my server and install double php version on my server and maybe it`s best and change password to root!

So no one have access to my root more.

View 5 Replies View Related

Plesk 12.x / Linux :: How To Change Ports Of Nginx

Jul 9, 2014

how to change ports of Nginx from 80 to 8080 I would like install Varnish

View 2 Replies View Related

Plesk 12.x / Linux :: Change WordPress URL In Parallels

Nov 8, 2014

I recently changed the main domain url from website.com to www.website.com, this resulted in 404-errors when i navigated to wordpress...

I found a solution on the internet and updated the records with phpmyadmin [URL] ....

When I click on Login at the the WordPress Installations I'm still being navigated to the old website url. It supprices me that there is no option to change it on Plesk level after wordpress is deployed.

How can i change or update the wordpress path once it is installed in Plesk?

I'm using CentOS 6.2, maybe there is a config file or an database for Plesk?

View 2 Replies View Related

Plesk 12.x / Linux :: Change Quotas On Web App Edition?

Jun 21, 2014

I dont find where or how can I change default mailbox size, traffic and disk space for each domain in Plesk 12 Web App Edition, I only have unlimited by default.

View 15 Replies View Related

Plesk 11.x / Linux :: Unable To Change Timezone (AWS)

Nov 9, 2014

We have installed our plesk servers using parallels plesk mage from AWS market place. We are unable to change the system time from default NOVT.

$ date
Mon Nov 10 13:28:25 NOVT 2014

When we tried changing time to EST from plesk tools / by linking /etc/localtime to /usr/share/zoneinfo/EST

We can see the logs are updated with the EST timings but 'date" command still shows the NOVT.

Due to this installed fail2ban is not working properly due the difference in the system time with logs time.

View 1 Replies View Related

Plesk 12.x / Linux :: Unable To Change Subscriber

May 5, 2015

I am trying to move a particular domain to a different subscriber but am getting an error. I haven't had any problems with this function before.

Code:

Warning: Some problems were encountered when attempting to assign some of the subscriptions to a new owner.Unable to continue subscription transfer: this subscription requires more resources than can be provided by the new owner's provider.

Warning: Unable to continue subscription transfer: this subscription requires more resources than can be provided by the new owner's provider.

All of the resources it shows before and after the transfer are the same. What it is referring to?

View 3 Replies View Related

Plesk 12.x / Linux :: Email Address Uses - How To Change

May 29, 2015

I've looked a good amount of time trying to change/find where its stored. I've looked in var/qmail and there is no alias folder..We're running postfix/dovecot ....

View 4 Replies View Related

Plesk 12.x / Linux :: Change Backup Folder?

Jul 22, 2015

I'm trying to copy a backup from the FTP server to the production server but I don't have enough space in the tmp folder.

There is a way to change where the backups are temporary until the hole backup is on the server? In case the only thing to do is to change where the tmp folder is mounted. This is a production server, I won't like to do it without knowing all the steps.

View 2 Replies View Related

Plesk 11.x / Linux :: Settings To Change DNS Records?

Sep 26, 2014

where do I find the setting to change dns records in plesk 11.5 ver ? I do not see it, it is missing in settings of domain under tab: "Websites and Domain"

View 1 Replies View Related

Plesk 11.x / Linux :: Change Primary Domain

Jun 6, 2014

My customer has two domains, one of it is a alias-domain.

He wants to set this alias to his primary domain, so how can i change it?

I tried it with deleting the alias, but i can't find the "button" for changing the primary domain?

Have I to delete the complete abonnement and reinstall all files and databases?

I know, that I have to change some paths in files, but it would be easier, than to dump everything and upload again...

View 4 Replies View Related

Plesk 12.x / Linux :: Change Domain Nameservers?

Aug 22, 2014

Recently I have migrated from a VPS to another VPS. How can I change nameservers for domains in old VPS to point them to the new VPS ?

View 6 Replies View Related

Plesk 12.x / Linux :: How To Change Nginx Port

Feb 3, 2015

I need changing the nginx port. I've followed various threads and have created a custom nginxDomainVirtualHost.php file at: /usr/local/psa/admin/conf/templates/custom/domain, while the website indeed moves to the port I have set, a second nginx thread starts at port 80 and takes over in it's place.

I need to put varnish at port 80 and cannot do so until all services relinquish control on port 80.

Followed clues here: [URL] ....

some here: [URL] .....

Turn's out to be able to change the nginx port to a non-standard port you need to edit 6 files

nginx.php
nginxDomainForwarding.php
nginxDomainForwardingIpDefault.php
nginxDomainVhost.php
nginxDomainVhostIpDefault.php
nginxWebmail.php

For the time being i disabled SSL support for my test domain as I didn't need it. The line you need to look for the in above files is:

Code:

$VAR->server->nginx->httpPort

So the line would finally become from this:

Code:

<?php echo $VAR->includeTemplate('server/nginxVhosts.php', array(
'ssl' => false,
'frontendPort' => $VAR->server->nginx->httpPort,
'backendPort' => $VAR->server->webserver->httpPort,
)) ?>

to this:

Code:

<?php echo $VAR->includeTemplate('server/nginxVhosts.php', array(
'ssl' => false,
'frontendPort' => "8888",
'backendPort' => $VAR->server->webserver->httpPort,
)) ?>

To get this to work you'll need to create a custom directory at: /usr/local/psa/admin/conf/templates

And copy the files over from the root of /usr/local/psa/admin/conf/templates/default

View 1 Replies View Related

Plesk 12.x / Linux :: Constant Alarm Level Change

Jul 20, 2015

Not sure why, but for some reason lately our Plesk installation randomly sends us notification emails about alarm level changes which go from Green to yellow, yellow to red, then goes back to normal over time. No changes were made on the server for these constant changes and emails to occur. We have a customer who also has the same issue.. Both focus primarily on nginx with little to no usage of apache.

View 2 Replies View Related

Plesk 12.x / Linux :: Fail2ban Errors In Log After Domain Change

Feb 4, 2015

After changing website domain name (from development one -dev-domain.com- to production one) we have this error in fail2ban.log :

2015-02-01 06:46:41,176 fail2ban.filter [2848]: ERROR Unable to open /var/www/vhosts/system/dev-domain.com/logs/proxy_access_log
2015-02-01 06:46:41,176 fail2ban.filter [2848]: ERROR [Errno 2] No such file or directory: '/var/www/vhosts/system/dev-domain.com/logs/proxy_access_log'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/server/filter.py", line 520, in getFailures
has_content = container.open()
File "/usr/lib/python2.7/dist-packages/server/filter.py", line 601, in open
self.__handler = open(self.__filename)
IOError: [Errno 2] No such file or directory: '/var/www/vhosts/system/dev-domain.com/logs/proxy_access_log'

View 3 Replies View Related







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