LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2012, 09:06 AM   #106
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850

Quote:
Originally Posted by schneidz View Post
^ try logging in as root:
su -

the usb should be plugged in so the system can automount it.

why is the software dependant on a usb drive ?
The software is on the USB-drive.
 
Old 11-18-2012, 09:07 AM   #107
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Markus

Please see the following:

Quote:
bash-4.1$ ls /dev/sd*
/dev/sda /dev/sda1 /dev/sda2
-bash-4.1$
schneidz

I need to access the software on the USB as a su called oracle. I guess I could try with root, but the instructions say switch to su - oracle.

I think I just need to access the drive
 
Old 11-18-2012, 09:09 AM   #108
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
There is no USB-drive plugged in!

execute
Code:
lsusb
when you have plugged it in, this helps with more information.

Markus
 
Old 11-18-2012, 09:10 AM   #109
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Sorry if I'm not making myself clear.

I just need to access the USB drive as it is from the USB that I will run/install software - in the same way I could access a DVD to install/run software. However, I'm trying to access the drive with a su called oracle.
 
Old 11-18-2012, 09:10 AM   #110
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,093

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
^ i think sneakernetting between windows, sun and linux may introduce unintended errors.

Last edited by schneidz; 11-18-2012 at 09:17 AM.
 
Old 11-18-2012, 09:12 AM   #111
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
There is no USB-drive plugged in!

Markus
Oops!

Now take a look
Quote:
bash-4.1$ ls /dev/sd*
/dev/sda /dev/sda1 /dev/sda2 /dev/sdb /dev/sdb1
-bash-4.1$
 
Old 11-18-2012, 09:16 AM   #112
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,093

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by carltonp View Post
Now, I have a DVD in the drive and when I try CD to the DVD I get the following message
Code:
 -bash-4.1$ cd /
 -bash-4.1$ cd media
 -bash-4.1$ ls
 RHEL_6.3 x86_64 Disc 1
 -bash-4.1$ cd RHEL_6.3 x86_64 Disc 1
 -bash: cd: RHEL_6.3: No such file or directory.
also, quote filenames with spaces.
 
Old 11-18-2012, 09:24 AM   #113
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Schneidz

So weird,

I can access the DVD with spaces, as suggested, but I can't access the USB

Quote:
-bash-4.1$ ls
CC09-01D1 RHEL_6.3 x86_64 Disc 1
-bash-4.1$ cd CC09-01D1
-bash: cd: CC09-01D1: Permission denied

I'm trying to access the USB on CC09-01D1 but I get permission denied, but I can access the DVD on "RHEL_6.3 x86_64 Disc 1"
 
Old 11-18-2012, 09:26 AM   #114
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,093

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by carltonp View Post
The actual software is a network management application which can only be run on RedHat or Solaris
redhat is usually aimed at large enterprises (thats why the cost is so much per support contract). have you considered their community supported distro for home use: fedora ?
 
Old 11-18-2012, 10:01 AM   #115
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
Originally Posted by carltonp View Post
Oops!

Now take a look
Code:
mount /dev/sdb1 /whereever you want to have it/
the mountpoint must be an existing empty directory.

Markus
 
Old 11-18-2012, 10:04 AM   #116
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Hi Guys,

I totally have uncompress and compress on RHEL but when I issue the following command I get:

Quote:
[root@localhost Linux]# cd /
[root@localhost /]# sudo yum install compress uncompress ncompress
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id,
: refresh-packagekit, security, subscription-manager, tmprepo,
: verify, versionlock
Updating certificate-based repositories.
Unable to read consumer identity
Loading support for Red Hat kernel ABI
Setting up Install Process
No package compress available.
No package uncompress available.
Nothing to do
 
Old 11-18-2012, 10:05 AM   #117
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
As I understood your above postings you have already compress installed, didn't you?

Markus
 
Old 11-18-2012, 10:20 AM   #118
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
As I understood your above postings you have already compress installed, didn't you?

Markus
You're quite right.

It's just that I once again got the following error message so I for a minute assumed it wasn't installed:

Quote:
[root@localhost Linux]# ./newfile.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...

gzip: /tmp/install.dir.27319/Linux/resource/vm.tar.Z: not in gzip format
/tmp/install.dir.27319/Linux/resource/vm.tar.Z: not in compressed format

gzip: /tmp/install.dir.27319/Linux/resource/vm.tar.Z: not in gzip format
The included VM could not be uncompressed (GZIP/UNCOMPRESS). Please try to
download the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.

Not sure what else to do.
 
Old 11-18-2012, 10:26 AM   #119
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Guys the compress uncompress package is definitely installed.

Any final suggestions?
 
Old 11-18-2012, 10:27 AM   #120
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
I just don't understand why I'm getting the message that the compress package isn't installed.

Quote:
[root@localhost Linux]# cd /
[root@localhost /]# sudo yum install compress uncompress ncompress
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id,
: refresh-packagekit, security, subscription-manager, tmprepo,
: verify, versionlock
Updating certificate-based repositories.
Unable to read consumer identity
Loading support for Red Hat kernel ABI
Setting up Install Process
No package compress available.
No package uncompress available.
Nothing to do
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Converting a binary file from little endian to big endian jaepi Programming 6 09-05-2011 09:51 PM
'Cannot Execute Binary File' issue kickout Linux - Software 4 09-16-2010 10:54 PM
Tar archive from windows to linux, binary file issue jblevins Linux - General 3 04-13-2009 11:50 PM
converting a hex file to binary linx win Programming 3 07-20-2006 03:04 AM
j2sdk installation issue - cannot execute binary file mcolley73 Linux - Software 2 04-18-2004 12:40 PM


All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration