This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / Re: Conf files reset problem
« on: January 05, 2022, 09:25:36 PM »
Ok, after getting the whole bandwidth problems figured out after like 3 days in, I think most of my servers were doing ok, I just didn't know it. We have 2 servers that go together with dns fail over and each one has it's own alias so we can directly test the server. The alias was failing every day on the host rewrite but the main site was working.
I had to go into CWP and create a subdomain which then created it it's own host file with the same certs and an apache rewrite worked and nothing went down.
It was working fine with us just adding the alias to the host file directly but we know what happens now with that......
I do have another server that I am still have issues with. It's has been working fine for the most part except for one domain because I had to manually edit the host file with the certs. CWP doesn't know the certs are there so when the host files get rewrote, all of them except for this one domain are working correctly. It's a cert from cloudflare that wouldn't install through cwp.
I had to go into CWP and create a subdomain which then created it it's own host file with the same certs and an apache rewrite worked and nothing went down.
It was working fine with us just adding the alias to the host file directly but we know what happens now with that......
I do have another server that I am still have issues with. It's has been working fine for the most part except for one domain because I had to manually edit the host file with the certs. CWP doesn't know the certs are there so when the host files get rewrote, all of them except for this one domain are working correctly. It's a cert from cloudflare that wouldn't install through cwp.
2
Apache / Re: Conf files reset problem
« on: January 05, 2022, 08:36:06 PM »
I don't know if anything has been resolved. I've been manually changing the active hours in the etc/anacrontab file like kadybee mentioned because I hadn't had time to work on this project.
I think I'll have time to troubleshoot tonight. If I do, I'll change the active hours and monitor my servers to see if the problem reoccurs.
I changed my hours as well. One server went down in the last hour but I didn't do all the steps you did yet. I have another server that is fine all except for one host file that went it gets reset is goes down. Waiting for another server to go down any minute now.
What a freaking pain.
3
Apache / Re: Conf files reset problem
« on: January 05, 2022, 04:59:08 PM »Thanks for responding.
WebServer Settings --> Select WebServers:
Apache Only
WebServer Settings --> WebServers Main Conf:
Apache default vhost template type: Default
Apache default vhost template: cloned_default*
Apache default vhost template: not installed
Apache default PHP-FPM template: cloned_all_methods*
PHP-FPM default template: cloned_default*
* These "cloned" files are copies of the templates from when the server is working properly.
WebServer Settings --> WebServers Domain Conf --> username selected --> domain selected --> View/Edit Configuration
Configuration --> Web server Configuration dataserver11.com
Please Select: apache -> php-cgi
Apache Configuration
Apache default vhost template type: default
Apache default vhost template type: cloned_all_methods*
-----
Maybe what I did above will work. I will report back if my sites get auto-suspended again at some point in the next 24 hours.
Where you working this morning?
4
CentOS 7 Problems / Re: URGENT !!!! All my vhost conf files of NGINX revert to default
« on: January 05, 2022, 02:22:09 PM »Just run :
/scripts/update_ioncube
Then run :
/scripts/cwp_api webservers rebuild_all
It may revert one last time is fixed for me after.
User reported in other post that he had to do :
rm -f /usr/local/cwp/users/suspended/*.bandwidth
That might of helped you but it's not helping the majority of people that this is happening to daily. Some of us have tried soooo many things people are posting how to fix it but then the next day, it happens again.
Someones post about update time at least helped me this morning so it happens while I am in front of the computer. I expect to happen again in about 20 minutes.
5
Updates / Re: New update broke http conf files and php fpm
« on: January 01, 2022, 04:09:04 AM »
ok, i disabled Hide all processes and now i get this with the script so not sure if it worked or not
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
mkdir: cannot create directory ‘/etc/varnish/conf.d’: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
ls: cannot access /etc/varnish/conf.d/vhosts/*.conf: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
mkdir: cannot create directory ‘/etc/varnish/conf.d’: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
ls: cannot access /etc/varnish/conf.d/vhosts/*.conf: No such file or directory
6
Updates / Re: New update broke http conf files and php fpm
« on: January 01, 2022, 04:00:45 AM »
Day 3 of this happening.
The script command isn't working.
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
mkdir: cannot create directory ‘/etc/varnish/conf.d’: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
ls: cannot access /etc/varnish/conf.d/vhosts/*.conf: No such file or directory
** (pkttyagent:23902): WARNING **: 04:00:00.159: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
The script command isn't working.
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
mkdir: cannot create directory ‘/etc/varnish/conf.d’: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
ls: cannot access /etc/varnish/conf.d/vhosts/*.conf: No such file or directory
** (pkttyagent:23902): WARNING **: 04:00:00.159: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
7
Updates / Re: After update today, nginx/1.20.0 error
« on: December 31, 2021, 02:14:54 PM »
Yes.
This is being reported by CWP team, and the users in this forum, as the solution.
[/quote]
This fix didn't really help. Like a post above this, it happened again last night/tonight. one of my five servers didn't break this morning. The other four, same problem. Like the other post above, the 2nd command didn't fully run, I got errors as well. After the errors, I copied the good host conf files to the server to get it working.
This is being reported by CWP team, and the users in this forum, as the solution.
[/quote]
This fix didn't really help. Like a post above this, it happened again last night/tonight. one of my five servers didn't break this morning. The other four, same problem. Like the other post above, the 2nd command didn't fully run, I got errors as well. After the errors, I copied the good host conf files to the server to get it working.
8
Updates / Re: New update broke http conf files and php fpm
« on: December 30, 2021, 02:03:11 PM »Having massive issues here too. Did something with the SSL and I can't find the issue.
Anyone else seeing this?
Check your host files and see the 2 topics below. My vhosts are being over written every night for the past 2 nights. could be bandwidth bug or whatever is described.
9
Updates / Re: After update today, nginx/1.20.0 error
« on: December 30, 2021, 01:22:19 PM »
For the last 2 nights/mornings I woke up to see all our vhosts overwritten and none of our sites working. On one server, we only have one site on it. I would never think it would have to do with bandwidth issues but should I go ahead and try the fix above and see what happens?
Thanks
Thanks
Pages: [1]