Results 1 to 9 of 9

Thread: Linux version difference

  1. #1
    Simono
    Guest

    Linux version difference

    This is hard to explain, my knowledge of linux is very limited..please bear with me!

    I've had some bespoke client/server software developed. It was developed to run on redhat 7.0. And contains Java components that wrap and pass data from a database on the server (linux) to the client's machine.

    Am now wanting to upgrade the server to redhat 8, but I find that I'm unable to connect (connection refused). I'm able to telnet into the server (with ssh) and all of the services i.e. webserver etc are running.

    Have followed the path of installing a new version of the java sdk but am not sure if linux is using it.

    How do I check that linux is using the new sdk?
    How do I set the default java interpriter to the new sdk?
    Is there anything else that I need to consider that might effect a connection; which has changed between redhat 7.0 and 8.0?

    Thankyou in advance!

    Simon

  2. #2

    Re:Linux version difference

    Quote Originally Posted by Simono
    Am now wanting to upgrade the server to redhat 8, but I find that I'm unable to connect (connection refused).
    Redhat has a firewall on by default i think. you might want to see what port the software wants and unlock it. Also is the database turned on?

    I'm able to telnet into the server (with ssh)
    ssh isn't telnet. telnet is an insecure terminal program, which transmits passwords in plain text. ssh encrypts passwords. good choice in using it ;-)

    How do I check that linux is using the new sdk
    ok, you might want to check the PATH variable,
    #echo $PATH
    this might have a section with the path to java in it

    Good luck!
    whatdoyougetwhenyoumultiplysixbynine??

  3. #3
    Simono
    Guest

    Re:Linux version difference

    Quote Originally Posted by alastair
    Redhat has a firewall on by default i think. you might want to see what port the software wants and unlock it
    When we installed redhat we decided not to have a firewall....but when we checked the security settings from redhat-config-securitylevel in xterm it was set to high, changed it back to having no firewall...checked it again and it was set back to high. went for a customised level, switched on everything as a trusted device and allowed all incomming (clicked yes to the warning which says that it will set the security of the system and overwrite any existing firewall configuration). Check again and its set to high

    ok, you might want to check the PATH variable,
    #echo $PATH
    this might have a section with the path to java in it
    where do I type/find this?

    thanks again!

  4. #4

    Re:Linux version difference

    open up a terminal and type in 'echo $PATH' without the quotes

    i will get JimH on to the issue with the firewall, he will probally jknow more about it than me
    whatdoyougetwhenyoumultiplysixbynine??

  5. #5

    Re:Linux version difference

    about the firewall

    from the command prompt type:
    lokkit - check that out

    or to get rid of the firewall you could type:
    setup

    then go into system or services or system services (i cant remember which off hand ???)
    and un-check ip6tables, iptables and ipchains.

    or if you are using iptables you could type:

    iptables -F (flushes)
    iptables -X (flushes user defined)

    could also do that for the nat and mangle tables as well if you like
    ie iptables -t nat - F
    etc. etc.

    this might help
    http://www.getlinuxonline.com/yabbse...9;start=0#9609
    Its better to regret something you have done than to regret something you havent done :P

  6. #6
    Simono
    Guest

    Re:Linux version difference

    Thanks...you guys are legends, will give your suggestions a whirl!

    ....and probably get back to you!


  7. #7

    Re:Linux version difference

    ;D ;D 8) ;D ;D

  8. #8
    Simono
    Guest

    Re:Linux version difference

    O.k. Still can't get the connection..

    But have learned allot on the way!

    have a bit more information:

    have ran netstat and it doesn't show that linux is listening to port 2048 which is the port we need opened

    we can connect to the psql database on 5432 and can telnet to port 1024 - this is listed in the netstat as a port that is being listened to!

    how do we tell linux to listen on port 2048!

    had a look at http://www.getlinuxonline.com/yabbse...9;start=0#9609

    but most of it was a little out of my range of understanding ??? From what you've all said I think I need to:

    "write rules in the FORWARD chain to accept packets on the ports you wish to open." - JimH

    How do I do this?

    I feel like such a dumb ass...

    Thankyou for your patience!

  9. #9
    Simono
    Guest

    Re:Linux version difference

    Problem solved!

    Went in to network configurator > Misc > Additional Host information and then added a new definition.

    thanks again for all you help

    I'm off to celebrate!! ;D


Similar Threads

  1. What version Linux is the best to use and is it free!
    By Jamiedouglas in forum Linux - General Topics
    Replies: 3
    Last Post: 03-17-2005, 11:50 PM
  2. Need basic version of Linux
    By Lixus Looser in forum Linux - General Topics
    Replies: 5
    Last Post: 01-09-2005, 03:48 PM
  3. The Linux Difference
    By beezlebubsbum in forum General Chat
    Replies: 13
    Last Post: 07-28-2004, 09:48 PM
  4. Laptop friendly version of Linux?
    By Rastar in forum Linux - General Topics
    Replies: 6
    Last Post: 04-15-2003, 02:05 AM
  5. Linux/UNIX version of WS-FTP?
    By chadm1967 in forum Linux - General Topics
    Replies: 7
    Last Post: 01-06-2002, 01:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •