10 More Discussions You Might Find Interesting
1. AIX
1)We have 2 node cluster RAC on AIX:
->test1
->test3
2) After rebooting server both the node sequentailly, we are getting below error from errpt command :
# errpt |more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
FE2DEE00 0901223914 P S SYSXAIXIF DUPLICATE IP ADDRESS... (2 Replies)
Discussion started by: manjusharma128
2 Replies
2. Shell Programming and Scripting
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
3. Shell Programming and Scripting
Hello,
I'm a UNIX SysAdmin at a large webhosting company and we have a vendor that provides a service which involves the ftp'ing of files from their servers to ours. They initiate FTP using a perl script with NET::FTP.
When they try to transfer files (and delete files over ftp), there is... (3 Replies)
Discussion started by: tmmgeekette
3 Replies
4. Shell Programming and Scripting
Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies
5. Infrastructure Monitoring
When I run a script that polls a router I get the following error from net-snmp. I can not seem to find a straight answer. Could my mib files be corrupt?
xxx-xxx:/etc/sma/snmp/mibs# perl /export/home/user/perl/test.pl
Unlinked OID in SNMPv2-MIB: snmp ::= { mib-2 11 }
Undefined identifier:... (2 Replies)
Discussion started by: mrlayance
2 Replies
6. Shell Programming and Scripting
Wondering if anyone can help or advise on following issue.
The below script should simply connect to a different server and retrieve certain files for me.
use lib "/xxxxx/xxxxx/xxxxx/xxxx";
use Net::FTP;
my $directory = "xxxxxxxx";
my $destinationDir = "xxxxxxxxx";
my $filePrefix =... (1 Reply)
Discussion started by: meevagh
1 Replies
7. Infrastructure Monitoring
on my sol10x86 10/08 box, i needed to remove the native snmp agent (sma) for net-snmp-5.4.2.1. once net-snmp was configured and installed, i reconfigured the appropriate files of smf and attempted to restart. service was put into maintenance mode:
... (1 Reply)
Discussion started by: pupp
1 Replies
8. Solaris
Hi,
I am trying to compile the source code for Net-SNMP-5.4.2.1 using the gcc compiler-3.4.6 and 3.4.3 but I am getting the follwoing error with perl enabled:
/bin/sh ../libtool --mode=link gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe -Wdeclaration-after-statement... (2 Replies)
Discussion started by: tisha
2 Replies
9. Solaris
Hi there,
I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions.
My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below.
Oct 4 21:39:46 host last message repeated 3... (5 Replies)
Discussion started by: sundar63
5 Replies
10. Shell Programming and Scripting
Hi,
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies
NPRINT(1) nprint NPRINT(1)
NAME
nprint - NetWare print client
SYNOPSIS
nprint [ -S server ] [ -h ] [ -U username | -n ] [ -C ] [ -q queuename ] [ -d job-description ] [ -p pathname-in-banner ] [ -B username-in-
banner ] [ -s ] [ -f filename-in-banner ] [ -l lines ] [ -r rows ] [ -c copies ] [ -t tab size ] [ -T ] [ -N ] [ -F form-number ] filename
DESCRIPTION
With nprint, you can print files on print queues of a NetWare file server.
There are a lot of options, so you should probably wrap some default configurations into some shell scripts.
nprint looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information.
Please note that the access permissions of .nwclient MUST be 600, for security reasons.
OPTIONS
filename
filename is the name of the file you want to print. If file is '-', or no filename is given, standard input is used.
-h
-h is used to print out a short help text.
-S server
server is the name of the server you want to use.
-U username
username is the user name to use for the print request at the server.
-P password
password is the password to use for the print request at the server. If neither -n nor -P are given, and the user has no open connec-
tion to the server, nprint prompts for a password.
-n
-n should be given if no password is required for the print request.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
-q queuename
queuename is the name of the print queue to use at the print server. At present, you must specify it in upper case characters.
-d job-description
job-description is the string that appears in pconsole when you list the jobs for the print queue. It will also appear in the "Descrip-
tion" field on the banner page.
-p pathname-in-banner
pathname-in-banner is the string (up to 79 characters) you want to be printed in the "Directory" field on the banner page.
-B username-in-banner
username-in-banner is the string (up to 12 characters) you want to appear on the lower part of the banner page. It will also appear in
the "User name" field.
-s
Supress printing of banner page
-f filename-in-banner
filename-in-banner is the string (up to 12 characters) you want to appear in large letters on the lower part of the banner page.
Default: the name of the file that is printed, or 'stdin'.
-l lines
lines is the number of lines to put on one page. Default: 66.
-r rows
rows is the number of rows to put on one page. Default: 80.
-c copies
copies tells the print server to the specified number of copies. Default: 1.
-t tabs
tabs is the number of spaces to print for a Tab-Character. Default: 8.
-T
tells the print server to expand Tab-Character and use 8 spaces
-N
tells the print server not to use Form Feeds
-F form-number
form-number is the the number of the form to be put into the printer. If it's different from the one currently in the printer, your job
is only printed if a printer operator has put in the correct form.
NOTES
The '-B' option was formerly '-b'. But it conflicted with 'bindery only' login option.
SEE ALSO
nwclient(5), slist(1), pqlist(1), ncpmount(8), ncpumount(8)
CREDITS
nprint was written by Volker Lendecke (lendecke@math.uni-goettingen.de)
nprint 12/27/1995 NPRINT(1)