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!

Search results for query: *

  • Users: macrun95
  • Content: Threads
  • Order by date
  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

    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='...
  6. 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
  7. 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...
  8. 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...
  9. 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...
  10. 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
  11. 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...
  12. 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...
  13. 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
  14. macrun95

    Date subtraction in Korn shell scripting

    I was wondering if there is an easy way to subtract one day from the current date? I've found some old shell scripts online that convert to Julian, subtract, and then convert back to Gregorian. That seems like a lot of work and if there is an easier way to do it, that would be great. I need...
  15. macrun95

    I/O Error: There is no process to read data written to a pipe

    I'm getting an error message when I try to access a sqlserver from Unix (AIX). Has anyone seen this error before and could possibly give me some help and direction? The error is: I/O Error: There is no process to read data written to a pipe. java.sql.SQLException: I/O Error: There is no...
  16. macrun95

    Expect scripting

    I hope someone out there is knowledgeable in expect scripting. I'm trying to pass an escape code to the application. When the script gets to a SELECTION option I need it to pass a F2 which is mapped to ESCOQ on my keyboard. I tried just using the following: expect { timeout {failed...
  17. macrun95

    Pushing a file from one to many AIX LPARS

    I was wondering if anyone could help me with a scripting problem. I'm not very good at scripting but know the basics of Korn. I wrote a Korn script that I need to push to about 40 LPARS. I obviously don't want to ftp it to each LPAR by hand as that is very time consuming and I am sure there...
  18. macrun95

    Access to an AIX server

    Does anyone know of someone who will allow access to an aix system for learning purposes? I need to stay current on my aix skills but don't currently have access to a machine. Thanks, Eric [pc3]

Part and Inventory Search

Back
Top