10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
2. Shell Programming and Scripting
Hello,
I have another problem with my script. Please accept my apologies, but I am really nooby in sh scripts. I am writing it for first time.
My script:
returned=`tail -50 SapLogs.log | grep -i "Error"`
echo $returned
if ; then
echo "There is no errors in the logs"
fi
And after... (10 Replies)
Discussion started by: jedzio
10 Replies
3. Solaris
I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet.
... (2 Replies)
Discussion started by: christr
2 Replies
4. Shell Programming and Scripting
what is this error log = hda: irq timeout: error=0x00 and how to solve?
every day upon checking the logs i see this error.
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hw_client: segfault at 0000000000000046 rip... (3 Replies)
Discussion started by: avtalan
3 Replies
5. UNIX for Dummies Questions & Answers
im kinda new to shell scripting so i need some help
i try to run this script and get the error code
> 5 ")syntax error: operand expected (error token is "
the code for the script is
#!/bin/sh
#
# script to see if the given value is correct
#
# Define errors
ER_AF=86 # Var is... (4 Replies)
Discussion started by: metal005
4 Replies
6. UNIX for Advanced & Expert Users
Hi - I am getting the error
`Error reading response length from authentication socket'
when I ssh from my cluster to another cluster, and then back to my cluster. It doesn't seem to affect anything, but it's just annoying that it always pops up and tends to confuse new users of the cluster. I... (1 Reply)
Discussion started by: cpp6f
1 Replies
7. AIX
--------------------------------------------------------------------------------
Hello, help me please.
I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? :
Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies
8. UNIX for Advanced & Expert Users
I encounters a VSIFAX related error:
vfxstat: Cannot login to server on rsac3: Connect error to host 172.16.1.45: Invalid argument
It started happening last night with a core dump. Then we can't start VSIFAX again.
I am runing VSI-FAX 4.2 on AIX box (0 Replies)
Discussion started by: b_jin
0 Replies
9. UNIX for Dummies Questions & Answers
hi there
i write one awk script file in shell programing
the code is related to dd/mm/yy to month, day year format
but i get an error
please can anybody help me out in this problem ??????
i give my code here including error
awk `
# date-month -- convert mm/dd/yy to month day,... (2 Replies)
Discussion started by: Herry
2 Replies
10. UNIX for Dummies Questions & Answers
Hey guys, need some help. Running AIX Version 5.2 and one of our cron jobs is writing errors to a log file. Any ideas on the following error message.
Error: Internal system error: Unable to initialize standard output file
I'm guessing more info might be needed, so let me know.
Thanks (2 Replies)
Discussion started by: firkus
2 Replies
LD(1) General Commands Manual LD(1)
NAME
ld - loader
SYNOPSIS
ld [ option ] file ...
DESCRIPTION
Ld combines several object programs into one, resolves external references, and searches libraries. In the simplest case several object
files are given, and ld combines them, producing an object module which can be either executed or become the input for a further ld run.
(In the latter case, the -r option must be given to preserve the relocation bits.) The output of ld is left on a.out. This file is made
executable only if no errors occurred during the load.
The argument routines are concatenated in the order specified. The entry point of the output is the beginning of the first routine.
If any argument is a library, it is searched exactly once at the point it is encountered in the argument list. Only those routines defin-
ing an unresolved external reference are loaded. If a routine from a library references another routine in the library, and the library
has not been processed by ranlib(1), the referenced routine must appear after the referencing routine in the library. Thus the order of
programs within libraries may be important. If the first member of a library is named `__.SYMDEF', then it is understood to be a dictio-
nary for the library such as produced by ranlib; the dictionary is searched iteratively to satisfy as many references as possible.
The symbols `_etext', `_edata' and `_end' (`etext', `edata' and `end' in C) are reserved, and if referred to, are set to the first location
above the program, the first location above initialized data, and the first location above all data respectively. It is erroneous to
define these symbols.
Ld understands several options. Except for -l, they should appear before the file names.
-s `Strip' the output, that is, remove the symbol table and relocation bits to save space (but impair the usefulness of the debugger).
This information can also be removed by strip(1).
-u Take the following argument as a symbol and enter it as undefined in the symbol table. This is useful for loading wholly from a
library, since initially the symbol table is empty and an unresolved reference is needed to force the loading of the first routine.
-lx This option is an abbreviation for the library name `/lib/libx.a', where x is a string. If that does not exist, ld tries
`/usr/lib/libx.a'. A library is searched when its name is encountered, so the placement of a -l is significant.
-x Do not preserve local (non-.globl) symbols in the output symbol table; only enter external symbols. This option saves some space in
the output file.
-X Save local symbols except for those whose names begin with `L'. This option is used by cc(1) to discard internally generated labels
while retaining symbols local to routines.
-r Generate relocation bits in the output file so that it can be the subject of another ld run. This flag also prevents final defini-
tions from being given to common symbols, and suppresses the `undefined symbol' diagnostics.
-d Force definition of common storage even if the -r flag is present.
-n Arrange that when the output file is executed, the text portion will be read-only and shared among all users executing the file.
This involves moving the data areas up to the first possible 4K word boundary following the end of the text.
-i When the output file is executed, the program text and data areas will live in separate address spaces. The only difference between
this option and -n is that here the data starts at location 0.
-o The name argument after -o is used as the name of the ld output file, instead of a.out.
-e The following argument is taken to be the name of the entry point of the loaded program; location 0 is the default.
-O This is an overlay file, only the text segment will be replaced by exec(2). Shared data must have the same layout as in the program
overlaid.
-D The next argument is a decimal number that sets the size of the data segment.
FILES
/lib/lib*.a libraries
/usr/lib/lib*.a more libraries
a.out output file
SEE ALSO
as(1), ar(1), cc(1), ranlib(1)
BUGS
LD(1)