Ubuntu crashes every few days

Hervé Fache Herve at lucidia.net
Fri Dec 8 00:23:27 UTC 2006


On 12/6/06, Neil McLeod <neil.a.mcleod at gmail.com> wrote:
> Hello,
>
> Every few days, my entire system (Ubuntu Dapper on a Thinkpad T42) crashes.
> I can't even move the mouse or suspend the computer. Pressing
> Ctrl+Alt+Backspace or Ctrl+Alt+Delete does nothing.

So both keyboard and mouse are dead? That's a big bug!

> Here is what appears in my /var/log/syslog prior to crash. I constantly get
> these messages:
> > Dec  5 22:39:02 localhost /USR/SBIN/CRON[21525]: (root) CMD (  [ -d
> /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin
> +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
> > Dec  5 22:39:05 localhost cupsd: Unable to open log file
> "/var/log/cups/error_log" - Permission denied
> > Dec  5 22:39:40 localhost last message repeated 91 times
> > Dec  5 22:40:40 localhost last message repeated 183 times
> > Dec  5 22:41:40 localhost last message repeated 156 times
> > Dec  5 22:42:41 localhost last message repeated 156 times
> > Dec  5 22:43:41 localhost last message repeated 156 times
>
> [and so on, about 50 times...]
>
> > Dec  5 23:05:42 localhost last message repeated 156 times
> > Dec  5 23:06:42 localhost last message repeated 156 times
> > Dec  5 23:12:10 localhost syslogd 1.4.1#17ubuntu7: restart.
> >
> >
>
> Here are the file permissions in /var/log/cups (though I thought I had
> changed the owner of error_log to cupsys at some point to try to fix the
> problem):
>
> -rw-r--r-- 1 cupsys lp      2.0K 2006-12-05 23:13 access_log
>  -rw-r--r-- 1 cupsys lp       180 2006-12-05 02:10 access_log.1.gz
> -rw-r--r-- 1 cupsys lp       183 2006-12-04 03:01 access_log.2.gz
> -rw-r--r-- 1 cupsys lp       249 2006-12-03 03:17 access_log.3.gz
>  -rw-r--r-- 1 cupsys lp       192 2006-11-30 04:02 access_log.4.gz
> -rw-r--r-- 1 cupsys lp       189 2006-11-29 20:39 access_log.5.gz
> -rw-r--r-- 1 cupsys lp       117 2006-11-29 12:31 access_log.6.gz
>  -rw-r--r-- 1 cupsys lp       222 2006-11-27 19:45 access_log.7.gz
> -rw-r--r-- 1 root   lp      1.7M 2006-12-05 23:23 error_log
> -rw-r--r-- 1 root   lp       98K 2006-12-05 12:31 error_log.1.gz
>  -rw-r--r-- 1 root   lp       35K 2006-12-04 03:32 error_log.2.gz
> -rw-r--r-- 1 root   lp       80K 2006-12-03 13:05 error_log.3.gz
> -rw-r--r-- 1 root   lp       17K 2006-12-02 02:27 error_log.4.gz
>  -rw-r--r-- 1 root   lp      106K 2006-12-01 00:14 error_log.5.gz
> -rw-r--r-- 1 root   lp       73K 2006-11-30 02:03 error_log.6.gz
> -rw-r--r-- 1 root   lp       32K 2006-11-29 12:35 error_log.7.gz
>  -rw-r----- 1 cupsys lpadmin    0 2006-06-11 01:19 page_log
> Questions:
>
> (1) Is it likely that CUPS is causing these crashes? I know I haven't given
> very much information; I'd be happy to give any upon request.

I'd would not think so, but what then?

> (2) How can I fix the CUPS issue?

Try the following (the user password will be required the first time):
sudo /etc/init.d/cupsys stop
sudo rm -f /var/log/cups/error_log*
sudo /etc/init.d/cupsys start

Hervé.
>
> Thank you so much.
>
> --
> Ubuntu Linux 6.06 (Dapper Drake)
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>


More information about the ubuntu-users mailing list