Request for explanation of error message
Bret Busby
bret.busby at gmail.com
Sat Jul 27 22:06:23 UTC 2019
On 28/07/2019, Mike Marchywka <marchywka at hotmail.com> wrote:
> On Sun, Jul 28, 2019 at 04:06:45AM +0800, Bret Busby wrote:
>> On 28/07/2019, Mike Marchywka <marchywka at hotmail.com> wrote:
>> > On Sat, Jul 27, 2019 at 09:26:41PM +0200, Oliver Grawert wrote:
>> >>
>> >> dpkg -l | grep logrotate
>
> I thought you had dirs there, I always use du -sbc on directories to hunt
> down :)
>
> Installation is not the same as functioning, you should be able to see the
> old
> versions gzipped if it is working and configured right. Again though
> burning through that much disk space that fast and having a file that big
> for "normal" usage is odd although I don't know your history.
>
>
>> > These are the directory sizes, while logrotate can compress old ones
>> > there
>> > is not
>> > a good reason for Gb of log messages.
>>
>> In /var/log/lightdm , is
>> x-0.log
>> size: 48.2GB
>>
>>
>>
>>
>>
>> The pci problem suggests
>> > an infinite mesage loop -I used to get that all the time from
>> > misconfigured nullmaileri this may be a hardware issue. Just tail the
>> > most
>> > recent file in the directories
>> > and see if it is a repeated message.
>>
>> "
>> bret at bret-MD34045-2521:~$ tail /var/log/lightdm/x-0.log
>> tail: cannot open '/var/log/lightdm/x-0.log' for reading: Permission
>> denied
>> bret at bret-MD34045-2521:~$ sudo tail /var/log/lightdm/x-0.log
>> [sudo] password for bret:
>> xorg-server 2:1.19.6-1ubuntu4.3 (For technical support please see
>> http://www.ubuntu.com/support)
>> Current version of pixman: 0.34.0
>> Before reporting problems, check http://wiki.x.org
>> to make sure that you have the latest version.
>> Markers: (--) probed, (**) from config file, (==) default setting,
>> (++) from command line, (!!) notice, (II) informational,
>> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>> (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 28 02:49:58 2019
>> (==) Using system config directory "/usr/share/X11/xorg.conf.d"
>> xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
>> bret at bret-MD34045-2521:~$ sudo tail -30 /var/log/lightdm/x-0.log
>> at http://wiki.x.org
>> for help.
>> (EE)
>> (EE)
>> Fatal server error:
>> (EE) Could not write pid to lock file in /tmp/.tX0-lock
>
> I'm not really sure what to make of this as bad locks can lead to bizarre
> problems
> . I guess you could check the obvious,
> the logs should be readable by all too,
>
> ls -al /var/log | grep X
> -rw-r--r-- 1 root root 37198 Jul 20 20:41 Xorg.0.log
> -rw-r--r-- 1 root root 42732 Jul 8 17:35 Xorg.0.log.old
> -rw-r--r-- 1 root root 32892 Jul 5 17:52 Xorg.1.log
> -rw-r--r-- 1 root root 32892 Jul 5 17:14 Xorg.1.log.old
> marchywka at happy:/home/documents/latex/proj/happyheart$ ls -al /tmp | head -n
> 2
> total 1164
> drwxrwxrwt 19 root root 1081344 Jul 27 17:01 .
>
>
> And I'm not sure the Xorg thing is rotated by default,
>
> more /etc/logrotate.d/
> apport iptraf-ng speech-dispatcher
> apt lightdm ufw
> cups-daemon pm-utils unattended-upgrades
> dpkg ppp upstart
> hibernate rsyslog
>
>
>
"
bret at bret-MD34045-2521:~$ more /etc/logrotate.d/
*** /etc/logrotate.d/: directory ***
bret at bret-MD34045-2521:~$ ls -al /var/log | grep X
-rw-r--r-- 1 root root 46756 Jul 28 02:50
Xorg.0.log
bret at bret-MD34045-2521:~$ ls -al /tmp | head -n 2
total 80
drwxrwxrwt 18 root root 4096 Jul 28 04:46 .
"
--
Bret Busby
Armadale
West Australia
..............
"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992
....................................................
More information about the ubuntu-users
mailing list