pending.jpg

Senario:

oracle alert log shows

Errors in file $ORACLE_ALERT/trace/<SID>_reco_<pid>.trc:
ORA-12154: TNS:could not resolve the connect identifier specified

Solution:

stellaforauto 發表在 痞客邦 留言(0) 人氣()

Senario: login by root account and want to su to a specific account. Can't su to this account and show this message

How to solve:

1. use "ps -ef|grep <account name>" to check if processes of this account are too much and cause to be over the process limit value in system configuration

2. the ps result showed that there were 588 processes under this account. 

3. because these processes coneected to database, it was neccesary to kill them not only in OS but also in DB

stellaforauto 發表在 痞客邦 留言(0) 人氣()

LV的組成如下:

HDD-->PV--->VG--->(LV0,LV1,LV2......)

簡單來說步驟如下:

1.先發現硬碟. 用fdisk -l 或check dmesg

2. 將這個硬碟做partition.  

stellaforauto 發表在 痞客邦 留言(0) 人氣()

This is because you need to connect to internet thru proxy in your network env. Try to edit /etc/yum.conf and add the following lines after [main] tag:

proxy=http://xxx.xxx.xx.xx:8080
proxy_username=username
proxy_password=password

stellaforauto 發表在 痞客邦 留言(0) 人氣()

To check system version:

Windows 2008 SP2--> run cmd: msinfo32

To check system type:

Windows 2003 SP2--> run cmd: systeminfo or echo %PROCESSOR_ARCHITECTURE%

CMD:systeminfo will also list other system information

stellaforauto 發表在 痞客邦 留言(0) 人氣()

set -A <array_name> `<CMD>`

for example:

set -A amdsp_line `cat fc60_enc.tmp| awk '{if ($0 ~ /ystem/) print NR}END{print FNR}'`

stellaforauto 發表在 痞客邦 留言(0) 人氣()

deploy ovf

If you deploy the ovf file to create a vm, please notice its system time.

If the system time is ealier than now, some web page can't be shown normally.

For example, today is 2017/04/10 20:18, but the vm time is 2017/03/10 04:11

stellaforauto 發表在 痞客邦 留言(0) 人氣()

Step:

1. login ESXi server via SSH and check local drive partition:    

[root@esxi57:~] ls -lh /dev/disks/t10*
-rw------- 1 root root 1.8T Mar 11 10:54 /dev/disks/t10.ATA_____HGST_HUS724020ALA640__________________________PN1134P6HJ8Z4N
-rw------- 1 root root 2.0M Mar 11 10:54 /dev/disks/t10.ATA_____HGST_HUS724020ALA640__________________________PN1134P6HJ8Z4N:1

stellaforauto 發表在 痞客邦 留言(0) 人氣()

ovftool

Before download & install, you must prepare:

1. Account of MyVMware for login, because you have to download this SW from MyVMware.

2. Check your vSphere version. Specific ovftool version is responded to the specific vSphere version. For example: ovftool v4.2.0 is sutible to vSphere 6.0, otherwise, if you run ovftools 3.5.0 on vSphere 6.0, there will be error msg like: Segmentation fault. Detail of ovftool and vSphere version mapping, you can check the release note.

The install step and the export usage:

1. When you are ready to install, Please download 64-bit for linux and run the shell script as ./VMware-ovftool-4.2.0-*-lin.x86_64.bundle. You have to agree the license declaime and press Enter, then the install complete.

stellaforauto 發表在 痞客邦 留言(0) 人氣()

when install ubuntu 16.04 LTS, there is a msg showed like this

solution: dowload iso tool: win32diskimager to make your bootable device

Reference: https://wiki.ubuntu.com/Win32DiskImager/iso2usb

stellaforauto 發表在 痞客邦 留言(0) 人氣()

env:

     master--10.86.6.178

     slave--10.86.6.213

     domain--stella.com

1. yum install bind

stellaforauto 發表在 痞客邦 留言(0) 人氣()

--CentOS7

1. check SELinux status: getenforce

2. disable SELinux temporarily:setenforce 0

3. disable SELinux permanent: vi /etc/sysconfig/selinux and replace "SELINUX=enforcing" to "SELINUX=disabled" then reboot.

--Ubuntu 16.04

stellaforauto 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。