Plesk 11.x / Linux :: Python Permissions To Write Files In Another Web Space On Same Server

May 15, 2014

I have a python script that generates images and is able to write them into a directory on the same web space

However, I would like the same script to write files into another directory located in the web space of another domain on the same server.

For example, script lives here...
/var/www/vhosts/domain1.com/httpdocs/scripts/myscript.py

this works...
/var/www/vhosts/domain1.com/httpdocs/scripts/images/

this fails...
/var/www/vhosts/domain2.com/httpdocs/web/images/

The directory structure already exists, so there is no need to create any new directories

I have tried setting permissions for the destination "images" directory to 777 and that didn't work.

Do I need to specify something within Plesk to enable it to write to another directory?

View 6 Replies


ADVERTISEMENT

How NOT To Require CHMOD 755 Permissions To Create, Write And Delete Files On Linux

Dec 30, 2008

On my previous server and on some other hosts, I was able to write to files (for example with PHP) without having to chmod the files first.

Now I cannot, and files are required to be chmoded properly so I can write to them.

I cannot even touch() a file with PHP.

Is there any way to have this permissions removed?

I don't want to chmod the all thing, all I want is to change the configurations so I can fwrite() or file_put_contents() normally.

I's a dedicated un-managed server, so basically any advanced configurations can be done.

View 8 Replies View Related

Plesk 12.x / Linux :: Write Recursive Rights On Files / Folders

Feb 20, 2015

I have a concern during the installation of PrestaShop. I created a subdomain through Plesk, put my files on my server via FTP. During installation of PrestaShop, I have a problem:

Recursive write permissions for the Apache user on the ~ / config /

My user is "NOWIS" and my group is "psacln" ....

I think the user "NOWIS" has no rights as "Apache" ....

View 3 Replies View Related

Setting Directory Read/write Permissions With WAMP And IIS

Jul 26, 2007

I'm using WAMP and IIS for the first time so bear with me if I overlooked something obvious.

I have a simple script that creates a few files and then attempts to move them to a subdirectory. I am getting a permission denied error when attempting to move the scripts in WAMP. I am uncertain how to set directory permissions in WAMP. I am also unsure how this will affect the script when I migrate it to an IIS server.

View 2 Replies View Related

Plesk 12.x / Linux :: Backup Restore Error - Python Is Not Supported

Aug 19, 2014

I cant restore my back up. Get following warnings:

Warning:

php_version 5.3 is not supported. It will be replaced with php_version 5.4 for the following service plans: Unlimited, Admin Simple, Default Domain, Default Simple, Web Presence Builder, SiteBuilder

Warning:

python is not supported. It will be disabled for the following objects: Service plan 'Unlimited', Service plan 'Admin Simple', Service plan 'Default Domain', Service plan 'Default Simple'

Warning:

The component fail2ban is not installed. It will be disabled for the following objects: Server settings

Warning:

php_version 5.3 is not supported. It will be replaced with php_version 5.4 for the following websites: swen.flugzeugbilder.orgClick to expand...

View 3 Replies View Related

Plesk 11.x / Windows :: How To Change Permissions For Multiple Files At Once

Sep 9, 2013

How can I change permissions of a lot of files through plesk file manager without selecting one by one?

View 2 Replies View Related

Warning: Unknown(): Write Failed: No Space Left On Device (28)

Jun 26, 2008

Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
I am getting this error on my site. I have googled this error and it is telling me it relates to a /temp/ folder of some form. I am currently on a hosting plan (not a dedicated server). Is there ANY way I can access to fix this problem either from my control panel or by code?

View 4 Replies View Related

Plesk 12.x / Linux :: Backup Does Not Write Dump To FTP Repository

Oct 24, 2014

Beginning with today, all Backups to FTP repository failed. Even updates being started manually fail.

FTP Space is not full, there are still app. 400GB free space left.

I was also able to do a ftp upload on terminal using ftp client.

Server is accessible, credentials are right, but backup fails.

Why backup stops working after having done login.

This are the last few lines of the current psadump.log (removed server url and username):

[2014-10-24 13:38:46.754|17907] INFO: Repository 'ftps://[XXX]//as/': Initializing...
[2014-10-24 13:38:46.754|17907] INFO: Transport: Get repository transport ftps://[XXX]//as/
[2014-10-24 13:38:46.754|17907] INFO: Transport: Init credentials for user '[XXX]'
[2014-10-24 13:38:46.756|17907] INFO: Repository 'ftps://[XXX]//as/': Initialized
[2014-10-24 13:38:46.758|17907] INFO: pmm-ras finished. Exit code: 1
==============================

