HW_ERROR(3) 1 HW_ERROR(3)hw_Error - Error numberSYNOPSIS
int hw_error (int $connection)
DESCRIPTION
Returns the last error number, for the last command.
PARAMETERS
o $connection
- The connection identifier.
RETURN VALUES
Returns the last error number or 0 if no error occurred.
SEE ALSO hw_errormsg(3).
PHP Documentation Group HW_ERROR(3)
Check Out this Related Man Page
PG_VERSION(3)PG_VERSION(3)pg_version - Returns an array with client, protocol and server version (when available)SYNOPSIS
array pg_version ([resource $connection])
DESCRIPTION pg_version(3) returns an array with the client, protocol and server version. Protocol and server versions are only available if PHP was
compiled with PostgreSQL 7.4 or later.
For more detailed server information, use pg_parameter_status(3).
PARAMETERS
o $connection
- PostgreSQL database connection resource. When $connection is not present, the default connection is used. The default connection
is the last connection made by pg_connect(3) or pg_pconnect(3).
RETURN VALUES
Returns an array with client, protocol and server keys and values (if available). Returns FALSE on error or invalid connection.
EXAMPLES
Example #1
pg_version(3) example
<?php
$dbconn = pg_connect("host=localhost port=5432 dbname=mary")
or die("Could not connect");
$v = pg_version($dbconn);
echo $v['client'];
?>
The above example will output:
7.4
SEE ALSO pg_parameter_status(3).
PHP Documentation Group PG_VERSION(3)
Hi all,
i have run iostat -em, and get below result. Can i know what is this output meaning, and how to fix that problem.
iostat -em
---- errors ---
device s/w h/w trn tot
sd7 0 1 0 1
sd8 1 1 0 2
sd9 0 1 0 1
sd10 0 ... (2 Replies)
Hi, it seems I've got an hw error on more than one device.
I use an AIX 5.2.
this is the problem desc.
Description
DISK OPERATION ERROR
Probable Causes
DASD DEVICE
Failure Causes
DISK DRIVE
DISK DRIVE ELECTRONICS
I wish to read the SYSLOG file, where is it ?
tk (1 Reply)
A mirror Raid system with two disk (probabaly raid1: Sun solaris Netra 240)
the following error occured
when I look at it with metastat :
d101: Submirror of d100
State: Needs maintenance
Invoke: metareplace d100 c1t0d0s5 <new device>
is there any advice that it indicates that... (15 Replies)
Hi,
i am running an old Opensolaris 5.11 snv_111b on an x86 server. After almost 4 years of successful service, last night out of the blue started to refuse all connections to it's services, ssh, http,etc. The only visible solution at that time was a restart. But now instead of booting the... (2 Replies)
Hi,
we have a server that runs on redhat linux. It was working fine until last year and all of sudden we are not able to ssh on to that server. we are getting the ping response but not getting the login prompt when tried to connect via ssh.
Port 22 is opened and i have tested it out using... (6 Replies)