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

Pages: [1]
1
ok, Work ,krub

[removed for privacy]

THanks you for help
 :) :D
 

2
#  hostnamectl
   Static hostname: instance-12
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 2a464dc72a01028f0cd989f1d687b484
           Boot ID: eef2c8cb0bf1430bbaa713f065e3d4f3
    Virtualization: kvm
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1062.12.1.el7.x86_64
      Architecture: x86-64

======== ============================
and then  , i"ve update cwp , using command
 scripts]# sh update_cwp
====================================================
============= CentOS Web Panel Cron ================
====================================================
###########################
Firewall Flush Daily Blocks
###########################
######################
Update Server Packages
######################
PHP Warning:  main(/usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/a
dmin/include/functions.php on line 0
PHP Warning:  main(): Failed opening '/usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php' for inclusion (include_path='.:/usr/local/cwp/php71/lib/php') in /usr/
local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Notice:  Undefined variable: db_host_postfix in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Notice:  Undefined variable: db_user_postfix in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Notice:  Undefined variable: db_pass_postfix in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Notice:  Undefined variable: db_name_postfix in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Warning:  mysqli_connect(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php
 on line 0
chmod: cannot access ‘/opt/alt/php*/usr/sbin/*’: No such file or directory
chmod: cannot access ‘/opt/alt/php*/usr/bin/*’: No such file or directory
sh: /scripts/cron_fix_openbasedir: No such file or directory
sh: /scripts/autossl_fix_tmp_path: No such file or directory
Redirecting to /bin/systemctl restart cwpsrv.service
Job for cwpsrv.service failed because the control process exited with error code. See "systemctl status cwpsrv.service" and "journalctl -xe" for details.
/usr/bin/stat: cannot stat ‘/etc/pki/tls/certs/hostname.bundle’: No such file or directory
sh: /scripts/apache_server-status: No such file or directory
sh: /scripts/cpanel_addhandlers: No such file or directory
chmod: cannot access ‘/scripts/cwp_api’: No such file or directory
sh: /scripts/mysql_phpmyadmin_update: No such file or directory
chmod: cannot access ‘/var/log/cwp/cwp_api.log’: No such file or directory
PHP Warning:  mysqli_query() expects parameter 1 to be mysqli, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
Redirecting to /bin/systemctl reload httpd.service
sed: can't read /var/spool/cron/root: No such file or directory

============== cwp web panel URL============
[removed for privacy]

3
Thanks you  for advice  :) :)
i ,ve run script  ../# sh generate_hostname_ssl as you recommend ,output as below

Generating RSA private key, 2048 bit long modulus
................................................................+++
..........................................................+++
e is 65537 (0x10001)
problems making Certificate Request
140331874686864:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:a_mbstr.c:158:maxsize=
64

# sh reload_cwpsrv
Job for cwpsrv.service invalid.

[root@instance-11 scripts]# sh restart_httpd
[root@instance-11 scripts]# sh restart_cwpsrv
Job for cwpsrv.service failed because the control process exited with error code. See "systemctl status cwpsrv.s
ervice" and "journalctl -xe" for details.

4
I 've Install CWP on google cloud  look like completed ,the scripts install get error as below
====Logs+++++++
Complete!
mv: cannot stat ‘clamd@scan.service’: No such file or directory
sed: can't read clamd-scan.service: No such file or directory
Generating RSA private key, 2048 bit long modulus
........................................+++
..................+++
e is 65537 (0x10001)
problems making Certificate Request
140122338133904:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:a_mbstr.c:158:maxsize=64

and i 've check  status cwp service  using command  -->> systemctl status cwpsrv.service   

systemctl status cwpsrv.service
● cwpsrv.service - CentOS Web Panel service (daemon)
   Loaded: loaded (/usr/lib/systemd/system/cwpsrv.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since Sat 2020-03-14 13:18:32 UTC; 2s ago
  Process: 20584 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=1/FAILURE)
 systemd[1]: cwpsrv.service: control process exited, code=exited status=1
 systemd[1]: Failed to start CentOS Web Panel service (daemon).
 systemd[1]: Unit cwpsrv.service entered failed state.
 systemd[1]: cwpsrv.service failed.


and i restart cwpsrv.service  using command -- /sh restart_cwpsrv
Job for cwpsrv.service failed because the control process exited with error code. See "systemctl status cwpsrv.service" and "journalctl -xe" for details.

How i can start cwp or how i can fix.
Thanks You

Pages: [1]