Jahia in English > Jahia with Two IP��s

0 (0 Good)
0 (0 Bad)

Jahia with Two IP��s

by  cleitonborges »  2011/06/07 18:47

Hello Everyone,

So i have a problem when jboss boot with Jahia and a VPN of my client.

I need access a database of my client and when jboss boot i get error with the license of Jahia, in my computer i have two ips:

192.168.16.16 and 10.8.5.180 so my Jahia license is only for IP 192.168.16.16, but i get error with the ip 10.8.5.180.

Can I choose the IP will be licensed?


thanks
  • Jahia with Two IP��s
    2011/06/07 18:47

    cleitonborges Hello Everyone,<br/><br/>So i have a problem when jboss boot with Jahia and a VPN of my client.<br/><br/>I need access a database of my client and when jboss boot i get error with the license of Jahia, in my computer i have two ips:<br/><br/>192.168.16.16 and 10.8.5.180 so my Jahia license is only for IP 192.168.16.16, but i get error with the ip 10.8.5.180.<br/><br/>Can I choose the IP will be licensed?<br/><br/><br/>thanks

  • Number of messages  2
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Jahia with Two IP��s

    by  shyrkov »  2011/06/07 18:47

    Hello,

    by default JBoss binds to all available IPs on the server.
    If you would like JBoss to bind only to 192.168.16.16, start it with -b switch, i.e. for Linux:
    [code:326hwxwm]/116[/code:326hwxwm]

    If you would like a license to be issued for another IP, please, let us know.

    Kind regards
    Sergiy
  • Re: Jahia with Two IP��s
    2011/06/07 18:47

    shyrkov Hello,<br/><br/>by default JBoss binds to all available IPs on the server.<br/>If you would like JBoss to bind only to 192.168.16.16, start it with -b switch, i.e. for Linux:<br/>[code:326hwxwm]/116[/code:326hwxwm]<br/><br/>If you would like a license to be issued for another IP, please, let us know.<br/><br/>Kind regards<br/>Sergiy

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Jahia with Two IP��s

    by  cleitonborges »  2011/06/07 18:47

    Hello Sergiy,

    I did this before but i get the same error:

    08:00:00,966 INFO [STDOUT] 2010-11-18 08:00:00,963: FATAL [org.jahia.bin.Jahia]
    - License error: User message=Current IP address 10.8.2.187 for Jahia Server is
    not authorized by license. (License IP = 192.168.16.16), System message=Current
    IP address 10.8.2.187 for Jahia Server is not authorized by license. (License I
    P = 192.168.16.16)

    I don��t know what i do, other license would solve this case ? but the ip of my client is dynamic.

    Thanks

    Cleiton
  • Re: Jahia with Two IP��s
    2011/06/07 18:47

    cleitonborges Hello Sergiy, <br/><br/>I did this before but i get the same error:<br/><br/>08:00:00,966 INFO [STDOUT] 2010-11-18 08:00:00,963: FATAL [org.jahia.bin.Jahia]<br/> - License error: User message=Current IP address 10.8.2.187 for Jahia Server is<br/> not authorized by license. (License IP = 192.168.16.16), System message=Current<br/> IP address 10.8.2.187 for Jahia Server is not authorized by license. (License I<br/>P = 192.168.16.16)<br/><br/>I don��t know what i do, other license would solve this case ? but the ip of my client is dynamic.<br/><br/>Thanks<br/><br/>Cleiton

  • Number of messages  2
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Jahia with Two IP��s

    by  trenaud »  2011/06/07 18:47

    Hi,

    Please ask Jahia to issue a key allowing different IPs or a range of IPs, and of course explain them why! Write to your contact or info@jahia.com if you have none.

    Tristan
  • Re: Jahia with Two IP��s
    2011/06/07 18:47

    trenaud Hi,<br/><br/>Please ask Jahia to issue a key allowing different IPs or a range of IPs, and of course explain them why! Write to your contact or <!-- e --><a href="mailto:info@jahia.com">info@jahia.com</a><!-- e --> if you have none.<br/><br/>Tristan

  • Number of messages  71
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Jahia with Two IP��s

    by  lhagrot »  2011/12/07 18:37

    I solved a similar problem on a windows 2008 server today

    The server has two ip-adresses on the same NIC ( example  11.11.11.52  and 11.11.11.225 and name bismark)

    Configured the NIC to have the two ipadresses in order 11.11.11.225, 11.11.11.52

    The license file is bound to the "higher IP" 11.11.11.225

    If I "ping bismark"  I get 11.11.11.52

    If I start jahia I get an error "no license for 11.11.11.52

    It seems like there is no way to configure the server to respond with 11.11.11.225 when Jahia starts. (Read somewhere that it returns the IP-address which is closest to the gateway according to some standard)

    Trick:

    added a line to the hosts-file

    11.11.11.225      bismark

    Now it works

    ping bismark  gives   10.10.10.225

    Jahia starts and accepts the license file.

    I suppose there is some code like  getHostByName(hostname)  which is effected by my hosts file fix 

     

     

     

     

     

  • Re: Jahia with Two IP��s
    2011/12/07 18:40

    lhagrot <p> I&nbsp;solved a similar problem on a windows 2008 server today</p> <p> The server has two ip-adresses on the same NIC ( example&nbsp; 11.11.11.52&nbsp; and 11.11.11.225 and name bismark)</p> <p> Configured the NIC to have the two ipadresses in order 11.11.11.225, 11.11.11.52</p> <p> The license file is bound to the &quot;higher IP&quot; 11.11.11.225</p> <p> If I &quot;ping bismark&quot; &nbsp;I get 11.11.11.52</p> <p> If I start jahia I get an error &quot;no license for 11.11.11.52</p> <p> It seems like there is no way to configure the server to respond with 11.11.11.225 when Jahia starts. (Read somewhere that it returns the IP-address which is closest to the gateway according to some standard)</p> <p> Trick:</p> <p> added a line to the hosts-file</p> <p> 11.11.11.225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bismark</p> <p> Now it works</p> <p> ping bismark&nbsp; gives&nbsp;&nbsp; 10.10.10.225</p> <p> Jahia starts and accepts the license file.</p> <p> I suppose there is some code like&nbsp; getHostByName(hostname)&nbsp; which is effected by my hosts file fix&nbsp;</p> <p> &nbsp;</p> <p> &nbsp;</p> <p> &nbsp;</p> <p> &nbsp;</p> <p> &nbsp;</p>

  • Number of messages  14
    Registration date Dec 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page