• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Error message from chagnge hosting type

AllenTeng

New Pleskian
Hi:
We met an error message from Change Hosting Type with Plesk interface.

Does anyone try to help us?
Thanks a lot.

"Error: hosting update is failed: f2bmng failed: ERROR:__main__:Command ['set', 'plesk-wordpress', 'addlogpath', '/mnt/disks/home2/system/photobook.com.tw/logs/error_log'] failed with error IOError(13, 'Permission denied')
 
Judging from the error message ("Permission denied") I'd guess you should check the permissions and ownership of the file "/mnt/disks/home2/system/photobook.com.tw/logs/error_log". Also check the permissions of all directories above this file and make sure the group "psaserv" has the execute bit set on them.

You may also try to run "plesk repair fs" on your domain to detect any wrong permissions.
 
Hi EmmanuelD:
Thanks for reply.

I do run "plesk repair fs" and one error has been fixed.
Then I still failed on created an subscription "photobook.com.tw" .

There is no folder "photobook.com.tw" therefore I can't check permssions of it.

Screenshot_1.jpg Screenshot_2.jpg
 
You're searching in the wrong path. The file in question is in /mnt/disks/home2/system/photobook.com.tw/logs
 
Just to throw in my 2 pennys worth of thought...
Look at the error message closely:
Error: hosting update is failed: f2bmng failed:

Now i would take that as a big indication that there is someting wrong with fail2ban.

That combined with an Input/Output error
IOError(13, 'Permission denied')
would point at corruption of Fail2Ban.

Remove Fail2Ban completely (temporarily), see if changing host type works, and than re-install and configure F2B.
 
Just to throw in my 2 pennys worth of thought...
Look at the error message closely:


Now i would take that as a big indication that there is someting wrong with fail2ban.

That combined with an Input/Output error

would point at corruption of Fail2Ban.

Remove Fail2Ban completely (temporarily), see if changing host type works, and than re-install and configure F2B.

These are all symptoms of an overly-strict SELinux ruleset. Definitely start by doing this command, and see if it all works:
Code:
setenforce 0
then see this page: HowTos/SELinux - CentOS Wiki
 
Back
Top