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, 03:08:05

Author Topic: Port Congif - port change won't work.  (Read 9422 times)

0 Members and 1 Guest are viewing this topic.

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Port Congif - port change won't work.
« on: 2013-08-20, 02:50:20 »
I tried to change port to 5826 on Port Congif option, than SSH service kloxo restart with no result. I reboot it server and can't log in at all so I reset it with sh /script/defaultport in order to acces panel again.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Port Congif - port change won't work.
« Reply #1 on: 2013-08-20, 02:57:39 »
I found Mustafa post with solution  /usr/local/lxlabs/kloxo/init/hiawatha.conf .
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Port Congif - port change won't work.
« Reply #2 on: 2013-08-20, 11:27:15 »
Changing 7777 and 7778 ports in /usr/local/lxlabs/kloxo/init/hiawatha.conf file will make only new ssl port to work but new plain port will not work, maybe we need more modifications inside that file ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Port Congif - port change won't work.
« Reply #3 on: 2013-08-20, 11:44:42 »
It's work for me for http and https.

Change '/usr/local/lxlabs/kloxo/init/hiawatha.conf':

from:
Code: [Select]
...
Binding {
BindingId = port7778
Port = 7778
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 102400
## not able more than 100MB
MaxUploadSize = 100
}

Binding {
BindingId = port7777
Port = 7777
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 102400
## not able more than 100MB
MaxUploadSize = 100
#RequiredCA = /usr/local/lxlabs/kloxo/etc/program.ca
SSLcertFile = /usr/local/lxlabs/kloxo/etc/program.pem
}
...

to:
Code: [Select]
...
Binding {
BindingId = port7778
Port = 37778
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 102400
## not able more than 100MB
MaxUploadSize = 100
}

Binding {
BindingId = port7777
Port = 37777
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 102400
## not able more than 100MB
MaxUploadSize = 100
#RequiredCA = /usr/local/lxlabs/kloxo/etc/program.ca
SSLcertFile = /usr/local/lxlabs/kloxo/etc/program.pem
}
...

and then running 'sh /script/restart'.

After that, Kloxo-MR panel access via 'http://<ip_or_domain>:37778/' and 'https://<ip_or_domain>:37777/'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Port Congif - port change won't work.
« Reply #4 on: 2013-08-20, 12:08:42 »
My mistake, I didnt changed https to http when test it plain port.

1. This is is what SSH automatically loads when I access it plain port:

[root@trader ~]# rpmdb: Thread/process 21676/140140351543200 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30974)
error: cannot open Packages database in /var/lib/rpm


2. I just made yum update and Kloxo-MR was updated. Port configuration went back to default values.. Would be better if Port Config settings would correctly work and save settings on feature Kloxo-MR updates.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Port Congif - port change won't work.
« Reply #5 on: 2013-08-20, 12:16:00 »
Error above actually showed after yum update ,sh /script/restart and than I access it plain port. I 'am not sure who caused what does it mean .
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline crossing

  • Senior Member
  • *
  • Posts: 336
  • Karma: +0/-0
    • View Profile
Re: Port Congif - port change won't work.
« Reply #6 on: 2013-08-20, 12:23:45 »
I hope I solved with this SSh command:

rm /var/lib/rpm/__db

Output:

rm: remove regular file `/var/lib/rpm/__db.001?? y
rm: remove regular file `/var/lib/rpm/__db.002?? y
rm: remove regular file `/var/lib/rpm/__db.003?? y
rm: remove regular file `/var/lib/rpm/__db.004?? y
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Kloxo-MR -> Great Panel ->  Great person behind it ->  Mustafa

Offline kabayan

  • Junior Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Port Congif - port change won't work.
« Reply #7 on: 2014-03-04, 04:05:53 »
It's work for me for http and https.

Change '/usr/local/lxlabs/kloxo/init/hiawatha.conf':

from:
Code: [Select]
...
Binding {
BindingId = port7778
Port = 7778
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 102400
## not able more than 100MB
MaxUploadSize = 100
}

