• Resolved everythingtechtuts

    (@everythingtechtuts)


    Hi Team,

    We have been trying for some time to get the crawler to work with our cPanel WordPress LiteSpeed plugin and just can’t get it to work.

    The crawler just shows status as end, and a date of 1970.

    Please can you fix? Report ID is YQGYPUWN

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter everythingtechtuts

    (@everythingtechtuts)

    For information as my post is a bit lacking, this is the content of my pre_main_global.conf file and it just will not enable. :

    <IfModule LiteSpeed>
    CacheRoot /home/lscache/
    </IfModule>
    
    <IfModule LiteSpeed>
        CacheEngine -crawler
        </IfModule>
    
    #For passenger
    Include /opt/alt/alt-mod-passenger/etc/mod_passenger-5.3.7-13.el7.cloudlinux.conf
    Thread Starter everythingtechtuts

    (@everythingtechtuts)

    Update, I tried to rebuild apache and there was an error on line 10 of the pre_main file, removed that and it successfully rebuilt however error remains that the crawler isn’t enabled, here is the output :

    Error and successful rebuild :

    [root@beast ~]# /scripts/ensure_vhost_includes --all-users
    Initial configuration generation failed with the following message:
    
    The “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.fe8313f2.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 157756) reported error number 1 when it ended.
    httpd_ls_bak: Syntax error on line 31 of /etc/apache2/conf/httpd.conf.work.fe8313f2.cfgcheck: Syntax error on line 10 of /etc/apache2/conf.d/includes/pre_main_global.conf: Could not open configuration file /opt/alt/alt-mod-passenger/etc/mod_passenger-5.3.7-13.el7.cloudlinux.conf: No such file or directory
    
    Rebuilding configuration without any local modifications.
    
    Failed to generate a syntactically correct Apache configuration.
    Bad configuration file located at /etc/apache2/conf/httpd.conf.work.fe8313f2
    Error:
    The “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.fe8313f2.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 157759) reported error number 1 when it ended.
    httpd_ls_bak: Syntax error on line 31 of /etc/apache2/conf/httpd.conf.work.fe8313f2.cfgcheck: Syntax error on line 10 of /etc/apache2/conf.d/includes/pre_main_global.conf: Could not open configuration file /opt/alt/alt-mod-passenger/etc/mod_passenger-5.3.7-13.el7.cloudlinux.conf: No such file or directory
    
    [root@beast ~]# /scripts/ensure_vhost_includ

    CAT OUTPUT :

    [root@beast ~]# cat /usr/local/apache/conf/includes/pre_main_global.conf
    <IfModule LiteSpeed>
    CacheRoot /home/lscache/
    </IfModule>
    
    <IfModule LiteSpeed>
        CacheEngine -crawler
        </IfModule>
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    what if you manually start it , what does it show ?

    also try to set crawler interval to a lower time , like 5 minutes

    Best regards,

    Thread Starter everythingtechtuts

    (@everythingtechtuts)

    Thanks for the super quick response ??

    I actually am unable to even click manual its greyed out. See screenshot https://prnt.sc/12bvypu

    I also earlier lowered the interval down to 600, also cleared out the contents of the crawler folder ??

    If it helps narrow things down, we run CloudLinux on our cPanel server.

    I’ve tried both the global configuration as you can see it should work as the CAT outputs everything as expected, also tried setting it on a user basis.

    Plugin Support qtwrk

    (@qtwrk)

    okay , I see

    CacheEngine -crawler

    this is actually tell server to disable the crawler with that - sign

    use

    CacheEngine on crawler instead

    Thread Starter everythingtechtuts

    (@everythingtechtuts)

    I cannot thank you enough, I’m not sure how that happened as I literally copied and pasted. Must grab a coffee ??

    Sorry for the amateur hour, everything works perfect now.

    Take care

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to get the crawler to work’ is closed to new replies.