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

Pages: [1] 2
1
CWP API / Re: External API port 2304 check: FAILED
« on: May 10, 2020, 05:05:17 PM »
Code: [Select]
./install_api
Failed to match /etc/pki/tls/certs/hostname.bundle and /etc/pki/tls/private/hostname.key


Code: [Select]
./generate_hostname_ssl
Generating RSA private key, 2048 bit long modulus
.+++
..........................+++
e is 65537 (0x10001)
writing RSA key
Signature ok
subject=/C=HR/ST=Zagreb/O=CentOS Web Panel/L=HR/CN=localhost/OU=CentOS Web Panel/emailAddress=info@centos-webpanel.com
Getting Private key
Redirecting to /bin/systemctl restart postfix.service
Redirecting to /bin/systemctl restart dovecot.service
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl restart nginx.service
Redirecting to /bin/systemctl restart pure-ftpd.service
Code: [Select]
[root@cwp scripts]# ./install_api
Redirecting to /bin/systemctl reload cwpsrv.service

Code: [Select]
[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: OK
External API files and htaccess : OK
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


thanks for the help

2
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

3
PHP / Re: Install Howto php 7.2 interbase?
« on: January 22, 2020, 09:43:08 AM »
We managed to solve the problem by installing it on a local server firebird. And recompile everything again with the parameter --with-pdo-firebird. And in php.ini uncomment extension = pdo_firebird. Reboot.

4
PHP / Re: Install Howto php 7.2 interbase?
« on: January 22, 2020, 09:02:08 AM »
help me

5
PHP / Re: Install Howto php 7.2 interbase?
« on: January 21, 2020, 07:34:16 PM »
checking for Firebird support... no
checking for Firebird support for PDO... yes
checking for fb_config... no
checking for isc_detach_database in -lfbclient... no
checking for isc_detach_database in -lgds... no
checking for isc_detach_database in -lib_util... no
configure: error: libfbclient, libgds or libib_util not found! Check config.log for more information.

6
PHP / Re: Install Howto php 7.2 interbase?
« on: January 21, 2020, 05:15:40 PM »
I understand correctly, you need to add a section to:

/usr/local/cwpsrv/htdocs/resources/conf/php_switcher

and find the .ini file that correspond with the php version you want to install, in this example will be 7.2.ini


[pdo-firebird]
default=0
option="--with-pdo-firebird"
info-file=pdo-firebird.txt

7
PHP / Re: Install Howto php 7.2 interbase?
« on: January 21, 2020, 03:33:53 PM »
Hi, so there is no such item

https://prnt.sc/qqtyol

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

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


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

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

12
CentOS 7 Problems / Re: AutoSSL Manager
« on: November 05, 2019, 08:58:50 AM »

Managed to install certificates through the root Module SSL Certificate Management Console - AutoSSL [FREE]

https://prnt.sc/psmk59

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

Error_domainError_domain

14
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

15
Quote
Redirecting to /bin/systemctl status php-fpm56.service
● php-fpm56.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/php-fpm56.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since вт 2019-10-08 12:26:32 EEST; 9s ago
  Process: 19253 ExecStart=/opt/alt/php-fpm56/usr/sbin/php-fpm --nodaemonize --fpm-config /opt/alt/php-fpm56/usr/etc/php-fpm.conf (code=exited, status=203/EXEC)
 Main PID: 19253 (code=exited, status=203/EXEC)

жов 08 12:26:32 cwp.forbs.shop systemd[1]: Started The PHP FastCGI Process Manager.
жов 08 12:26:32 cwp.forbs.shop systemd[1]: php-fpm56.service: main process exited, code=exited, status=203/EXEC
жов 08 12:26:32 cwp.forbs.shop systemd[1]: Unit php-fpm56.service entered failed state.
жов 08 12:26:32 cwp.forbs.shop systemd[1]: php-fpm56.service failed.

Pages: [1] 2