Ahtenus / minecraft-init

Init script for minecraft and bukkit servers
404 stars 125 forks source link

Ubuntu Server 10.04 Beginner Help #127

Closed queketth closed 11 years ago

queketth commented 11 years ago

Hi All

I have setup my server in the last couple of days using the init script and all is working relatively well but I have a few quite major issues.

  1. Cron does not seem to be auto running the commands as no backups are being auto generated however when done via command manually the backup is created successfully and no errors are thrown however I am prompted for my password on every action which is a little tiresome. I was wondering if Cron's failure to auto backup could be due to this password prompting etc? I have not done anything fancy with the Cron script just written lit like suggested in the installation guide.
  2. I have no screen running so am unable to view the server console, screen is installed however when I type 'screen -r minecraft' instead of seeing the server console all I get is "There is no screen to be resumed matching minecraft" Having read through previous comments here it appeared some peoples screen was just incorrectly named however this is not the case for me as when I run 'screen -r' I get the following "There is no screen to be resumed" implying there has been no attempt to start up screen.

I am hoping that someone can help me with these issues as the script is working nicely at starting the jar on boot and backing up and rotating the log files manually however it would be so much easier with these issues solved

Many Thanks

Henry

EDIT: FIXED IT ALL! all I needed to do was be logged in as minecraft rather than my personal account and now it all runs. Thanks for the script :+1: