AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

vmo dosen't work

  • 1.  vmo dosen't work

    Posted Wed December 09, 2009 10:06 AM

    Originally posted by: belalvermeg


    Hi

    I am newbie with AIX and I need to install oracle on aix
    according to this site http://www.ibm.com/developerworks/aix/library/au-aixoracle/index.html I must do some step
    one of these steps is done by using the command VMO but every time I try to use it It throw the followin error
    "nlist64: A file or directory in the path name does not exist."

    thanks
    #AIX-Forum


  • 2.  Re: vmo dosen't work

    Posted Wed December 09, 2009 10:26 AM

    Originally posted by: alethad


    You didn't say but do you have all of the bos.perf and perfagent.tools filesets installed?

    Do lslpp -l |grep perf to see what you have if you don't know already.
    Just a thought off the top of my head.
    #AIX-Forum


  • 3.  Re: vmo dosen't work

    Posted Wed December 09, 2009 10:35 AM

    Originally posted by: belalvermeg


    thank you for your answer

    as I write above I am new with aix so I don't know if i have to install any files to make this command work
    the output of lslpp -l |grep perf is :
    bos.perf.diag_tool 5.3.0.40 VALIDE Performance Diagnostic Tool
    bos.perf.libperfstat 5.3.0.30 VALIDE Performance Statistics Library
    bos.perf.perfstat 5.3.0.40 VALIDE Performance Statistics
    bos.perf.proctools 5.3.0.30 VALIDE Proc Filesystem Tools
    bos.perf.tools 5.3.0.40 VALIDE Base Performance Tools
    bos.perf.tune 5.3.0.40 VALIDE Performance Tuning Support
    perfagent.tools 5.3.0.40 VALIDE Local Performance Analysis &
    bos.perf.diag_tool 5.3.0.40 VALIDE Performance Diagnostic Tool
    bos.perf.libperfstat 5.3.0.30 VALIDE Performance Statistics Library
    bos.perf.perfstat 5.3.0.40 VALIDE Performance Statistics
    bos.perf.tools 5.3.0.40 VALIDE Base Performance Tools
    bos.perf.tune 5.3.0.40 VALIDE Performance Tuning Support
    perfagent.tools 5.3.0.40 VALIDE Local Performance Analysis &
    #AIX-Forum


  • 4.  Re: vmo dosen't work

    Posted Wed December 09, 2009 11:05 AM

    Originally posted by: alethad


    Looks like you have everything you need for that.

    Have you checked your /unix link?
    Have you got it mismatched? Like you changed to 64 bit but forgot to change the /unix symbolic link.
    #AIX-Forum


  • 5.  Re: vmo dosen't work

    Posted Wed December 09, 2009 11:24 AM

    Originally posted by: belalvermeg


    sorry but how can I do that?
    #AIX-Forum


  • 6.  Re: vmo dosen't work

    Posted Wed December 09, 2009 11:25 AM

    Originally posted by: belalvermeg


    I didnt't do any thing like change from 64bit
    #AIX-Forum


  • 7.  Re: vmo dosen't work

    Posted Wed December 09, 2009 11:52 AM

    Originally posted by: alethad


    Check to see which bit mode you're running with:

    bootinfo -K >>output will say 32 or 64

    Then check the /unix link to see if you're running the correct kernel. this is mine below. I run in 64bit mode.

    1. ls -al /unix

    lrwxrwxrwx 1 root system 21 Sep 10 2007 /unix -> /usr/lib/boot/unix_64
    So did you inherit this system? You didn't build it yourself? Right?
    Have you got a good mksysb? That's what AIX refers to as an OS backup. Which is a backup of just the rootvg. So if you ever crash you can restore the OS back down off of it.
    #AIX-Forum


  • 8.  Re: vmo dosen't work

    Posted Thu December 10, 2009 03:41 AM

    Originally posted by: belalvermeg


    • yes that true I didn't build it by myself

    • bootinfo -K >>output will say 32 or 64
    32
    • and we have backup for AIX

    #AIX-Forum


  • 9.  Re: vmo dosen't work

    Posted Thu December 10, 2009 09:04 AM

    Originally posted by: alethad


    Yeah it's a little of a bummer when you inherit systems. Just time consuming is all.

    OK so you're running in 32 bit mode.
    You forgot to send what your /unix looks like. I gave you the command previously.
    #AIX-Forum


  • 10.  Re: vmo dosen't work

    Posted Thu December 10, 2009 09:15 AM

    Originally posted by: alethad


    Sorry but I forgot to ask you what version of AIX are you running?
    In case you don't know that command:

    oslevel -s

    If that doesn't work then run it with a -r option instead.
    #AIX-Forum


  • 11.  Re: vmo dosen't work

    Posted Thu December 10, 2009 10:00 AM

    Originally posted by: belalvermeg


    1. oslevel -s
    5300-03-00-0000

    1. ls -al /unix
    lrwxrwxrwx 1 root system 21 10 dΘc 11:41 /unix -> /usr/lib/boot/unix_64
    #AIX-Forum


  • 12.  Re: vmo dosen't work

    Posted Thu December 10, 2009 10:16 AM

    Originally posted by: alethad


    Okay well part of your problem is that you are running in 32 bit mode but you have the kernel(/unix/unix_64) set for 64bit. That's a conflict.

    Do you know if the system was running at 64 bit and maybe someone changed the mode to 32? Or the system is running in 32bit but someone was trying to change over to 64bit but never finished? Is there anyone you can ask or help you investigate it?

    I wonder if you change the system environment parameter to 64bit if it would correct your problem.

    Can you do a lslpp -l |grep bos.mp
    Do you have the bos.mp64 filesets listed?
    #AIX-Forum


  • 13.  Re: vmo dosen't work

    Posted Thu December 10, 2009 10:50 AM

    Originally posted by: belalvermeg


    lslpp -l |grep bos.mp
    bos.mp 5.3.0.40 VALIDE Base Operating System
    bos.mp64 5.3.0.40 VALIDE Base Operating System 64-bit
    bos.mp 5.3.0.40 VALIDE Base Operating System
    bos.mp64 5.3.0.40 VALIDE Base Operating System 64-bit

    it looks that someone try something stupid on this machine and change the mode to 32bit
    I used the some commandss to run in mode 64bit and now command vmo is work
    "alethad" thank you very much

    question: are you from arab world cause your name "alethad" has a meaning in arabic world
    #AIX-Forum


  • 14.  Re: vmo dosen't work

    Posted Thu December 10, 2009 10:59 AM

    Originally posted by: alethad


    I think someone needs 50 lashes with a wet noodle. Hopefully they haven't done anything else that can really damage your system. Have they touched any other systems?
    You need to lock down the root password ASAP if you can if what you say is true. Only root can make those changes.

    So you set it back to 64bit with the bootinfo command or through SMIT?

    If you are new to AIX do you have scripts that will make a system map of your system? You know stuff like disks, what is on the disks, volume groups, SAN paths...etc.. So that if it should ever die on you, you will at least have something to go by? I can send you a basic script that you can take to modify to your own environment but it's a start at least. I also use this script in a cron on each system then on my main admin system I pull the file from each one and store it. If you already have something then fine.
    Good luck.

    P.S. and no I am not. my name is a form of althea which is Greek. the d is a middle initial.
    #AIX-Forum


  • 15.  Re: vmo dosen't work

    Posted Thu December 10, 2009 11:39 AM

    Originally posted by: belalvermeg


    ha ha ha, it needs more than 50.
    I will change the password of root now

    I didn't use smit, I used some command to do that

    yes I am new to aix

    yes please send me the scripts, Every help will be very appreciated
    Thanks.

    P.S. I like your national football team
    #AIX-Forum


  • 16.  Re: vmo dosen't work

    Posted Thu December 10, 2009 11:51 AM
      |   view attached

    Originally posted by: alethad


    Here are system info gathering scripts that I use. I tar'd them into 1 file. I am not the best script writer in the world so don't complain. But these work for me. I work in a small environment. You'll need to modify these as you see fit.

    I will say that any file ending with shark(IBM shark) are for SAN disks using SDD which gives names as vpathXX names. The mpio is for SAN disks using the mpio drivers which gives SAN disks hdisk names.

    There are also a couple of scripts that I use to get my HACMP configurations which are the 2 files show_rg and show_topology. You may not be using HACMP so just disregard them.

    I have the main gather file, such as gather_cron_shark, set up in my crontab to run once a month on each of my systems. The output gets backed up every day and I run another cron job on my main AIX system to grab these outputs and store them for each system. Since I am a small shop I use the rcp command to grab the files.

    If you have any questions let me know.
    Let me know if these help.
    Good luck.
    #AIX-Forum

    Attachment(s)