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
1
CentOS 7 Problems / Re: The encoded file /include/cron.php has expired
« on: November 03, 2021, 12:17:12 PM »
Thanks for your quick reply.
Pretty sure i did already something like that (found in another topic).
But will try again later and will let you know the results!

2
CentOS 7 Problems / The encoded file /include/cron.php has expired
« on: October 31, 2021, 07:16:27 PM »
Hi All,

(Sorry posted this before in CentOS 6 problems, while i am running centOS 7)

After not have used my server for a while, i tried to start it and update it.
I started ./update_cwp from the script folder.
The next error appeared:
[root@server01 scripts]# ./cwp_api
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/scripts/cwp_api has expired.
 in Unknown on line 0

So of course i started to google.

I saw a few related problemens including this:
https://forum.centos-webpanel.com/index.php?topic=9136.0

Alright that one didn't work.
So i thought encoded... could be some ioncube shit.
Did upgrade ioncude without any result.

Someone has a solution for this issue without reinstalling the whole server?

Thanks in advance!

[edit]
[root@server01 scripts]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

[root@server01 scripts]# cat /usr/local/cwpsrv/htdocs/resources/admin/include/version.php
<?php
$webpanel_version = "0.9.8.961";
?>

[root@server01 scripts]# php -v
PHP 7.2.23 (cli) (built: Oct 11 2019 19:17:26) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

Because i was like.. well. The system is already f******, i might as well upgrade to centOS 8
Tried todo it with this manual: https://www.tecmint.com/upgrade-centos-7-to-centos-8/
Also didn't work :)

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?

4
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?

6
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.

7
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 :)

8
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 ^^

9
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  0.9.8.796).
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?

10
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?

11
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

12
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!

13
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.

14
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 =]
https://repo.xvarnish.com/

15
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/layout.inc.php
 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 cwpsrv.sh restore

Now get this error:
502 Bad Gateway

nginx/1.10.3

This last error is solved by rebuilding vhost

Pages: [1] 2 3