Hi all,
I have two separate Solaris 10 servers which are listing files oddly when sorting by time (ls -lt), showing me files that are older than 6 months first.
Example:
total 733
-r--r--r-- 1 root bin 3310 Mar 19 2015 pam.conf-winbind
-rw-r--r-- 1 root sys 450 Mar 3 2015 user_attr
-rwxr-xr-x 1 root sys 4479 Dec 15 2014 wgetrc
prw------- 1 root root 0 Nov 4 08:56 utmppipe
-rw-r--r-- 1 root root 497 Oct 26 02:01 rtc_config
-r--r--r-- 5 root root 4124 Oct 8 02:01 mnttab
drwxr-xr-x 2 root sys 512 Oct 7 11:01 devices
-rw-r--r-- 1 root sys 710 Sep 17 08:02 passwd
drwxr-xr-x 3 root sys 1024 Sep 10 15:08 svc
prw------- 1 root root 0 Sep 10 15:07 initpipe
drwxr-xr-x 2 root sys 512 Sep 10 15:07 lvm
On all other servers I get the correct output:
-r-xr-xr-x 1 root other 662 Jun 5 21:50 TIMEZONE.temp
drwxr-xr-x 4 root sys 1024 Jun 5 21:35 inet
drwxr-xr-x 2 root bin 512 Jun 5 21:05 quagga
-rwxr-xr-x 1 root other 4479 Jun 5 21:04
wgetrc.new
-rw-r--r-- 1 root other 67 Jun 5 21:04 mailcap
drwxr-xr-x 2 root bin 512 Jun 5 21:03 apache2
drwxr-xr-x 3 root bin 512 Jun 5 21:00 samba
-r--r--r-- 1 root bin 3310 Mar 19 2015 pam.conf-winbind
-rwxr-xr-x 1 root sys 4204 Dec 15 2014 wgetrc
-rw-r--r-- 1 root root 28 Nov 21 2014 hosts.equiv
drwxr-xr-x 2 root sys 512 Apr 5 2014 ssh
drwxr-xr-x 2 root sys 512 Apr 5 2014 rcS.d
drwxr-xr-x 2 root sys 512 Apr 5 2014 rc3.d
drwxr-xr-x 7 root bin 512 Apr 5 2014 apache
-rw-r--r-- 1 root sys 578 Apr 5 2014 vfstab
-rw-r--r-- 1 root root 66 Nov 26 2013 resolv.conf
-rw-r--r-- 1 root root 17 Jul 17 2013 hostname.igb0
drwxr-xr-x 2 root sys 512 Jul 17 2013 opscenter
I have checked all locale values and they appear to be correct:
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
Anyone know what might be causing this?
Many thanks in advance