Skip to content

Failed To Start SAS Metadata: UNABLE TO OPEN/READ MESSAGE FILE USING THE -MSG PATHSERROR

Problem Statement
SAS Metadata Failed To Start on Linux machine running on GFS2.

Error message
-sh-4.1$ /sasconfig/Meta/meta3/Lev1/SASMeta/MetadataServer/MetadataServer.sh -start
Waiting up to 600 seconds for Metadata Server to listen to port 8561.
Server is started (pid 8529)...
Server is stopped
Log files are located at: /sasconfig/Meta/meta3/Lev1/SASMeta/MetadataServer/Logs

Metadata server failed to start, check the log for errors.
Log files are located at: /sasconfig/Meta/meta3/Lev1/SASMeta/MetadataServer/Logs

From appliation log (/sasconfig/Meta/meta3/Lev1/SASMeta/MetadataServer/Logs/SASMeta_MetadataServer_console_sastestmetacl01.log):
UNABLE TO OPEN/READ MESSAGE FILE USING THE -MSG PATHSERROR: File is locked, but no other information is available. File =/sas94/sashome/SASFoundation/9.4/sasmsg/msgdir.msg. System Error Code = 38.

Solution

  • Stop all NFS-related services
  • Stop GFS2 service and ensure all filesystems unmounted on all servers
  • Start GFS2 service on all servers
  • Start SAS application

Reference

Conclusion
File locking is causing the issue. Thus, I need to clear the locking by restarting NFS & GFS2 service which the filesystems are used by SAS Metadata application.

Comment(s) via Facebook

Tagged

Today, USD1 = RM3.60

This is crazy. After a while, I notice USD1 = RM3.60 today. Damn!

1usd_to_myr

Comment(s) via Facebook

Nike Malaysia Sleeveless Training Top

It’s been a while….

Item: Nike Malaysia Sleeveless Training Top
Year Released: 2012
Standard retail price: Unknown

Personal comment:
Later

Nike Malaysia Sleeveless Training Top

Nike Malaysia Sleeveless Training Top

Player in action:

Comment(s) via Facebook

Tagged ,

CDE on AIX

Common Desktop Environment aka CDE on Advanced Interactive eXecutive aka AIX,

CDE on AIX

CDE on AIX, got Firefox some more

CDE on AIX

CDE on AIX, locking the screen

Comment(s) via Facebook

Tagged ,

Enlightenment on RHEL 6

It’s been a while since my last experience with Enlightenment, I don’t even remember when the last time was. So, here I present…Enlightenment on RHEL 6.

OS version: RHEL 6.5
Enlightenment version: 0.16.999.050
Machine: Lenovo Thinkpad T420

Enlightenment on RHEL 6

Comment(s) via Facebook

AIX SysAdmin In The Making

Yes, generally I’m a Unix SysAdmin but I never focus myself to become AIX (or HP-UX / Solaris) SysAdmin. Reason is simple, I’m more a Linux guy. But suddenly I was chosen by the boss to become AIX SME via Master Blue Program; although my boss told me it’s ok if I want to say ‘NO’ to the program, I guess I’m very stupid if I reject the “offer”.

So, here I am: my very first real study of AIX…

IBM-AIX

and I have several months (or maybe a year) to learn everything until I can become a real Master. I don’t know whether I will be able to achieve the target but it seems that’s my path at the moment, at least while I’m still in IBM :)

Comment(s) via Facebook

Tagged

zLinux: Add & Configure New Disk

Objective: New disks are added to the machine. I need to configure and integrate them into existing LVM partition.

OS: RHEL 5.9
Kernel: 2.6.18-274.el5
Related Documentation: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-s390info-addDASD.html

The mainframe administrator has assigned me 6 disks and the disk name are ‘205’ – ’20e’. So, I need to find out the associated device name with the assigned disk,

[root@zlinux ~]# ls -l /sys/bus/ccw/drivers/dasd-eckd/0.0.0205/
total 0
-r--r--r-- 1 root root 4096 Apr  4 12:41 alias
-r--r--r-- 1 root root 4096 Apr  4 12:43 availability
lrwxrwxrwx 1 root root    0 Apr  4 12:41 block:dasdf -> ../../../../block/dasdf
lrwxrwxrwx 1 root root    0 Apr  4 12:43 bus -> ../../../../bus/ccw
-rw-r--r-- 1 root root 4096 Apr  4 12:43 cmb_enable
-r--r--r-- 1 root root 4096 Apr  4 12:43 cutype
-r--r--r-- 1 root root 4096 Apr  4 12:43 devtype
-r--r--r-- 1 root root 4096 Apr  4 12:41 discipline
lrwxrwxrwx 1 root root    0 Apr  4 12:41 driver -> ../../../../bus/ccw/drivers/dasd-eckd
-rw-r--r-- 1 root root 4096 Apr  4 12:43 eer_enabled
-rw-r--r-- 1 root root 4096 Apr  4 12:43 erplog
-rw-r--r-- 1 root root 4096 Apr  4 12:43 failfast
-rw-r--r-- 1 root root 4096 Apr  4 12:43 last_known_reservation_state
-r--r--r-- 1 root root 4096 Apr  4 12:43 modalias
-rw-r--r-- 1 root root 4096 Apr  4 12:41 online
-rw-r--r-- 1 root root 4096 Apr  4 12:41 readonly
-rw-r--r-- 1 root root 4096 Apr  4 12:43 reservation_policy
-r--r--r-- 1 root root 4096 Apr  4 12:43 status
lrwxrwxrwx 1 root root    0 Apr  4 12:43 subsystem -> ../../../../bus/ccw
--w------- 1 root root 4096 Apr  4 12:43 uevent
-r--r--r-- 1 root root 4096 Apr  4 12:41 uid
-rw-r--r-- 1 root root 4096 Apr  4 12:43 use_diag
-r--r--r-- 1 root root 4096 Apr  4 12:43 vendor