View 10 Replies View Related

Plesk 12.x / Linux :: PHP Message - Failed To Write Session Data

Jan 26, 2015

I just discovered there is seperate error log for php-fpm and since only 1 site is running fully nginx, the log is full with this error:

"NOTICE: PHP message: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0"

I've checked and the path is correct....

View 2 Replies View Related

Apache :: Recognizing Files Coded In Python

Jan 31, 2015

I have installed mod_python and the mods-enabled directory in the Apache2 directory looks correct (links to the available directory and the .load file), but I can't get Apache2 to process Python coded files.

I am missing something, but don't know what.

View 4 Replies View Related

Plesk 12.x / Linux :: Upgrade 10.4.4 - Postfix Queue File Write Error

Jan 29, 2015

I just upgraded our Plesk 10.4.4 to 12.0.18 (on Ubuntu 10.04, about to be upgraded to 12.04). Now I get the dreaded 'queue file write error' in postfix on message delivery.

It tries to open /usr/lib/plesk-9.0/postfix-queue (which is not there) in this block in master.cf:

Code:

plesk_virtual unix - n n - - pipe flags=DORhu user=popuser:popuser argv=/usr/lib/plesk-9.0/postfix-local -f ${sender} -d ${recipient} -p /var/qmail/mailnames
127.0.0.1:10025 inet n n n - - spawn user=mhandlers-user argv=/usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue
127.0.0.1:10026 inet n - - - - smtpd -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= -o receive_override_options=no_unknown_recipient_checks
127.0.0.1:10027 inet n n n - - spawn user=mhandlers-user argv=/usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote
plesk_saslauthd unix y y y - 1 plesk_saslauthd status=5 listen=6 dbpath=/plesk/passwd.db

And on top of that, If disable all the milters/proxy and just try to deliver to plesk_virtual directly, the e-mail just disappears. Postfix thinks it was delivered, but it is not.

I also tried piping some text through /usr/lib/plesk-9.0/postfix-local with the same parameters postfix gives it, but also then nothing. No error, no exit code, no message in maildir.

There are a bunch of fixes around for the queue file write error, but nothing works because the nature of my problem is different. There is a KB article around for Plesk 9, which can hardly be useful.

I tried restoring postfix-queue from the backups, but if I try to use that, the mail.log eventually says:

Code:

Jan 30 01:20:00 ytechosting /usr/lib/plesk-9.0/psa-pc-remote[6621]: Message aborted.

I also used /usr/local/psa/admin/sbin/mchk to no avail: the only change it makes to my master.cf, is adding an empty line. And, I suspect it uninstalled my psa-courier, because it was gone at some point, and mchk was the only thing I did after knowing courier was still there.

How can the postfix config refer to that postfix-queue when it's not there? Is this even a valid master.cf file for Plesk 12?

View 13 Replies View Related

CGI Scripts(Perl/Python) Are Not Able To Run On Plesk Windows Server 2003

Jun 23, 2008

I have a Windows 2003 dedicated Server with Plesk Control panel

I am not able to execute CGI scripts(Perl/Python/CGI) on it

when I try to execute on it

I get these errors:

Access denied to invalid credentials 401 Error

Error is 401.3 ACL restrictions....

what I tried is

I have tried to change IIS settings for IUSR_name

and also I tried editing in httpdconf file for CGI settings and restarted the server...

but all of no use

I am executing these scripts in CGI-BIN folder and outside of it..

View 9 Replies View Related

Plesk 12.x / Linux :: Deleted Backups Takes Long Time To Recalculate Free Space On Server

Jun 11, 2015

We had many backups stored on our Plesk 12 server about 51 GB in total.

After reducing the backups back to 10 GB by removing old backups through the Backup Manager.

The issue is that Health Monitor still reported that there was low diskspace displayed by color yellow. And it look Health Monitor over 16 minutes to change the alarm level from Yellow to Green

However the statistics at the specific subscription still present the Backup usage of 51 GB's whilest they are no longer there.

What can i do about this in order to speed up the synchronization?

View 2 Replies View Related

