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.


Topics - sattva

Pages: [1]
1
CWP API / External API port 2304 check: FAILED
« on: May 10, 2020, 01:18:51 PM »
[root@cwp scripts]# ./check_api
User API port 2302 check: OK
Oauth query check: OK
User API folder check: OK
External API port 2304 check: FAILED
CSF Firewall status check: ENABLED
TCP_IN for port 2304 set in /etc/csf/csf.conf: OK
TCP_OUT for port 2304 set in /etc/csf/csf.conf: OK

2
PHP / Install Howto php 7.2 interbase?
« on: January 20, 2020, 03:03:03 PM »
Install Howto php 7.2 interbase CWP?

3
CentOS 7 Problems / Gateway Timeout
« on: December 04, 2019, 11:06:39 AM »
[Wed Dec 04 09:24:57.386105 2019] [proxy_fcgi:error] [pid 30930:tid 139648655394560] (70007)The timeout specified has expired: [client 195.69.223.251:57748] AH01075: Error dispatching request to : (polling), referer: https://forbs.shop/admin/index.php?route=extension/feed/unixml&token=4nJ53LcoypnICvSZce3z3aQLYqsDzcRv&type=feed
[Wed Dec 04 09:47:37.515103 2019] [proxy_fcgi:error] [pid 30931:tid 139648579860224] (70007)The timeout specified has expired: [client 195.69.223.251:58542] AH01075: Error dispatching request to : (polling), referer: https://forbs.shop/admin/index.php?route=extension/feed/unixml&token=4nJ53LcoypnICvSZce3z3aQLYqsDzcRv&type=feed
[Wed Dec 04 09:48:43.203119 2019] [proxy_fcgi:error] [pid 30930:tid 139648830199552] (70007)The timeout specified has expired: [client 195.69.223.251:58566] AH01075: Error dispatching request to : (polling), referer: https://forbs.shop/admin/index.php?route=extension/extension&token=4nJ53LcoypnICvSZce3z3aQLYqsDzcRv
[Wed Dec 04 09:49:09.457149 2019] [proxy_fcgi:error] [pid 31169:tid 139648813414144] (70007)The timeout specified has expired: [client 195.69.223.251:58572] AH01075: Error dispatching request to : (polling), referer: https://forbs.shop/admin/index.php?route=extension/extension&token=4nJ53LcoypnICvSZce3z3aQLYqsDzcRv
[Wed Dec 04 10:01:08.581106 2019] [proxy_fcgi:error] [pid 30930:tid 139648554682112] (70007)The timeout specified has expired: [client 195.69.223.251:59114] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:05:40.040010 2019] [proxy_fcgi:error] [pid 2485:tid 140008699963136] [client 195.69.223.251:36754] AH01071: Got error 'PHP message: PHP Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php on line 7\nPHP message: PHP Warning: DB\\MySQLi::__construct(): Couldn't fetch mysqli in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php on line 10\nPHP message: PHP Warning: DB\\MySQLi::__construct(): Couldn't fetch mysqli in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php on line 10\nPHP message: PHP Fatal error: Uncaught exception 'Exception' with message 'Error:
Error No: ' in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php:10\nStack trace:\n#0 /home/forbs/public_html/system/library/db.php(9): DB\\MySQLi->__construct('localhost', 'forbs_db', 'YSfmZQMblq', 'forbs_db', NULL)\n#1 /home/forbs/public_html/system/storage/modification/system/config/catalog.php(27): DB->__construct('mysqli', 'localhost', 'forbs_db', 'YSfmZQMblq', 'forbs_db')\n#2 /home/forbs/public_html/system/storage/modification/system/library/config.php(23): require('/home/forbs/pub...')\n#3 /home/forbs/public_html/system/framework.php(8): Config->load('catalog')\n#4 /home/forbs/public_html/system/startup.php(105): require_once('/home/forbs/pub...')\n#5 /home/forbs/public_html/index.php(19): start('catalog')\n#6 {main}\n thrown in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php on line 10\n'
[Wed Dec 04 10:05:45.706633 2019] [proxy_fcgi:error] [pid 2571:tid 140008699963136] [client 195.69.223.251:36758] AH01071: Got error 'PHP message: PHP Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php on line 7\nPHP message: PHP Warning: DB\\MySQLi::__construct(): Couldn't fetch mysqli in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php on line 10\nPHP message: PHP Warning: DB\\MySQLi::__construct(): Couldn't fetch mysqli in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php on line 10\nPHP message: PHP Fatal error: Uncaught exception 'Exception' with message 'Error:
Error No: ' in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php:10\nStack trace:\n#0 /home/forbs/public_html/system/library/db.php(9): DB\\MySQLi->__construct('localhost', 'forbs_db', 'YSfmZQMblq', 'forbs_db', NULL)\n#1 /home/forbs/public_html/system/storage/modification/system/config/catalog.php(27): DB->__construct('mysqli', 'localhost', 'forbs_db', 'YSfmZQMblq', 'forbs_db')\n#2 /home/forbs/public_html/system/storage/modification/system/library/config.php(23): require('/home/forbs/pub...')\n#3 /home/forbs/public_html/system/framework.php(8): Config->load('catalog')\n#4 /home/forbs/public_html/system/startup.php(105): require_once('/home/forbs/pub...')\n#5 /home/forbs/public_html/index.php(19): start('catalog')\n#6 {main}\n thrown in /home/forbs/public_html/system/storage/modification/system/library/db/mysqli.php on line 10\n'
[Wed Dec 04 10:07:05.001326 2019] [proxy_fcgi:error] [pid 2487:tid 140008610588416] (70007)The timeout specified has expired: [client 195.69.223.251:36762] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:07:12.560835 2019] [proxy_fcgi:error] [pid 2571:tid 140008610588416] (70007)The timeout specified has expired: [client 195.69.223.251:36764] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:07:45.396475 2019] [proxy_fcgi:error] [pid 2571:tid 140008585410304] (70007)The timeout specified has expired: [client 195.69.223.251:37090] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:08:12.763105 2019] [proxy_fcgi:error] [pid 2571:tid 140008551839488] (70007)The timeout specified has expired: [client 195.69.223.251:37096] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:12:09.940467 2019] [proxy_fcgi:error] [pid 2571:tid 140008593803008] (70007)The timeout specified has expired: [client 195.69.223.251:37308] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:19:27.166090 2019] [proxy_fcgi:error] [pid 2487:tid 140008610588416] (70007)The timeout specified has expired: [client 195.69.223.251:37686] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:20:31.535090 2019] [proxy_fcgi:error] [pid 2487:tid 140008501483264] (70007)The timeout specified has expired: [client 195.69.223.251:37692] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:24:29.273120 2019] [proxy_fcgi:error] [pid 2571:tid 140008442734336] (70007)The timeout specified has expired: [client 195.69.223.251:37842] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:25:43.635155 2019] [proxy_fcgi:error] [pid 2571:tid 140008602195712] (70007)The timeout specified has expired: [client 195.69.223.251:37872] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:26:54.054092 2019] [proxy_fcgi:error] [pid 2487:tid 140008535054080] (70007)The timeout specified has expired: [client 195.69.223.251:37886] AH01075: Error dispatching request to : (polling)
[Wed Dec 04 10:27:54.147350 2019] [proxy_fcgi:error] [pid 2571:tid 140008577017600] (70007)The timeout specified has expired: [client 195.69.223.251:37908] AH01075: Error dispatching request to : (polling)


