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-28, 03:18:13

Author Topic: Trying to switch to hiawatha proxy, fails  (Read 14477 times)

0 Members and 1 Guest are viewing this topic.

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Trying to switch to hiawatha proxy, fails
« on: 2014-04-30, 04:44:24 »
I have latest 6,5.1b (042902) and I tried switching Apache to Hiawatha proxy, no matter what I do I get this:

Code: [Select]
[root@cc-server ~]# sh /script/restart-web
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server:                              [  OK  ]
listen(http(s)): Address already in use
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@cc-server ~]#

I try reboot.  Fixweb, old trick changed webserver to nginx, back to Hiawatha proxy.  Reboot, restart-all.

Nothing works.  Please advise.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Trying to switch to hiawatha proxy, fails
« Reply #1 on: 2014-04-30, 05:05:16 »
Another trick use 'killall hiawatha; sh /script/restart-all'. The same way for httpd with 'killall httpd'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Trying to switch to hiawatha proxy, fails
« Reply #2 on: 2014-04-30, 05:07:38 »
Still fails, same error.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Trying to switch to hiawatha proxy, fails
« Reply #3 on: 2014-04-30, 06:13:52 »
Look like port 80 used by other (possible httpd). Try 'sh /script/fixweb'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Trying to switch to hiawatha proxy, fails
« Reply #4 on: 2014-04-30, 13:03:05 »
I ran all the fix scripts, rebooted, restarted, something isn't right.  This Apache has a SSL certificate for a domain, could it be some problem with port 443 since all the recent changes?

It just will not start.:
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Trying to switch to hiawatha proxy, fails
« Reply #5 on: 2014-04-30, 13:54:57 »
I think not related to ssl but maybe something wrong with /etc/httpd/conf/httpd.conf.

This file must content ('Listen 80' must disabled):
Code: [Select]
# MR -- must be disable here because can not overrite! -- importance for proxy-to-apache
# Listen 80

And or possible old files not removed in /home/apache/conf/defaults and /home/apache/conf/domains. Try remove current files in both directories and then run 'sh /script/fixweb'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Trying to switch to hiawatha proxy, fails
« Reply #6 on: 2014-05-02, 05:42:03 »
I deleted files, fixweb, error remains.  Checked httpd conf, listen 80 was commented out '#'.

Switched to nginx proxy, all working:
Code: [Select]
[root@cc-server ~]# sh /script/restart-web
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@cc-server ~]#

KloxoMR panel, switch program, Hiawatha proxy, fails!
Code: [Select]
[root@cc-server ~]# sh /script/restart-web
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server:                              [  OK  ]
listen(http(s)): Address already in use
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@cc-server ~]#

So I can not get Hiawatha proxy to switch.  I have tried about everything!  Any more suggestions?
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Trying to switch to hiawatha proxy, fails
« Reply #7 on: 2014-05-02, 05:47:37 »
Just tried 'Hiawatha' with no proxy.  It will not start.  Same error, reboot, same error.  I have Hiawatha running on other servers,  no problems.  This server has SSL domains.

Hiawatha, no proxy, same error:
Code: [Select]

[root@cc-server ~]# sh /script/restart-web
Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server:                              [  OK  ]
listen(http(s)): Address already in use
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@cc-server ~]# sh /script/restart-web
Stopping Hiawatha web server:                              [FAILED]
Starting Hiawatha web server:                              [  OK  ]
listen(http(s)): Address already in use
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@cc-server ~]# service hiawatha stop
Stopping Hiawatha web server:                              [FAILED]
[root@cc-server ~]# service hiawatha start
Starting Hiawatha web server:                              [  OK  ]
[root@cc-server ~]# listen(http(s)): Address already in use

I think something is wrong, Hiawatha and Hiawatha proxy will not start.
« Last Edit: 2014-05-02, 05:50:15 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Trying to switch to hiawatha proxy, fails
« Reply #8 on: 2014-05-02, 06:27:06 »
No. Your hiawatha able to start but something wrong in stop process.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Trying to switch to hiawatha proxy, fails
« Reply #9 on: 2014-05-02, 14:07:47 »
I don't think so.  Stop fails because there is nothing to stop, Hiawatha never runs/starts properly.

I have Hiawatha running on four other servers, no problem.  No ssl certs either.

Please investigate this problem.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Trying to switch to hiawatha proxy, fails
« Reply #10 on: 2014-05-02, 14:20:53 »
Basically, nothing wrong with stop process. But, sometimes not work. It's similar situation for apache. I found latest apache have this issue. Look like apache back to their old issue (certain version have this issue).

In context, hiwatha-proxy, the process are restart httpd and then hiawatha (possible better restart hiawatha and then httpd).
..:: 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: Trying to switch to hiawatha proxy, fails
« Reply #11 on: 2014-05-02, 14:23:04 »
In your case, try 'killall httpd; sh /script/restart-web'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Trying to switch to hiawatha proxy, fails
« Reply #12 on: 2014-05-02, 17:21:56 »
Mustafa, nginx proxy, lightppd proxy both work.

Hiawatha, NO proxy, will not start. Nothing in the error.log at all.  Just that 'listen http(s) error message'.  There is no httpd to kill, just Hiawatha.

If Hiawatha doesn't start, Hiawatha proxy won't either.

I still think related to port 443, that is only difference in my servers.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: Trying to switch to hiawatha proxy, fails
« Reply #13 on: 2014-05-02, 17:34:44 »
This error is related to Hiawatha configuration and the binding option.   I have not looked further at this point, but searching Hiawatha forums explains this error.

Logic to me is, four servers running Hiawatha perfect, no SSL.  1 server with SSL, Hiawatha will not start.

Problem must be in the configuration for binding port 443.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Trying to switch to hiawatha proxy, fails
« Reply #14 on: 2014-05-02, 18:31:39 »
If you sure it's related to ssl, try re-create self-assign for IP and or domains ssl.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.037 seconds with 18 queries.

web stats analysis