Now why is it doing that?
Ubuntu Server 12.04
I must of uninstall a critical package.
I had a script that was working fine but now is causing a zombie process along with actually running the application and then the script hanging. This occurred after I removed KDE.
When I ran the script, it went through but then listed the directory of where "I" was in then followed by the output, then hung hard and had to kill it from another window.
Now when I ran the line of where the problem was, I had to run it as root since my user even with sudo didn't have permission to run the line in question.
root@pvr0:/home/pvr# echo `/usr/bin/service mythbackend status`
Desktop Documents Downloads index.html Music mythtv mythtv0.22 mythtv0.27 nxclient_3.5.0-7_i386.deb nxnode_3.5.0-9_i386.deb nxserver_3.5.0-11_i386.deb perl5 Pictures Public Templates Videos mythbackend is not running
# print status
STATUS=`/usr/bin/service mythbackend status | grep -E "mythbackend .*is running"`
echo `date`: $STATUS
mv -f /mythauto/log/mythbackend-status /mythauto/log/mythbackend-status.previous
RESULT=`wget --timeout=10 --output-document=/mythauto/log/mythbackend-status --retry-connrefused --tries=4 http://127.0.0.1:6544 2>&1`
if [ "$?" -ne "0" ]
mv /mythauto/log/mythbackend-status.previous /mythauto/log/mythbackend-status.crashed.$FILEDATE
echo -- ERROR: mythbackend is not responding... must restart: $RESULT
echo `/usr/bin/service mythbackend status`
echo `/usr/bin/service mythbackend stop`
echo `/usr/bin/service mythbackend start`
echo `date`: Restart done
echo Service is responding: $RESULT | sed "s/Saving.*//"
What's wrong and what did I do?