4
CentOS 7 Problems / 500 error
« on: November 18, 2019, 04:39:57 PM »
Error

Quote
[Mon Nov 18 18:36:24.755920 2019] [proxy_fcgi:error] [pid 12026:tid 140639987500800] [client 195.69.223.251:36466] AH01071: Got error 'PHP message: PHP Fatal error: Cannot redeclare Document::$noindex in /home/forbs/public_html/system/storage/modification/system/library/document.php on line 24\n'

5
CentOS 7 Problems / Could Not Connect To Server
« on: November 05, 2019, 09:07:58 AM »
https://developers.facebook.com/tools/debug/sharing

Could Not Connect To Server: Could Not Connect To Server
Check that the webserver is running, and that there are no firewalls blocking Facebook's crawlers.

cURL: 56 (RECV_ERROR)

6
CentOS 7 Problems / AutoSSL Manager
« on: November 04, 2019, 09:26:24 PM »
AutoSSL Manager: all domain

Error_domainError_domain

7
CentOS 7 Problems / Skipping as php build failed
« on: October 31, 2019, 05:59:14 AM »
PHP Selector v2


[root@centos-s-1vcpu-1gb-newyork ~]# tail -f /var/log/php-selector-rebuild.log
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
exe:/opt/alt/php-fpm73/usr/sbin/php-fpm
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################

https://prnt.sc/pqgsg9

