Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 07:33:35

Author Topic: After update Kloxo-MR 6.5.0.f-2013031821  (Read 24151 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #15 on: 2013-06-16, 02:50:55 »
In previous nginx config:
Code: [Select]
server {
    listen *:80;

The new one:
Code: [Select]
server {
    listen 0.0.0.0:80;
    listen [::]:80;

Previous only accept IPv4 but latest accept IPv4 and IPv6.

You can back to previous code with copy /home/nginx/tpl/defaults.conf.tpl and domains.conf.tpl to custom.default.conf.tpl and custom.domains.conf.tpl and then modified this custom files:

from
Code: [Select]
   listen 0.0.0.0:<?php echo $port?>;
    listen [::]:<?php echo $port?>;
to:
Code: [Select]
   listen *:<?php echo $port?>;

and
Code: [Select]
   listen 0.0.0.0:<?php echo $port?><?php echo $asdefault?>;
    listen [::]:<?php echo $port?><?php echo $asdefault?>;
to:
Code: [Select]
   *:<?php echo $port?><?php echo $asdefault?>;
and then run 'sh /script/fixweb; sh /script/restart-services'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #16 on: 2013-06-16, 02:56:59 »
Mustafa
I do not know exactly what should be modified
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #17 on: 2013-06-16, 02:59:31 »
It's hard to understand?. Set by yourself.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #18 on: 2013-06-16, 03:11:20 »
Inform here for 'ip -6 addr show' from ssh.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #19 on: 2013-06-16, 03:27:26 »
nginx: [emerg] unknown directive "*:80" in /home/nginx/conf/defaults/_default.conf:6
nginx: configuration file /etc/nginx/nginx.conf test failed

in:  /home/nginx/conf/defaults
nano _default.conf

## 'default' config
server {
     *:80 default;
     *:80 default;

    server_name _;

    set $domain '';

    index index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl;

    include '/home/nginx/conf/globals/proxy.conf';
}


## 'default' config
server {
    *:443 default;
    *:443 default;

==============================================
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #20 on: 2013-06-16, 03:37:53 »
[root@srv ~]# ip -6 addr show
[root@srv ~]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #21 on: 2013-06-16, 03:38:03 »
Why setting:
Code: [Select]
   *:<?php echo $port?><?php echo $asdefault?>;
    *:<?php echo $port?><?php echo $asdefault?>;

Better change '*:' to '<?php echo $ip; ?>'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #22 on: 2013-06-16, 03:44:45 »
in:  /home/nginx/tpl

nano defaults.conf.tpl

listen 0.0.0.0:<?php echo $port; ?><?php echo $asdefault; ?>;
    listen [::]:<?php echo $port; ?><?php echo $asdefault; ?>;


============

nano domains.conf.tpl

listen 0.0.0.0:<?php echo $port; ?>;
listen [::]:<?php echo $port; ?>;
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #23 on: 2013-06-16, 03:53:38 »
This is information in my servers:
Code: [Select]
'> ip -6 addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::ff:fe18:46a2/64 scope link
       valid_lft forever preferred_lft forever

You must edit custom.defaults.conf.tpl and custom.domains.conf.tpl.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #24 on: 2013-06-16, 04:00:46 »
Read http://www.roothelp.net/enable-ipv6-on- ... at-server/ to enable IPv6 on your server.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #25 on: 2013-06-16, 04:08:44 »
my server no use IPV6  why to be activated IPV6 on my server?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #26 on: 2013-06-16, 04:18:10 »
At this moment, it's make Kloxo-MR web config not appearing error!.

By default, standard Centos installer have IPv6 enable.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #27 on: 2013-06-16, 05:09:09 »
Copy and extract tpl.zip inside /home/nginx/tpl and then run 'sh /script/fixweb; sh /script/restart-services'.

Code inside this tpl files will be ready for next update of Kloxo-MR
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline vinceent

  • Valuable Member
  • *
  • Posts: 117
  • Karma: +0/-0
    • View Profile
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #28 on: 2013-06-16, 16:44:39 »
Hello again mustafa i copy your file in my server and after fixweb and restart all recive this:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: configuration file /etc/nginx/nginx.conf test failed
and all webpage not worked
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: After update Kloxo-MR 6.5.0.f-2013031821
« Reply #29 on: 2013-06-16, 16:57:32 »
For awhile switch nginx-proxy to apache and then try back to nginx-proxy.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.032 seconds with 21 queries.

web stats analysis