Some of my websites show the following error when trying to use _any_ of the Plesk-supplied PHP packages instead of the default PHP CentOS/atomic package:
Code:
Unknown: open(/var/lib/php/session/sess_xxxxxxxxxxxx, O_RDWR) failed: Permission denied (13) in Unknown on line 0
This is a fresh install of Plesk 12 MU55 on CentOS 6.6.
Same thing happens with Plesk 12.5 Preview on CentOS 7.1
...as soon as I select any of the Plesk-supplied packages (PHP 5.4 - 5.6) with FastCGI, the error appears.
This is a fresh plesk12 installation on a kvm vps on centos 6.6
We used the migration and transfer tool to copy data from another server. After the full migration without changing any setting from the configuration files, any mail account hosted on this server cannot receive emails.
Not sure what is going on with Plesk.. I've modified and saved a specific service plan with the session.save_path to have a location by default to be /tmp/ and for some reason it isn't changing all customers accounts with the modified settings of the location to be /tmp/. In order to resolve the issue, I'd have to manually change the "default" option on each websites php settings session.save_path to /tmp/ instead of Plesk syncing the correct settings based on the modification. Because of so, I am receiving the following error below on a customers website below:
Warning: Unknown: open(/var/lib/php/session/sess_f9bffgv0ddrjo9geb6frhut5d7, O_RDWR) failed: Permission denied (13) 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 (/var/lib/php/session) in Unknown on line 0
After making changes, I've tried the following in command line:
service php-fpm restart service httpd restart service psa restart
Recently we had to rollback the Plesk database and Plesk version files to their pre-upgrade state, and rerun the upgrade procedure as it is described in the knowledge base [URL] ..... The update process then worked smoothly and we are now using the newest version 12.0.18 on CentOS 6 with the newest microupdates 1200150615.10.
But right after this update procedure we are not able to access some domains with the filemanager anymore. The browser shows the following error message:
Internal error: filemng: opendir failed: Permission denied System error 13: Permission denied Message filemng: opendir failed: Permission denied System error 13: Permission denied File Agent.php Line 243 Type PleskUtilExceptio
The logfile: /usr/local/psa/admin/logs/panel.log is a bit more detailed
[URL] ....
What I did so far was the following:
1.) I checked out the knowledge base, specifically this entry was worth looking at. But /usr/local/psa/bin/repair --restore-vhosts-permissions didn't solve the problem. 2.) I found a similar problem in the discussion board but the approaches they took weren't successful in my case.
Due to the fact that the file manager worked before the rollback of the database and the major upgrade, I think there might be a connection.
From my point of view the permission settings should be right. Other domains using exactly the same permissions and they are working fine.
# ll /var/www/vhosts/system/domain.com/ total 20K drwxr-x--- 2 root psaserv 4,0K 24. Jun 02:13 conf drwxr-xr-x 2 root root 4,0K 8. Jan 2014 etc drwx------ 2 psaadm root 4,0K 24. Jun 03:43 logs
The "/etc/php.ini" file seems reasonable and the session file path seems correct: session.save_path = "/var/lib/php/session"
But the session files never get deleted automatically. The session folder fills up quickly and I have been deleting session files manually while trying to resolve the problem. How can I verify that the default Plesk cron jobs are set up and running properly?
I'm using Parallels Plesk 12.0 and a mysql-Server.
I'm logged in with a customer's account into his phpmyadmin. Whenever a client connects to his website (which uses the database of his account) I get logged out and receive a "session expired" error. When I log in again I get "there's already a user with your username logged in".
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"
OS: CentOS 5.9 (Final) Panel version: 11.5.30 Update #28, last updated at Dec 26, 2013 04:20 AM php: php53u 5.3.27-1.ius.el5 php.ini upload_max_filesize = 20M memory_limit = 128M post_max_size = 20M
Browsers: Chrome Version 31.0.1650.63 m and IE 8
smaller files upload fine, though when reaching the 10MB and above level, after the attachment loads the new message window defaults to the Your Session Has Expired. Please Login Again.
Are there any settings that I am missing, or is this a current bug in this version of Horde?
So far my upgrade to 12 has been very smooth but one items that I can't seem to find an answer on is I do not have any applications (including Wordpress) available to users to install. I want this only set and allowed and installed by me (the Admin). If I log in as a user only I can install WP and don't want my customers doing this without talking to me first.
Am I missing a place to shut this down or uncheck to allow this to be installed?
I have domainA and domainB. domainA hosting files, for security ALL browser access should denied.. EXCEPT domainB make in php call with readfile() to a file on domainA. This should allowed.
domainB => readfile(http://domainA/myfile) => allowed ... all other access should denied.
So I set in vhost of domainA this:
<DirectoryMatch "^/var/www/vhosts/domainA/httpdocs/folder/"> Order deny,allow Deny from all Allow from 127 Allow from server-ipv4 Allow from server-ipv6/128 Allow from ::1/128 </DirectoryMatch>Click to expand...
FTP session opened. unable to open TransferLog '/usr/local/psa/var/log/xferlog': Too many levels of symbolic links chroot to '/var/www/vhosts/domain.com' failed for user 'user': Permission denied error: unable to set DefaultRoot directory FTP session closed.
Mail isn't leaving the queue, it's returning this error
Feb 12 23:12:01 XXXX postfix-local[64360]: System error .qmail: Permission denied Feb 12 23:12:01 XXXX postfix-local[64360]: Wrong permissions for .qmail
All the files within /var/qmail/ are set to the user and group "popuser", and have the nessacery rwx permissions for the user/group.
I lately decide to change my server provided and I decided to go for pre-installed Plesk12 service , plesk installed with os installation and in the beginning was looking ok , till I faced two problems .
The first problem I found is on Backup manager , I set a daily backup with maximum of 5 but every day I receive the error :The backup backup_website.com_info_1505272137.xml and backup_website.com_info_1505262137.xml was not created , I check the current backup task and the two task shows fails.(picture attached)
The second problem I found It may be related , is concerning the File permission , the user root and on group root are not able to change any file permission but the user pinco on group root is able to change it as well as the user Pinco on group psacln/psaserv , I updated the plesk12 to latest release to see if maybe was some changes but unfortunately nothing
Not migration for domains and was fresh install for os and plesk12
Since the plesk installation by my hoster did not include a mail server, I installed postfix and dovecot from the upgrades menu, followed the steps at [URL] .... and ran mchk to add the mail settings option to my domain. However, when I click on it, I receive the error "Warning: Permission denied." and stay on the domain overview. There is no error logged in var/log/sw-cp-server/error_log, /var/log/sw-cp-server/sw-engine.log or /usr/local/psa/admin/logs/panel.log.
I also tried "plesk bin mail --create foo@my.tld -mbox_quota 1M", but then I receive the error
Code: ERR [util_exec] proc_close() failed mailmng-outgoing failed: ERROR:outgoing:mails.domain_id may not be NULL
We have a little issue with the API, when we want to add an subscription, then we became "Error: Permission denied. (1006)" - but the subscription was added. The status Icon of the Subscription is a "!" and they say (tooltip), that the Plan wasn't correctly synchronized, but we don't use a Plan for this. The Reseller has all rights, there are now limits.
I don't know when we had this problem the first time, but i know that if had worked in Plesk 12 correctly - i think the problem came up with the last 4 - 6 MU.
We actually have Plesk 12.0.18 Update #16 and running it on Debian 6.0.9.
PHP-FPM support for nginx will not start when attempted in Tools & Settings > Services Management
Check error log:
#tail /var/log/php-fpm/error.log
ERROR: unable to bind listening socket for address '/var/www/vhosts/system/domain.tld/php-fpm.sock': Permission denied (13)
Possible problem:
SELinux may be preventing it. To test this do:
#setenforce 0
Now try and start PHP-FPM support again in Tools & Settings > Services Management
If that now starts you know what the problem is. Go to "Fix" below If it didnt work, you have a different issue. Turn SELinux back on while you figure it out:
#setenforce 1
Fix:
The following worked for me but i know very little about SELinux - corrections welcome:
## Turn SELinux to permissive # setenforce 0 ## In Plesk panel start PHP-FPM support in Tools & Settings > Services Management
I have a large survey (I use phpsurveyor) on my reseller webdomain running. It takes about 30 minutes to fill in the complete survey. After 24 minutes my respondents get a session error and their data is lost.
When i try to login my linux server from GUI i put my username "root" and then put the password, i am not able to login and getting following error
"Your session only lasted less then 10 sec. If you have not logged out yourself this could mean that there is some installation problem of that you may be out of disk space. Try logging in with one of the failsafe sessions to see if you can fix this problem view details in ~/.xsession.error file "
I am assisting a client who is linking to an online calculator, he is putting a frame on top of the calculator page, so people will still see his information. However, for some reason he is getting a Session Timeout Error in IE.
I don't get this error in Firefox using this method, or ever going to the direct page in IE.
Let me give a better explanation:
If you visit: [url]
Just put in a fake name and email, it loads a frame at top, and then the online calculator, which is this page: [url]
Why I am getting a Session Timeout? Is there a better solution. I never get the same error if I go directly too: [url]
We want a frame or better solution because we still want the contact information to be in front of the consumer.
Does this maybe have to do with a cookie and frame?
and i get the error ----------------------------------------------------- Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0 -----------------------------------------------------
I made a copy of my forum's root folder using SSH command: cp -r forum forum123
Then I tried to update the new (forum123) folder with the latest files from vBulletin.
And it gave me a permission denied error. For test purpose, I went to the original folder and uploaded one of the new files there and it worked flawlessly.
Why am I not able to upload files to the copied folder? I've been doing this since like for ever, this is the first time I've encountered such an error.
For one of may domains I'm receiving the following error when someone tries to send mail to it. Also I never receive the mail as it seems to just sit on the server. When the permission were changed on the file, it seemed to have changed back on its on when ever a new address is added. Any solutions?
so after successfully installing and testing litespeed last night along on alternate port 1080 on my cpanel setup, I try to look at my cpanel's awstats this morning and:
Error: Couldn't open server log file "/usr/local/apache/domlogs/example.net" : Permission denied
(awstats has worked fine for 5 weeks now)
Googling for this shows other people with similar problem in the past but unfortunately no answers
I tried chmod -R 644 /usr/local/apache/domlogs and looks like the owners are still correct
I'm at a loss and really screwed if I can't easily fix soon... any ideas?
(as a side note, litespeed has stopped working properly too but I've killed it for now)