8
Quote
[Tue Oct 08 11:19:31.627585 2019] [proxy_fcgi:error] [pid 24068:tid 140644047570688] [client 195.69.223.251:48924] AH01079: failed to make connection to backend: httpd-UDS
[Tue Oct 08 11:21:24.842921 2019] [proxy:error] [pid 24068:tid 140644030785280] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm56/usr/var/sockets/forbs.sock (*) failed
[Tue Oct 08 11:21:24.842989 2019] [proxy_fcgi:error] [pid 24068:tid 140644030785280] [client 195.69.223.251:49064] AH01079: failed to make connection to backend: httpd-UDS
[Tue Oct 08 11:21:25.913588 2019] [proxy:error] [pid 24068:tid 140644013999872] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm56/usr/var/sockets/forbs.sock (*) failed
[Tue Oct 08 11:21:25.913664 2019] [proxy_fcgi:error] [pid 24068:tid 140644013999872] [client 195.69.223.251:49068] AH01079: failed to make connection to backend: httpd-UDS
[Tue Oct 08 11:21:30.943771 2019] [proxy:error] [pid 24068:tid 140644207032064] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm56/usr/var/sockets/forbs.sock (*) failed
[Tue Oct 08 11:21:30.943808 2019] [proxy_fcgi:error] [pid 24068:tid 140644207032064] [client 195.69.223.251:49072] AH01079: failed to make connection to backend: httpd-UDS
[Tue Oct 08 11:21:35.900440 2019] [proxy:error] [pid 1183:tid 139809607628544] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm56/usr/var/sockets/forbs.sock (*) failed
[Tue Oct 08 11:21:35.900649 2019] [proxy_fcgi:error] [pid 1183:tid 139809607628544] [client 195.69.223.251:49076] AH01079: failed to make connection to backend: httpd-UDS
[Tue Oct 08 11:21:45.940573 2019] [proxy:error] [pid 1183:tid 139809641199360] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm56/usr/var/sockets/forbs.sock (*) failed
[Tue Oct 08 11:21:45.940663 2019] [proxy_fcgi:error] [pid 1183:tid 139809641199360] [client 195.69.223.251:49080] AH01079: failed to make connection to backend: httpd-UDS

9
CentOS 7 Problems / 502 Bad Gateway cwpsrv
« on: July 29, 2019, 06:56:35 PM »
How fix "cwpsrv 502 Bad Gateway?"

10
CentOS 7 Problems / Connection not secured cwp
« on: April 02, 2019, 05:17:28 PM »
Connection not secured cwp!

run install_hostname_ssl && restart_cwpsrv

I checked the availability in /etc/pki/tls/certs/cwp.asklepiy.com.*

hostname-ssl.conf
Quote
SSLEngine on
<------>SSLCipherSuite ALL:!ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
<------>SSLProtocol All -SSLv2 -SSLv3
<------>SSLCertificateFile /etc/pki/tls/certs/cwp.asklepiy.com.cert
<------>SSLCertificateKeyFile /etc/pki/tls/private/cwp.asklepiy.com.key
<------>SSLCertificateChainFile /etc/pki/tls/certs/cwp.asklepiy.com.bundle
<------>SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

http://prntscr.com/n6iwbk

11
CentOS 7 Problems / Internal Server Error YII2
« on: February 19, 2019, 02:58:06 PM »
site written on the yii2 framework has stopped working.
Internal Server Error 500.
Help Me!

12
Backup / Cron Job Backup
« on: January 17, 2018, 01:57:35 PM »
Crontab for user (asklepiy)
0 0 * * 0 /usr/local/cwpsrv/htdocs/resources/scripts/user_backup asklepiy

not work!

13
CentOS 7 Problems / Default Page Displayed for new account
« on: December 20, 2017, 12:35:26 PM »
I deleted the only existing account, then added it again (all actions were done from under root). And when you try to open a site - the page opens - HTTP Test Page! How it can be fixed!

http://prntscr.com/hq12to
http://prntscr.com/hq1342

14
CentOS 6 Problems / Installation FAILED at httpd
« on: June 22, 2015, 07:11:52 PM »

PREPARING THE SERVER
##########################
setenforce: SELinux is disabled

#############################################
Please wait... installing web server files...
#############################################

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.5.1
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/apache-build/apr-1.5.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.5.3
checking for chosen layout... apr-util
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/apache-build/apr-util-1.5.3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
rm: cannot remove `/usr/local/apache/conf/httpd.conf': No such file or directory
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
/usr/local/src/apache-2.2.27.sh: line 54: /usr/local/apache/conf/httpd.conf: No such file or directory
/usr/local/src/apache-2.2.27.sh: line 55: /usr/local/apache/conf/httpd.conf: No such file or directory
mkdir: cannot create directory `/usr/local/apache/conf.d': File exists
/usr/local/src/apache-2.2.27.sh: line 58: /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
/usr/local/src/apache-2.2.27.sh: line 62: /usr/local/apache/conf/httpd.conf: No such file or directory
/usr/local/src/apache-2.2.27.sh: line 69: /usr/local/apache/conf/sharedip.conf: No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
sed: can't read /usr/local/apache/conf/httpd.conf: No such file or directory
/usr/local/src/apache-2.2.27.sh: line 157: cd: /usr/local/apache/bin/: No such file or directory

Compiler requires 512 MB RAM + SWAP
Installation FAILED at httpd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
113   792  113   792    0     0   7693      0 --:--:-- --:--:-- --:--:-- 14400
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory
Array
(
    [operation] => upload
)

Pages: [1]