Results 1 to 3 of 3

Thread: Centos 7.7 openlitespeed restart error

  1. #1
    Join Date
    Jul 2019
    Posts
    30

    Centos 7.7 openlitespeed restart error

    Hello there

    After installing centos 7.7 on my Directadmin installed server, I see an error in rewrite_confs and openlitespeed restart.

    Code:
    [root@server custombuild]# ./build rewrite_confs
    Checking to ensure /usr/local/lsws/ssl.crt/server.ca is set.
    Using 51.77.1xx.xx for your server IP
    Restarting openlitespeed.
    Job for litespeed.service invalid.
    Code:
    [root@server custombuild]# systemctl status litespeed
    ● litespeed.service - The LiteSpeed HTTP Server
       Loaded: loaded (/etc/systemd/system/litespeed.service; enabled; vendor preset: disabled)
       Active: activating (start) since Sun 2019-09-29 08:37:31 UTC; 55s ago
      Process: 3255 ExecStart=/usr/local/lsws/bin/lswsctrl start (code=exited, status=0/SUCCESS)
     Main PID: 9947 (code=exited, status=255)
       CGroup: /system.slice/litespeed.service
               ├─1634 lsphp
               ├─1638 lsphp
               ├─1639 lsphp
               ├─1640 lsphp
               ├─1641 lsphp
               └─1642 lsphp
    
    Sep 29 08:37:31 server.xxxxx.com systemd[1]: Starting The LiteSpeed HTTP Server...
    Sep 29 08:37:31 server.xxxxx.com lswsctrl[3255]: [OK] Send SIGUSR1 to 1554
    Sep 29 08:37:33 server.xxxxx.com systemd[1]: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /tmp/lshttpd/lshttpd.pid
    Sep 29 08:37:33 server.xxxxx.com systemd[1]: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /tmp/lshttpd/lshttpd.pid
    Sep 29 08:38:01 server.xxxxx.com systemd[1]: Unit litespeed.service cannot be reloaded because it is inactive.
    Last edited by vacancy; 09-29-2019 at 02:35 AM.

  2. #2
    Join Date
    Jul 2019
    Posts
    30
    I've discovered new things.

    Openslitespeed is not triggered when the SSL certificate is installed and the certificate is not active on the site.

    There must be something in Centos 7.7 that restricts rewrite_confs operations.

    I did some research and found a bug in polkit module in centos 7.7. I downgraded the polkit 0.112-22.el7 version that came with Centos 7.7 to the 0.112-18.el7 version. I restarted the server and all of the problems resolved.

    https://bugzilla.redhat.com/show_bug.cgi?id=1753037
    Last edited by vacancy; 09-29-2019 at 04:51 AM.

  3. #3
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,804
    Good catch. I've noticed the same bug as mentioned by the link. I hope they will fix it soon. Thanks.
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •