Show Posts

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.

Messages - Nagataka

Pages: [1] 2 3
CentOS 7 Problems / Server doesn't get SSL
« on: April 11, 2019, 09:15:50 PM »
I am back :)
Trying to get my server/laptop back to working.. but for some reason. AutoSSL doesnt get a certificate.
Server is running, all stuff is running.. but the server just doesnt get a certificate,
Any clue on that thing?

CentOS 7 Problems / Re: Connection refused
« on: April 11, 2019, 06:21:25 PM »
You must check if the IP in nginx configs exists at the server.

Mmmm... so what you basicly mean.. It does a reverse checkup on the domain/ip?
Cause i made a fake domein.. added it in my hostfile on my pc.
So it does some reverse checkup?

CentOS 7 Problems / Re: Connection refused
« on: April 11, 2019, 06:14:58 PM »
Try nginx -t or systemctl status nginx . It will show you why this happens.
Status of systemctl nginx status was just posted above your reply.

nginx -t output:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] bind() to <ip>:80 failed (99: Cannot assign requested address)
nginx: configuration file /etc/nginx/nginx.conf test failed

This bit: nginx: [emerg] bind() to <ip>:80 failed (99: Cannot assign requested address)
Which is weird.. cause i can connect on the hostname.

CentOS 7 Problems / Re: Connection refused
« on: April 11, 2019, 06:07:19 PM »
Hi, try to check if all three WEB servers are work after the rebuild. Also, you can try apache+nginx or nginx+php-fpm 7.x

Thanks for your quick reply.
Just noticed that nginx doesn't want to start indeed.. should have checked that first :)

CentOS 7 Problems / Re: Connection refused
« on: April 11, 2019, 06:06:23 PM »
Ooooh wait.. might already have found it..
Code: [Select]
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: Starting nginx - high performance web server...
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan nginx[18381]: nginx: [emerg] bind() to <ip>:80 failed (99: Cannot assign requested address)
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: nginx.service: control process exited, code=exited status=1
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: Failed to start nginx - high performance web server.
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: Unit nginx.service entered failed state.
Apr 11 18:04:24 DESKTOP-QPDDT1U.lan systemd[1]: nginx.service failed.

Now need to find out how to solve this ^^

CentOS 7 Problems / [Solved] Connection refused
« on: April 11, 2019, 06:02:34 PM »
Hi all,

Just reinstalled one of my laptop with centos7.
Installed the latest version of CWP (version
All working fine.. now changed my webserver to nginx -> varnish -> apache.
After this, every time i get a connection refused ERR_CONNECTION_REFUSED error when visiting a normal file.
Normally, no problem. Just reading some error logs and the problem could be solved. But this time.
Nothing got written in the log files.
If i switch to apache the sites work without any problem.

Someone got a clue?

So what is the real cause?

Do you need to rebuild Apache or maybe just the vhosts files to get things working?

From what i have been reading in these forums. Do you maybe also have something like cwp-httpd running?

I've tried, but no luck for me.

But I can confirm Apache 2.4.37 was active and suPHP 0.7.2

Not sure if it is important.
But i also changed the webserver from apache -> ngnix + apache

Alright, seems i found out the problem. (For me).
Under Webserver Settings -> Apache Rebuild, i noticed i was running. Apache 2.4.37 & suPHP 0.7.2
Just because i had some weird feeling, that there was another (hidden?) process running, i tried downgrading this to: Apache 2.4.34 & suPHP 0.7.2

Took not so long after this downgrade did finish.
Result; all my websites are working again and referring to the correct home folders.

Hope this will work for you aswell!

I just wanted to create a ticket for this to..
The reason for this, is that is that all requests are getting into the folder "/usr/local/apache".
And not in the folder under the username.
Just checked that a few weeks ago. Was hoping that this would have been solved, but so far this issue is still there.

Suggestions / xVarnish
« on: March 22, 2017, 05:37:41 PM »
is there something planned to make like xVarnish for CWP?
Would be nice and handy =]

CentOS 6 Problems / Re: CentOS6 Upgrade
« on: March 22, 2017, 05:07:58 PM »
Just tried to update my version.
Got the next error:
Code: [Select]
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/
 extracting: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/screen.png
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/sprites.lib.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/sprites.css.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/svg_gradient.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_overview.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_wrapper.php
  inflating: phpMyAdmin-4.6.6-all-languages/url.php
  inflating: phpMyAdmin-4.6.6-all-languages/user_password.php
  inflating: phpMyAdmin-4.6.6-all-languages/version_check.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_create.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_operations.php
Seems like something went wrong
If you have problem with CWP try run restore

Now get this error:
502 Bad Gateway


This last error is solved by rebuilding vhost

PHP Selector / Re: PHP 7 & IntlDateFormatter
« on: December 07, 2016, 07:11:20 PM »
check if php INTL is installed or not

php-intl.x86_64 is installed.
same for:
intltool.noarch perl-libintl.x86_64

PHP Selector / PHP 7 & IntlDateFormatter
« on: December 05, 2016, 05:37:58 PM »
Hello All,

Having a fight with this for the last few days.
Cannot get my magento 2 site to work.
I did recompile the latest version of php 7.
Just having the following issue.
[error] [client] PHP Fatal error:  Class 'IntlDateFormatter' not found in /home/<site>/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93

Have tried to recompile it with several different strings (seems for php 7 the intl has to be compiled on a different way).
Anyone can help me with this?

Pages: [1] 2 3