Tag Info

New answers tagged

2

The log file gets bigger and bigger as it keeps appending to itself some recurring problem. First, identify the log file in the directory .cache that is growing in size using baobab (Disk Usage Analyzer), then open the log file using gedit and try to identify what is causing the problem. In my case it was one of the Startup Applications that was looking for ...


0

The below link helped me for a solution. https://lists.ubuntu.com/archives/upstart-devel/2009-December/001140.html "This means that you could just do (as a file in /etc/init): start on stopped $JOB RESULT=failed PROCESS=respawn exec /sbin/reboot You can make that more generic if you like, a job that should cause a reboot when respawn fails could have ...


1

Where can I read some brief information about upstart in ubuntu? The Upstart Getting Started page might be useful (just skip to the Writing Jobs section). Or the DigitalOcean tutorial. How can I add my own service? Bare basics: Create a .conf file in /etc/init. It should have: A valid start on stanza (and if it is a service instead of a ...


0

I changed cd /home/teamspeak/sbot To cd /home/teamspeak/sbot/ And it loaded into the directory correctly without an error


0

I think you need to export the user's display in the script so it knows what display to use. Usually the default display for the first X user is set to :0. Try adding export DISPLAY=:0 to the top of the script: UDP_PORT=12 # Change this if you need to run this on a different port, just remember to update Yatse's settings as well ...


0

Thank-you, Chaosed0, for coming back with your solution (i.e. huge number of files in /tmp). [I tried to post this as a comment but I don't have enough reputation points] I ran into the same issue with Ubuntu server (14.04) and it was very difficult to diagnose until I found your post. When I rebooted the machine, it would appear to get blocked right ...


2

It could be problem with the working directory. Try using chdir: description "Photogrid" ... chdir /home/ubuntu/photogrid exec node /home/ubuntu/photogrid/bin/www On a side note: The redirection isn't needed. The log is saved to files in /var/log/upstart/.



Top 50 recent answers are included