[CentOS] Setting up your Aura Kingdom Server

Page 40 of 76 FirstFirst ... 30323334353637383940414243444546474850 ... LastLast
Results 586 to 600 of 1127
  1. #586
    Novice Clotgooble is offline
    MemberRank
    Feb 2016 Join Date
    2Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    @Hulu Thanks you!!! :D

  2. #587
    Member kclaire07 is offline
    MemberRank
    Mar 2009 Join Date
    81Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    can anybody reupload the server files? dead links.

  3. #588
    Web Developer Hulu is offline
    MemberRank
    Apr 2012 Join Date
    RaGEZONELocation
    326Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    I've updated the link again.

  4. #589
    Apprentice Peter Vandijk is offline
    MemberRank
    Mar 2016 Join Date
    6Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    After following everything on the first post and reading most pages within this thread

    im stuck with navicat not connecting to the database

    a, ip is pingable
    b, winscp / secureCRT - connect without an issue at all

    I've changed the ips for postgresql multiple times and just cannot connect i currently have it now set to accept all ips and it still will not connect to the database

    any help would be great

  5. #590
    Unknown Place MaxZeus is offline
    MemberRank
    Mar 2013 Join Date
    592Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    Quote Originally Posted by Peter Vandijk View Post
    After following everything on the first post and reading most pages within this thread

    im stuck with navicat not connecting to the database

    a, ip is pingable
    b, winscp / secureCRT - connect without an issue at all

    I've changed the ips for postgresql multiple times and just cannot connect i currently have it now set to accept all ips and it still will not connect to the database

    any help would be great
    Try to check if the database is listening in the correct ip/port, a simple netstat -an should answer that for you :)

  6. #591
    Web Developer Hulu is offline
    MemberRank
    Apr 2012 Join Date
    RaGEZONELocation
    326Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    I think your issue is with the listening IP for postgres...
    • Open /var/lib/pgsql/{your-version}/data/postgresql.conf
    • Look for line listen_addresses, uncomment it and set it to *, or replace it with listen_addresses = '*'

  7. #592
    Unknown Place MaxZeus is offline
    MemberRank
    Mar 2013 Join Date
    592Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    Quote Originally Posted by Hulu View Post
    I think your issue is with the listening IP for postgres...
    • Open /var/lib/pgsql/{your-version}/data/postgresql.conf
    • Look for line listen_addresses, uncomment it and set it to *, or replace it with listen_addresses = '*'
    Could be, yes, hence why the test I had suggested. :D

  8. #593
    Apprentice Peter Vandijk is offline
    MemberRank
    Mar 2016 Join Date
    6Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    Quote Originally Posted by MaxZeus View Post
    Try to check if the database is listening in the correct ip/port, a simple netstat -an should answer that for you :)
    Result was this.
    tcp 0 0 :::5432 :::* LIST
    Quote Originally Posted by Hulu View Post
    I think your issue is with the listening IP for postgres...
    • Open /var/lib/pgsql/{your-version}/data/postgresql.conf
    • Look for line listen_addresses, uncomment it and set it to *, or replace it with listen_addresses = '*'
    That was done correctly as per instructions but double checked and is correct

  9. #594
    Alpha Member Hycker is offline
    MemberRank
    Dec 2010 Join Date
    /root/gameguardLocation
    1,587Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    on centos 6.* -> service iptables stop
    on centos 7.* -> systemctl firewalld (or firewall idr) stop
    then try connect to postgre

  10. #595
    Apprentice Peter Vandijk is offline
    MemberRank
    Mar 2016 Join Date
    6Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    Quote Originally Posted by Hycker View Post
    on centos 6.* -> service iptables stop
    on centos 7.* -> systemctl firewalld (or firewall idr) stop
    then try connect to postgre
    I now get the error

    " FATAL: no pg_hba.conf entry for host "192.168.0.101" user postgres database template1
    for referance
    # TYPE DATABASE USER ADDRESS METHOD

    # "local" is for Unix domain socket connections only
    local all all peer
    # IPv4 local connections:
    host all all 192.168.0.108/32 ident
    # IPv6 local connections:
    host all all ::1/128 ident
    # Allow replication connections from localhost, by a user with the
    # replication privilege.
    #local replication postgres peer
    #host replication postgres 127.0.0.1/32 ident
    #host replication postgres ::1/128 ident

  11. #596
    Alpha Member Hycker is offline
    MemberRank
    Dec 2010 Join Date
    /root/gameguardLocation
    1,587Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    change
    Code:
    # IPv4 local connections:
    host all all 192.168.0.108/32 ident
    to
    Code:
    # IPv4 local connections:
    host all all 0.0.0.0/0 md5
    in pg_hba.conf then restart your postgresql

  12. #597
    Member danvalic is offline
    MemberRank
    Oct 2013 Join Date
    BerlinLocation
    82Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    What's wrong?

    World log:
    5354,2016/03/14 02:09:14,TCP connection: 2**.22.**.124::5560 Connection refused 5355,2016/03/14 02:09:14,SOCKET 19: closed.
    5356,2016/03/14 02:09:14,TCP connection: 2**.22.**.124:5560 Connection refused 5357,2016/03/14 02:09:14,SOCKET 19: closed.

    + how to patch world, login servers to my wan ip?


  13. #598
    Apprentice Pinzy Hay is offline
    MemberRank
    Mar 2016 Join Date
    5Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    then
    \i '<path to file>';


    Can you tell me which file i should input in postgresql? Thanks

  14. #599
    Valued Member Ryfon is offline
    MemberRank
    Jul 2005 Join Date
    USALocation
    114Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    Quote Originally Posted by Hycker View Post
    change
    Code:
    # IPv4 local connections:
    host all all 192.168.0.108/32 ident
    to
    Code:
    # IPv4 local connections:
    host all all 0.0.0.0/0 md5
    in pg_hba.conf then restart your postgresql
    should use: "host all all samenet md5" instead simplifies things a lot on a local lan.

  15. #600
    Apprentice overatedae86 is offline
    MemberRank
    Mar 2016 Join Date
    7Posts

    Re: [CentOS] Setting up your Aura Kingdom Server

    cannot seem to connect to server through SecureCRT even though I put in the correct IP
    Last edited by overatedae86; 18-03-16 at 10:26 PM.



Advertisement