MRatWork Forum by Mustafa Ramadhan
Language Specific Discussions => Indonesia Users => Topic started by: laziale on 2014-09-12, 13:35:22
-
tolong donk pak MR,
setelah upgrade ke kloxo mr7, saya pakai nginx-proxy,
awal nya baik2 saja, karena traffic web yg tinggi, tiba2 jadi error, saya coba restart all service
dan hasilnya seperti ini :
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 201 of /opt/configs/apache/conf/defaults/in
it.conf:
This version of openssl does not support configuring compression within <Virtual
Host> sections.
[FAILED]
mohon solusinya pak.
thanks
-
Coba update.
-
update apa nya yah pak?
-
Kloxo-MR-nya. Semoga di 2014091202 sudah beres semua hal terkait cp/mv/rm. Ada kondisi berbeda utk perintah2 ini pada centos 5 dan 6. Saya coba 'jembatani' tapi awal2-nya malah bikin kacau.
-
update nya bagaimana yah pak?
-
yum clean all; yum update; sh /script/cleanup
-
tetep aja pak hasilnya.
Last login: Fri Sep 12 07:20:12 2014 from 36.77.242.16
# sh /script/restart-all
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
Stopping Djbdns for:
- axfrdns [ OK ]
- tinydns [ OK ]
Starting Djbdns for:
- axfrdns [ OK ]
- tinydns [ OK ]
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 201 of /opt/configs/apache/conf/defaults/in
it.conf:
This version of openssl does not support configuring compression within <Virtual
Host> sections.
[FAILED]
Stopping nginx:. [ OK ]
Starting nginx: [ OK ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
Execute fixlxphpexe for php53s...
Stopping kloxo-phpcgi: [ OK ]
Starting kloxo-phpcgi: [ OK ]
Stopping kloxo-hiawatha: [ OK ]
Starting kloxo-hiawatha: [ OK ]
Stopping php-fpm: [ OK ]
Starting php-fpm: [ OK ]
apa yang salah yah pak?
-
infokan 'cat /opt/configs/apache/conf/defaults/init.conf'
-
Sudah jalankan 'sh /script/fixweb; sh /script/restart-web'?.
-
saya sudah jalankan ini 'sh /script/fixweb; sh /script/restart-web'
dan hasilnya tetep aja pak.
ini info dr cat /opt/configs/apache/conf/defaults/init.conf
<IfModule mod_ruid2.c>
RMode config
RUidGid apache apache
RMinUidGid apache apache
</IfModule>
<IfModule itk.c>
AssignUserId apache apache
</IfModule>
<IfModule mod_fastcgi.c>
Alias /default.0fake "/home/kloxo/httpd/default/default.0fake"
#FastCGIExternalServer "/home/kloxo/httpd/default/default.0fake"
-host 127.0.0.1:50000 -idle-timeout 90 -pass-header Authorization
FastCGIExternalServer "/home/kloxo/httpd/default/default.0fake"
-socket /opt/configs/php-fpm/sock/apache.sock -idle-timeout 90 -pass-header Auth
orization
AddType application/x-httpd-fastphp .php
Action application/x-httpd-fastphp /default.0fake
<Files "default.0fake">
RewriteCond %{REQUEST_URI} !default.0fake
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Directory "/home/kloxo/httpd/default/">
Options +ExecCGI
AddHandler fcgid-script .php
FCGIWrapper /home/kloxo/client/php5.fcgi .php
</Directory>
</IfModule>
<IfModule mod_proxy_fcgi.c>
ProxyPass / fcgi://127.0.0.1:50000/
ProxyPassReverse / fcgi://127.0.0.1:50000/
</IfModule>
<Location />
Allow from all
# Options +Indexes +FollowSymlinks
Options -Indexes -FollowSymlinks +SymLinksIfOwnerMatch
</Location>
<Directory "/home/kloxo/httpd/default/">
AllowOverride All
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
</VirtualHost>
### cp config
<VirtualHost ${global::ip}:${global::port}>
SetEnvIf X-Forwarded-Proto https HTTPS=1
ServerName cp
ServerAlias cp.*
DocumentRoot "/home/kloxo/httpd/cp"
DirectoryIndex index.php index.html index.shtml index.htm index.pl index
.py index.cgi index.rb default.htm Default.aspx Default.asp
<IfModule suexec.c>
SuexecUserGroup apache apache
</IfModule>
<IfModule mod_suphp.c>
SuPhp_UserGroup apache apache
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid apache apache
RMinUidGid apache apache
</IfModule>
<IfModule itk.c>
AssignUserId apache apache
</IfModule>
<IfModule mod_fastcgi.c>
Alias /cp.0fake "/home/kloxo/httpd/cp/cp.0fake"
#FastCGIExternalServer "/home/kloxo/httpd/cp/cp.0fake" -host 127
.0.0.1:50000 -idle-timeout 90 -pass-header Authorization
FastCGIExternalServer "/home/kloxo/httpd/cp/cp.0fake" -socket /o
pt/configs/php-fpm/sock/apache.sock -idle-timeout 90 -pass-header Authorization
AddType application/x-httpd-fastphp .php
Action application/x-httpd-fastphp /cp.0fake
<Files "cp.0fake">
RewriteCond %{REQUEST_URI} !cp.0fake
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Directory "/home/kloxo/httpd/default/">
Options +ExecCGI
AddHandler fcgid-script .php
FCGIWrapper /home/kloxo/client/php5.fcgi .php
</Directory>
</IfModule>
<IfModule mod_proxy_fcgi.c>
ProxyPass / fcgi://127.0.0.1:50000/
ProxyPassReverse / fcgi://127.0.0.1:50000/
</IfModule>
<Location />
Allow from all
# Options +Indexes +FollowSymlinks
Options -Indexes -FollowSymlinks +SymLinksIfOwnerMatch
</Location>
<Directory "/home/kloxo/httpd/default/">
AllowOverride All
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
</VirtualHost>
### 'default' config
<VirtualHost ${global::ip}:${global::portssl}>
SetEnvIf X-Forwarded-Proto https HTTPS=1
ServerName default
ServerAlias default.*
DocumentRoot "/home/kloxo/httpd/default"
DirectoryIndex index.php index.html index.shtml index.htm index.pl index
.py index.cgi index.rb default.htm Default.aspx Default.asp
<IfModule mod_ssl.c>
SSLEngine On
SSLProtocol ALL -SSLv2
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+
AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
SSLCompression Off
SSLCertificateFile /home/kloxo/httpd/ssl/venet0_0___localhost.pe
m
SSLCertificateKeyFile /home/kloxo/httpd/ssl/venet0_0___localhost
.key
SSLCACertificatefile /home/kloxo/httpd/ssl/venet0_0___localhost.
ca
</IfModule>
<IfModule suexec.c>
SuexecUserGroup apache apache
</IfModule>
<IfModule mod_suphp.c>
SuPhp_UserGroup apache apache
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid apache apache
RMinUidGid apache apache
</IfModule>
<IfModule itk.c>
AssignUserId apache apache
</IfModule>
<IfModule mod_fastcgi.c>
Alias /default.1fake "/home/kloxo/httpd/default/default.1fake"
#FastCGIExternalServer "/home/kloxo/httpd/default/default.1fake"
-host 127.0.0.1:50000 -idle-timeout 90 -pass-header Authorization
FastCGIExternalServer "/home/kloxo/httpd/default/default.1fake"
-socket /opt/configs/php-fpm/sock/apache.sock -idle-timeout 90 -pass-header Auth
orization
AddType application/x-httpd-fastphp .php
Action application/x-httpd-fastphp /default.1fake
<Files "default.1fake">
RewriteCond %{REQUEST_URI} !default.1fake
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Directory "/home/kloxo/httpd/default/">
Options +ExecCGI
AddHandler fcgid-script .php
FCGIWrapper /home/kloxo/client/php5.fcgi .php
</Directory>
</IfModule>
<IfModule mod_proxy_fcgi.c>
ProxyPass / fcgi://127.0.0.1:50000/
ProxyPassReverse / fcgi://127.0.0.1:50000/
</IfModule>
<Location />
Allow from all
# Options +Indexes +FollowSymlinks
Options -Indexes -FollowSymlinks +SymLinksIfOwnerMatch
</Location>
<Directory "/home/kloxo/httpd/default/">
AllowOverride All
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
</VirtualHost>
### cp config
<VirtualHost ${global::ip}:${global::portssl}>
SetEnvIf X-Forwarded-Proto https HTTPS=1
ServerName cp
ServerAlias cp.*
DocumentRoot "/home/kloxo/httpd/cp"
DirectoryIndex index.php index.html index.shtml index.htm index.pl index
.py index.cgi index.rb default.htm Default.aspx Default.asp
<IfModule mod_ssl.c>
SSLEngine on
SSLProtocol ALL -SSLv2
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+
AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
SSLCompression Off
SSLCertificateFile /home/kloxo/httpd/ssl/venet0_0___localhost.pe
m
SSLCertificateKeyFile /home/kloxo/httpd/ssl/venet0_0___localhost
.key
SSLCACertificatefile /home/kloxo/httpd/ssl/venet0_0___localhost.
ca
</IfModule>
<IfModule suexec.c>
SuexecUserGroup apache apache
</IfModule>
<IfModule mod_suphp.c>
SuPhp_UserGroup apache apache
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid apache apache
RMinUidGid apache apache
</IfModule>
<IfModule itk.c>
AssignUserId apache apache
</IfModule>
<IfModule mod_fastcgi.c>
Alias /cp.1fake "/home/kloxo/httpd/cp/cp.1fake"
#FastCGIExternalServer "/home/kloxo/httpd/cp/cp.1fake" -host 127
.0.0.1:50000 -idle-timeout 90 -pass-header Authorization
FastCGIExternalServer "/home/kloxo/httpd/cp/cp.1fake" -socket /o
pt/configs/php-fpm/sock/apache.sock -idle-timeout 90 -pass-header Authorization
AddType application/x-httpd-fastphp .php
Action application/x-httpd-fastphp /cp.1fake
<Files "cp.1fake">
RewriteCond %{REQUEST_URI} !cp.1fake
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Directory "/home/kloxo/httpd/default/">
Options +ExecCGI
AddHandler fcgid-script .php
FCGIWrapper /home/kloxo/client/php5.fcgi .php
</Directory>
</IfModule>
<IfModule mod_proxy_fcgi.c>
ProxyPass / fcgi://127.0.0.1:50000/
ProxyPassReverse / fcgi://127.0.0.1:50000/
</IfModule>
<Location />
Allow from all
# Options +Indexes +FollowSymlinks
Options -Indexes -FollowSymlinks +SymLinksIfOwnerMatch
</Location>
<Directory "/home/kloxo/httpd/default/">
AllowOverride All
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
</VirtualHost>
### end - web of initial - do not remove/modify this line
-
Coba infokan 'sh /script/sysinfo'. Kelihatannya anda pakai httpd yang versinya kurang dari 2.2.24.
Bawaan Kloxo-MR sudah 2.2.27.
-
# sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2014091202
B. OS: CentOS release 5.10 (Final) x86_64
C. Apps:
1. MySQL: mysql55-5.5.39-1.ius.el5
2. PHP: php53u-5.3.29-1.ius.el5
3. Httpd: httpd-2.2.27-1.mr.e5
4. Lighttpd: --uninstalled--
5. Hiawatha: hiawatha-9.7.p2-1.mr.el5
6. Nginx: nginx-1.7.4-1.el5.ngx
7. Cache: --uninstalled--
8. Dns: bind-9.9.5-1.el5
9. Qmail: qmail-toaster-1.03-1.3.38.mr.el5
- with: courier-imap-toaster-4.1.2-1.3.16.mr.el5
D. Php-type (for Httpd/proxy): php-fpm_worker
E. Memory:
total used free shared buffers cached
Mem: 1024 396 627 0 0 198
-/+ buffers/cache: 198 825
Swap: 512 0 512
sudah 2.2.27 pak.
-
Jangan-jangan openssl-nya yang perlu diupdate.
-
ini info openssl saya pak.
Installed Packages
Name : openssl
Arch : i686
Version : 0.9.8e
Release : 27.el5_10.4
Size : 3.4 M
Repo : installed
Summary : The OpenSSL toolkit
URL : http://www.openssl.org/
License : BSDish
Description: The OpenSSL toolkit provides support for secure communications
: between machines. OpenSSL includes a certificate management tool
: and shared libraries which provide various cryptographic algorithms
: and protocols.
Name : openssl
Arch : x86_64
Version : 0.9.8e
Release : 27.el5_10.4
Size : 3.5 M
Repo : installed
Summary : The OpenSSL toolkit
URL : http://www.openssl.org/
License : BSDish
Description: The OpenSSL toolkit provides support for secure communications
: between machines. OpenSSL includes a certificate management tool
: and shared libraries which provide various cryptographic algorithms
: and protocols.
itu sudah update atau blm pak?
cara updatenya bagaimana?
-
Jalankan 'yum clean all; yum update kloxomr7; sh /script/cleanup'. Update terakhir semoga menyelesaikan masalah anda.
Masalah timbul karena saya develop pakai Centos 6 yang tidak muncul error.
-
ternyata works dengan Jalankan 'yum clean all; yum update kloxomr7; sh /script/cleanup'
thanks pak. :)