Plesk 12.x / Linux :: Sending Files Through FTP - Server Cuts Connection

Dec 11, 2014

When I send files to my through FTP, the server cuts connection and I get this message in messages log file

FAIL: ftp per_source_limit from xxx.xxx.xxx.xxx

xxx.... my IP

And I've observed the connection is closed and opened during the transfer.

I avoid disconnection adding per_source=unlimited in /etc/xinetd.d/ftp_psa

But I see this entry in the same message log

mod_delay/0.7: unable to open DelayTable '/var/proftpd.delay': No such file or directory

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 :: Wrong Permissions After Migration?

Sep 5, 2014

I had a old virtual Server with Ubuntu+Plesk12. I build a new dedicated Server with CentOS6+Plesk12 and migrate all Domains. Now i have a strange problem:

When i upload a file with FTP-User "user1", the file has the permissions Group=psacln & Owner=user1. All is fine, i can see and edit this file in a FTP-Program. But when my website create a file (cache html files or installed plugin folders in wordpress), I can't see, can't edit and can't download this files.

When i login to plesk with the admin account, i can see and edit this files. They have also Group=psacln & Owner=user1 and i can give them 0666 rights but when i login with FTP-User "user1" with my FTP-Program, I didn't see that files?!

View 2 Replies View Related

Plesk 11.x / Linux :: FTP And File Permissions Are Incorrect?

Jun 4, 2014

Whenever I setup a new FTP user in Plesk and then configure my FTP client with exactly the same username and password and transfer files and folders onto the server then the file permissions allocated are incorrect. Folders get allocated a permission of 700 and files a permission of 600, whereas I want all folders to have a permission of 755 and files a permission of 644. How can I change my setup so that files and folders get the permissions I want ?

View 1 Replies View Related

Plesk 12.x / Linux :: New Configuration Files For Apache Web Server Not Created Due To Errors In Templates

Dec 17, 2014

I tried to add ac new subscription and this failed.No I have an inconsistent subscription and get the following error: New configuration files for the Apache web server were not created due to the errors in configuration templates:

Template processing failed: file = /opt/psa/admin/ conf/ templates/ default/domainVhost.php,
error = Template_Exception: No data. file: /opt/psa/admin/plib/Template/Processor.php line: 28 code: 0
Previous error: Template_Variable_Exception: No data. file: /opt/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.
Detailed error descriptions were sent to you by email.click here to generate broken configuration files once again or here to generate all configuration files.

I have Plesk 12.0.18 on Ubuntu

View 1 Replies View Related

Plesk 11.x / Linux :: FTP - Wrong Folder And File Permissions

Nov 15, 2013

I have a problem where every folder I ftp onto the server gets given a 700 permission and every file gets a Zero permission. Most of the sites I am adding to this server will be WordPress sites and most of the folders I want to have a permission of 755 and for the files a permission of 644 so my question is how do I change the settings so that any new files ftp'd onto the server get the permission 755 and files get the permission of 644 ?

View 2 Replies View Related

Plesk 12.x / Linux :: 12.0.18 - How To Set Permissions To 770 By Default When Create Vhost

Oct 5, 2014

When a customer use the wordpress auto installation tool, all work ok.

But, when the customer try to install wordpress manually (Uploading by FTP), it returns different permissions errors.

Example: "wp-config.php" cant write .

I compared the permissions of both vhosts (WP-Auto-install and WP-Manually-Install), and have totally different permissions.

WP-Auto-installed : /httpdocs = 770
WP-Manually : /httpdocs = 750

How I can set permissions to 770 by default when create a vhost? to avoid the customer having to do it manually.

View 4 Replies View Related

Plesk 12.x / Linux :: Resetting Default Permissions Per Domain

Dec 10, 2014

I have found through the KB the way to do it server wide but I was wondering if there was still a way to reset default domain permissions per domain.

/usr/local/psa/bin/repair --restore-vhosts-permissions - to restore all domain permissions.

View 1 Replies View Related

Plesk 12.x / Linux :: Modify Permissions On User Www-data

May 6, 2015

We cant' modify any files of my website in WordPress that contain user www-data.

How can you can change the permissions to this user (www-data).

The version is Plesk 12.0.18 Actualización #44

We have also Plesk 11.5 with WordPress and never has www-data user.

View 3 Replies View Related

Plesk 11.x / Linux :: Scheduled Tasks - Correct Permissions