To check in reverse,

[root@zlinux ~]# ls -l /sys/block/dasdf
total 0
drwxr-xr-x 3 root root    0 Apr  4 13:57 dasdf1
-r--r--r-- 1 root root 4096 Apr  4 12:41 dev
lrwxrwxrwx 1 root root    0 Apr  4 12:54 device -> ../../devices/css0/0.0.0018/0.0.0205
drwxr-xr-x 2 root root    0 Apr  2 09:37 holders
drwxr-xr-x 3 root root    0 Apr  2 09:37 queue
-r--r--r-- 1 root root 4096 Apr  4 13:58 range
-r--r--r-- 1 root root 4096 Apr  4 13:58 removable
-r--r--r-- 1 root root 4096 Apr  4 12:41 size
drwxr-xr-x 2 root root    0 Apr  2 09:37 slaves
-r--r--r-- 1 root root 4096 Apr  4 13:58 stat
lrwxrwxrwx 1 root root    0 Apr  4 13:58 subsystem -> ../../block
--w------- 1 root root 4096 Apr  4 13:58 uevent

Check the disk status, make sure it is online & active.

[root@zlinux ~]# cat /sys/bus/ccw/drivers/dasd-eckd/0.0.0205/online
1
[root@zlinux ~]# lsdasd
Bus-ID     Status      Name      Device  Type  BlkSz  Size      Blocks
==============================================================================
0.0.0200   active      dasda     94:0    ECKD  4096   23033MB   5896620
0.0.0201   active      dasdb     94:4    ECKD  4096   23033MB   5896620
0.0.0202   active      dasdc     94:8    ECKD  4096   23033MB   5896620
0.0.0203   active      dasdd     94:12   ECKD  4096   23033MB   5896620
0.0.0204   active      dasde     94:16   ECKD  4096   23033MB   5896620
0.0.0205   active      dasdf     94:20   ECKD  4096   23033MB   5896620
0.0.0206   active      dasdg     94:24   ECKD  4096   23033MB   5896620
0.0.0207   active      dasdh     94:28   ECKD  4096   23033MB   5896620
0.0.0208   active      dasdi     94:32   ECKD  4096   23033MB   5896620
0.0.0209   active      dasdj     94:36   ECKD  4096   23033MB   5896620
0.0.020a   active      dasdk     94:40   ECKD  4096   23033MB   5896620

In this situation the newly added disks are ‘dasdf’ – ‘dasdk’.

Format the disk,

[root@zlinux ~]# dasdfmt -b 4096 -d cdl -f /dev/dasdf -l LX4B2E -p -y -v
Retrieving disk geometry...
Drive Geometry: 32759 Cylinders * 15 Heads =  491385 Tracks

I am going to format the device /dev/dasdg in the following way:
   Device number of device : 0x206
   Labelling device        : yes
   Disk label              : VOL1
   Disk identifier         : LX4B2E
   Extent start (trk no)   : 0
   Extent end (trk no)     : 491384
   Compatible Disk Layout  : yes
   Blocksize               : 4096
Formatting the device. This may take a while (get yourself a coffee).
Detaching the device...
Invalidate first track...

cyl 32759 of 32759 |##################################################| 100%

formatting tracks complete...
Revalidate first track...
Re-accessing the device...
Finished formatting the device.
Retrieving dasd information... ok
Writing empty bootstrap...
Writing label...
Writing VTOC... ok
Rereading the partition table... ok

Create Partition,

[root@zlinux ~]# fdasd -a /dev/dasdf
reading volume label ..: VOL1
reading vtoc ..........: ok

auto-creating one partition for the whole disk...
writing volume label...
writing VTOC...
rereading partition table...

If disk is not correctly formatted, we might stumble upon error message as below.

  • [root@zlinux ~]# fdasd -a /dev/dasdf
    
    fdasd error:  seek error
    Could not seek device '/dev/dasdf'.
    
  • [root@zlinux ~]# fdasd -a /dev/dasdg
    
    fdasd error:  Unsupported disk format
    /dev/dasdg is not formatted with z/OS compatible disk layout!
    

