Skip to main content

[CPANEL-33877] Use transfert tool twice on a account with live option enable cause apache loop

Comments

33 comments

  • vacancy
    In 90.0.15 version, we saw this problem in 1 site, the site was moved before, but the problem suddenly appeared. We solved the problem temporarily by removing the proxypass line from the /var/cpanel/userdata/username/domain.com file and deleting the cache file.
    0
  • ndmanhcuong
    @albatroz give this a try: cut -d":" -f1 /etc/trueuserowners | while read user;do whmapi1 unset_all_service_proxy_backends username=$user;done If only one account was transferred then: whmapi1 unset_all_service_proxy_backends username=cpanelusername

    I success, thanks you !!
    0
  • DennisMidjord
    We've fixed the issues on our servers following this procedure (I think :) ) SSH to webserver (or terminal via WHM webinterface) nano /var/cpanel/users/ remove line PROXY_BACKEND= run script: /usr/local/cpanel/scripts/updateuserdomains clear proxies via API: whmapi1 unset_all_service_proxy_backends username= run script: /scripts/rebuildhttpdconf service httpd restart What's missing for me is an API/script/interface to see what proxies are defined for an account (Or I don't know how to find them...) So it was a bit of a gamble when removing all proxy backends. The wrong proxy resulted in the following lines in /etc/apache2/conf/httpd.conf ProxyPass "http://" ProxyPreserveHost on Scripts like /scripts/rebuildhttpdconf should see that ProxyPass is setting a proxy to itself, resulting in a loop followed by an unresponsive httpd. I don't know if it's still benefitial to create a ticket....

    Thank you! We just had a similar issue where ProxyPass was proxying to the same server causing a loop.
    0

Please sign in to leave a comment.