Sponsored Content
Full Discussion: Unable to create a SPOT
Operating Systems AIX Unable to create a SPOT Post 302927642 by trivium012 on Thursday 4th of December 2014 09:35:25 AM
Old 12-04-2014
Hi Bakunin!

So while you answered me, I finally managed to install the OS by making a spot from a mksysb that was already there. So main problem fixed. But I still want to be able to create my own lpp_source and SPOT (for my own knowledge and to document properly)

So I downloaded the base image of AIX from the IBM website and created an lpp_source from it.

Code:
root@oaexpnimp01(/nim/OS_IMAG) # loopmount -i /nim/OS_IMAG/6.1_AIX_Operating_System_DVD_1_of_2_6100-09-04_112014.udf -o "-V cdrfs -o ro" -m /mnt/cdrom
root@oaexpnimp01(/nim/OS_IMAG) # cd /mnt/cdrom/
root@oaexpnimp01(/mnt/cdrom) # ls -l
total 84
-rw-rw-r--    1 4000     4000             42 Oct 15 12:43 .Version
drwxr-xr-x    2 4000     4000           2048 Oct 15 12:40 6100-09
-rw-r--r--    1 4000     4000             16 Oct 15 12:40 OSLEVEL
-rw-r--r--    1 4000     4000            981 Oct 15 12:40 README.aix
drwxrwxr-x    4 4000     4000           2048 Oct 15 12:41 RPMS
-rw-r--r--    1 4000     4000           6424 Oct 15 12:40 bosinst.data
-rw-r--r--    1 4000     4000          15081 Oct 15 12:40 image.data
drwxr-xr-x    4 4000     4000           2048 Oct 15 12:42 installp
drwxr-xr-x    3 4000     4000           2048 Oct 15 12:40 ppc
drwxr-xr-x    3 4000     4000           2048 Oct 15 12:40 root
drwxr-xr-x   11 4000     4000           2048 Oct 15 12:42 usr

root@oaexpnimp01(/mnt/cdrom) # nim -o define -t lpp_source -a server=master -a source=/mnt/cdrom/ -a location=/nim/lppsource/AIX61_00 AIX61_00
Preparing to copy install images (this will take several minutes)...

/nim/lppsource/AIX61_00/RPMS/ppc/cdrecord-1.9-9.aix5.3.ppc.rpm
/nim/lppsource/AIX61_00/RPMS/ppc/mkisofs-1.13-9.aix5.3.ppc.rpm
/nim/lppsource/AIX61_00/RPMS/ppc/expect-5.42.1-3.aix6.1.ppc.rpm
/nim/lppsource/AIX61_00/RPMS/ppc/tcl-8.4.7-3.aix6.1.ppc.rpm
/nim/lppsource/AIX61_00/RPMS/ppc/tk-8.4.7-3.aix6.1.ppc.rpm
/nim/lppsource/AIX61_00/installp/ppc/xlC.sup.aix50.rte.9.0.0.1.I
/nim/lppsource/AIX61_00/installp/ppc/xlC.rte.12.1.0.1.I
/nim/lppsource/AIX61_00/installp/ppc/xlC.msg.en_US.cpp.9.0.0.0.I
/nim/lppsource/AIX61_00/installp/ppc/xlC.cpp.9.0.0.0.I
/nim/lppsource/AIX61_00/installp/ppc/xlC.aix61.12.1.0.1.I
...

A crap load like the last lines...

Code:
Now checking for missing install images...
  
All required install images have been found. This lpp_source is now ready.
  
root@oaexpnimp01(/mnt/cdrom) # lsnim -c resources
boot                         resources       boot
nim_script                   resources       nim_script
spottest1                    resources       spot
AIX61_00                     resources       lpp_source
TSM_client_AIX_v55           resources       lpp_source
cas_client                   resources       installp_bundle
cas_server                   resources       installp_bundle
all_LPAR_MAG                 resources       script
all_LPAR_delete_user         resources       script
all_LPAR_create_user         resources       script
openssh_client               resources       installp_bundle
openssh_server               resources       installp_bundle
bid_ow                       resources       bosinst_data
VIOS_2_2_FP24_SP02           resources       mksysb
spot_VIOS_2_2_FP24_SP02      resources       spot
sc_listug                    resources       script
sc_rmuser                    resources       script
mksysb_exclude               resources       exclude_files
generic01_61TL6SP5           resources       mksysb
get_Audit_Files              resources       script
ottvio1_201208301727         resources       mksysb
sc_secgat                    resources       script
create_ug                    resources       script
sc_custom                    resources       script
oaexpviop01_201210140232     resources       mksysb
oaexpviop02_201210140239     resources       mksysb
  