Binding {
BindingId = port7777
Port = 7777
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 102400
## not able more than 100MB
MaxUploadSize = 100
#RequiredCA = /usr/local/lxlabs/kloxo/etc/program.ca
SSLcertFile = /usr/local/lxlabs/kloxo/etc/program.pem
}
...

to:
Code: [Select]
...
Binding {
BindingId = port7778
Port = 37778
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 102400
## not able more than 100MB
MaxUploadSize = 100
}

Binding {
BindingId = port7777
Port = 37777
#Interface = 0.0.0.0
MaxKeepAlive = 3600
TimeForRequest = 3600
MaxRequestSize = 102400
## not able more than 100MB
MaxUploadSize = 100
#RequiredCA = /usr/local/lxlabs/kloxo/etc/program.ca
SSLcertFile = /usr/local/lxlabs/kloxo/etc/program.pem
}
...

and then running 'sh /script/restart'.

After that, Kloxo-MR panel access via 'http://<ip_or_domain>:37778/' and 'https://<ip_or_domain>:37777/'

really helpfully with these config
I've changed default port to other port, with hiawata-proxy + ats,
after rebooting, I can't login to kloxo-mr panel,
maybe MR will fix this later, mine using 6.5.1.b-2014022402

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Port Congif - port change won't work.
« Reply #8 on: 2014-03-04, 04:10:55 »
Port Config for Kloxo-MR panel must set from panel. Go to 'Port Configure'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline eboye

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Port Congif - port change won't work.
« Reply #9 on: 2014-03-30, 12:57:46 »
Hi Mustafa,

I've changed the port from Control Panel with success but now it gives me:

Quote
Could not Connect to the server localhost. This is most likely due to underlying network problem. Make sure that the server is accessible from this particular node by running telnet slave-id 7779

every time I want to change something that is related to server configuration :|

Any ideas?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Port Congif - port change won't work.
« Reply #10 on: 2014-03-30, 13:16:58 »
If you using Kloxo-MR 6.5.0.f, try update to 6.5.1.b with 'yum update --enablerepo=mratwork-testing*' and then running 'sh /script/cleanup'

My consentration is 6.5.1 now. No update/bugfix for 6.5.0 except related to security issues.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline eboye

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Port Congif - port change won't work.
« Reply #11 on: 2014-03-30, 14:57:02 »
I did just that and port for Kloxo has reverted to 7778 and on that page it gives me this error:

Quote
Warning: include_once(htmllib/lib/displayinclude.php) [function.include-once]: failed to open stream: No such file or directory in /usr/local/lxlabs/kloxo/httpdocs/login/inc.php on line 4

Warning: include_once() [function.include]: Failed opening 'htmllib/lib/displayinclude.php' for inclusion (include_path='.:/php/includes') in /usr/local/lxlabs/kloxo/httpdocs/login/inc.php on line 4

Notice: Undefined variable: sgbl in /usr/local/lxlabs/kloxo/httpdocs/login/inc.php on line 6

Notice: Trying to get property of non-object in /usr/local/lxlabs/kloxo/httpdocs/login/inc.php on line 6

Fatal error: Call to undefined function init_language() in /usr/local/lxlabs/kloxo/httpdocs/login/inc.php on line 8

edit: and I the kloxo-phpcgi is not stopping with sh /script/cleanup

Stopping kloxo-phpcgi:                                     [FAILED]
« Last Edit: 2014-03-30, 15:06:35 by eboye »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Port Congif - port change won't work.
« Reply #12 on: 2014-03-30, 15:16:20 »
try reboot
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline eboye

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Port Congif - port change won't work.
« Reply #13 on: 2014-03-30, 15:35:27 »
it's the same :|

edit: I just checked, there is no htmllib folder in /usr/local/lxlabs/httpdocs and it's included in inc.php :|
« Last Edit: 2014-03-30, 15:39:25 by eboye »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Port Congif - port change won't work.
« Reply #14 on: 2014-03-30, 16:00:01 »
Running 'sh /script/cleanup' after 'yum update kloxomr'?
..:: 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

Page created in 0.033 seconds with 18 queries.

web stats analysis