{"action":"created","issue":{"url":"https://api.github.com/repos/sandain/MinecraftServerControlScript/issues/66","labels_url":"https://api.github.com/repos/sandain/MinecraftServerControlScript/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/sandain/MinecraftServerControlScript/issues/66/comments","events_url":"https://api.github.com/repos/sandain/MinecraftServerControlScript/issues/66/events","html_url":"https://github.com/sandain/MinecraftServerControlScript/issues/66","id":57624073,"number":66,"title":"PS Illegal Argument: minecraft","user":{"login":"GamerMan7799","id":10995641,"avatar_url":"https://avatars.githubusercontent.com/u/10995641?v=3","gravatar_id":"","url":"https://api.github.com/users/GamerMan7799","html_url":"https://github.com/GamerMan7799","followers_url":"https://api.github.com/users/GamerMan7799/followers","following_url":"https://api.github.com/users/GamerMan7799/following{/other_user}","gists_url":"https://api.github.com/users/GamerMan7799/gists{/gist_id}","starred_url":"https://api.github.com/users/GamerMan7799/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GamerMan7799/subscriptions","organizations_url":"https://api.github.com/users/GamerMan7799/orgs","repos_url":"https://api.github.com/users/GamerMan7799/repos","events_url":"https://api.github.com/users/GamerMan7799/events{/privacy}","received_events_url":"https://api.github.com/users/GamerMan7799/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-13T16:57:39Z","updated_at":"2015-02-14T05:01:09Z","closed_at":null,"body":"I downloaded your script and have attempted to get it working. However a lot of the commands that I try to run give me an error saying \"ps: illegal argument: minecraft\" commands such as start, stop, restart, delete, disable (and others). (A note when I run disable or delete they still work but the error comes up). I am trying to run a server called \"OldServer\" for testing purposes of this script so I know what to do for my actual server called \"ServerMinecraft\" (great naming convention I know). I am running minecraft through a jail in my FreeNAS server. I will attach a ssh log below of the whole error message. Thanks you the help.\r\n\r\n```\r\n=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2015.02.13 11:44:21 =~=~=~=~=~=~=~=~=~=~=~=\r\nlogin as: root\r\n\r\nLast login: Fri Feb 13 11:06:12 2015 from 12.71.78.164\r\n\r\nFreeBSD 9.2-RELEASE-p9 (FREENAS.amd64) #0 r262572+cc525fe: Thu Jul  3 14:22:45 PDT 2014\r\n\r\n\tFreeNAS (c) 2009-2014, The FreeNAS Development Team\r\n\tAll rights reserved.\r\n\tFreeNAS is released under the modified BSD license.\r\n\r\n\tFor more information, documentation, help or support, go here:\r\n \thttp://freenas.org\r\nWelcome to the Rye Family File Server.\r\n\u001B]0;root@RyeFamily:~\u0007[\u001B[1mroot@RyeFamily\u001B[m] \u001B[1m~\u001B[m# jexec 1 /bin/sh\r\n\r\n# cd /home/\r\n/home/mcgame          /home/Mianite         /home/minecraft      \r\n/home/ServerMinecraft /home/Simplify       \r\n\r\n\u001B[K# cd /home/minecraft/\r\n# \u0007\r\n.cshrc            .login            .login_conf       .mail_aliases    \r\n.mailrc           .profile          .rhosts           .shrc            \r\nbackups           maps              minecraft_server  versions.json    \r\nversions.json.bak worlds            worlds-disabled  \r\n\r\n\u001B[K# cd /home/minecraft/wo\u0007rlds/\u0007\r\n/home/minecraft/worlds/OldServer       /home/minecraft/worlds/ServerMinecraft\r\n\r\n\u001B[K# cd /home/minecraft/worlds/OldServer/\r\n/home/minecraft/worlds/OldServer/backup                    \r\n/home/minecraft/worlds/OldServer/banned-ips.txt            \r\n/home/minecraft/worlds/OldServer/banned-players.txt        \r\n/home/minecraft/worlds/OldServer/bukkit.yml                \r\n/home/minecraft/worlds/OldServer/commands.yml              \r\n/home/minecraft/worlds/OldServer/craftbukkit-dev.jar       \r\n/home/minecraft/worlds/OldServer/crash-reports             \r\n/home/minecraft/worlds/OldServer/debug                     \r\n/home/minecraft/worlds/OldServer/download                  \r\n/home/minecraft/worlds/OldServer/help.yml                  \r\n/home/minecraft/worlds/OldServer/logs                      \r\n/home/minecraft/worlds/OldServer/minecraft_server.1.7.2.jar\r\n/home/minecraft/worlds/OldServer/nas_server_world          \r\n/home/minecraft/worlds/OldServer/nas_server_world_nether   \r\n/home/minecraft/worlds/OldServer/nas_server_world_the_end  \r\n/home/minecraft/worlds/OldServer/ops.txt                   \r\n/home/minecraft/worlds/OldServer/permissions.yml           \r\n/home/minecraft/worlds/OldServer/plugins                   \r\n/home/minecraft/worlds/OldServer/save                      \r\n/home/minecraft/worlds/OldServer/server.properties         \r\n/home/minecraft/worlds/OldServer/snapshots                 \r\n/home/minecraft/worlds/OldServer/wepif.yml                 \r\n/home/minecraft/worlds/OldServer/white-list.txt            \r\n\r\n\u001B[K# cd /home/minecraft/worlds/OldServer/\r\n# su minecraft\r\n$ cd ~/\r\n$ /etc/\u0007init.d/minecraft_server start OldServer\r\nStarting Minecraft Server:ps: illegal argument: minecraft\r\nusage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]\r\n          [-M core] [-N system]\r\n          [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]\r\n       ps [-L]\r\n OldServerError updating the Minecraft server software.\r\n$ exit\r\n# exit\r\n\u001B]0;root@RyeFamily:~\u0007[\u001B[1mroot@RyeFamily\u001B[m] \u001B[1m~\u001B[m# exit\r\n\r\nlogout\r\n```"},"comment":{"url":"https://api.github.com/repos/sandain/MinecraftServerControlScript/issues/comments/74361945","html_url":"https://github.com/sandain/MinecraftServerControlScript/issues/66#issuecomment-74361945","issue_url":"https://api.github.com/repos/sandain/MinecraftServerControlScript/issues/66","id":74361945,"user":{"login":"sandain","id":641148,"avatar_url":"https://avatars.githubusercontent.com/u/641148?v=3","gravatar_id":"","url":"https://api.github.com/users/sandain","html_url":"https://github.com/sandain","followers_url":"https://api.github.com/users/sandain/followers","following_url":"https://api.github.com/users/sandain/following{/other_user}","gists_url":"https://api.github.com/users/sandain/gists{/gist_id}","starred_url":"https://api.github.com/users/sandain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandain/subscriptions","organizations_url":"https://api.github.com/users/sandain/orgs","repos_url":"https://api.github.com/users/sandain/repos","events_url":"https://api.github.com/users/sandain/events{/privacy}","received_events_url":"https://api.github.com/users/sandain/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T05:01:09Z","updated_at":"2015-02-14T05:01:09Z","body":"After reading through the docs of the Linux and FreeBSD man pages for ps and running tests (on Linux), I sent commit 6f600fb22cd201d9efcbe65d7587f04c7405362a to hopefully fix the problem for you.  The -u option is not synonymous to -U on FreeBSD like it is on Linux, and -U is what you need on FreeBSD."}}