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-04-29, 05:34:26

Author Topic: sh /script/restart-web --force >/dev/null 2>&1  (Read 9667 times)

0 Members and 1 Guest are viewing this topic.

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
sh /script/restart-web --force >/dev/null 2>&1
« on: 2015-05-23, 18:31:08 »
Hi

i receive all time this advise in my mail about my server



Host: xxxxxxxxxx
Date: May-23 05:31
Port: 80
Action: sh /script/restart-web --force >/dev/null 2>&1

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #1 on: 2015-05-23, 18:38:28 »
Try select 'none' for 'web' under 'admin > switch programs' and then select back to previous. Better restart web with 'sh /script/restart-web -y' or reboot after that.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #2 on: 2015-05-23, 18:43:20 »
Hi i following the steps and now i cant see the web

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #3 on: 2015-05-23, 18:53:49 »
Hi i following the steps and now i cant see the web

squid is stoped and i cant restart

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #4 on: 2015-05-23, 19:04:24 »
Hi i following the steps and now i cant see the web

squid is stoped and i cant restart

well, i put varnish cache, and go on....now the problem was that one domain dont go to the web

If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:
Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.
 
The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses
 
If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.
 
Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP.
 

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #5 on: 2015-05-23, 19:05:02 »
Don't use 'webcache' like squid because their setting is very basic.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #6 on: 2015-05-24, 00:04:37 »
Don't use 'webcache' like squid because their setting is very basic.

Ok, please you could help me which is better? opc for example?

in second hand, i cant access to my wordpress web, i see the kloxo start web, i search in user ip and dont have ip,

thanks

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #7 on: 2015-05-24, 03:02:48 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #8 on: 2015-05-24, 12:05:06 »
sh /script/sysinfo
sh: chkconfig: command not found

A. Kloxo-MR: 7.0.0.b-2015052102

B. OS: CentOS release 5.11 (Final) i686

C. Apps:
   1. MySQL: MariaDB-server-10.0.19-1
   2. PHP: php54-5.4.41-1.ius.el5
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.13.0-f.6.mr.el5 (also as webserver)
   6. Nginx: nginx-1.9.0-1.el5.ngx
   7. Cache: varnish-3.0.7-1.el5.centos (if i quit the web gone down)
   8. Dns: nsd-4.1.2-1.mr.el5
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el5

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        348        675          0          0        125
   -/+ buffers/cache:        223        800
   Swap:            0          0          0

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #9 on: 2015-05-24, 12:21:49 »
Disable Varnish (or other webcache) where select 'none' for 'webcache' in 'switch programs'.

To make sure, try 'sh /script/cleanup' after.
« Last Edit: 2015-05-24, 12:24:12 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #10 on: 2015-05-24, 12:33:42 »
well

the first domain go on again, thanks

but the second domain, i dont know why, go all time the first domain

i dont have a redirection in panel neither in .htcaccess....
 

sh: chkconfig: command not found

A. Kloxo-MR: 7.0.0.b-2015052102

B. OS: CentOS release 5.11 (Final) i686

C. Apps:
   1. MySQL: MariaDB-server-10.0.19-1
   2. PHP: php54-5.4.41-1.ius.el5
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.13.0-f.6.mr.el5 (also as webserver)
   6. Nginx: nginx-1.9.0-1.el5.ngx
   7. Cache: --uninstalled--
   8. Dns: nsd-4.1.2-1.mr.el5
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el5

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        669        354          0          0        270
   -/+ buffers/cache:        399        624
   Swap:            0   
« Last Edit: 2015-05-24, 12:36:10 by dacapel »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #11 on: 2015-05-24, 12:40:52 »
Some application (like wordpress), save url of website in their table. So, if you copy from website1 to website2 and then access to website2 and then automatically redirect to website1.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #12 on: 2015-05-24, 12:42:08 »
ok, yes is wordpress

and have fix¿?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #13 on: 2015-05-24, 13:02:24 »
Login to wordpress and then find out 'wordpress url' and 'site url' in 'settings > general'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline dacapel

  • Valuable Member
  • *
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-web --force >/dev/null 2>&1
« Reply #14 on: 2015-05-24, 15:47:36 »
Login to wordpress and then find out 'wordpress url' and 'site url' in 'settings > general'

hi made it, and is correct, the wordpress url point to the correct domain, could be any sql database?

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.032 seconds with 18 queries.

web stats analysis