Search results

  1. S

    Do not return sites for domain that is not listed

    I resolved this issue by adding the following code to the cPanel vhosts template (at the top): /var/cpanel/templates/apache2/vhost.local <VirtualHost [% FOREACH ipblock IN vhost.ips %] [% ipblock.ip %][% END %]:8080> ServerName default-unauth-domain <Location /> Order...
  2. S

    Do not return sites for domain that is not listed

    How do I correctly configure the server to not return any site for domains that are not explicitly listed in httpd.conf? At the minute our VPS returns one of our hosted packages for all sites, even if the domain is not listed in httpd.conf! This means any domain that points to our VPS IP gets...
  3. S

    Multiple keyword-specific domains pointing to our VPS IP

    We are having some issues with not showing up (at all) in Google SERP for specific keywords (potentially our most effective keywords) and have just noticed that there are a number of keyword-specific domains pointing to our VPS IP. These domains are using the keywords for which we are not...
  4. S

    The purpose of /etc/profile.d/limit.sh

    The issue has finally been resolved. Turns out there was yet another config controlling the settings (/etc/bashrc) . To confirm, the configs were changed to: ########## #cPanel Added Limit Protections -- BEGIN setenv LIMITUSER $USER if ( -e /usr/bin/whoami ) then setenv LIMITUSER...
  5. S

    The purpose of /etc/profile.d/limit.sh

    Hi Michael, I have re-opened the ticket for further investigation. May I note one thing - almost exactly one week after opening the ticket with cPanel Support I start receiving extrememly high volume of SMTPauth failure attacks. Normally our server would report roughly 1 - 2 per month, but...
  6. S

    The purpose of /etc/profile.d/limit.sh

    Nope, still not working. [[email protected] ~]$ ulimit -u 35 [[email protected] ~]$ cat /etc/security/limit.conf | grep admin -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry...
  7. S

    The purpose of /etc/profile.d/limit.sh

    OK so I configured the change and scheduled a reboot - the limit still remains the same. [[email protected] ~]$ ulimit -u 35 [[email protected] ~]$ cat /etc/profile.d/limits.csh ########## #cPanel Added Limit Protections -- BEGIN setenv LIMITUSER $USER if ( -e /usr/bin/whoami ) then setenv...
  8. S

    Preventing unauthorized domains from pointing to my website

    So far it seems to be returning a 404 for the specific domain in question (and for visiting via IP). Not sure what else might be affected though (crawlers/bots, SEO, etc) - so will monitor for a while.
  9. S

    Preventing unauthorized domains from pointing to my website

    Thanks Michael, I think that directive should be enough. I opted not to use the Hostname access control for performance.
  10. S

    The purpose of /etc/profile.d/limit.sh

    Hi Michael, Ticket number: 4566359 Edit: if you really need access, let me know (I refused it initially)
  11. S

    Preventing unauthorized domains from pointing to my website

    [SOLVED] Preventing unauthorized domains from pointing to my website Hey guys, I have just come across an issue whereby another domain is showing up on Google SERP as our domain. The HOST command shows that the domain has IP address of one of my domains (dedicated IP). How can I go about...
  12. S

    The purpose of /etc/profile.d/limit.sh

    OK so the system rebooted last night and still today the nproc limit is 35 ? [[email protected] ~]$ ulimit -u 35 So there must be some other configuration or script that is controlling this (along with / apart from the other 5).
  13. S

    The purpose of /etc/profile.d/limit.sh

    Hi Michael, Thanks, I have edited the /etc/profile file and have scheduled a reboot. I noticed this is exactly the same as /etc/profile.d/limits.sh (and /etc/profile.d/limits.csh in C) - can I ask why so many exist and their purpose? I have now edited: /etc/security/limit.conf admin...
  14. S

    The purpose of /etc/profile.d/limit.sh

    Hi Michael, Yes it is enabled. Doesn't this still allow modifying the ulimit?
  15. S

    The purpose of /etc/profile.d/limit.sh

    Can I ask what is the purpose of /etc/profile.d/limit.sh (and /etc/profile.d/limit.sch) ? Linux already has /etc/security/limit.conf (and any individual profiles under /etc/profile.d/ ) for configuring systemwide limits. Also, why are all users other than root assigned a measly nproc limit of...
  16. S

    Varnish: "Default Website Page" issue

    For future reference I managed to get past the [mysite]/cgi-sys/defaultwebpage.cgi issue by defining the dedicated IP of the host in etc/varnish/default.vcl Example: mysite IP = 111.222.333.444 backend default { .host = "111.222.333.444"; .port = "8080"; }
  17. S

    cpsrvd.so segfault and recurring page allocation failures

    Thanks for getting back guys. This issue looks to have resolved itself, the last 2 logs don't contain any issues and my current version is : 11.40.1.8
  18. S

    cpsrvd.so segfault and recurring page allocation failures

    Hey guys, so I just came back from Christmas holidays and got to reading through the server logs. The past few log reports (emailed) contain warnings about page allocation failures: - kernel: swapper: page allocation failure. order:1, mode:0x20 - kernel: kswapd0: page allocation failure...
  19. S

    File: /usr/local/cpanel/bin/jail_safe_passwd

    Hi Michael, Our cPanel version is 11.40.0 (build 24) [email protected] [~]# /usr/local/cpanel/cpanel -V 11.40.0 (build 24) [email protected] [~]# stat /usr/local/cpanel/bin/jail_safe_passwd File: `/usr/local/cpanel/bin/jail_safe_passwd' Size: 6445632 Blocks: 12592 IO Block: 4096 regular...
  20. S

    File: /usr/local/cpanel/bin/jail_safe_passwd

    Hi, could someone please verify that this file is safe? Warning: The file properties have changed: File: /usr/local/cpanel/bin/jail_safe_passwd Current hash: fe51a88927eec1639019baa49bd4389cf833202f Stored hash : 83607040e4db499abe3564eaa28f3b2a258bb145...