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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  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
  16. macrun95

    Reseting all users passwords and login settings

    This is what I did this time and it worked. However, instead of using the lsuser command I'm going to create a text file of logins as input. users=`lsuser ALL | awk '{print $1}'` for i in $users do chsec -f /etc/security/passwd -s $i -a flags=ADMCHG done
  17. macrun95

    Reseting all users passwords and login settings

    This is what I did on my test system. When I ran it, it prompted me for a password for each user. I don't want it to do that I just want to force a password change. users=`lsuser ALL | awk '{print $1}'` for i in $users do passwd $i done
  18. macrun95

    Reseting all users passwords and login settings

    Due to meeting the requirements of a recent audit, I need to change some of the login parameters (minage, maxage, etc.) on all my lpars. I also need to reset all the users passwords so that the next time they login they will be required to change it to meet the new parameters. I've tried...
  19. macrun95

    Problem installing MySQL 5.1.36 on AIX 5.3

    I know this may not be the correct place to post this problem but the mysql forums have been no help. I'm trying to install MySQL 5.1.36 (mysql-5.1.36-aix5.3-powerpc-64bit) on AIX 5300-03-00. I am using the following command: scripts/mysql_install_db --basedir=/usr/local/mysql...
  20. macrun95

    Creation of /etc/nologin by another user

    Is there a way to allow another user to create the /etc/nologin file? I need to allow a user to create the nologin but don't want to give them root. I can do it via sudo but would rather they be able to create it from the command line. Thanks

Part and Inventory Search

Back
Top