• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Recent content by BezNu

  1. B

    How to show a page to the user when you suspend an account?

    In Plesk you can put a setting in a way that an account gets suspended in case of overuse. Nice. However, when an account gets suspended, the visitors and user gets nothing but an unreacheable domain where no information is given about the reason of suspension or even that the account is...
  2. B

    How to run cron tasks with a chrooted user that uses PHP?

    Stefan, you can run them chrooted, but then you only have the basic commands available that are in /var/www/vhosts/chroot (usually, depending on how your Plesk is set up). As I pointed out when I started this topic, there's a kb 818 that describes a method to add other binaries to this chroot...
  3. B

    How to run cron tasks with a chrooted user that uses PHP?

    Hi Stefan, please do mind that you are opening up your server to the outside world this way, making it vulnerable. If someone now steals your FTP user's credentials, he will surely be able to login to SSH and have full access to your server binaries. This happened to me more than once in the...
  4. B

    How to run cron tasks with a chrooted user that uses PHP?

    I must add to this topic that it's a huge shame that no Plesk technician is answering this topic!! It really is a weird situation that you have to allow FTP users full shell access in order to enable them to run cron taks serverwide. This requires an answer from Plesk's side!
  5. B

    How to run cron tasks with a chrooted user that uses PHP?

    Hi Stefan, though your question is off-topic, I can answer this. In Plesk you will need to go to Subscriptions -> <your subscription> -> Websites & Domains -> FTP Access -> The first user in the list (unfortunately this is the only one that can run cron tasks) -> then you have "Access to the...
  6. B

    Cron jobs run in chrooted environment!!

    Unfortunately, this is exactly what I mentioned when I said: Because, when you run that command, you will enable full shell access to the main FTP users of every domain, which I really don't want to do. Seriously, I had issues with stolen FTP passwords more than once and then it is better...
  7. B

    How to run cron tasks with a chrooted user that uses PHP?

    > You manage to successfully add command into crooted shell? Have you tried to login in chroot and try it? > I tried changing the FTP access details for the Plesk system user that is registered with the subscription to '/bin/bash (chrooted)'. After that the same error came up. See, PHP is...
  8. B

    How to run cron tasks with a chrooted user that uses PHP?

    I tried to add PHP to chroot following this article: http://kb.parallels.com/818 Unfortunately nothing changes after I run: ./recreate_chroot_env /usr/bin/php /usr/share/zoneinfo It does get a usr/bin/php directory in the ${HTTPD_VHOSTS_D}/chroot directory. But when I apply this to...
  9. B

    Cron jobs run in chrooted environment!!

    I am sorry, but this is the weirdest feature in Plesk 10 / 11 I have ever found and I am really unhappy with it! Default behaviour of Plesk is to run cron jobs in a chrooted environment, causing loads of problems, because php and other software are NOT in this chrooted environment. This...
  10. B

    Standard layout backupsScheduled table

    Hi all, is this the standard layout for the Plesk 9.2.3 backupsScheduled table: id int(10) Nee obj_id int(10) Nee obj_type enum('server', 'reseller', 'client', 'domain') Nee repository enum('local', 'ftp') Nee local...
  11. B

    Plesk restore won't work on all domains

    Allright! Thank you for your reply. Now this at least helps me some way. I think I'm gonna try to locate these non-latin characters (although that might be a time-consuming process...) I'll post my solution on this forum. If there are any ideas on how to locate these characters quickly...
  12. B

    Plesk restore won't work on all domains

    Hi, We have a VPS with lots of domains on it. On this server runs Plesk 8.2. When backing up domains, I found out that some of them will correctly handle the backup and be able to restore it, but others give an error "Error: Unable to read the backup file." Details: "Backup file does...
Back
Top