LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 12-07-2013, 03:58 PM   #1
jmishal
LQ Newbie
 
Registered: Jun 2008
Posts: 19

Rep: Reputation: 0
ERROR: Copy of CD image failed


Hi

I tried to boot as single-user mode on my sunfire t1000 to change my root password since the guy has left the company without give us the root password.

anyhow since this machine not have attached with cd/dvd/usb so the only think that to do it through Jumpstart

now i tried to preparing my other machine sunfire v100 running solaris 9 as Jumpstart Server

and i have download the image of of Solaris 10 Sparc .iso and following the bellow steps as mention it on other support forums/blogs

# lofiadm -a sol-10-u11-ga-sparc-dvd.iso

/dev/lofi/1
# mount -o ro -F hsfs /dev/lofi/1 /mnt

Now i have created the installation directory on the server:

# mkdir -p /export/install


# cd /mnt/Solaris_10/Tools

# ./setup_install_server /export/install

Verifying target directory...
Calculating the required disk space for the Solaris_10 product
Calculating space required for the installation boot image
Copying the CD image to disk...
ERROR: Copy of CD image failed


so my issue stop here

ERROR: Copy of CD image failed

I have tried many different ways to solve this with no successful

I add this
set hsfs:nhsnode=4096 on /etc/system and reboot the machine since no error appear on /var/adm/messages for the same
I also re download solaris image either CD or DVD.
I have also check the disk space there is enough space on /export. Before i starting run the script

I can't determine whats

Any suggestions?
 
Old 12-08-2013, 02:12 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Run:
Code:
truss -f ./setup_install_server /export/install >/tmp/truss.out 2>&1
and look for errors at the end of the capture.
 
Old 12-08-2013, 10:19 AM   #3
jmishal
LQ Newbie
 
Registered: Jun 2008
Posts: 19

Original Poster
Rep: Reputation: 0
thank you for quick replay me ,, i have following your instruction and seems there is some errors but I'm not understood whats meaning. below the error


PHP Code:

