mysql uncompress_uncompress: command not found

[oracle@ogg dmp]$ uncompress

teleuser20170628.dmp.Z

-bash: uncompress: command not found

[root@ogg ~]# yum install ncompress

Setting up Install Process

Setting up repositories

Reading repository metadata in from local files

Parsing package install arguments

Resolving Dependencies

--> Populating transaction set with selected packages.

Please wait.

---> Downloading header for ncompress to pack into

transaction set.

file:///mnt/repodata/ncompress-4.2.4-44.rhel4.x86_64.rpm:

[Errno 5] OSError: [Errno 2] No such file or directory:

'/mnt/repodata/ncompress-4.2.4-44.rhel4.x86_64.rpm'

Trying other mirror.

Error: failure: ncompress-4.2.4-44.rhel4.x86_64.rpm from iso:

[Errno 256] No more mirrors to try.

[root@ogg ~]# df -h

Filesystem  Size  Used Avail Use% Mounted

on

/dev/sda2  12G  3.3G

7.7G  30% /

/dev/sda1  99M  14M

81M  15% /boot

none  3.9G

0  3.9G

0% /dev/shm

/dev/sda5  30G  9.4G

20G  33% /home

/dev/mapper/ORAVG-oralv

493G  254G

214G  55% /oradata

[root@ogg ~]# cd /home

[root@ogg home]# ls

lost+found  oracle  patch

soft

[root@ogg home]# cd soft

[root@ogg soft]# ls

Disk1  Enterprise-R4-U8-x86_64-disc1.iso

Enterprise-R4-U8-x86_64-disc4.iso

libstdc++-3.4.6-11.i386.rpm

Disk2  Enterprise-R4-U8-x86_64-disc2.iso

gcc-3.4.6  libstdc++-devel-3.4.6-11.i386.rpm

Disk3  Enterprise-R4-U8-x86_64-disc3.iso

gcc-c++-3.4.6-3.i386.rpm

[root@ogg soft]# pwd

/home/soft

[root@ogg soft]# mount -o loop

/home/Enterprise-R4-U8-x86_64-disc4.iso /mnt

/home/Enterprise-R4-U8-x86_64-disc4.iso: No such file or

directory

[root@ogg soft]# mount -o loop

/home/soft/Enterprise-R4-U8-x86_64-disc4.iso /mnt

[root@ogg soft]# df -h

Filesystem  Size  Used Avail Use% Mounted

on

/dev/sda2  12G  3.3G

7.7G  30% /

/dev/sda1  99M  14M

81M  15% /boot

none  3.9G

0  3.9G

0% /dev/shm

/dev/sda5  30G  9.4G

20G  33% /home

/dev/mapper/ORAVG-oralv

493G  255G

213G  55% /oradata

/home/soft/Enterprise-R4-U8-x86_64-disc4.iso

584M  584M

0 100% /mnt

[root@ogg soft]# cd /mnt

[root@ogg mnt]# ls

EULA  Enterprise  GPL

RPM-GPG-KEY  TRANS.TBL

[root@ogg mnt]# cd Enterprise/

[root@ogg Enterprise]# ls

RPMS  TRANS.TBL

[root@ogg Enterprise]# cd RPMS

[root@ogg RPMS]# ls ncompress-4.2.4-44.rhel4.x86_64.rpm

ncompress-4.2.4-44.rhel4.x86_64.rpm

[root@ogg RPMS]# rpm -ivh

ncompress-4.2.4-44.rhel4.x86_64.rpm

Preparing...  ###########################################

[100%]

1:ncompress

###########################################

[100%]

[root@ogg RPMS]# pwd

/mnt/Enterprise/RPMS

[root@ogg RPMS]# pwd

/mnt/Enterprise/RPMS

[root@ogg RPMS]#

/mnt/Enterprise/RPMS

[root@ogg RPMS]# cd /oradata

[root@ogg oradata]# ls

admin  backup  dmp

lost+found  zydeve

[root@ogg oradata]# cd dmp

[root@ogg dmp]# ls

gistar20170628.dmp.Z  teleuser20170628.dmp.Z

wget-log  wget-log.2

gistar20170628.log  teleuser20170628.log  wget-log.1

[root@ogg dmp]# uncompress

teleuser20170628.dmp.Z

[root@ogg dmp]# ls -lt

total 36449908

-rw-r--r--  1 oracle oinstall

59401293 Jun 30 02:47

wget-log.2

-rw-r--r--  1 oracle oinstall

488 Jun 29 16:47 wget-log.1

-rw-r--r--  1 oracle oinstall

2841 Jun 29 16:47 teleuser20170628.log

-rw-r--r--  1 oracle oinstall

210210 Jun

29 16:47 gistar20170628.log

-rw-r--r--  1 oracle oinstall

782 Jun 29 16:47 wget-log

-rw-r--r--  1 oracle oinstall 37227074523 Jun

29 16:07 gistar20170628.dmp.Z

-rw-r--r--  1 oracle oinstall

1499136 Jun 29 16:07

teleuser20170628.dmp

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值