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...
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...
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
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)...
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...
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...
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...
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...
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...
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'...
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
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...
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...
#!/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...
#!/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...
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
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.