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 dencom 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: bdw238
  • Content: Threads
  • Order by date
  1. bdw238

    NIM Network Routes

    Hello All, Can anyone time me the location where nim stores user defined NIM Network Routes (i.e. The location of the text file)? Here is my "/etc/niminfo" file for reference: #------------------ Network Install Manager --------------- # warning - this file contains NIM configuration...
  2. bdw238

    High Availability Nim

    Hello All, I am looking into using NIM to create a standard opearting Environment for are Aix Servers. Are Company has two nim servers on different subnets and my plan is to setup one server as the master and other server as an Alternate Master. The master server will control Spots...
  3. bdw238

    Pattern Matching in Bash

    Hello, Can someone advise me how to pattern match like the following bit of perl code in BASH $message="There has been an error detected"; $pattern="error"; if ($message =~ m/$pattern/i) { print "Found error\n"; } elsif { # Do nothing } Brian
  4. bdw238

    File type and magic

    I using the compress::zlib library to gzip files in perl, which I have working. However, if use the `file` command on a perl procduced gzip file I get /dag_t # file dag_t_1_1099_615050359.arc.gz dag_t_1_1099_615050359.arc.gz: data or International Language text istead of (using gzip command)...
  5. bdw238

    ZOS Question

    Is it possible to run Unix cksum and sum checksums on the zOS operating System? Thanks Brian
  6. bdw238

    Perl Flock and Aix 5.3?

    On attempting to use the flock function in my perl script on Aix 5.3 server, and it does not lock correctly. What I am doing wrong? sysopen($lockhandle,"/var/locks/test.lock",O_RDWR | O_CREAT,0664) || die ("Can Not open $LOCKFILE: $!\n"); unless (flock($lockhandle,LOCK_EX |LOCKNB)) { exit 1...
  7. bdw238

    flock() not working in my Perl script.. Why??

    On attempting to use the flock function in my perl script on Aix 5.3 server, and it does not lock correctly. What I am doing wrong? sysopen($lockhandle,"/var/locks/test.lock",O_RDWR | O_CREAT,0664) || die ("Can Not open $LOCKFILE: $!\n"); unless (flock($lockhandle,LOCK_EX |LOCKNB)) { exit 1...
  8. bdw238

    Nmon and Aix 5.3 ML3

    Hello, On one of Aix 5.3 machines we are running nmon to monitor the CPUS, we have noticed on the odd occasion that a CPU row goes missing on nmon output. For example on output below, CPU 2 will go missing : qqnmon-v10rqqqr=ResourcesqqqqqqqqHost=skyhawkqqqqqqqqRefre...
  9. bdw238

    Perl and Aix

    Hello, I want to build a perl module (File-RsyncP-0.68) on some Aix 5.2, Aix 5.3 servers. I don't have a copy of the IBM c, C++ compiler(s) but do have gcc V4 installed. Can I compile the perl module safely using gcc, even if the orginal Aix version of perl may have been compiled with IBM...
  10. bdw238

    Bash Startup Script

    I writing a Linux Startup Script to control starting, stopping, restarting a perl daemon script. I have copied the start and stop elements below: AUTOFTPSCRIPT=/home/ftp/FTPTransfer.pl case "$1" in start) echo -n "Starting FTP Transfer Script: " $AUTOFTPSCRIPT touch...
  11. bdw238

    Apache Configuration

    I using Suse 9.3 Apache 2 to host my website, can anyone tell how to find out how this version of apache was built. i.e. The configure command. For example, the Suse 9.3 pre-built php 4 show you this for php by displaying phpinfo() ./configure' '--prefix=/usr' '--datadir=/usr/share/php'...
  12. bdw238

    Calling Perl Sub routine from variables

    Can I call a perl function from variable like in php? e.g in php function addition ($a,$b) echo ($a +$b), "\n"; } $result = "addition"; $result(3,6); Thanks Brian
  13. bdw238

    TSM and Client Server System Date changes

    We have number of Test/Dev servers which are backed up by TSM, which we allow the developers and testers to roll the system date back/forth by 6 months for when developing/testing various type of batch jobs. Hence, various files may be created or changed with inconsistent timestamps. Would A...
  14. bdw238

    Perl and daemonize

    I am writing perl daemonize script, using the below function to daemonize the process sub daemonize1 { chdir '/' or die "Can't chdir to /: $!"; open STDIN, '/dev/null' or die "Can't read /dev/null: $!"; open STDOUT, '>>/dev/null' or die "Can't write to /dev/null...
  15. bdw238

    setuid and fork.

    #!/usr/bin/perl -w Can someone advise me please I am writing a script (run as root) that forks many child process's, which need to run as different user (ftppub, sftppub). I need the main code of script to stay as root, whereas the forked processes have a uid of sftppub, ftppub. Can this...
  16. bdw238

    perl setuid and fork

    #!/usr/bin/perl -w Can someone advise me please I am writing a script (run as root) that forks many child process's, which need to run as different user (ftppub). I need the main code of script to stay as root, whereas the forked processes have a uid of ftppub. Can this been done? Regards...
  17. bdw238

    Cached passwords

    Hello, I have noticed that Tivoli 3.9.0 monitor seems to cache the old Aix 5.3 UNIX password after a UNIX password change? Is this a known problem? Is there a work around? Regards Brian
  18. bdw238

    Kerberos 5

    Hello, I am currently in process of designing a Kerberos 5 single sign on for are 15 PSeries Servers. I would like some advice on how to capture the "3004-333 A password change is required" in a script, so that I can I force a password change on a user before they receive a shell prompt, see...
  19. bdw238

    Kerberos Replication

    When trying to replication the master krb database, the following occurs: [halo]: /usr/krb5/sbin # ./config.krb5 -P -r VENTURA-UK.COM -d ventura-uk.com> Creating host/halo.ventura-uk.com@VENTURA-UK.COM... Principal "host/halo.ventura-uk.com@VENTURA-UK.COM" created. Creating...
  20. bdw238

    AIX 5.3 ML 3 - openldap-2.3.11

    The test008-concurrency test of openldap fails, any indes please? Brian Notes, Compiled with: gawk-3.1.3-1 flex-2.5.4a-6 autoconf-2.59-1 automake-1.8.5-1 libtool-1.5.8-1 gdb-6.0-1 openssl-devel-0.9.7d-1 gcc 4.0.2 Berkeley db-4.3.27 MIT krb5-1.4.3 cyrus-sasl-2.1.20 with the GCC 4.02 patch...

Part and Inventory Search

Back
Top