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


ADVERTISEMENT

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 View Related

Plesk 12.x / Linux :: Files And Folders Generated By PHP Hidden In FTP - Centos 6.5 / FastCGI

Jun 23, 2014

I have the following problem, the files and folders generated by PHP are hidden in FTP.

I can see in the Plesk file manager that users, permissions and groups are the same for all files and folders (those that can be seen and those that cannot be seen from FTP).

All the options in the server are set by default. It is a new installation of Plesk 12.0.18 #4 in CentOS 6.5 (Final).

SO: CentOS 6.5 (Final)
Plesk: 12.0.18 #4
PHP: FasctCGI
Apache Modules:

View 3 Replies View Related

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 / Windows :: How To View Attributes For Files / Folders

Aug 7, 2014

If users copy files/folders on Plesk Panel 11/12 with attribute "read-only", I don't see this attribute on File Manager, every time do next "attrib -r <path to file/folder".

Maybe you can improve functionality of "File Manager" on Plesk Panel 12?

View 1 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

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

Plesk 11.x / Linux :: Copying Folders Into Another Folder Using Same Name

Aug 9, 2014

I'm having a problem when copying folders into another folder using the same name.e.g. there's a folder called css in httpdocs/backup/css and also httpdocs/css. However, I'm trying to restore the backup and actually copy the /css dir from httpdocs/backup to httpdocs. Plesk should overwrite the existing target css dir (and its content/files) in httpdocs/css. However, Plesk creates a new css dir inside httpdocs/css so I have the "original" httpdocs/css dir content intact and also the css dir (from httpdocs/backup/css) copied into httpdocs/css so the full path is httpdocs/css/css

I'm highlighting the httpdocs (not /css dir) in the File manager - Copy Files window. I've tried that on a few installs and experiencing issue on each of them. Please see the attached screenshots.

Step 1. Select (check) the css dir and click copy (or move, result is the same)

