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.
241
SSL / Strange hostname-ssl file
« on: May 04, 2019, 11:09:29 AM »
Something strange happened, which caused chaos with my certs.
When I installed CWP I was asked for primary domain.
In the past, it made no difference which domain I used. In fact, I even used bogus.com in the past with no problem.
But now, it makes a very big difference.
During install, I used my domain from my other server, (which I am being forced to abandon because CWP has expired files and will no longer update). The NEW install, then created a hostname-ssl file.....BUT..BUT.....BUT...the NEW install created a hostname-ssl file and populated the IP address by a DNS LOOKUP.
Guess what.....the NEW INSTALL created a hostname-ssl file with my OLD SERVER IP ADDRESS because DNS resolved to the old server IP address. Bad Bad boy! This created big problems and big headaches.
If I look at primary domain name it showed the old server IP address. I was able to edit the IP address, but I dont know how to edit primary domain associated with account.
When I installed CWP I was asked for primary domain.
In the past, it made no difference which domain I used. In fact, I even used bogus.com in the past with no problem.
But now, it makes a very big difference.
During install, I used my domain from my other server, (which I am being forced to abandon because CWP has expired files and will no longer update). The NEW install, then created a hostname-ssl file.....BUT..BUT.....BUT...the NEW install created a hostname-ssl file and populated the IP address by a DNS LOOKUP.
Guess what.....the NEW INSTALL created a hostname-ssl file with my OLD SERVER IP ADDRESS because DNS resolved to the old server IP address. Bad Bad boy! This created big problems and big headaches.
If I look at primary domain name it showed the old server IP address. I was able to edit the IP address, but I dont know how to edit primary domain associated with account.
243
E-Mail / Re: Port 25 blocked, Im not using port 25
« on: April 22, 2019, 11:32:26 PM »
I am using port 587 in thunderbird. If I block port 25 in csf firewall my mail comes back.
244
Installation / Re: pages dont load after install SOLVED
« on: April 12, 2019, 10:50:25 PM »
OK. cwp default php was 5. I changed to 7 and now everything is good.
245
Installation / Re: pages dont load after install
« on: April 12, 2019, 09:38:44 PM »
The site with problems does use rewrites. I think the problem is with rewrite in the vhost file. What do you think? If I delete the htaccess file, I am able to read text files in the directory. With the htaccess file, I cannot.
246
Installation / Re: pages dont load after install
« on: April 12, 2019, 07:41:37 PM »
Hi Igor. That worked. Except one website gives me a "you do not have permission to access this server" error. I checked modsec and csf but I was not blocked. fixed user permissions didnt work either.
Im stumped. Vhost has allowoveride all.
Im stumped. Vhost has allowoveride all.
247
Installation / pages dont load after install
« on: April 11, 2019, 10:50:49 PM »
Im getting the index.html display from /usr/local/apache/htdocs directory. I cant figure out why its not working. One thing I did notice is the vhost.conf file is blank. On past versions there was an include line. Is the vhost.conf file supposed to be blank?
I cant even read a text file in any of my website directories. With url mydomain.com/test.txt all I get is the cwp test page. This isnt my first rodeo as the saying goes. I have been using cwp for a few years now and have installed many times.
I cant even read a text file in any of my website directories. With url mydomain.com/test.txt all I get is the cwp test page. This isnt my first rodeo as the saying goes. I have been using cwp for a few years now and have installed many times.
248
CentOS 7 Problems / Re: User panel not allowing login for some users (POSSIBLE BUG) HELP!!
« on: April 06, 2019, 11:13:52 PM »This issue was resolved with the latest CWP update, it will be updated automatically or you can run the manual update by using this command in the shell as root:
sh /scripts/update_cwp
update is not working either in cron or manually. See my other post. This is going to become a mega problem for all users. I lost admin panel due to expired files. Very soon everyone will be screaming for help or a solution. CWP has become a nightmare.
249
CentOS 7 Problems / Re: White screen admin login
« on: April 06, 2019, 01:23:55 AM »
Last successful update according to logs was 12-12--2018 /var/spool/mail/root
250
CentOS 7 Problems / Re: White screen admin login
« on: April 05, 2019, 11:44:51 PM »
I managed to change server time and ran update. Update started by time out.
PHP Warning: file_get_contents(http://centos-webpanel.com/webpanel/versions/el7.txt): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Notice: Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning: file_get_contents(http://...@gmail.com&version=0.9.8.750&u=1&d=9&s=0): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning: file_get_contents(http://centos-webpanel.com/webpanel/versions/el7.txt): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Notice: Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning: file_get_contents(http://...@gmail.com&version=0.9.8.750&u=1&d=9&s=0): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
251
CentOS 7 Problems / Re: White screen admin login
« on: April 05, 2019, 11:14:21 PM »
Error Log
2019/04/05 19:06:31 [error] 28384#0: *64094 FastCGI sent in stderr: "PHP message: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/login/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 67.232.198.71, server: localhost, request: "GET /login/index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "198.58.126.135:2030"
2019/04/05 19:06:31 [error] 28384#0: *64094 FastCGI sent in stderr: "PHP message: PHP Fatal error: <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/login/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: 67.232.198.71, server: localhost, request: "GET /login/index.php HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "198.58.126.135:2030"
252
CentOS 7 Problems / White screen admin login
« on: April 05, 2019, 07:16:51 PM »
I can not login to admin. I get a white screen and 500 error.
I ran update and got this
encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired
can I simply copy cron.php from my other install to fix the problem?
http://myip gives me the standard http test page. All websites work normal.
Ver 98.740
I ran update and got this
encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired
can I simply copy cron.php from my other install to fix the problem?
http://myip gives me the standard http test page. All websites work normal.
Ver 98.740
253
CentOS 6 Problems / White screen admin login
« on: April 05, 2019, 06:38:05 PM »
I can not login to admin. I get a white screen and 500 error.
I ran update and got this
encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired
can I simply copy cron.php from my other install to fix the problem?
I ran update and got this
encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired
can I simply copy cron.php from my other install to fix the problem?
254
E-Mail / Port 25 blocked, Im not using port 25
« on: March 14, 2019, 12:19:25 AM »
I am not using port 25 but all of my emails are bouncing back with message :25 connection refused. I am using Imap ports exclusively. Why are emails coming back to me after I blocked 25 on CSF?
255
CentOS 7 Problems / Re: Can not update vhosts-ssl.conf
« on: March 10, 2019, 10:00:54 PM »centos 7 is not using that file anymore, try to rebuild all your vhosts and remove that file.
As far as I know, vhost ssl file still exists. Its just not in a location where you think it would be.