XS Log Question



  • My importing of VM metadata seems to have worked perfectly.

    It did come up with one error, and I'd like to trace that down.

    Two questions.

    1. When I look at the logs, all the lines are jumbled together. (I downloaded them to my Windows PC.) Is there a special program I need?
      EDIT: answered my question, but will leave this here for future newbies ... don't use NotePad. Almost anything else (WordPad, Word, Vim) will work.

    2. What file would you presume such information would be logged to/at?

    
    -rw------- 1 root root     6682 Aug  3 14:29 xcp-rrdd-plugins.log
    -rw------- 1 root root  1787686 Aug  3 14:29 xensource.log
    -rw------- 1 root root   220519 Aug  3 14:29 daemon.log
    -rw------- 1 root root   124351 Aug  3 14:29 xenstored-access.log
    -rw------- 1 root root   243116 Aug  3 14:28 audit.log
    -rw------- 1 root root    15951 Aug  3 14:28 secure
    drwxr-xr-x 2 root root     4096 Aug  3 14:24 blktap
    -rw------- 1 root root   182944 Aug  3 14:24 kern.log
    -rw------- 1 root root   179431 Aug  3 14:24 SMlog
    -rw------- 1 root root    11429 Aug  3 14:24 user.log
    -rw------- 1 root root     1276 Aug  3 14:20 cron
    -rw-r--r-- 1 root root 38273316 Aug  3 14:18 lastlog
    -rw-rw-r-- 1 root utmp    11520 Aug  3 14:18 wtmp
    -rw------- 1 root utmp      384 Aug  3 14:08 btmp
    -rw-r--r-- 1 root root      396 Aug  3 14:05 ovs-xapi-sync.log
    -rw-r--r-- 1 root root    11358 Aug  3 14:04 boot.log
    -rw-r--r-- 1 root root     1314 Aug  3 14:04 ovs-ctl.log
    -rw-r--r-- 1 root root      892 Aug  3 14:04 restoreeswitchcfg.log
    -rw-r--r-- 1 root root      696 Aug  3 14:04 interface-rename.log
    -rw-r--r-- 1 root root       64 Aug  3 14:04 xenstored.log
    -rw-r--r-- 1 root root    57685 Aug  3 14:03 dmesg
    -rw-r--r-- 1 root root     5023 Aug  3 13:58 pbis-open-install.log
    -rw-r--r-- 1 root root        0 Aug  3 13:57 ovs-vswitchd.log
    -rw-r--r-- 1 root root        0 Aug  3 13:57 ovsdb-server.log
    drwxr-xr-x 2 root root     4096 Aug  3 13:56 xen
    drwxr-xr-x 2 root root     4096 Aug  3 13:56 sa
    -rw-r--r-- 1 root root    57204 Aug  3 13:56 dmesg.old
    drwxr-xr-x 2 root root     4096 Aug  3 13:50 installer
    -rw------- 1 root root    33124 Aug  3 13:47 yum.log
    -rw------- 1 root root        0 Aug  3 13:44 maillog
    -rw------- 1 root root        0 Aug  3 13:44 messages
    -rw------- 1 root root        0 Aug  3 13:44 spooler
    drwx------ 3 root root     4096 Aug  3 13:43 samba
    -rw------- 1 root root        0 Aug  3 13:43 tallylog
    drwx------ 2 root root    16384 Aug  3 13:40 lost+found
    drwxr-xr-x 2 root root     4096 Apr 27 10:30 openvswitch
    drwxr-xr-x 2 ntp  ntp      4096 Jan 25  2016 ntpstats
    drwxr-xr-x 2 root root     4096 Dec  9  2015 cluster
    
    


  • @BRRABill said in XS Log Question:

    EDIT: answered my question, but will leave this here for future newbies ... don't use NotePad. Almost anything else (WordPad, Word, Vim) will work.

    UNIX and Windows have different text file formats. Windows does not see the line feeds on UNIX text files.

    https://mangolassi.it/topic/7980/from-windows-to-unix-text-file-formats

    It's covered in my Linux Admin Book 🙂



  • messages generally has everything. That's where I'd look first, do a text search in that bad boy. Do you have any error information from the import?



  • I would check in xensource.log first.



  • @travisdh1 said in XS Log Question:

    messages generally has everything. That's where I'd look first, do a text search in that bad boy. Do you have any error information from the import?

    My message was (at the time of this post) and still is zero size.



  • @BRRABill said in XS Log Question:

    @travisdh1 said in XS Log Question:

    messages generally has everything. That's where I'd look first, do a text search in that bad boy. Do you have any error information from the import?

    My message was (at the time of this post) and still is zero size.

    Really? XenServer must do things much differently than I'm used to in Linux. Try what @Danp said and look in xensource.log then.

    I just went and looked, XenServer doesn't use rsyslog by default, yuck.



  • @travisdh1 said in XS Log Question:

    @BRRABill said in XS Log Question:

    @travisdh1 said in XS Log Question:

    messages generally has everything. That's where I'd look first, do a text search in that bad boy. Do you have any error information from the import?

    My message was (at the time of this post) and still is zero size.

    Really? XenServer must do things much differently than I'm used to in Linux. Try what @Danp said and look in xensource.log then.

    I just went and looked, XenServer doesn't use rsyslog by default, yuck.

    Ah:
    http://discussions.citrix.com/topic/378269-xenserver-7-varlogmessages/


Log in to reply