3290
:   close(3)                                        = 0
3290
:   chdir("..")                                     = 0
3290
:   open("."O_RDONLY|O_NDELAY|O_LARGEFILE)        = 3
3290
:   fstat64(30xFFBFE3C0)                          = 0
3290
:   fcntl(3F_SETFD0x00000001)                   = 0
3290
:   llseek(30SEEK_CUR)                          = 0
3290
:   llseek(3856SEEK_SET)                        = 856
3290
:   getdents64(30x000286F88192)                 = 0
3290
:   close(3)                                        = 0
3290
:   chdir("..")                                     = 0
3290
:   open("."O_RDONLY|O_NDELAY|O_LARGEFILE)        = 3
3290
:   fstat64(30xFFBFE960)                          = 0
3290
:   fcntl(3F_SETFD0x00000001)                   = 0
3290
:   llseek(30SEEK_CUR)                          = 0
3290
:   llseek(399130SEEK_SET)                      = 99130
3290
:   getdents64(30x000286F88192)                 = 8176
3290
:   llseek(30SEEK_CUR)                          = 130352
3290
:   fstatat64(-3041965"SUNWgnome-img-editor-share"0xFFBFE9600x00001000) = 0
3290
:   pathconf("SUNWgnome-img-editor-share"101)     Err#22 EINVAL
3290:   close(3)                                        = 0
3290
:   open("SUNWgnome-img-editor-share"O_RDONLY|O_NDELAY|O_LARGEFILE) = 3
3290
:   fstat64(30xFFBFE3C0)                          = 0
3290
:   fcntl(3F_SETFD0x00000001)                   = 0
3290
:   chdir("SUNWgnome-img-editor-share")             = 0
3290
:   getdents64(30x000286F88192)                 = 200
3290
:   llseek(30SEEK_CUR)                          = 2048
3290
:   fstatat64(-3041965"archive"0xFFBFE3C00x00001000) = 0
3290
:   pathconf("archive"101)                        Err#22 EINVAL
3290:   close(3)                                        = 0
3290
:   open("archive"O_RDONLY|O_NDELAY|O_LARGEFILE)  = 3
3290
:   fstat64(30xFFBFDE20)                          = 0
3290
:   fcntl(3F_SETFD0x00000001)                   = 0
3290
:   chdir("archive")                                = 0
3290
:   getdents64(30x000286F88192)                 = 80
3290
:   llseek(30SEEK_CUR)                          = 2048
3290
:   fstatat64(-3041965"no^C 
 
Old 12-08-2013, 01:45 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
These errors are harmless. You should let truss run until the end, where the "ERROR: Copy of CD image failed" message is printed.
 
Old 12-08-2013, 02:04 PM   #5
jmishal
LQ Newbie
 
Registered: Jun 2008
Posts: 19

Original Poster
Rep: Reputation: 0
ooch

sorry my mistake here again the tail of truss.out

Code:
3524:   lstat64("Anchorage", 0xFFBFE8C8)                = 0
3524:   lstat64("Anguilla", 0xFFBFE8C8)                 = 0
3524:   lstat64("Antigua", 0xFFBFE8C8)                  = 0
3524:   lstat64("Araguaina", 0xFFBFE8C8)                = 0
3524:   lstat64("Argentina", 0xFFBFE8C8)                = 0
3524:   open("Argentina", O_RDONLY|O_NDELAY|O_LARGEFILE) = 10
3524:   fstat64(10, 0xFFBFE7B8)                         = 0
3524:   fcntl(10, F_SETFD, 0x00000001)                  = 0
3524:   chdir("Argentina/")                             = 0
3524:   getdents64(10, 0x000369B8, 8192)                = 416
3524:   lstat64("Buenos_Aires", 0xFFBFE798)             = 0
3524:   lstat64("Catamarca", 0xFFBFE798)                = 0
3524:   lstat64("Cordoba", 0xFFBFE798)                  = 0
3524:   lstat64("Jujuy", 0xFFBFE798)                    = 0
3524:   lstat64("La_Rioja", 0xFFBFE798)                 = 0
3524:   lstat64("Mendoza", 0xFFBFE798)                  = 0
3524:   lstat64("Rio_Gallegos", 0xFFBFE798)             = 0
3524:   lstat64("Salta", 0xFFBFE798)                    = 0
3524:   lstat64("San_Juan", 0xFFBFE798)                 = 0
3524:   lstat64("San_Luis", 0xFFBFE798)                 = 0
3524:   lstat64("Tucuman", 0xFFBFE798)                  = 0
3524:   lstat64("Ushuaia", 0xFFBFE798)                  = 0
3524:   getdents64(10, 0x000369B8, 8192)                = 0
3524:   chdir("..")                                     = 0
3524:   lstat64(".", 0xFFBFE8C8)                        = 0
3524:   close(10)                                       = 0
3524:   lstat64("Aruba", 0xFFBFE8C8)                    = 0
3524:   lstat64("Asuncion", 0xFFBFE8C8)                 = 0
3524:   lstat64("Atikokan", 0xFFBFE8C8)                 = 0
3524:   lstat64("Bahia", 0xFFBFE8C8)                    = 0
3524:   lstat64("Bahia_Banderas", 0xFFBFE8C8)           = 0
3524:   lstat64("Barbados", 0xFFBFE8C8)                 = 0
3524:   lstat64("Belem", 0xFFBFE8C8)                    = 0
3524:   lstat64("Belize", 0xFFBFE8C8)                   = 0
3524:   lstat64("Blanc-Sablon", 0xFFBFE8C8)             = 0
3524:   write(1, " . / . i n s t a l l / J".., 5120)    Err#32 EPIPE
3524:       Received signal #13, SIGPIPE [default]
3520:       Received signal #14, SIGALRM, in sigsuspend() [caught]
3520:   sigsuspend(0xFFBFFA78)                          Err#4 EINTR
3520:   setcontext(0xFFBFF760)
3520:   alarm(0)                                        = 0
3520:   sigprocmask(SIG_UNBLOCK, 0xFFBFFA98, 0x00000000) = 0
3520:   sigaction(SIGALRM, 0xFFBFF9F8, 0x00000000)      = 0
3520:   _exit(0)
3518:   waitid(P_PID, 3520, 0xFFBFF7F0, WEXITED|WTRAPPED|WNOWAIT) = 0
3518:   ioctl(0, TIOCGPGRP, 0xFFBFF7AC)                 Err#6 ENXIO
3518:   getpgid(3520)                                   = 3250
3518:   ioctl(0, TIOCGPGRP, 0xFFBFF7AC)                 Err#6 ENXIO
3518:   waitid(P_PID, 3520, 0xFFBFF7F0, WEXITED|WTRAPPED) = 0
3518:   _exit(2000)
 
Old 12-08-2013, 03:14 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I don't see the "ERROR: Copy of CD image failed" message in your last post.
 
Old 12-08-2013, 03:24 PM   #7
jmishal
LQ Newbie
 
Registered: Jun 2008
Posts: 19

Original Poster
Rep: Reputation: 0
here the hole file

https://www.dropbox.com/s/e6s08qrczj68d5l/truss.out.txt
 
Old 12-09-2013, 12:48 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The error looks to be here:

Code:
3522: lstat64("/tmpdir/cpioIuaq4g", 0xFFBFF3F8) Err#2 ENOENT
3522: open64("/tmpdir/cpioIuaq4g", O_RDWR|O_CREAT|O_EXCL, 0600) Err#2 ENOENT
3522: fstat64(2, 0xFFBFE5C8)        = 0
3522: write(2, " c p i o :  ", 6)     = 6
3522: write(2, " c a n n o t   o p e n  ".., 20)  = 20
3522: write(2, " / t m p d i r / c p i o".., 18)  = 18
3522: write(2, " ,   e r r n o  ", 8)     = 8
3522: write(2, " 2 ,  ", 3)       = 3
3522: write(2, " N o   s u c h   f i l e".., 25)  = 25
3522: write(2, "\n", 1)       = 1
3522: write(2, " 1", 1)       = 1
3522: write(2, "   e r r o r s\n", 8)     = 8
3522: _exit(1)
Check if the TMPDIR variable is set in your environment and points to a missing directory.

If that's the case, either unset it or set it to the correct location:

Code:
TMPDIR=/tmp 
./setup_install_server
 
1 members found this post helpful.
Old 12-10-2013, 03:55 AM   #9
jmishal
LQ Newbie
 
Registered: Jun 2008
Posts: 19

Original Poster
Rep: Reputation: 0
thank you for your effort
issue has been solved

add TMPDIR to env seems the installation continue without error
 
  


Reply



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
Error 502 : Display Fatal Error Message, Error pushing image, dbpaCT failed! HaloCheng Linux - Newbie 1 09-12-2012 12:02 PM
Find image files and copy it to a common directory failed matrix13 Linux - Newbie 12 04-01-2012 10:59 PM
cp of dd image failed, better to mount image and then copy? bmcws Linux - Newbie 5 06-23-2009 06:41 PM
Gnome Nautilus CD-Creator Error - File image creation failed joffa Linux - Software 1 04-19-2005 01:07 AM
Error - Can't copy installation image? Hard drive probably doesnt have enough room? spfdz Fedora - Installation 1 03-02-2005 02:35 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:29 PM.

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