05-07-2019
8 More Discussions You Might Find Interesting
1. Red Hat
All,
I'm getting the following error while I try to register the server to connect the redhat network for the updates.
rhn_register updateLoginInfo() login info
rhn_register A socket error occurred: (111, 'Connection refused'), attempt #1
rhn_register A socket error occurred: (111,... (6 Replies)
Discussion started by: s_linux
6 Replies
2. Shell Programming and Scripting
Hi
I am trying to sort a file of 88075743B size. I am doing some processing on the file and after the processing is done; I get 2 files temp1 and temp2. I need to combine both these files as one and this final file should be sorted on fields 1 and 2. Space is the delimiter between fields. Record... (2 Replies)
Discussion started by: diksha2207
2 Replies
3. Shell Programming and Scripting
hi folk i need your help to find one logic....
i have error log same as any other error logs which get populated by no of events and errors...
but i need to grep the last occured errors.. which cant be duplicate.
here is my script.
========================
#!/usr/bin/ksh
grep -i... (3 Replies)
Discussion started by: tapia
3 Replies
4. AIX
Hi,
I have two node cluster.
There are 5 RG's.
3 of them on node2 and 2 of them on node1.
Verification of cluster is done without errors.
When i try to move of put offline RG i got this error for every RG:
rg_move: Failure occurred while processing Resource Group RG_XXX. Manual... (4 Replies)
Discussion started by: phobus
4 Replies
5. Shell Programming and Scripting
new to shell scripting.
below line is showing error in script.
${parameter:=word}
in the o/p first it shows the below error.
word: not found.
and then in next line print "word"
----------------
p2: word: not found.
word
---------------------------
OS is AIX and shell is... (12 Replies)
Discussion started by: scriptor
12 Replies
6. Red Hat
I have RHEL5.3 that is with the Platform Cluster Manger PCM installation. on master node. Unfortunately some files were deleted from the /var directory and then the postgresql service couldn't start. I have deleted, rm -rf /var/lib/pgsql/data and started the service again now the service is running... (1 Reply)
Discussion started by: ahsanpmd
1 Replies
7. Solaris
Hi all,
Error occurred while making the net-snmp-5.4.4 on Solaris 5.10 version.
Environment
- Solaris 5.10-x86
- Net-SNMP-5.4.4.tar.gz
- Path (/etc/profile)
PATH=/usr/local/bin:$PATH
export PATH
LD_LIBRARY_PATHUSR=/usr/ccs/bin:
export LD_LIBRARY_PATH
Error01 - summary
***... (3 Replies)
Discussion started by: ziosnim
3 Replies
8. AIX
Hi,
When i am trying to read data from tape cassette its giving below error:
tar tvf /dev/rmt0
"tar: 0511-193 An error occurred while reading from the media.
A system call received a parameter that is not valid."
OS: - AIX 6.1
Tape Library : - IBM TS3100
Tape Cassette : - Ultrium LTO... (1 Reply)
Discussion started by: arunmistry
1 Replies
LEARN ABOUT PHP
cubrid_error_code
CUBRID_ERROR_CODE(3) 1 CUBRID_ERROR_CODE(3)
cubrid_error_code - Get error code for the most recent function call
SYNOPSIS
int cubrid_error_code (void )
DESCRIPTION
The cubrid_error_code(3) function is used to get the error code of the error that occurred during the API execution. Usually, it gets the
error code when API returns false as its return value.
PARAMETERS
This function has no parameters.
RETURN VALUES
Error code of the error that occurred, or 0 (zero) if no error occurred.
EXAMPLES
Example #1
cubrid_error_code(3) example
<?php
$conn = cubrid_connect("localhost", 33000, "demodb");
$req = cubrid_prepare($conn , "SELECT * FROM code WHERE s_name=?");
$req = @cubrid_execute($req);
if (!$req) {
printf("Error facility: %d
Error code: %d
Error msg: %s
",
cubrid_error_code_facility(), cubrid_error_code(), cubrid_error_msg());
cubrid_disconnect($conn);
exit;
}
?>
The above example will output:
Error facility: 4
Error code: -30015
Error msg: Some parameter not binded
SEE ALSO
cubrid_error_code_facility(3), cubrid_error_msg(3).
PHP Documentation Group CUBRID_ERROR_CODE(3)