The requested resource
/marketplace/marketplaceaccount/editProfile/
does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit

mod_security configuration in the /etc/httpd/conf.d/mod_security.conf file:


# Maximum request body size we will
# accept for buffering
SecRequestBodyLimit 131072

You should be able to change this value and restart apache for the uploads to work.

A recent Percona upgrade caused problems with PHP on some cPanel servers. The name of the libmysqlclient library was changed without keeping a symlink to the original name, which caused PHP to throw errors, and EasyApache not compiling successfully.

Running php -v will show it…

php -v
php: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory

From the Percona Server 5.5.36-34.0 Release Notes: https://my.fusioned.net/knowledgebase/10100/Percona-with-cPanel-libmysqlclientso18-cannot-open-shared-object-file.html

In order to comply with Linux distribution packaging standards Percona‘s version of libmysqlclient has been renamed to libperconaserver. The old name was conflicting with the upstream libmysqlclient. Except for packaging, libmysqlclient and libperconaserverclient of the same version do not have any differences. Users wishing to continue using libmysqlclient will have to install the corresponding package of their distribution, such as mysql-lib for CentOS and libmysqlclient18 for Ubuntu/Debian. Users wishing to build software against libperconaserverclient should install libperconaserverclient-dev package. An old version of Percona-built libmysqlclient will be available for download.

You simply need to symlink libperconaserver to libmysqlclient, and here’s how it’s done:


# ln -s /usr/lib64/libperconaserverclient.so /usr/lib64/libmysqlclient.so
# ln -s /usr/lib64/libperconaserverclient.so.18 /usr/lib64/libmysqlclient.so.18

(Note: for RHEL/CentoOS/CL 6 x86, replace /usr/lib64 with /usr/lib)

Finally, re-run EasyApache to compile PHP against the new libraries:


# /scripts/easyapache --build

Note: After running this, this error appeared on php sites…


ERROR: Database Error: The MySQL adapter "mysql" is not available.

Checked and the symlinks were not real as there were missing files.

Check perconal rpm’s

rpm -qa |grep PerconaPercona-Server-shared-compat-5.5.35-rel33.0.611.rhel5
Percona-Server-shared-56-5.6.16-rel64.0.el5
Percona-Server-client-56-5.6.16-rel64.0.el5
Percona-Server-devel-56-5.6.16-rel64.0.el5
Percona-Server-server-56-5.6.16-rel64.0.el5

I removed the symlinks and applied

Removed the symlinks and then followed this cpanel article symlink at the bottom to rebuild.

Another resource:
https://documentation.cpanel.net/display/CKB/How+to+Replace+MySQL+with+Percona

Cpanel Documentation
https://documentation.cpanel.net/display/CKB/How+to+Update+a+Percona+Installation

Installation

Clone this repository into /var/cpanel/easy/apache/custom_opt_mods/ like so:


# cd /var/cpanel/easy/apache/custom_opt_mods/
# git clone https://github.com/thecpaneladmin/EA-PhalconPHP.git .
# /scripts/easyapache

Git on cpanel is at

# /usr/local/cpanel/3rdparty/bin/git

Or use the .zip:


# cd /usr/src
# wget https://github.com/thecpaneladmin/EA-PhalconPHP/archive/master.zip
# unzip -d /var/cpanel/easy/apache/custom_opt_mods/ master.zip
# /scripts/easyapache

Make sure that the path is


/var/cpanel/easy/apache/custom_opt_mods]# ls -la

drwxr-xr-x 4 root root  4096 Sep  2 20:26 ./
drwxr-xr-x 9 root root  4096 Sep  2 20:38 ../
drwxr-xr-x 3 root root  4096 Sep  2 20:26 Cpanel/
-rw-r--r-- 1 root root   606 Sep  2 20:32 error_log
drwxr-xr-x 7 root root  4096 Sep  2 20:26 .git/
-rw-r--r-- 1 root root 18025 Sep  2 20:26 LICENSE
-rw-r--r-- 1 root root   834 Sep  2 20:26 README.md

Or it will not show up in easy apache.

From here, select Phalcon from the list of PHP modules. The module will be loaded from /usr/local/lib/php.ini.

There is no max file size limit that can be sent and received, however, cPanel defaults the limit to 50mb. You can change this in cPanel.

To change this do the following,

Login to cPanel as admin
Under Service Configuration, Click “exim Configuration Manager”
Click “Advanced Editor”
Scroll down and Click “Add additional Configuration Setting”
Find “message_size_limit” in pull-down list and choose
Enter limit that you want to change to
Scroll to bottom and click “save”

WHM show the service as down.


Server domain.com
Primary IP Address 69.xx.xx.xx
Service Name ftpd
Service Status failed
Notification The service ?ftpd? appears to be down.
Service Check Method The system?s command to check or to restart this service failed.
Number of Restart Attempts 258
Startup Log 

Do the following…

# cd /var/run
# mv pure-ftpd.pid pure-ftpd.pid.bk

Restart ftpd in WHM under Service

SSL certificate info on Chrome you get a message that we are using an obsolete cipher suite TLS 1.0. We need to upgrade to 1.1 or 1.2. How can this be done?