Jun 2, 2014

I have the following command to execute every 5 minutes this PHP file which is working correctly:

/usr/bin/wget -qq -O /dev/null http://url.com/script.php

How can I make it so only the system (scheduled task or the server itself) can access to the file to execute it. I tried placing CHMOD 700 to the PHP file but everyone is still able to access to it and executive it.

Plesk version: 11.5.30 Update #44

View 2 Replies View Related

Plesk 12.x / Linux :: Webspace System User And Rsync Permissions

Nov 21, 2014

I have just used rsync to backup a dedicated server to a new cloud server. I put the files in a plesk webspace 'Backup' folder for ease of use (gui). In File Manager for that webspace it shows the folder user and group as root, which is obviously correct as rsync maintains users etc?

Thats fine, I just wanted to be able to back them up along with the rest of the server configuration and content.

However, when I run backup it says "For security reasons, backing up is performed on behalf of subscription's system user. This system user has no read access to:" and "So it was not backed up. All other data was backed up successfully. To fix this issue you may grant access read/write to the file or directory for system user "(username)" or "apache"."

I don't know how to give read/write access to the system user? Through file manager there is no option to change permissions.

View 1 Replies View Related

Plesk 12.x / Linux :: Way To Reset Permissions And Ownership For Directories Back To Standard?

Oct 13, 2014

run a command on /var/git to set rights and onwer without being cautious enough.I have run chown git:git .* -R which did not only run direction downwards the tree but upwards as well :-(

Any way to reset permissions and ownership for the directories back to standard?I tried /usr/local/psa/bin/repair already. Did lot of the fixes, but not all is in line yet.

View 1 Replies View Related

Plesk 12.x / Linux :: Folder Permissions / Joomla Installer - Could Not Copy Setup File

Mar 17, 2015

Ok, new to Plesk, trying to move from ispconfig. So I have Plesk 12 running on Centos 6 64bit in a VPS. I figured out how to upgrade PHP and now I have installed my first website. The website is joomla based but I am getting the below error when installing components:

Warning
Copy failed.

JInstaller: :Install: Failed to copy file /var/www/vhosts/virtual-sim-racing.com/httpdocs/home/tmp/install_55081e65af5fe/pkg_kunena.xml to /var/www/vhosts/virtual-sim-racing.com/httpdocs/home/administrator/manifests/packages/pkg_kunena.xml

Package Install: Could not copy setup file.

This suggest to me a permissions issue - but what to do with it. I have checked all of the relevant Joomla folder permissions and they are all showing as writeable, so it looks like something outside of that?

I don't want to have to stick with ispconfig much longer ...

View 7 Replies View Related

Plesk 11.x / Linux :: Event Handler To Change Default Permissions Of Skeleton Site

Mar 1, 2015

I am running Plesk 11.5.30 on CentOS and trying to change the default permissions of the /httpdocs folder and the skeleton site that is in .skel/0/httpdocs that appears when a domain is created. I have failed to find the event that I need to use to trigger the command.

#!/bin/bash
chmod -R g+rwx "/var/www/vhosts/${NEW_DOMAIN_NAME}/httpdocs"​

Some research suggested using the 'physical hosting created' but there is no option for this in 11.5.30.

View 3 Replies View Related

Plesk 12.x / Linux :: Clear Free Space

Sep 13, 2014

i'm using plesk 11.5..i've deleted a huge file of 15Go and i've still a message about free space on ther server...MySQL query failed: Got error 28 from storage engineClick to expand...

View 2 Replies View Related

Plesk 12.x / Linux :: Bad Free Disk Space Estimation

Jul 3, 2015

We have Plesk installed with a dedicated disk on /opt. System disk is about 20 GB, data disk is about 220 Gb.There is 190 Gb free on the data disk (mounted on /opt).

But when we try to increase allocated space for a domain, Plesk says that there's enough disk space..Is there any change or adjustement on Plesk we can do, so Plesk will check space on the good disk ?

View 9 Replies View Related

Plesk 12.x / Linux :: No Email Regarding Disk Space Overuse?

Feb 5, 2015

I have a customer on a 250MB hosting plan and has been using approximately 450MB for the past few days but hasn't received a resource overuse email.

In my notifications I have "Resource usage limits exceeded by subscription" set to send myself and the customer an email but neither of us have received anything.

View 4 Replies View Related







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