Search results for query: httpd restart

  1. R

    Problem parsing html as php since setting php-fpm instead of mod_php

    For anyone finding that the above is not working anymore after a recent DA update: After a lot of digging, I found that the LIMIT_EXTENSIONS token is not parsed anymore since version 1.692: https://docs.directadmin.com/changelog/version-1.692.html#simplified-web-server-and-php-fpm-templates No...
  2. D

    apache restarting randomly on all directadmin servers

    It looks indeed like its the certificate renewal that is triggering a restart instead of a reload. I am running the latest version of DirectAdmin now. Mar 30 16:58:26 dataskq[2160877]: finished task duration=5.637009126s task=action=rewrite&value=letsencrypt Mar 30 16:58:26...
  3. Hostking

    Community ModSecurity Rules (Apache / DirectAdmin) – Feedback & Contributions Welcome

    Calling all server admins (ModSecurity / Apache / DirectAdmin) Following the positive feedback on the SpamAssassin thread, I’m starting a similar community-driven ModSecurity ruleset — this time focused on Apache/DirectAdmin environments. The goal is to build a practical, real-world rule...
  4. D

    apache restarting randomly on all directadmin servers

    Hello I noticed since we upgraded to DirectAdmin 1.697 that DirectAdmin is restarting the httpd (apache) service from time to time without a clear reason. It is restarting with this message: /var/log/messages:Mar 21 17:19:42 web1 dataskq[2852283]: executing task...
  5. J

    "Gulp!"... Should I trust ChatGPT's custom virtual_host2.conf recommendation?

    From time-to-time my DA server spits out a "System Load" warning email. I'm not a skilled linux person, so I decided to prompt ChatGPT for its opinion of what might be happening. It asked me to provide a small snippet from the email I received. I fed it a section that began: It's response was...
  6. grandm1961

    Logrotate won't start

    That is solved now, but now I don't get emails in, but out works
  7. Richard G

    Logrotate won't start

    Yes that is normal, same like Mariadb is installed but you use the mysqld command to restart. However the httpd file should not exist in the logrotate file, only the apache file, so that is what's making use curious as to why that appears there.
  8. romans

    Logrotate won't start

    Then it is unclear why you have that "httpd" file present. I recommend to move out that "httpd" file from "/etc/logrotate.d/" directory and then check if you can start/restart "logrotate" service.
  9. S

    modsecurity_enabled in 1.690

    I upgraded a server from 1.689 to 1.691 and then updated Apache to 2.4.66. In doing so, mod_security was not enabled after the Apache recompiled. I had to remove some mod_security related directives from some included files to get Apache to restart and then I had to investigate why. 1.690...
  10. wila

    Upgraded from bullseye to bookworm and got httpd error because of libxml2

    Hi, Finally got to upgrade some of my servers from debian 11 to debian 12 and that was a success. However I bumped into a pecularity. First off I had some issues upgrading, so I rolled back and figured to clean up my install via list removals. eg: da build list_removals Pure-FTPd: installed...
  11. DrWizzle

    How to enable "proc_open" for one user?

    This info is GOLD, Thank you 🤩🤩! I had an argument with a software developer a few weeks back as the software i'd paid out for to work with WHMCS was erroring out spectacularly. They wanted PHP 8.2 minimum and up to date database. Upon digging into the logs it was something I couldn't fix as...
  12. DirectAdmin Support

    How to enable "proc_open" for one user?

    Hi Guys, I had a ticket today with the same question so figured I'd follow it up here. As zEitEr mentioned, disable_functions cannot be listed the php.ini if they're ever to be used later on, else (I'm guessing) php won't load them into memory or ever allow their use later on. The solution is...
  13. DrWizzle

    Installing SSL certificate Key mismatch

    I thought you said you'd solved it? Sorry it never worked. If you have to install them manually, the keys are in the /usr/local/directadmin/data/users/[username]/domains or wherever your setup has put them. You can usually find them by looking in your...
  14. Richard G

    today all websites woke up offline: php_admin_value takes two arguments

    Or maybe not, might be httpd won't start because it can't load a httpd.conf and in this case the specific user's which also the error says. Otherwise more errors would be shown most likely. I would check that specific httpd.conf because that php admin value does not belong in there by default...
  15. P

    Per user extProcessors

    By default, OpenLiteSpeed uses the same LSPHP pool for all users and the pool is multiplied by the number of workers configured. This is ok, but when some users/sites are resource hogs they might use the vast majority of PHP_LSAPI_CHILDREN for themselves and that will make the rest sites to have...
  16. Richard G

    Block IP addresses which overload server

    Hello Hostmavi. 1.) Exactly, I tried everything and nothing blocks, the only thing blocking is if I put rules (like in post #39) in the .htaccess. But that's not server wide. But thank you for confirming that they don't work for you either. I was already thinking I was going crazy. 2.) Thank...
  17. H

    Block IP addresses which overload server

    Hi Richard; 1. I test your rules in Apache 2.4.63 and 2.4.65. non of them your rule blocking for me 2. if you want to log rewrites from htaccess in the domain take backup of the file first then open file /etc/httpd/cof/htttp.conf find the line LogLevel change it LogLevel alert...
  18. Richard G

    Block IP addresses which overload server

    That one stopped my httpd from working. Aug 13 15:51:50 server.mydomain.nl httpd[2629507]: AH00526: Syntax error on line 3 of /etc/httpd/conf/extra/httpd-includes.conf: Aug 13 15:51:50 server.mydomain.nl httpd[2629507]: RewriteBase: only valid in per-directory config files So I commented out...
  19. DrWizzle

    Solved: Setup seems to be stuck on Trying to issue automatic TLS certificate

    As @zEitEr pointed out, you now have HTTP(S) ports closed. TLS requires ports 80,443 open for a HTTP(S) challenge for issuing a certificate. and requires port 53 open (DNS) for a dns challenge. It can only do a DNS challenge if you are running the BIND9/NAMED services on your server for DNS...
  20. S

    DirectAdmin 1.680

    Have same issue like HageHosting, think there should be a warning or simple script added by DA if update affects config files in such way in future. This works form me: #!/bin/bash FILES=( "/usr/local/directadmin/data/templates/custom/nginx_server_secure.conf"...
Back
Top