# nano /etc/httpd/conf.d/ssl.conf

Old


# List the enable protocol levels with which clients will be able to
# connect.  Disable SSLv2 access by default:
SSLProtocol all -SSLv2

#   SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
# See the mod_ssl documentation for a complete list.
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW

New

##   SSL Protocol support:
## List the enable protocol levels with which clients will be able to
## connect.  Disable SSLv2 access by default:
SSLProtocol All -SSLv2 -SSLv3

SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
#
##   SSL Cipher Suite:
## List the ciphers that the client is permitted to negotiate.
## See the mod_ssl documentation for a complete list.
#SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW

Here are some steps you can follow (It assumes that you have ASP.NET extension allowed in IIS mmc Web services extensions and your ASP.NET works — you can check event logs for possible errors):

1. Try Plesk Reconfigurator (Start->All Programs-SWsoft->Plesk Reconfigurator-> Repair Plesk installation->check File Security)
2. If above step has not helped:
Start->Run->cmd
cd %plesk_dir%
websrvmng –remove-vhost –vhost-name=your_domain_name_which_doesn’t_works
________________________________________
check for errors if they are present post their description here
________________________________________
websrvmng –reconfigure-vhost –vhost-name=your_domain_name_which_doesn’t_works
________________________________________
check for errors if they are present post their description here
________________________________________
3. If above steps haven’t helped:
a).In IIS mmc right click domain -> Click Properties->Click Directory Security Tab->Click Change
b).Ensure that anonymous access is selected
c). Ensure that IUSR_domain_user account is selected for access
d). Ensure that Windows integrated authentications is selected

4).
a).Click Start-> My Computer
b). type %plesk_vhosts%->click enter
c). Right click domain-> Click Sharing and Security-> Click Security Tab-> Click Advanced
d). Ensure following ACL schema is applied:
(Note: Domain user is an account you’ve created for domain user to access ftp)
_________________________________________
Administrator Full Control not inherited for this folder,and subfolders and files
System Full Control not inherited for this folder,and subfolders and files
Domain user Read not inherited for files only
Domain user Read and Execute not inherited for this folder,and subfolders
__________________________________________
e) Double click domain-> Right click httpdocs-> Click Sharing and Security-> Click Security Tab-> Click Advanced
f). Ensure following ACL schema is applied:
__________________________________________
Administrator Full Control not inherited for this folder,and subfolders and files
System Full Control not inherited for this folder,and subfolders and files
Domain user Full Control not inherited for subfolders and files
Domain User Special not inherited for this folder only (will be detailed later)
Plesk IIS WP USER (Machine\IWAM_application_pool) Read not inherited for files only
Plesk IIS WP USER (Machine\IWAM_application_pool) Read and Execute not inherited for this folder,and subfolders
Plesk IIS USER (Machine\IUSR_domain_user) Read not inherited for files only
Plesk IIS USER (Machine\IUSR_domain_user) Read and Execute not inherited for this folder,and subfolders
FPSE_xxxxx(Machine\FPSE_xxxxx) Read not inherited for files only
FPSE_xxxxx(Machine\FPSE_xxxxx) Read and Execute not inherited for this folder,and subfolders
_________________________________________

(Note: the last two permissions present only if you have MS Front Page allowed for domain)
_________________________________________
Domain User special permissions set to allow
Traverse folder/execute files
List Folder/ Read Data
Read Attributes
Read Extended Attributes
Create Files/Write Data
Create Folders/Append Data
Read Permissions
__________________________________________
5. If above two steps in addition to previous steps have not helped:
a). Right click My Computer->Click Manage
b) Double Click Local Users and Groups
c) Click Users->In right pane right-click IUSR_domain user->Click reset password->type desired password ->click OK
6. If above steps have not helped.
a).Backup Domain using Plesk backup (Start->All Programs-SWsoft->Plesk backup->Ensure only that one domain checked-> Click Start) Ensure domain successfully backed up!!!!!
________________________________________
check for errors if they are present post their description here
________________________________________
b).Remove domain from Plesk (If you have external SQL databases ensure you know db user password, also write down any DSN created for domain)
c). Restore domain from backup (Start->All Programs-SWsoft->Plesk restore-> select backup for domain->select by domains option-> Click next-> Ensure domain binded to right IP-> click next-> Ensure Keep current key option selected-> If you have MSSQL database enter user login and password-> Click Start
d) Restart IIS

You must turn on PHP error reporting. To do this, you should change the setting in your php.ini config file. Temporarily insert the following lines in your index.php file:


error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

Make sure that you have inserted the code directly after the opening PHP tag. The errors should now appear directly on your screen. Alternatively, check your log files for the most recent errors.

Roundcube error:
Roundcube – Database error: Connection failed!

Exim log

Aug 17 01:52:44 206-225-82-31 dovecot: auth: Error: Cpanel::MailAuth: Failed to lookup domain owner of domain.com
Aug 17 01:57:44 206-225-82-31 dovecot: master: Warning: Killed with signal 15 (by pid=24147 uid=0 code=kill)"

Run:

# /usr/local/cpanel/bin/update-roundcube --force