root@oaexpnimp01(/mnt/cdrom) # nim -o define -t spot -a server=master -a location=/nim/spot/ -a source=AIX61_00 -a installp_flags=-aQg spot-AIX61_00
  
Creating SPOT in "/nim/spot/" on machine "master" from "AIX61_00" ...
  
Restoring files from BOS image.  This may take several minutes ...
  
  
Checking filesets and network boot images for SPOT "spot-AIX61_00".
This may take several minutes ...
  
warning: 0042-001 m_mkspot: processing error encountered on "master":
0042-175 c_ch_nfsexp: An unexpected result was returned by the
       "/usr/sbin/exportfs" command:
        exportfs: 1831-186 /nim/lppsource/AIX61_00 not found in /etc/exports
  
  
rc=0
warning: 0042-001 m_instspot: processing error encountered on "master":
   0042-175 c_ch_nfsexp: An unexpected result was returned by the
        "/usr/sbin/exportfs" command:
       exportfs: 1831-186 /nim/lppsource/AIX61_00 not found in /etc/exports
  
  
rc=0
warning: 0042-001 m_instspot: processing error encountered on "master":
   0042-062 m_ckspot: "spot-AIX61_00" is missing something which is
        required[/FONT]
  
  
root@oaexpnimp01(/mnt/cdrom) # lsnim -l spot-AIX61_00
 spot-AIX61_00:
   class         = resources
   type          = spot
   arch          = power
   Rstate        = information is missing from this object's definition
   prev_state    = verification is being performed
   info          = warning: 0042-157 c_ckspot: unable to access the "/nim/spot/spot-AIX61_00/usr/./lpp/bosinst/image.template" file
   location      = /nim/spot/spot-AIX61_00/usr
   version       = 6
   release       = 1
   mod           = 9
   oslevel_r     = 6100-09
   alloc_count   = 0
   server        = master
   Rstate_result = success
   mk_netboot    = yes
   missing       = "network boot image"
   missing       = bos.64bit
   missing       = bos.diag
     missing       = bos.mp64
     missing       = bos.net.nfs.client
     missing       = bos.net.tcp.client
     missing       = bos.net.tcp.smit
     missing       = bos.sysmgt.nim.client
     missing       = bos.sysmgt.nim.spot
     missing       = bos.sysmgt.serv_aid
     missing       = bos.sysmgt.smit
     missing       = bos.sysmgt.sysbr
     missing       = bos.terminfo
     missing       = bos.wpars
     missing       = mcr.rte

So I'm guessing I really do have an NFS problem, but I have no idea how to troubleshoot this problem...

Here's my exports file
Code:
 root@oaexpnimp01(/mnt/cdrom) # exportfs
  /nim/VIOS                            -vers=3,sec=sys:krb5p:krb5i:krb5:dh,rw,root=ottvio1:oaexpviop01:oaexpviop02
  /opera/scripts                       -sec=sys:krb5p:krb5i:krb5:dh,rw
  /nim/HMC                             -vers=3,sec=sys:krb5p:krb5i:krb5:dh,access=otthmc1,root=otthmc1
  /opera/nimfs                         -vers=3,sec=sys:krb5p:krb5i:krb5:dh,rw,root=ottwaspsp:ottland1:ottutil:ottwas1:ottfircoqa:oaexpswpp01:
ottdb1:oadejlandt01:oaexpnimp01:oaexpaix06:ottapps:oaexpsaap01:oaexpfffp01:oablcsaap01:oadejsaap01:oadejmqmdt01:oablclanp01
:oadejlanp01:oahedwasp01:oablcsaat1:oadejmqmp01:otticdqa:oamcbappp01:oldejwasdt01:oldejdb2dt01:oldejwasp01:oldejdb2p01:
oaacpwasp01:olicdlanp01:olsncwasp01:olsncdb2p01
  /opera/logiciels                     -vers=3,sec=sys:krb5p:krb5i:krb5:dh,rw,root=olicdlanp01:olsncwasp01:olsncdb2p01:olexpwpsr01
  /nim/spot                            -sec=sys:krb5p:krb5i:krb5:dh,rw,root=generic01
  /nim/lppsource                       -vers=2:3,sec=sys:krb5p:krb5i:krb5:dh,rw,root=ottland1:oaexpnimp01:generic01
  /nim/mksysb                          -vers=2:3,sec=sys:krb5p:krb5i:krb5:dh,rw,root=ottwaspsp:ottland1:ottutil:ottwas1:ottfircoqa:oaexpswpp01
:ottvio1:oaexpviop01:oaexpviop02:ottdb1:oaexpfffp01:oadejlandt01:oaexpnimp01:oaexpaix06:ottapps:oaexpsaap01:oablcsaap01:oadejsaap01
:oadejmqmdt01:oablclanp01:oadejlanp01:oahedwasp01:oablcsaat1:oadejmqmp01:oamcbappp01:oaacpwasp01:generic01
  /export/nim/scripts/generic01.script -ro,root=generic01,access=generic01

Thanks for the help!! Smilie

Moderator's Comments:
Mod Comment edit by bakunin: i took 20 min out of my life to remove (partially) all the superfluous markup. Sorry, i give up.

Last edited by bakunin; 12-08-2014 at 05:28 PM..
 

10 More Discussions You Might Find Interesting

1. AIX

Unable to create a group

Hi, I'm trying to create a new group on an AIX 5.2.0.0. server but am getting the following error: root:/root $ mkgroup debt 3004-698 Error committing changes to "debt" : Value is invalid. I've change the group name to no affect. Does anyone have any ideas what could be causing this? ... (0 Replies)
Discussion started by: m223464
0 Replies

2. Solaris

unable to create flar

Hello friend, Now i'm doing JDS3.1 in v440 servers.while checking the lustatus command getiing out like this lustatus Boot Environment Is Active Active Can Copy Name Complete Now On Reboot Delete Status -------------------------- --------... (0 Replies)
Discussion started by: rjay.com
0 Replies

3. UNIX for Dummies Questions & Answers

Unable to create alias

I am using Solaris 9 machine. I am unable to create any aliases. I gave the following command: alias ls='ls -ltr' It did nt give any errors. But next time, I use ls, it is working simply as ls but not like ls -ltr. I am not having admin permissions. Is it the reason. (3 Replies)
Discussion started by: mumashankar
3 Replies

4. UNIX for Dummies Questions & Answers

Unable to create a bootable tape

Good morning, I have no unix training. My daily backup failed with the following error. ' Cannot create /tmp/tape.bootimage because it already exists. I am using smit to run a rootvg and SAPvg backup. What should I do? (1 Reply)
Discussion started by: ubyankees
1 Replies

5. HP-UX

Need help. Unable to create threads after a certain number

Hi, I have a process which creates pthreads to generate some reports. After creating the reports these threads return null. But after 1024 threads, the process is not able to create any threads further.,and at max 5 threads are existing simultaneously and are returning the control back after... (2 Replies)
Discussion started by: Krsh
2 Replies

6. Solaris

Unable to create folder as a user

Hi All, I am trying to create a folder in /export/home/user1 directory as a user1 but I am getting the error message as -bash-3.00$ mkdir abc mkdir: Failed to make directory "abc"; Permission denied Also I tried creating the folder but it fails too -bash-3.00$ touch abc touch: cannot... (2 Replies)
Discussion started by: Manjunath K V
2 Replies

7. Red Hat

unable to open / create any file in vi

Hi, I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5, example vi test it showing nothing after entering command (9 Replies)
Discussion started by: manoj.solaris
9 Replies

8. AIX

Unable to Create spot from mksysb

Hello All, Kindly need help in my problem i.e. I get this error when i create spot from mksysb. #0042-001 nim: processing error encountered on "master": 0042-001 m_mkspot: processing error encountered on "master": 0042-175 c_mkspot: An unexpected result was returned by the... (2 Replies)
Discussion started by: emerann
2 Replies

9. Forum Support Area for Unregistered Users & Account Problems

Unable to create new thread

Hi. I registered, but when trying to post, I get ... "Sorry, you do not have enough Bits to post a new thread" Google & Forum search showed some hits, but no solution. Please advide. Thanks! (1 Reply)
Discussion started by: gehe
1 Replies

10. Solaris

Unable to create a ftp user only

Hi all I am facing difficulties when using the useraddcommand. when running useradd -u 60006 -g 100 -d /opt/xxx/yyy/z -m -s /bin/false ftpuser It does create the user, but with a wrong home directory. It creates its home directory at /home/ftpuser Please can you help? (2 Replies)
Discussion started by: fretagi
2 Replies
All times are GMT -4. The time now is 06:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy