{"action":"created","issue":{"url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/3772","labels_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/3772/labels{/name}","comments_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/3772/comments","events_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/3772/events","html_url":"https://github.com/PocketMine/PocketMine-MP/issues/3772","id":121921924,"number":3772,"title":"ifconfig not found","user":{"login":"StylusEater","id":822957,"avatar_url":"https://avatars.githubusercontent.com/u/822957?v=3","gravatar_id":"","url":"https://api.github.com/users/StylusEater","html_url":"https://github.com/StylusEater","followers_url":"https://api.github.com/users/StylusEater/followers","following_url":"https://api.github.com/users/StylusEater/following{/other_user}","gists_url":"https://api.github.com/users/StylusEater/gists{/gist_id}","starred_url":"https://api.github.com/users/StylusEater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StylusEater/subscriptions","organizations_url":"https://api.github.com/users/StylusEater/orgs","repos_url":"https://api.github.com/users/StylusEater/repos","events_url":"https://api.github.com/users/StylusEater/events{/privacy}","received_events_url":"https://api.github.com/users/StylusEater/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-13T14:22:23Z","updated_at":"2015-12-18T20:20:06Z","closed_at":null,"body":"Seems to be a path related issue when installed as a non-root user:\r\n\r\n09:15:12 [INFO] Starting Minecraft: PE server version v0.10.5 alpha\r\n09:15:12 [INFO] Loading pocketmine.yml...\r\n09:15:12 [INFO] Loading server properties...\r\n09:15:12 [INFO] Starting remote control listener\r\n09:15:12 [INFO] RCON running on 0.0.0.0:19132\r\n09:15:12 [INFO] Starting Minecraft PE server on 0.0.0.0:19132\r\nsh: 1: ifconfig: not found\r\n\r\nSearch the PocketMine-MP.phar file and there is an ifconfig ... not /sbin/ifconfig present. "},"comment":{"url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/comments/165889610","html_url":"https://github.com/PocketMine/PocketMine-MP/issues/3772#issuecomment-165889610","issue_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/3772","id":165889610,"user":{"login":"Intyre","id":1076578,"avatar_url":"https://avatars.githubusercontent.com/u/1076578?v=3","gravatar_id":"","url":"https://api.github.com/users/Intyre","html_url":"https://github.com/Intyre","followers_url":"https://api.github.com/users/Intyre/followers","following_url":"https://api.github.com/users/Intyre/following{/other_user}","gists_url":"https://api.github.com/users/Intyre/gists{/gist_id}","starred_url":"https://api.github.com/users/Intyre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intyre/subscriptions","organizations_url":"https://api.github.com/users/Intyre/orgs","repos_url":"https://api.github.com/users/Intyre/repos","events_url":"https://api.github.com/users/Intyre/events{/privacy}","received_events_url":"https://api.github.com/users/Intyre/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T20:20:06Z","updated_at":"2015-12-18T20:20:06Z","body":"We can switch to ``ip addr`` but you still get the same error as long as the $PATH variable doesn't contain the location of ``ifconfig`` or ``ip``.\r\n\r\nIt should be safe to give non-root users access to ifconfig.\r\n``export PATH=$PATH:/sbin`` or ``ln -s /sbin/ifconfig /usr/bin/ifconfig``"}}