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 - sundigital

Pages: [1]
1
CentOS 7 Problems / Re: Unlimiterd Package Bug (disk more than 2TB)
« on: December 31, 2021, 09:43:30 AM »
As reported by CWP team, the solutions is just:
Code: [Select]
rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all

The first command remove all bandwidth limits from your sites, and the second rebuil all sites configurations of your webservers.

Regards,
Netino

Thank you but the solution you provided is about bandwidth bug was happened in last update and my problem is about user disk quota on servers with md raid disks

2
CentOS 7 Problems / Unlimiterd Package Bug (disk more than 2TB)
« on: December 30, 2021, 08:31:08 PM »
Hello everyone,
I have unlimited package (-1) but in User List page all users limited to 20000MB and this is why they suspend automatically every night.
It's happened in all my server with more than 2TB disk
How can I fix it?


3
Hi
I tried to install cwp on a dedicated centos 7 server
faced with this error:

#############################################
Please wait... Installing PHP ...
#############################################

Loaded plugins: fastestmirror


Error getting repository data for epel, repository not found

Compiler requires 512 MB RAM + SWAP
Installation FAILED at php
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   899  100   899    0     0    488      0  0:00:01  0:00:01 --:--:--   488
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory
Received
Please contact CWP support about this issue and include the last few lines from the error:
http://centos-webpanel.com/contact

4
High Performance / Re: Wordpress - High-Performance instructions
« on: April 17, 2019, 11:39:15 AM »
after install Nginx & Varnish & Apache on my server and made custom configuration for domains all my wordpress site links changed to https!
It was on http, I didn't install ssl on this domain and didn't change anything on .htaccess or wp-config.php
when I change webserver to simple Apache problem solves.

what's wrong?

5
High Performance / Re: Wordpress - High-Performance instructions
« on: January 12, 2019, 06:59:10 PM »
I did it again on a new fresh cwp server but I still have error 503 service unavailable

6
High Performance / Re: Wordpress - High-Performance instructions
« on: December 25, 2018, 05:02:22 PM »
I did exactly this steps but I faced with this error
Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

error_log
[proxy:error] [pid 2077:tid 140129255540480] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm72/usr/var/sockets/gold.sock (*) failed
[proxy_fcgi:error] [pid 2077:tid 140129255540480] [client 94.96.12.70:52996] AH01079: failed to make connection to backend: httpd-UDS, referer:

7
How to / Re: [Tutorial] integrating Awstats in Centos Web Panel
« on: December 23, 2018, 12:40:30 PM »
I used this tutorial but I faced with a text plain output when try to see stats
beginning like this:

#!/usr/bin/perl
#------------------------------------------------------------------------------
# Free realtime web server logfile analyzer to show advanced web statistics.
# Works from command line or as a CGI. You must use this script as often as
# necessary from your scheduler to update your statistics and from command
# line or a browser to read report results.
# See AWStats documentation (in docs/ directory) for all setup instructions.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#------------------------------------------------------------------------------
require 5.007;

#$|=1;
#use warnings;      # Must be used in test mode only. This reduce a little process speed
#use diagnostics;   # Must be used in test mode only. This reduce a lot of process speed
use strict;
no strict "refs";
use Time::Local
  ; # use Time::Local 'timelocal_nocheck' is faster but not supported by all Time::Local modules
use Socket;
use Encode;
use File::Spec;
 

8
Apache / Re: appached failed after reboot
« on: December 03, 2018, 07:19:47 AM »
you need to do fsck on reboot as your server is in read-only mode.

I found the problem

It happened after install user quotas
http://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/

this is /etc/fstab before change
Code: [Select]

/dev/mapper/centos-root /                       xfs     defaults        0 0
UUID=b4b31406-d16c-4ebe-9a2f-2d8cea25da15 /boot                   xfs     defau$
/dev/mapper/centos-swap swap                    swap    defaults        0 0


and it's after change

Code: [Select]
/dev/mapper/centos-root /                       xfs     usrjquota=quota.user,jqfmt=vfsv0        0 0
UUID=b4b31406-d16c-4ebe-9a2f-2d8cea25da15 /boot                   xfs     defau$
/dev/mapper/centos-swap swap                    swap    defaults        0 0

when I edit it to before change the problem solved

9
Apache / Re: appached failed after reboot
« on: December 02, 2018, 09:02:24 PM »
you need to do fsck on reboot as your server is in read-only mode.

why it happened?
I just install cwp and add 2 website with auto ssl
just this

10
Apache / appached failed after reboot
« on: December 02, 2018, 07:54:44 PM »
hi,

Code: [Select]
# service httpd start
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

systemctl status httpd.service

Code: [Select]

● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2018-12-02 23:18:32 +0330; 45s ago
  Process: 2408 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: Starting Web server Apache...
Dec 02 23:18:32 nl1.xxx.ovh apachectl[2408]: AH00558: httpd: Could not reliably determine the server's fully qualified domai...essage
Dec 02 23:18:32 nl1.xxx.ovh apachectl[2408]: (30)Read-only file system: AH00091: httpd: could not open error log file /usr/l...r_log.
Dec 02 23:18:32 nl1.xxx.ovh apachectl[2408]: AH00015: Unable to open logs
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: Failed to start Web server Apache.
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: Unit httpd.service entered failed state.
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

journalctl -xe

Code: [Select]

-- Unit cwpsrv.service has begun starting up.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service holdoff time over, scheduling restart.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: Started The PHP FastCGI Process Manager.
-- Subject: Unit cwp-phpfpm.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has finished starting up.
--
-- The start-up result is done.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: Starting The PHP FastCGI Process Manager...
-- Subject: Unit cwp-phpfpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has begun starting up.
Dec 02 23:19:35 nl1.xxx.ovh php-fpm[2444]: [02-Dec-2018 23:19:35] ERROR: failed to open error_log (/usr/local/cwp/php71/var/log/php-f
Dec 02 23:19:35 nl1.xxx.ovh php-fpm[2444]: [02-Dec-2018 23:19:35] ERROR: failed to post process the configuration
Dec 02 23:19:35 nl1.xxx.ovh php-fpm[2444]: [02-Dec-2018 23:19:35] ERROR: FPM initialization failed
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service: main process exited, code=exited, status=78/n/a
Dec 02 23:19:35 nl1.xxx.ovh rsyslogd[884]: imjournal: fopen() failed for path: '/var/lib/rsyslog/imjournal.state.tmp': Read-only file
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: Unit cwp-phpfpm.service entered failed state.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service failed.

[root@nl1 ~]# journalctl -xe
Dec 02 23:20:32 nl1.xxx.ovh crond[654]: postdrop: warning: mail_queue_enter: create file maildrop/203726.1732: Read-only file system
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service holdoff time over, scheduling restart.
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: Started The PHP FastCGI Process Manager.
-- Subject: Unit cwp-phpfpm.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has finished starting up.
--
-- The start-up result is done.
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: Starting The PHP FastCGI Process Manager...
-- Subject: Unit cwp-phpfpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has begun starting up.
Dec 02 23:20:33 nl1.xxx.ovh php-fpm[2474]: [02-Dec-2018 23:20:33] ERROR: failed to open error_log (/usr/local/cwp/php71/var/log/php-f
Dec 02 23:20:33 nl1.xxx.ovh php-fpm[2474]: [02-Dec-2018 23:20:33] ERROR: failed to post process the configuration
Dec 02 23:20:33 nl1.xxx.ovh php-fpm[2474]: [02-Dec-2018 23:20:33] ERROR: FPM initialization failed
Dec 02 23:20:33 nl1.xxx.ovh rsyslogd[884]: imjournal: fopen() failed for path: '/var/lib/rsyslog/imjournal.state.tmp': Read-only file
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service: main process exited, code=exited, status=78/n/a
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: Unit cwp-phpfpm.service entered failed state.
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service failed.



httpd status

Code: [Select]
● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2018-12-02 23:18:32 +0330; 5min ago
  Process: 2408 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: Starting Web server Apache...
Dec 02 23:18:32 nl1.iranserver.ovh apachectl[2408]: AH00558: httpd: Could not reliably determine the server's fully qualified domai...essage
Dec 02 23:18:32 nl1.iranserver.ovh apachectl[2408]: (30)Read-only file system: AH00091: httpd: could not open error log file /usr/l...r_log.
Dec 02 23:18:32 nl1.iranserver.ovh apachectl[2408]: AH00015: Unable to open logs
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: Failed to start Web server Apache.
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: Unit httpd.service entered failed state.
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.




what's wrong?

11
Backup / Connection_Failed error
« on: December 02, 2018, 05:18:47 PM »
Hi,
I have 2 cwp server & I want to config remote backup but when I'm trying it gives me this error:
Connection_Failed

I tried connect to remote server by ssh commands and it was successful but in backup page cwp can't connect to remote,

what's wrong?

Pages: [1]