Join the community today
Become a Member

Cloudflare issue starting railgun in my server

Discussion in 'Domains, DNS, Email & SSL Certificates' started by yunos, Jul 30, 2019.

  1. yunos

    yunos Member

    130
    3
    18
    Aug 8, 2015
    Ratings:
    +17
    Local Time:
    4:42 PM
    1.8.0
    conf for memcached
    PORT="11211"
    USER="memcached"
    MAXCONN="2024"
    CACHESIZE="4GB"
    OPTIONS="-s /tmp/memcached.sock -a 0777"



    i provided the token and external ip in railgun.conf so im not sure what else i should look at
     
    Last edited: Jul 31, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    58,904
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:42 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    did you properly setup Cloudflare's whitelisting in CSF Firewall ? for /etc/ini.d/memcached set
    Code (Text):
    USER=railgun
     
  3. yunos

    yunos Member

    130
    3
    18
    Aug 8, 2015
    Ratings:
    +17
    Local Time:
    4:42 PM
    1.8.0
    hm appears that /etc/ini.d/memcached doesnt exist
    reinstalled memcached the files exist now

    but i did expose wan port as instructed in their documentation page.

    i still get the same error
    Jul 30 20:15:16 sasiko su[32180]: pam_unix(su:session): session closed for user railgun
    Jul 30 20:15:17 sasiko railgun[32130]: Error activating: Activation bypassed: Error making request: 400 Bad Request
     
    Last edited: Jul 31, 2019
  4. eva2000

    eva2000 Administrator Staff Member

    58,904
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:42 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    hope that isn't your actual ip and token in pastebin ? i'd remove it if it is !

    exact steps and commands used ?
     
  5. yunos

    yunos Member

    130
    3
    18
    Aug 8, 2015
    Ratings:
    +17
    Local Time:
    4:42 PM
    1.8.0
  6. eva2000

    eva2000 Administrator Staff Member

    58,904
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:42 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    set memcached back to TCP defaults and see, you shouldn't need to change to unix socket
     
  7. yunos

    yunos Member

    130
    3
    18
    Aug 8, 2015
    Ratings:
    +17
    Local Time:
    4:42 PM
    1.8.0
    hm so i defaulted everything but still unable to launch it, btw can u check the report i made via forum