• 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

Search results

  1. O

    Resolved PHP not running on subdomain - File Not Found

    Never mind. It is a problem I created for myself by editing the Plesk virtual host templates. As my changes were custom, I don't think explaining what the error was would be helpful here.
  2. O

    Resolved PHP not running on subdomain - File Not Found

    I set up a subdomain for testing purposes. After trouble running my scripts, I decided to test if PHP was working using a simple phpinfo script. When I try to request http://subdomain.domain.com/phpinfo.php, I get a 404 File Not Found message. HTML files work fine. Same PHP file on the main...
  3. O

    Issue Nginx not handling index.php, passed to Apache instead

    I *do* have a checkbox for "Serve static files directly by nginx" in the Apache & nginx settings page. Is this what you're referring to? Also, might a block like the following work? location @proxy { proxy_pass http://XXX.XXX.XXX.XXX:7080; proxy_set_header Host...
  4. O

    Issue Nginx not handling index.php, passed to Apache instead

    I have set the settings on my server to run PHP 7.0 via nginx + php-fpm. When I access a script by name, e.g. "http://www.somedomain.com/index.php", this works correctly. However, if I access "http://www.somedomain.com/", the script is executed, but handled not by nginx + php-fpm, but by Apache...
  5. O

    Issue Server unresponsive during Daily Maintenance job

    Well, after a few days where the issue did not recur, it looks like I have solved it. It took the following: 1. The cgroup settings explained above. 2. I inserted "sleep 30" between each line in the file DailyMaintenance.sh (described above). This causes the script to pause 30 second between...
  6. O

    Issue Server unresponsive during Daily Maintenance job

    The steps in the above article did not help in my case. I ended up using cgroups to finally fix this (at least so far, I am continuing to monitor) First, I created a bash file to run each Daily Maintenance task individually called "/root/DailyMaintenanceIndividual.sh": #!/bin/sh...
  7. O

    Issue Server unresponsive during Daily Maintenance job

    The step I tried above did not help, but I definitively traced the issue to the ExecuteStatistics task. Google turned up the following article: High CPU load during statistics calculation I have tried the recommendations described and will see if it helps.
  8. O

    Issue Apache defaults to using PHP 5.4 to process requests

    I see. On my server that page lists only "php5" and "php5-zts". I installed PHP 7.0 using Plesk's "Add or Remove Components".
  9. O

    Issue Apache defaults to using PHP 5.4 to process requests

    Well yes, I understand I'm free to do whatever I like. I'm asking for the method that would involve the least "hacking" of stock Plesk :) I looked under Home > Tools & Settings > Apache Web Server, but I'm not sure what I'm looking for. It lists the enabled and disabled Apache modules. I'm not...
  10. O

    Issue Apache defaults to using PHP 5.4 to process requests

    I have been trying to use nginx + PHP-FPM as much as possible on my server because of its efficiency, but have run into an issue. When Apache URL re-writing is used, Apache takes over the handling of the PHP script. I understand this (and setting up nginx URL re-writing is a whole another...
  11. O

    Issue Server unresponsive during Daily Maintenance job

    I uninstalled spamassassin, and this has greatly improved the issue, though not fully resolved it. It is notable that I only get the issue when the Daily Maintenance script is run as a whole. Running the individual tasks one-by-one causes no issue. I have created a bash script that runs each...
  12. O

    Issue Server unresponsive during Daily Maintenance job

    I have traced the issue. It looks like the cause is spamtrain (possibly there are multiple causes, I haven't finished testing all the tasks individually). I don't even use any anti-spam system on the server! How do I disable spamtrain? I came across the following article, but though it mentions...
  13. O

    Issue Server unresponsive during Daily Maintenance job

    Alright, I will attempt to do so. Probably tomorrow, as it is late here. Are the tasks listed on the above page listed in the normal order that they are run? The reason I'm asking is that I know the slow down starts before updates are installed. However, it looks like InstallUpdates is the 2nd...
  14. O

    Issue Server unresponsive during Daily Maintenance job

    So for clarification, I should run each task 1 by 1 and see which one creates issues?
  15. O

    Issue Server unresponsive during Daily Maintenance job

    Hi, I was having issues with this earlier, but the problem is persisting (and getting worse!). The server becomes completely unresponsive while the Daily Maintenance script is performed. Just now as I was running it manually (to monitor what is going on), the server has been unresponsive for an...
  16. O

    Resolved SW-Engine service not starting!

    I have solved the issue. It seems there were a bunch of sw-engine processes that hung (statistics recalculation?). I killed the processes and restarted sw-engine. This time it was successful. I will monitor to see if there are further developments.
  17. O

    Resolved SW-Engine service not starting!

    I noticed in the past couple of days that my Plesk control panel was running very slowly, so as a first step, I decided to restart it. I ran: service psa stop service psa start This gave me the output: Starting sw_engine service... failed Starting...
  18. O

    Question Reference for $VAR variable used in Plesk hosting templates?

    Hi, I'm making some custom hosting templates in Plesk and I'm trying to figure out if there is a reference to the values available under $VAR-> Specifically, I'm looking for the path to the configuration directory ($VAR->domain->physicalHosting->confDir? Going to try that...) but it would be...
  19. O

    Resolved Nginx URL re-writing dilemma

    Ultimately, and with the help of a thread on StackOverflow (How can I setup default directives for all servers in nginx? (Issues with Plesk)), I ended up modifying the default nginx vhost settings. I copied the following files...
  20. O

    Resolved Nginx URL re-writing dilemma

    Additionally, the automatically generated nginx.conf file does NOT seem to follow the guidelines laid out on the nginx "Pitfalls and Common Mistakes" page (!) https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/ I've discovered at least 2 issues: 1. The bizarre 'location...
Back
Top