LinuxQuestions.org
Review your favorite Linux distribution.
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-16-2009, 10:40 PM   #1
deci007
Member
 
Registered: Sep 2007
Posts: 44

Rep: Reputation: 15
./setup_install_server not working on RHEL5


Code:
[root@rhel5srv Tools]# uname -a
Linux rhel5srv 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

[root@rhel5srv Tools]# mount
....
/dev/mapper/OsImageVG-rhel5LV on /OSIMAGE/rhel5 type ext3 (rw)
/dev/mapper/OsImageVG-solaris10LV on /OSIMAGE/solaris10 type ext3 (rw)
/dev/hda on /mnt/cdrom type iso9660 (ro)

[root@rhel5srv Tools]# pwd
/mnt/cdrom/Solaris_10/Tools

[root@rhel5srv Tools]# ./setup_install_server /OSIMAGE/solaris10/
./setup_install_server: line 785: mach: command not found
./setup_install_server: line 88: /usr/bin/sed: No such file or directory
./setup_install_server: line 89: [: !=: unary operator expected
Verifying target directory...
Calculating the required disk space for the Solaris_10 product
|\b\c
/\b\c
Calculating space required for the installation boot image
./setup_install_server: line 1064: [: 2485588: unary operator expected
Copying the CD image to disk...
|\b\c
./setup_install_server: line 1078: bar: command not found
./setup_install_server: line 1078: bar: command not found
ERROR: Copy of CD image failed
[root@rhel5srv Tools]#

Question: I am trying to setup RHEL5 as Solaris 10 install server. I am getting the above error. why is it giving error?

Question: Can i just use cp command to copy entire Solaris 10 DVD on local disk? or running script is required?
 
Old 11-16-2009, 11:22 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
It seems you have Solaris10 image at your Redhat machine and you are going to install solaris10 in Redhat itself, isn't it?
Solaris10 is another Unix based operating system you can't install Solaris as software installation in Redhat itself

If you like to use Solaris, use some virtual software and install the solaris virtual machine itself

Quote:
First of all this is a Solaris based shell script and i hope this is not the way to install Solaris because Solaris is an operation system

Last edited by kirukan; 11-16-2009 at 11:24 PM.
 
Old 11-17-2009, 12:14 AM   #3
deci007
Member
 
Registered: Sep 2007
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kirukan View Post
It seems you have Solaris10 image at your Redhat machine and you are going to install solaris10 in Redhat itself, isn't it?
Solaris10 is another Unix based operating system you can't install Solaris as software installation in Redhat itself

If you like to use Solaris, use some virtual software and install the solaris virtual machine itself
NO . U are getting the question wrong or you dont know what this script do.

This script basically copied your Solaris CD/DVD on to local harddisk which will be holding your install files.
 
Old 11-17-2009, 12:30 AM   #4
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Quote:
[root@rhel5srv Tools]# pwd
/mnt/cdrom/Solaris_10/Tools

[root@rhel5srv Tools]# ./setup_install_server /OSIMAGE/solaris10/
This is clearly showing that you are executing solaris script in Redhat. If you want to execute solaris script on linux you should consider the Shell and the commands

Quote:
you dont know what this script do.
Yess sure, because i don't know what is existing in script itself

Last edited by kirukan; 11-17-2009 at 12:32 AM.
 
  


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
RHEL5, lspci not working fzanella Linux - Newbie 2 07-22-2009 04:01 PM
multicasting is not working on RHEL5 kumarnine Linux - Networking 1 06-09-2009 08:39 AM
yum not working in rhel5 shipon_97 Linux - Newbie 1 05-10-2009 07:59 AM
mysql not working in php on RHEL5 swati athale Linux - Newbie 2 01-13-2009 04:41 AM
rhel5 yum not working spikesnet Red Hat 3 08-01-2007 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 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
Open Source Consulting | Domain Registration