Sponsored Content
Full Discussion: Encountered error!
UNIX Standards and Benchmarks UNIX & LINUX Benchmarks (Version 3.11) UNIX Benchmarks Encountered error! Post 302087908 by puspendu on Thursday 7th of September 2006 04:37:28 AM
Old 09-07-2006
Encountered error!

I used this on an AIX machine and encountered the following error.

$ ls -l
total 600
-rwxrwxrwx 1 e26936 dba 1491 Feb 07 1992 MANIFEST
-rwxrwxrwx 1 e26936 dba 8148 Apr 05 1992 Makefile
-rwxrwxrwx 1 e26936 dba 4852 Sep 06 2003 README
-rwxrwxrwx 1 e26936 dba 934 Sep 06 2003 README.submittal
-rwxrwxrwx 1 e26936 dba 13657 Apr 05 1992 Run
-rwxrwxrwx 1 e26936 dba 120991 Sep 06 2003 a.zip
-rwxrwxrwx 1 e26936 dba 90133 Apr 06 1992 awk.Z
drwxrwxrwx 2 e26936 dba 512 Sep 07 13:54 doc
drwxrwxrwx 2 e26936 dba 512 Sep 07 13:54 pgms
drwxrwxrwx 2 e26936 dba 512 Sep 07 13:51 results
-rwxrwxrwx 1 e26936 dba 19246 Apr 06 1992 sort.Z
drwxrwxrwx 2 e26936 dba 512 Sep 07 13:54 src
drwxrwxrwx 2 e26936 dba 512 Sep 07 13:54 testdir
drwxrwxrwx 2 e26936 dba 512 Sep 07 13:54 time
drwxrwxrwx 2 e26936 dba 512 Sep 07 13:52 tmp
$ make
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./doc exists
/bin/sh: test: 0403-004 Specify a parameter with this command.
exists
./results exists
gcc -o ./pgms/arithoh -DTIME -O -Darithoh ./src/arith.c
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/include/sys/signal.h:309,
from /usr/include/signal.h:34,
from src/timeit.c:27,
from src/arith.c:31:
/usr/include/sys/context.h:169: parse error before "sigset64_t"
/usr/include/sys/context.h:172: parse error before '}' token
make: 1254-004 The error code from the last command is 1.


Stop.
$
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

554 Unallowed chars encountered

My Exchange v5.5 IMS server received an inbound internet-based message that it could not processed. The message header appeared to be corrupt and had a line that read, "Diagnostic-Code: smtp;554 Unallowed chars encountered." The message header also mentions UTF-7. All internet-based messages are... (1 Reply)
Discussion started by: abibbens
1 Replies

2. Solaris

Encountered a strange problem with doing a restore

Hi Unix Guru's, I have encountered a strange problem with doing a restore on a local sunu machine. We have 2 live system (v880, v450) and 1 test system v440. All the machines are sun4u and using sun os 8.0 We have 2 backup device. One Bcakup device connected with v880 and another backup... (0 Replies)
Discussion started by: cpandian
0 Replies

3. UNIX for Dummies Questions & Answers

Read lines till a blank line is encountered

Hi, I have reached at a specified offset from the start of file. My requirement is that I want to read only those lines, which have the string READ / ALTER / UPDATE. As soon as, none of these literals are found in the subsequent line, I want to stop reading. Is there any feature of grep which... (1 Reply)
Discussion started by: saurabhsinha23
1 Replies

4. UNIX and Linux Applications

Invalid stack address encountered

Hello All, One of our applications is not able to start after trying to set p4 port. This is the log that is reported: JLaunchISetP4Port: set p4 port 50004 ------------------------------------------- Signal 15 encountered. => 64 bit R/3 Kernel => 64 bit AIX Kernel => Heap limit ... (0 Replies)
Discussion started by: RoshniMehta
0 Replies

5. Shell Programming and Scripting

select contents between two delimiters (not working if newline in encountered)

Hi, I am facing difficulties in selecting the contents between two delimiters when there is a new line occurs.. Eg: >more sample.txt abcd -- this is the first line % efgh-- this is the second line and not able to print % ijkl -- this is the 3rd line % when i search for abcd and... (8 Replies)
Discussion started by: Balaji PK
8 Replies

6. AIX

Error encountered in creating a filesystem

Hi experts, Need help on the below error please. I am creating Filesystem and it fails with the below errors :( Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. 0518-506 odmget: Cannot open object class PdAt ... (10 Replies)
Discussion started by: EngnrRG
10 Replies

7. Shell Programming and Scripting

Create new file when three asterisks are encountered.

Hi All, I have a text file which is currently formatted like this: TEXT1 *** TEXT2 *** TEXT3 *** I want text before *** to go into separate files. For example, 1.dat TEXT1 (5 Replies)
Discussion started by: shoaibjameel123
5 Replies

8. Shell Programming and Scripting

awk - continue when encountered division error

Hello, How can I add a logic to awk to tell it to print 0 when encountering a division by zero attempted? Below is the code. Everything in the code works fine except the piece that I want to calculate read/write IO size. I take the kbr / rs and kbw / ws. There are times when the iostat data... (5 Replies)
Discussion started by: tommyd
5 Replies

9. Shell Programming and Scripting

Notify as soon as an error is encountered in a script

Hi, The script below works okay and emails me the log in the end once the script completes but what I'm trying to do is to also notify me via an email as soon as the script encounters any error whatsoever. cat test.list hdisk0 00a6351a2c832da1 rootvg ... (7 Replies)
Discussion started by: mbak
7 Replies
DBA_OPEN(3)								 1							       DBA_OPEN(3)

dba_open - Open database

SYNOPSIS
resource dba_open (string $path, string $mode, [string $handler], [mixed $...]) DESCRIPTION
dba_open(3) establishes a database instance for $path with $mode using $handler. PARAMETERS
o $path - Commonly a regular path in your filesystem. o $mode - It is r for read access, w for read/write access to an already existing database, c for read/write access and database creation if it doesn't currently exist, and n for create, truncate and read/write access. The database is created in BTree mode, other modes (like Hash or Queue) are not supported. Additionally you can set the database lock method with the next char. Use l to lock the database with a .lck file or d to lock the databasefile itself. It is important that all of your applications do this consis- tently. If you want to test the access and do not want to wait for the lock you can add t as third character. When you are abso- lutely sure that you do not require database locking you can do so by using - instead of l or d. When none of d, l or - is used, dba will lock on the database file as it would with d. Note There can only be one writer for one database file. When you use dba on a web server and more than one request requires write operations they can only be done one after another. Also read during write is not allowed. The dba extension uses locks to prevent this. See the following table: DBA locking +-------------+---------------+---+---+---+---+---+---+---+ |already open | | | | | | | | | | | | | | | | | | | | | $mode = "rl" | | | | | | | | | | | | | | | | | | | | $mode = "rlt" | | | | | | | | | | | | | | | | | | | | $mode = "wl" | | | | | | | | | | | | | | | | | | | | $mode = "wlt" | | | | | | | | | | | | | | | | | | | | $mode = "rd" | | | | | | | | | | | | | | | | | | | | $mode = "rdt" | | | | | | | | | | | | | | | | | | | | $mode = "wd" | | | | | | | | | | | | | | | | | | | | $mode = "wdt" | | | | | | | | | | | | | | | | | | +-------------+---------------+---+---+---+---+---+---+---+ | not open | | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | |$mode = "rl" | | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | wait | | | | | | | | | | | | | | | | | | | | false | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | |$mode = "wl" | | | | | | | | | | | | | | | | | | | | | wait | | | | | | | | | | | | | | | | | | | | false | | | | | | | | | | | | | | | | | | | | wait | | | | | | | | | | | | | | | | | | | | false | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | |$mode = "rd" | | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | ok | | | | | | | | | | | | | | | | | | | | wait | | | | | | | | | | | | | | | | | | | | false | | | | | | | | | | | | | | | | | | |$mode = "wd" | | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | illegal | | | | | | | | | | | | | | | | | | | | wait | | | | | | | | | | | | | | | | | | | | false | | | | | | | | | | | | | | | | | | | | wait | | | | | | | | | | | | | | | | | | | | false | | | | | | | | | | | | | | | | | | +-------------+---------------+---+---+---+---+---+---+---+ ook: the second call will be successfull. owait: the second call waits until dba_close(3) is called for the first. ofalse: the second call returns false. oillegal: you must not mix "l" and "d" modifiers for $mode parameter. o $handler - The name of the handler which shall be used for accessing $path. It is passed all optional parameters given to dba_open(3) and can act on behalf of them. RETURN VALUES
Returns a positive handle on success or FALSE on failure. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 4.3.0 | | | | | | | It's possible to open database files over net- | | | work connection. However in cases a socket con- | | | nection will be used (as with http or ftp) the | | | connection will be locked instead of the resource | | | itself. This is important to know since in such | | | cases locking is simply ignored on the resource | | | and other solutions have to be found. | | | | +--------+---------------------------------------------------+ SEE ALSO
dba_popen(3), dba_close(3). PHP Documentation Group DBA_OPEN(3)
All times are GMT -4. The time now is 08:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy