Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by macrun95

  1. macrun95

    Trying to install yum for AIX

    I'm trying to install yum for AIX on an lpar running 6100-09-09-1717. It was failing with 2 dependency errors and I was able to fix those. I found them on the AIX 6.1. install media. Now when I run the rpm command I get a new dependency error. josdev(root)[pts/1]/tmp/yum> rpm -ivh *.rpm...
  2. macrun95

    I had a cifs mount blow up and now

    I had a cifs mount blow up and now it won't let me delete the mount point. I get the below error: [root@linux mnt]# rm -rf pcr_share rm: cannot lstat `pcr_share': No such device The mount isn't mounted anymore I just need to delete the directory and recreate it. I can list it out in the /mnt...
  3. macrun95

    KornShell function works in AIX 5.3 and 7.1 but not 6.1

    I'm running the following code on three different levels of AIX and getting different results. It works fine on 5.3 and 7.1 but not 6.1. I'm running ksh version 88 on all three systems. # Function GetDate nDays [format] function GetDate { typeset -i nDays=$1; format=$2 eval $(echo $TZ |...
  4. macrun95

    Can I create a logical volume on a specific physical volume

    I have 2 physical volumes (/dev/sdb1 and /dev/sdb2) in a volume group called datavg. I have created 2 filesystems (/mnt/testfs and /mnt/test2fs) and lvcreate created them both on /dev/sdb1. Is there a way to create another logical volume and specify it be created on /dev/sdb2? I can do it in...
  5. macrun95

    KSH, Passing more than one variable to a function

    I found the problem. It is the 'exit 1' in the function. It would create the first file and then exit out of the loop and not create the second file. I removed it and now it's working properly. Thanks for your help.
  6. macrun95

    KSH, Passing more than one variable to a function

    Thanks, I see what I was doing wrong and that works for the first positional parameter but it won't pass the second one.
  7. macrun95

    KSH, Passing more than one variable to a function

    How can I pass more than one vatiable to a function? Here is the code. Thanks SOURCEDIR=/us1/ximport RESULTDIR=/us1/ximport/result RPTDATETIME=$(date +%Y-%m-%d_%H.%M.%S) TEST=NO OPERATOR=exp PRACFILE=111111111111111111111111111111111111111111111111111111111111 GPMSDIR=/gpms PRACNAME='...
  8. macrun95

    Bypassing /etc/nologin for specific users

    Is there a way to bypass the /etc/nologin for specific users? Maybe some type of 'allow' file. I understand it defeats the purpose of nologin but our month end process needs a specfic user to login but not any other users. Thanks
  9. macrun95

    Overland tape storage system on VIO servers

    Thanks. In order to get it to work I think we are going to have to install another fibre card and present that card directly to the TSM lpar. It doesn't work being zoned out on our current switch.
  10. macrun95

    Overland tape storage system on VIO servers

    Does anyone happen to know how to get an Overland NEO 4000e changer and tape drives to be recognized by VIO servers? We had the changer installed and zoned on our fibre channel network to our 9117-570 but get an error message when running cfgdev that it can't find the devices.fcp.changer...
  11. macrun95

    Corrupted mount point showing as #

    We found the problem. There was a stanza directly above this one that was commented out with pound signs. I removed the stanza from /etc/filesystems and was able to mount the filesystem as normal. Apparently, /etc/filesystems doesn't like pound signs for comments. Thanks for the response.
  12. macrun95

    Corrupted mount point showing as #

    I'm having an issue where a mount point got corrupted somehow. I've never seen this before. The lsvg command shows: edge(root)[pts/0]/> lsvg -l datavg datavg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT loglv02 jfs2log 1 1 1 closed/syncd...
  13. macrun95

    Using mkdvd to create an iso image

    I'm trying to use mkdvd to make an iso image to use to boot/create lpars from the vio. I have some success doing it but sometimes it fails or appears to just hang. When it appears to hang I see the following: gpmshub(root)[pts/8]/tarbackups # mkdvd -m /tarbackups/geo.mksysb -S -V tarvg...
  14. macrun95

    Converting the date in the wtmp file

    Cool, thanks!
  15. macrun95

    Converting the date in the wtmp file

    How do I convert the date in the wtmp file to the current date? jemcw pts/0 pts/0 7 286886 0000 0000 [COLOR=red]1261410268[/color red] 10.99.9.7

Part and Inventory Search

Back
Top