Results 1 to 9 of 9

Thread: Message I get when shutting down

Hybrid View

  1. #1
    Join Date
    Aug 2012
    Beans
    8

    Smile Message I get when shutting down

    Hi, I see a message that starts with "Cannot write to..." after I initiate shutdown, but I can't read the rest of it because the message disappears after a second. My laptop still starts and shuts down as usual, but is this normal? Should I be concerned?

    If its abnormal, how can I see the full message and save it to post here for help?

    Many thanks in advance. :)

    --
    Qianling

  2. #2
    Join Date
    Jan 2006
    Location
    Orlando
    Beans
    33
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Message I get when shutting down

    It sounds like you might have messed up write permissions. Most likely that's not normal, as I haven't encountered it. You could start by searching you logs for "Can't write" and see what comes up.

  3. #3
    Join Date
    Aug 2012
    Beans
    8

    Re: Message I get when shutting down

    Could you be more specific as to "searching your logs" please?

    a) What's the name of the log file?

    b) Where do I find it?

    Ubuntu's file system is quite different from Windows, and I don't think I know where to start looking in Windows either!

    Specific step-by-step instructions would be greatly appreciated.

    --
    Qianling

  4. #4
    Join Date
    Jan 2006
    Location
    Orlando
    Beans
    33
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Message I get when shutting down

    I'm sorry, I was kind of vague.

    Your system logs are stored in /var/log/

    and you can search them by opening a terminal, and typeing:

    Code:
    grep -r "string to search for" /var/log/
    This will print out all the files and lines that have that string in it. Hopefully that will help point you in the right direction.

  5. #5
    Join Date
    Aug 2012
    Beans
    8

    Re: Message I get when shutting down

    When I typed that, I got this:

    Code:
    joan@Lenni:~$ grep -r "string to search for" /var/log/
    grep: /var/log/speech-dispatcher: Permission denied
    grep: /var/log/installer/partman: Permission denied
    grep: /var/log/installer/debug: Permission denied
    grep: /var/log/installer/version: Permission denied
    grep: /var/log/installer/casper.log: Permission denied
    grep: /var/log/installer/syslog: Permission denied
    grep: /var/log/samba/cores: Permission denied
    grep: /var/log/lightdm/x-1-greeter.log.old: Permission denied
    grep: /var/log/lightdm/x-0-greeter.log: Permission denied
    grep: /var/log/lightdm/x-2-greeter.log: Permission denied
    grep: /var/log/lightdm/x-2.log: Permission denied
    grep: /var/log/lightdm/x-0-greeter.log.old: Permission denied
    grep: /var/log/lightdm/x-1.log: Permission denied
    grep: /var/log/lightdm/lightdm.log: Permission denied
    grep: /var/log/lightdm/x-2-greeter.log.old: Permission denied
    grep: /var/log/lightdm/x-0.log: Permission denied
    grep: /var/log/lightdm/x-1-greeter.log: Permission denied
    grep: /var/log/upstart/container-detect.log.3.gz: Permission denied
    grep: /var/log/upstart/procps-virtual-filesystems.log: Permission denied
    grep: /var/log/upstart/procps-virtual-filesystems.log.3.gz: Permission denied
    grep: /var/log/upstart/console-setup.log.1.gz: Permission denied
    grep: /var/log/upstart/container-detect.log.1.gz: Permission denied
    grep: /var/log/upstart/lightdm.log.2.gz: Permission denied
    grep: /var/log/upstart/procps-static-network-up.log: Permission denied
    grep: /var/log/upstart/procps-virtual-filesystems.log.2.gz: Permission denied
    grep: /var/log/upstart/modemmanager.log.3.gz: Permission denied
    grep: /var/log/upstart/procps-static-network-up.log.4.gz: Permission denied
    grep: /var/log/upstart/ureadahead.log.1.gz: Permission denied
    grep: /var/log/upstart/hybrid-gfx.log.1.gz: Permission denied
    grep: /var/log/upstart/modemmanager.log.2.gz: Permission denied
    grep: /var/log/upstart/hybrid-gfx.log: Permission denied
    grep: /var/log/upstart/procps-static-network-up.log.2.gz: Permission denied
    grep: /var/log/upstart/console-setup.log.4.gz: Permission denied
    grep: /var/log/upstart/console-setup.log.2.gz: Permission denied
    grep: /var/log/upstart/hybrid-gfx.log.4.gz: Permission denied
    grep: /var/log/upstart/container-detect.log: Permission denied
    grep: /var/log/upstart/ureadahead.log.2.gz: Permission denied
    grep: /var/log/upstart/hybrid-gfx.log.2.gz: Permission denied
    grep: /var/log/upstart/lightdm.log.1.gz: Permission denied
    grep: /var/log/upstart/procps-static-network-up.log.1.gz: Permission denied
    grep: /var/log/upstart/modemmanager.log.4.gz: Permission denied
    grep: /var/log/upstart/ureadahead.log.3.gz: Permission denied
    grep: /var/log/upstart/ureadahead.log.4.gz: Permission denied
    grep: /var/log/upstart/modemmanager.log: Permission denied
    grep: /var/log/upstart/cups.log.1.gz: Permission denied
    grep: /var/log/upstart/rsyslog.log.1.gz: Permission denied
    grep: /var/log/upstart/ureadahead.log: Permission denied
    grep: /var/log/upstart/rsyslog.log: Permission denied
    grep: /var/log/upstart/procps-virtual-filesystems.log.1.gz: Permission denied
    grep: /var/log/upstart/rsyslog.log.3.gz: Permission denied
    grep: /var/log/upstart/console-setup.log: Permission denied
    grep: /var/log/upstart/rsyslog.log.2.gz: Permission denied
    grep: /var/log/upstart/console-setup.log.3.gz: Permission denied
    grep: /var/log/upstart/container-detect.log.4.gz: Permission denied
    grep: /var/log/upstart/procps-static-network-up.log.3.gz: Permission denied
    grep: /var/log/upstart/alsa-restore.log.2.gz: Permission denied
    grep: /var/log/upstart/procps-virtual-filesystems.log.4.gz: Permission denied
    grep: /var/log/upstart/alsa-restore.log.1.gz: Permission denied
    grep: /var/log/upstart/hybrid-gfx.log.3.gz: Permission denied
    grep: /var/log/upstart/rsyslog.log.4.gz: Permission denied
    grep: /var/log/upstart/container-detect.log.2.gz: Permission denied
    grep: /var/log/upstart/modemmanager.log.1.gz: Permission denied
    grep: /var/log/btmp: Permission denied
    joan@Lenni:~$
    I opened /var/log and went through the files I could see there, but after searching the files I could not find the line "could not write" in any of them.



    I'm quite sure "could not write" are the 1st 3 words I see, I shall keep my eyes peeled for the other lines on shutdown.

    Meanwhile, are there other ways of finding out what's going on when I shut down the laptop?

    --
    Qianling

  6. #6
    Join Date
    Feb 2008
    Location
    Texas City, Texas
    Beans
    830
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Message I get when shutting down

    grep -r "string to search for" /var/log/
    You were supposed to replace "string to search for" with the actual words you are looking for. In other words:
    Code:
    grep -r "could not write" /var/log/
    It might also help to use sudo so grep can see inside files owned by root.
    Code:
    sudo grep -r "could not write" /var/log
    Break it, fix it, learn something.
    People who never make mistakes seldom make anything!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •