Ericode Posted January 1, 2015 Share Posted January 1, 2015 (edited) Hello everyone! When I create a server through whmcs everything works great. (Then why am I here?) The server is created in tcadmin 2 with a pid ##### but after a few seconds or minutes, the pid is 0 and no one can connect to that server. If you try to ping the server ip, it is at a 100% packet loss but I have ran servers without tcadmin and they worked fine. I do get an error in the monitor console (debug) that says "No connection could be made because the target machine actively refused it ip: port." The firewall is disabled and so is the antivirus. Do you know what might be causing this problem? Thanks everyone and happy new year! Edited January 1, 2015 by Ericode Link to comment Share on other sites More sharing options...
Raizio Posted January 1, 2015 Share Posted January 1, 2015 This means that the server crashes a bit after startup. Go to Service settings; behind the commandline there's a preview option. Then enter those commands into cmd and see what errors it throws. Link to comment Share on other sites More sharing options...
Ericode Posted January 1, 2015 Author Share Posted January 1, 2015 This means that the server crashes a bit after startup. Go to Service settings; behind the commandline there's a preview option. Then enter those commands into cmd and see what errors it throws. You are right. One issue though is it says "Stopped: ip : port (rule detected: server - ip <> ip)" I tried taking out the ip address and putting the ip inside the config file and both do not work. Any suggestions for this? Link to comment Share on other sites More sharing options...
Dennis Posted January 1, 2015 Share Posted January 1, 2015 Where does it say that? Link to comment Share on other sites More sharing options...
Ericode Posted January 1, 2015 Author Share Posted January 1, 2015 (edited) in the debug console, the server keeps stopping from this issue. Edited January 1, 2015 by Ericode Link to comment Share on other sites More sharing options...
Raizio Posted January 1, 2015 Share Posted January 1, 2015 Minecraft port; check if Java is allowed in firewall n whatnot? Depending if you have Windows Firewall enabled. Link to comment Share on other sites More sharing options...
Ericode Posted January 1, 2015 Author Share Posted January 1, 2015 The firewall is disabled Link to comment Share on other sites More sharing options...
Dennis Posted January 1, 2015 Share Posted January 1, 2015 Yes, the server will be stopped, but that has nothing to do with pid 0. Are you even sure that Java is installed? Link to comment Share on other sites More sharing options...
Ericode Posted January 1, 2015 Author Share Posted January 1, 2015 (edited) Yes, I have java jdk and jre installed. (i develop applications in java and i also ran servers without tcadmin that worked fine) Minecraft logs [18:36:17] [server thread/INFO]: Done (1.116s)! For help, type "help" or "?" [18:36:17] [server thread/INFO]: Starting GS4 status listener [18:36:17] [Query Listener #1/INFO]: Query running on 0.0.0.0:25565 [18:38:17] [server thread/INFO]: Stopping the server Here is the java location: Edited January 1, 2015 by Ericode Link to comment Share on other sites More sharing options...
Dennis Posted January 1, 2015 Share Posted January 1, 2015 That might be the problem. You can't start it on ip 0.0.0.0. It won't be able to query the server. Link to comment Share on other sites More sharing options...
Ericode Posted January 1, 2015 Author Share Posted January 1, 2015 The basic config is : ####################################### # DO NOT CHANGE THE SERVER IP OR PORT # ####################################### server-ip=$[service.IpAddress] server-port=$[service.GamePort] Where is it getting 0.0.0.0 from? Link to comment Share on other sites More sharing options...
Dennis Posted January 2, 2015 Share Posted January 2, 2015 The server.properties can't look like that. Minecraft creates it's on server.properties once it starts up. Open the server.properties (not the template, but the actual file) and look. Link to comment Share on other sites More sharing options...
Ericode Posted January 2, 2015 Author Share Posted January 2, 2015 Yeah, it says server-ip= When I try server-ip=iphere it says failed to bind to port and it can't connect with the ip. The ip I use here is the global ip of the server (ipv4) Link to comment Share on other sites More sharing options...
Dennis Posted January 2, 2015 Share Posted January 2, 2015 If it says that, then the IP doesn't work on the server. By 'global', you don't mean the internal IP (192.168.x.xxx), do you? Because that won't work. Link to comment Share on other sites More sharing options...
Ericode Posted January 2, 2015 Author Share Posted January 2, 2015 No I don't. I am using the server ip, (type "whatsmyip" in google). Do you have any other suggestions? Link to comment Share on other sites More sharing options...
Dennis Posted January 2, 2015 Share Posted January 2, 2015 Hmmm, I'm clueless then. If the IP is configured on the server, and you start the Minecraft server with that IP, then I can't see why it wouldn't work. Link to comment Share on other sites More sharing options...
Raizio Posted January 2, 2015 Share Posted January 2, 2015 You need to use the IP that is in the network interface. Link to comment Share on other sites More sharing options...
Ericode Posted January 2, 2015 Author Share Posted January 2, 2015 You need to use the IP that is in the network interface. Yeah I believe I am using it. My steam servers work, just not the minecraft. Link to comment Share on other sites More sharing options...
flanknet Posted January 2, 2015 Share Posted January 2, 2015 I have been getting PID errors when I create new servers. The issue is with permissions. The main file that TCAdmin is trying to access isn't permissioned properly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now