Since this is a repetitive task, I use 1-liner command for the rest of the disks.

for disk in {g..k}; do dasdfmt -b 4096 -d cdl -f /dev/dasd$disk -l LX4B2E -p -y -v; done
for disk in {f..k}; do fdasd -a /dev/dasd$disk; done

Create physical volume,

[root@zlinux ~]# for disk in {f..k}; do pvcreate /dev/dasd"$disk"1; done
  Writing physical volume data to disk "/dev/dasdf1"
  Physical volume "/dev/dasdf1" successfully created
  Writing physical volume data to disk "/dev/dasdg1"
  Physical volume "/dev/dasdg1" successfully created
  Writing physical volume data to disk "/dev/dasdh1"
  Physical volume "/dev/dasdh1" successfully created
  Writing physical volume data to disk "/dev/dasdi1"
  Physical volume "/dev/dasdi1" successfully created
  Writing physical volume data to disk "/dev/dasdj1"
  Physical volume "/dev/dasdj1" successfully created
  Writing physical volume data to disk "/dev/dasdk1"
  Physical volume "/dev/dasdk1" successfully created

The rest of the work (vgextend, lvextend, resize4fs) should be similar with normal x86 Linux.

Comment(s) via Facebook

Tagged ,

My First Time Story: Playing Around With Oracle Linux

After a hiatus, it seems I’m back to Linux. I was asked by management to attend Oracle Linux System Administration training next month, so I guess I need to be prepared. So, this is it….my first time story of installing and play around with Oracle Linux. In this case, I’m installing Oracle Linux 6.5 on top of my RHEL desktop via KVM.

Oracle Linux 6, booting up the ISO image

Oracle Linux 6, booting up the ISO image

Oracle Linux 6, finishing the installation

Oracle Linux 6, finishing the installation

Oracle Linux 6, post-installation configuration

Oracle Linux 6, post-installation configuration

Oracle Linux 6, GNOME Display Manager

Oracle Linux 6, GNOME Display Manager

Oracle Linux 6, the desktop

Oracle Linux 6, the desktop

Comment(s) via Facebook

Tagged ,

Pengalaman Membeli Rumah Sub-Sale

Info Rumah
Lokasi: Cyberjaya
Jenis rumah: Townhouse
Harga: Rahsia (kalau nak tau, kena jumpa secara peribadi/in-person)
Tuan punya rumah: Takamal Jaya Sdn Bhd, anak syarikat Emkay Sdn Bhd

Kronologi

  • 02-Disember-2013: Contact ejen dan minta buat appointment untuk tengok rumah
  • 03-Disember-2013: Berjumpa dengan salesman dan tengok rumah. Borak-borak apa yang patut dan tanya pasal rumah
  • 04-Disember-2013: Contact salesman dan minta beberapa penjelasan, salesman suruh hantar LOI (letter of intent).
    • 3.19pm hantar email untuk mintak quotation
    • 5.20pm dah dapat jawapan.
    • 5.59pm reply email, mintak bagi diskaun lagi & turunkan harga. Dalam emel ni, saya nyatakan beberapa point kenapa perlu diberikan lebih diskaun
  • 05-Disember-2013: Dapat so-called harga tawaran terakhir
  • 06-Disember-2013 Buat lawatan ke rumah sebenar. Mula-mula sampai takde orang, so pergilah lepak minum dengan salesman ni dulu. Dalam 6.30pm, barulah dapat tengok rumah.
  • 12-Disember-2013: Hantar emel lagi, minta harga tawaran diturunkan.
  • 17-Disember-2013: Salesman follow-up, tanya berapa harga yang saya mahu.
  • 18-Disember-2013: Salesman bagitau yang boss dia tak approve dengan harga yang saya nak.
  • 19-Disember-2013: Ejen asal telefon tanya tentang status. Saya beritahu yang saya belum keputusan kerana nak berfikir lebih lanjut.
  • 23-Disember-2013: Beritahu salesman yang saya bersetuju dengan harga tawaran terakhir
  • 24-Disember-2013: Terima offer letter dan buat pembayaran deposit 2%
  • 26-Disember-2013: Pegawai Bank follow-up tanya bila boleh bagi dokumen. Saya bagitau yang dokumen yang dipinta tu saya boleh bagi on the spot tapi perlukan lebih masa untuk isi application form. Yang best nya, pegawai ni offer untuk tolong isikan. Dia call dan tanya beberapa detail. Saya cuma perlu hantar mukasurat terakhir iaitu bahagian yang saya kene turunkan tandatangan
  • 27-Disember-2013: Hantar application form ke Bank Muamalat cawangan Jalan Tunku Abdul Rahman. Petang tu call sorang lagi lawyer, tanya pasal SPA – dapatlah quotation secara lisan

Comment(s) via Facebook

Kesyahduan

Stumbled upon a very “syahdu” picture at KLCC LRT station,

Mengejar Cinta

Mengejar Cinta

Comment(s) via Facebook

Tagged ,