Post date: Oct 23, 2012 3:16:45 AM
Yet again, I have a failed hard-drive. That's 4 in the last 6 months. All of them Seagates of various ages under 5 years.
I have backups, so its no big deal, just a bother.
This is my log of moving to U12.10 from my previous U12.04 desktop.
My machine is:
Without thinking enough, I installed a 32bit version on this workstation. I have it on a USB key and everything went without issue.
I created a swap partition and put everything else on a partition taking up the rest of the drive (/).
Oooops - I wanted the 64bit OS, so I had to go back and grab a new iso, burn a DVD and reinstall.
After it is installed here is what I did.
sudo update-grub
to regenerate grub filessudo apt-get remove nvidia-current-updates nvidia-settings*
sudo update-grub
to regenerate grub filessudu apt-get install
mythtv-frontendsudu apt-get install cifs-utils
#!/bin/bash
#
# Startup script for Derby
### BEGIN INIT INFO
# Provides: derby
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 91 2 3 4 5
# Default-Stop: 20 0 1 6
# Short-Description: Start Apache Derby DB at boot time.
# Description: Provides a small simple java based DB.
### END INIT INFO#
# chk con fig: 345 94 16
# description: Derby startup script
# to enable on bootup on redhat "chkconfig --level 35 derby on"
# to enable on bootup on debian "update-rc.d derby defaults" or the
# slightly longer (but better run levels) "update-rc.d derby start 91 2 3 4 5 . stop 20 0 1 6 ."
# see http://blog.rimuhosting.com/2009/09/30/one-java-init-script/
HOMEDIR=/opt/db-derby
DERBY_USER=derby
APPNAME=Derby
# see http://www.vogella.com/articles/ApacheDerby/article.html for startUp Options
RUNCOMMAND="bin/startNetworkServer -h 0.0.0.0"
STOCOMMAND=bin/stopNetworkServer
LOGFILE=/var/log/derby.log
DERBY_HOME=$HOMEDIR
export DERBY_HOME
GREPSTRING='derbyclient.jar'
if ! grep -qai "$DERBY_USER" /etc/passwd; then
echo "$DERBY_USER is not a user. Please create a user account first" >&2
exit 1
fi
setpslist() {
#if [ ! -z "$GREPSTRING" ]; then
pslist=`ps a --width=1000 --User "$DERBY_USER" -o pid,user,command | grep "$GREPSTRING" | grep -v PID| grep -v grep | awk '{printf $1 " "}'`
#else
# pslist=`ps a --width=1000 --User "$DERBY_USER" -o pid,user,command | grep "$GREPSTRING" | grep -v PID | awk '{printf $1 " "}'`
#fi
}
start() {
setpslist
if [ ! -z "$pslist" ]; then
echo "$APPNAME already running, can't start it" >&2
return 1
fi
echo -n "Starting $APPNAME: "
if [ ! -e "$LOGFILE" -a ! -e "`dirname \"$LOGFILE\"`" ]; then
mkdir -p `dirname "$LOGFILE"`
fi
if [ -e "$LOGFILE" ]; then
mv "$LOGFILE" "$LOGFILE".old
fi
touch $LOGFILE
chown $DERBY_USER $LOGFILE
chmod guo+w $LOGFILE
chown -R $DERBY_USER $HOMEDIR
#echo echo exec su - -p --shell=/bin/sh $DERBY_USER -c "cd $HOMEDIR; $RUNCOMMAND >\"$LOGFILE\"" 2>&1
exec su - -p --shell=/bin/sh $DERBY_USER -c "cd $HOMEDIR; $RUNCOMMAND >\"$LOGFILE\"" 2>&1 &
}
killprocesses() {
setpslist
if [ -z "$pslist" ]; then
echo "$APPNAME not running, no need to kill it"
return 0
fi
kill -9 $pslist
echo "Killed $APPNAME"
return 0
}
stop() {
setpslist
if [ -z "$pslist" ]; then
echo "$APPNAME not running, no need to stop it"
return 0
fi
echo -n $"Shutting down $APPNAME: "
suoutput=`su - --shell=/bin/bash -p $DERBY_USER -c "$STOPCOMMAND"`
kill -SIGTERM $pslist
}
status() {
setpslist
if [ ! -z "$pslist" ]; then
echo -n "$APPNAME ( PIDs $pslist ) is running."
else
echo "$APPNAME is stopped"
fi
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 3
start
;;
kill)
killprocesses
;;
killstart)
killprocesses
start
;;
status)
status
;;
*)
echo "Usage: $0 {start|stop|restart|status|kill|killstart}"
exit 1
esac
exit $?
sudo chown -R derby:tgutwin /opt/derbyDB
sudo chown -R derby:tgutwin /opt/db-derby
sudo chmod -R g+rwx /opt/derbyDB
sudo chmod -R g+rwx /opt/db-derby
tgutwin@warp4:/opt/google/earth/free$ sudo LIBGL_DEBUG=verbose /opt/google/earth/free/googleearth
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL error: failed to load driver: swrast
i386-linux-gnu,
I think it might be something with the fact I installed the 64Bit deb .sudo bum
to add svnserve to the system startup and start it up.android avd
sudu apt-get install ia32
libGL: screen 0 does not appear to be DRI2 capable
libGL error: failed to load driver: swrast
sudo apt-get remove nvidia-setting*
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.withglxdri.conf
sudo ~tgutwin/Downloads/NVIDIA-Linux-x86_64-304.60.run
/sbin/init 6