Author Topic: centos 6 installation error  (Read 305 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
centos 6 installation error
« on: May 12, 2020, 05:53:16 AM »
There seems to be a problem with the current centos 6 version installation script.
In centos 7 version, I can install without changing the hostname.
In centos 6 version, it is not possible to connect to http 500 error when connecting control panel to port 2031 after installation.
I see error messages related to ssl during installation, but it seems that there is a missing script compared to centos 7, can I check it?
Or is centos 6 version no longer supported due to EOL?

In the previous installation, it was possible to install without changing the hostname even in centos 6. (localhost.localdomain)

Error message during installation

PREPARING THE SERVER
##########################
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]

iptables: Setting chains to policy ACCEPT: filter [  OK  ]

iptables: Flushing firewall rules: [  OK  ]

iptables: Unloading modules: [  OK  ]


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

Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: fedora.cs.nctu.edu.tw
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Package apr-1.6.2-1.x86_64 already installed and latest version
Package apr-util-1.6.0-1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package cwp-httpd.x86_64 0:2.4.39-3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch             Version               Repository     Size
================================================================================
Installing:
 cwp-httpd           x86_64           2.4.39-3              cwp           5.6 M

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 5.6 M
Installed size: 26 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
httpd: unrecognized service

  Installing : cwp-httpd-2.4.39-3.x86_64                                    1/1

Stopping httpd: [FAILED]

Starting httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
[  OK  ]


  Verifying  : cwp-httpd-2.4.39-3.x86_64                                    1/1

Installed:
  cwp-httpd.x86_64 0:2.4.39-3                                                   

Complete!
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: mirrors.aliyun.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package cwp-suphp.x86_64 0:0.7.2-3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================
 Package                                Arch                                Version                                Repository                        Size
==========================================================================================================================================================
Installing:
 cwp-suphp                              x86_64                              0.7.2-3                                cwp                               71 k

Transaction Summary
==========================================================================================================================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 192 k
Downloading Packages:
cwp-suphp-0.7.2-3.x86_64.rpm                                                                                                       |  71 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : cwp-suphp-0.7.2-3.x86_64                                                                                                               1/1

  Verifying  : cwp-suphp-0.7.2-3.x86_64                                                                                                               1/1

Installed:

  cwp-suphp.x86_64 0:0.7.2-3                                                                                                                             

Complete!
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: mirrors.aliyun.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package cwp-php.x86_64 0:5.6.37-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package            Arch              Version              Repository      Size
================================================================================
Installing:
 cwp-php            x86_64            5.6.37-1             cwp            8.1 M

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 8.1 M
Installed size: 32 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : cwp-php-5.6.37-1.x86_64                                      1/1
Stopping httpd: [  OK  ]

Starting httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
[  OK  ]


  Verifying  : cwp-php-5.6.37-1.x86_64                                      1/1

Installed:
  cwp-php.x86_64 0:5.6.37-1                                                     

Complete!
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: fedora.cs.nctu.edu.tw
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package cwpsrv.x86_64 0:1.15.10-4 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================
 Package                             Arch                                Version                                   Repository                        Size
==========================================================================================================================================================
Installing:
 cwpsrv                              x86_64                              1.15.10-4                                 cwp                              301 k

Transaction Summary
==========================================================================================================================================================
Install       1 Package(s)

Total download size: 301 k
Installed size: 826 k
Downloading Packages:
cwpsrv-1.15.10-4.x86_64.rpm                                                                                                        | 301 kB     00:02     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : cwpsrv-1.15.10-4.x86_64                                                                                                                1/1

Stopping cwpsrv: [FAILED]

Starting cwpsrv: cwpsrv: [emerg] annot load certificate "/etc/pki/tls/certs/hostname.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/pki/tls/certs/hostname.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
[FAILED]

warning: %post(cwpsrv-1.15.10-4.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package cwpsrv-1.15.10-4.x86_64


  Verifying  : cwpsrv-1.15.10-4.x86_64                                                                                                                1/1

Installed:
  cwpsrv.x86_64 0:1.15.10-4                                                                                                                               

Complete!
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.kakao.com
 * epel: my.mirrors.thegigabit.com
 * extras: mirror.kakao.com
 * updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package cwpphp.x86_64 0:7.2.30-3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================
 Package                              Arch                                 Version                                Repository                         Size
==========================================================================================================================================================
Installing:
 cwpphp                               x86_64                               7.2.30-3                               cwp                                15 M

Transaction Summary
==========================================================================================================================================================
Install       1 Package(s)

Total download size: 15 M
Installed size: 64 M
Downloading Packages:

cwpphp-7.2.30-3.x86_64.rpm                                                                                                         |  15 MB     00:08     

Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Installing : cwpphp-7.2.30-3.x86_64                                                                                                                 1/1

cat: /usr/local/cwpsrv/htdocs/resources/admin/include/version.php: No such file or directory
Stopping cwp-phpfpm: [FAILED]

Starting cwp-phpfpm: [12-May-2020 14:14:37] WARNING: Nothing matches the include pattern '/usr/local/cwp/php71/etc/php-fpm.d/users/*.conf' from /usr/local/cwp/php71/etc/php-fpm.d/users.conf at line 1.
[  OK  ]


Stopping cwpsrv-phpfpm: [FAILED]

Starting cwpsrv-phpfpm: [  OK  ]


  Verifying  : cwpphp-7.2.30-3.x86_64                                                                                                                 1/1

Installed:
  cwpphp.x86_64 0:7.2.30-3                                                                                                                               

Complete!
Stopping httpd: [  OK  ]

Starting httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
[  OK  ]

« Last Edit: May 12, 2020, 06:06:21 AM by maxlaurentius »

Offline
*****
Re: centos 6 installation error
« Reply #1 on: May 13, 2020, 12:06:43 PM »
i see services are started.
move to cwp 7 asap. centos 6 is reaching its EOL