Step 2. Mark the httpdocs dir (it doesn't matter if you click the Replace existing files checkbox)

Step 3. Final result, css dir from httpdocs/backup copied into httpdocs/css/

I've compared the dir content several times and definitely the css dir from httpdocs/backup is copied to httpdocs/css so the full path would be: http docs/css/css and the original "old" files from css will remain there.

View 1 Replies View Related

Plesk 12.x / Linux :: Postfix - IMAP Folders Under Inbox

May 3, 2015

My server is Plesk 12 with Postfix and Courier IMAP i am also using Thunderbird as mail client...

My question is when i create a folder from my mail client or webmail they just appear as sub folders of my inbox which is not what i want, i want root level folders not to be under inbox... When i searched for this i found [URL] ....

Is this still the case? Is there anything i can do to have root level folders?

View 2 Replies View Related

Plesk 12.x / Linux :: File Sharing Stops - Unable To Load Folders List

Apr 6, 2015

After enabling File Sharing in Plesk 12, the service appears to function correctly. If only a few files are uploaded, they are ok. However, after uploading a directory structure with a handful of MB, and subdirectories, File Sharing stops. It shows at the top of the screen:

"Internal error: The File Sharing service is temporarily unavailable because the site is down for maintenance."

it also says in the main window:

"Unable to load folders list."

Clicking on Upload Files, that dialog also shows "Unable to load folders list."

I have checked that the ownership of those files on the server is www-data:www-data , and that permissions are 755 for directories and 644 for files, because it seems like ownership and permissions could be an issue, however that doesn't fix it. Removing all the files in the share does fix it, however that's not useful if the files should be available for sharing.

View 17 Replies View Related

Best Permission For SMF Files And Folders

Feb 22, 2008

I'd like to know how to secure an SMF site. Is the default permission good enough?

View 4 Replies View Related

Apache Treats Files As Folders

Mar 5, 2014

I have just discovered in my access log some people accessing urls like this:

domain.com/index.php/index.php/ or even
domain.com/index.php/index.php/index.php

I have opened those links in browser and they worked. Why?

My .htaccess is empty and I have no 'index.php' folder. But I do have 'index.php' file.

I think this is happening to most php sites, not just mine. This is a random example:

[URL] ....

My question is how to force apache to return 404 error when such url is accessed?

View 1 Replies View Related

Removing Large Files Or Folders CentOS

Jul 13, 2008

Something weird happening here. I have tried every string possible...

There are a number of folders I want to remove off my server, tried the good old and simple...

rm -r /folder/

And then went and ended up with a string as long as my screen. No matter what I do, as it goes recursive in to the directory it asks me if I want to remove each file individually. No matter what string or action I take it insists on asking me as it goes to delete each file.

Could this be a configuration option in CentOS?

View 3 Replies View Related

Offsite Backups (via Rsync) - What Files/folders To Backup

Jun 3, 2009

I'm currently using (amongst other backup systems) rsync to an offsite space (am using BQBackup at the moment)

I'm just wondering - apart from backing up all of /home/, /var/lib/mysql/ and the important config files (httpd.conf, php.conf, etc etc) is there anything else that *needs* to be backed up?

Obviously in a worst case scenario, a new machine would be deployed with a fresh OS install (and a fresh WHM/cPanel install) so I wouldn't worry about backing up OS files or cPanel core files, although I'm wondering if there's anything apart from the /home/ directory and the MySQL databases which would be lost (and so need backing up) in the event of a crash?

View 10 Replies View Related

Simple Script To Find Suspected Files And Folders

Sep 1, 2007

Try this useful script to find all 777 permission files and folders in /home directory

also it can find all names of suspected folders and files you want

and then you can take the required action

to install this follow the steps

login as root

Code:
cd /root

Code:
pico checkpandnscript.sh
Enter this code and in the 5th line from the end change
email@email.com to your email

Code:
# This file will help you to find suspected folders and files in /home directory
# Coded and desgined by Alrutani Web Hosting www.alrutani.com , for more informations please contact us.
#!/bin/sh
echo " " > /root/perdfmbc
echo "################# Folders with 777 permission #################" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -type d -perm 777 |egrep -v "./cpapachebuild|./.cpan|./src" >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "################## Files with 777 permission ##################" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -type f -perm 777 >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "############### Folders & files must be checked ###############" >> /root/perdfmbc
echo " " >> /root/perdfmbc
find /home -name forum >> /root/perdfmbc
find /home -name upload >> /root/perdfmbc
find /home -name 4images >> /root/perdfmbc
find /home -name gallery >> /root/perdfmbc
find /home -name uploader >> /root/perdfmbc
find /home -name up >> /root/perdfmbc
find /home -name r57shell >> /root/perdfmbc
find /home -name r57shell.php >> /root/perdfmbc
find /home -name r57.php >> /root/perdfmbc
find /home -name c99shell >> /root/perdfmbc
find /home -name c99shell.php >> /root/perdfmbc
find /home -name c99.php >> /root/perdfmbc
find /home -name shell.php >> /root/perdfmbc
echo " " >> /root/perdfmbc
echo "###############################################################" >> /root/perdfmbc
echo "Developed by Alrutani Web Hosting http://www.alrutani.com" >> /root/perdfmbc
echo "For more informations please contact us." >> /root/perdfmbc
echo " " >> /root/perdfmbc
cat /root/perdfmbc | mail -s "Suspected files & folders in your server" email@email.com
cd /root
rm -rf perdfmbc
# This file will help you to find suspected folders and files in /home directory
# Coded and desgined by Alrutani Web Hosting www.alrutani.com , for more informations please contact us.
To add more files and folders that you want the system to list

fine

Code:
find /home -name upload >> /root/perdfmbc
after it add

Code:
find /home -name xxxxxx >> /root/perdfmbc
where xxxxx is the name of the file or the folder you want

Save file Ctrl X
select yes then click enter

Code:
chmod 755 checkpandnscript.sh
To make the script works daily

Code:
crontab -e
At the end enter

Code:
* 3 * * * sh /root/checkpandnscript.sh
save and exit done !!

now to test the script

Code:
cd /root

Code:
sh checkpandnscript.sh
you will receive email from the server

View 2 Replies View Related

Disk Quota Issue - Locating The Folders With The Highest Number Of Files

Jun 6, 2008

we've been having issues with reaching or exceeding our disk quotas. I've checked carefully, and while I've cleared our mail queue's, I don't think that's the issue.

So what I'm really looking for is a way to figure out why we have so many files (our quota is 220000, and I'm pretty confident that we aren't intentionally doing anything to create so many files). There's lots of information on finding the folders with the largest file sizes, but locating the folders with the greatest number of files isn't quite so simple--or at least, it doesn't seem very clear to me.

Does anyone know a way via the command line to figure out this information, short of going through every single folder and figuring out how many files are in the specific folder?

View 6 Replies View Related

/tmp Create/write LINUX

Jun 21, 2009

when i am trying to use php my admin i am getting

#1 - Can't create/write to file '/tmp/#sql_bba_0.MYI' (Errcode: 30)

when i am trying to delete a file from /tmp i am getting
rm: cannot remove `sess_***': Read-only file system

i have Linux box with cpanel,

View 6 Replies View Related

Recursive Lookups

Jan 6, 2007

when i do a recursion no;" in the "options" of named.conf it blocks email from coming into the server, and out as well.

View 10 Replies View Related

Export Rights

Apr 4, 2007

I've heard there are certain computer equipment which are not allowed to be taken outside the united states, like routers and such.

If I plan on buying a server in the united states and taking it overseas, what are the rules and regulations? Like is there a website where I can get more information regarding this issue?

View 3 Replies View Related

Plesk 12.x / Linux :: WordPress - Cannot Access Files Via FTP

Nov 21, 2014

I have some issues access my files through FTP. I created a new FTP user, that match the domain name, so it is easy for me to terminate access if i choose to delete the domain.

I can only access / see files that i uploaded with that specific FTP user. If i install a plugin inside Wordpress, i can not access those files via FTP.

If i login via SSH, with the root user, i can see all files.

I have tried to add the FTP user to the psacln group, but no luck.

View 2 Replies View Related

Plesk 11.x / Linux :: Copying Files Between Subscriptions

Jun 4, 2014

I want to be able to copy 1000's of files from one subscription to another or rather from one domain to another on the server without having to FTP them each time. Is there a way which this can be done directly in Plesk and avoid the need to ftp the same 1000's of files into each subscription ? FTPing on my connection is really slow and takes 2-3 for each subscription / domain, whereas if I could just FTP to the server once and then copy&paste the files between subscriptions then this would save me a huge amount of time...

View 2 Replies View Related

Plesk 11.x / Linux :: Can't See Files Which Are Uploaded With Script

Mar 1, 2014

I am using a upload script for my files. After upload i cant see them on ftp but can see on panel file manager.

View 9 Replies View Related

Plesk 12.x / Linux :: Missing Files After Restore

Feb 25, 2015

After restore (without any errors) some of my files are missing from one particular domain. The files are present in the backup however, they just don't restore. In this case it is a Wordpress installation and the complete wp-content folder did not restore one one of the domains.

View 1 Replies View Related

Plesk 12.x / Linux :: How To Recover Mail Files

Mar 26, 2015

My server with Plesk 11 died a few days ago. I now have a new server with Plesk 12.

I have the entire /var folder copied up from the old server.

How do I restore emails to the new server? Can I simply copy /var/qmail/mailnames/domain.name from the backed up /var folder into the corresponding folder on the new server?

View 11 Replies View Related

Plesk 12.x / Linux :: PHP Files Get Downloaded With Fast-CGI

Jun 3, 2015

I'm trying to get something simple to work in Plesk. I just want to use Apache for PHP files with Fast-CGI and PHP 5.6. Everything works fine with Nginx and PHP-FPM but because of the restrictions, that Nginx can only use a systemwide PHP version, which is 5.3.3 in my case, I need Apache for that.

So the problem is that I get the .php files as download and Apache doesn't parse them.

A little background information:
Cent OS 6.6
Plesk 12.0.18 Update #49
PHP Versions 5.3.3 and 5.6.9
PHP Handles installed with this KB [URL] ....:

Code:
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.3.3 5.3.3 5.3 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.3.3 5.3.3 5.3 fastcgi /usr/bin/php-cgi /etc/php.ini false
module 5.3.3 5.3.3 5.3 module /usr/bin/php-cgi /etc/php.ini false

[Code] ....

Hosting templates are default and I checked every configuration file...

View 4 Replies View Related

Plesk 12.x / Linux :: Not All Files And Folder Are Saved

Oct 1, 2014

Here my plesk installation details:

Debian 6.0.9 x64
12.0.18 at #17

the problem is very big since backup procedure not backup all files and folder. I have a lot of Wordpress installations (some of that made with App Installer and others made by hand).

Into all the above installations, files and folder created by Wordpress, like plugin installed or image, uploaded are not backup!

I have seen that all this files come with www-data:www-data user and group but with read permissions for owner, group and others, so i not able to understand why they are not inside my backups. If i change user and group all works fine.

Check your Wordpress backup and verify the presence of plugin and images (miniature of images are still present since they are created with different user and group)...

View 1 Replies View Related

Plesk 11.x / Linux :: Cannot Send Big Files With POST

Dec 12, 2013

I have a problem with file upload. I changed php.ini files in /etc/php5/cgi and user and php.ini to work with big files. I changed accordingly max_filesize, post_max_size, memory_limit.Also changed suhosin memory_limit and some other stuffs. I cant get files bigger than ~100MB to be sent through forms with post! Below is ok.Is there any method to do this with plesk 11.5?? I saw docs on this particular topics with plesk 10 on internet but nothing for plesk 11.

View 8 Replies View Related

Plesk 11.x / Linux :: Where Are Old Access Log Files After Log Rotation

May 14, 2014

In Plesk 11.5 I set log rotation to once a day and to keep 365 files. But I can only find 13 files (only one access_log) in /var/www/vhosts/mydomain/log. But Plesk tells me that 100 GB are used for the logs (the 13 files only have about 3 GB). Where are the files? In previous versions (before 11.5) I always had the files (named .1, .2 etc) in the same log directory.

View 3 Replies View Related







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