05-14-2019
Dear stomp,
Thank you very much for your help, it's works very well !!!
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hiya All,
I can't fire up MySql on my FC-3 Server at work.
I get the Error message at the end of this post.
Looks like some Config problem on the Server itself. (Ie web server and MYSQL is all on the same box. I get the same errror when trying to fire up MYSQL at the Box, as well as... (2 Replies)
Discussion started by: marty 600
2 Replies
2. UNIX for Advanced & Expert Users
Hi All
I am kinda wondering about the UX kernel parameters, how we configure and why do we configure ???.. especially the 'semaphores'. Could somebody throw some light on this and would really appreciate it. (1 Reply)
Discussion started by: Prince_Charming
1 Replies
3. UNIX for Advanced & Expert Users
hi all
i am writing a script to create user and group from the input given to script
for eg. script needs to values
1. mode - 1 or 2
2. id - if mode is 1 then id should be 2 char like x1 / v1 / v2
if mode is 2 then id should be 1 char like x / v / e
from these to values group is... (1 Reply)
Discussion started by: zedex
1 Replies
4. Solaris
Hi:
Could I set the:
- Login Time-out Interval
- Password History Count
- Lockout Duration
- Lockout Threshold
for user account in Sun Solaris 5.8.
Thanks for your help (6 Replies)
Discussion started by: mlsun
6 Replies
5. UNIX for Dummies Questions & Answers
Is there a way to set the about:config options for Firefox automatically as part of the installation of Firefox? (3 Replies)
Discussion started by: figaro
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am using Solaris 10 OS and Bash shell.Is there any way can we automate User creation and setting passwords through a script or any freeware tool.
Advance thanks for your response. (1 Reply)
Discussion started by: muraliinfy04
1 Replies
7. Solaris
Trying to figure out the best method of security for oracle user accounts. In Solaris 10 they are set as regular users but have nologin set forcing the dev's to login as themselves and then su to the oracle users.
In Solaris11 we have the option of making it a role because RBAC is enabled but... (1 Reply)
Discussion started by: os2mac
1 Replies
8. Shell Programming and Scripting
Hi
I have a small bash script which I want to run on an Amazon EC2 Ubuntu instance for setting up a postgreSQL database:
#!/bin/bash
USERNAME='postgres'
start=$SECONDS
TMP_DIR=/local/test/4g4d
PORT=23456
rm -rf $TMP_DIR/db
mkdir -p $TMP_DIR/
echo "creating database..."... (3 Replies)
Discussion started by: Helveticus
3 Replies
9. Shell Programming and Scripting
Hi Gurus,
I need to encrypt the Db passwords which are stored in a configuration file (.txt) as below:
stage_db_pwd=ABC
this is test line
content_db_pwd=123def
This is test line 2
stg_db_name=xyz
I want to encrypt all the password fields (identified by "pwd"), encrypt them in the same... (3 Replies)
Discussion started by: ashishpanchal85
3 Replies
LEARN ABOUT PHP
stomp_get_read_timeout
STOMP_GET_READ_TIMEOUT(3) 1 STOMP_GET_READ_TIMEOUT(3)
Stomp::getReadTimeout - Gets read timeout
Object oriented style (method):
SYNOPSIS
public array Stomp::getReadTimeout (void )
DESCRIPTION
Procedural style:
array stomp_get_read_timeout (resource $link)
Gets read timeout
PARAMETERS
o $link
-Procedural style only: The stomp link identifier returned by stomp_connect(3).
RETURN VALUES
Returns an array with 2 elements: sec and usec.
EXAMPLES
Example #1
Object oriented style
<?php
/* connection */
try {
$stomp = new Stomp('tcp://localhost:61613');
} catch(StompException $e) {
die('Connection failed: ' . $e->getMessage());
}
var_dump($stomp->getReadTimeout());
/* close connection */
unset($stomp);
?>
The above example will output something similar to:
array(2) {
["sec"]=>
int(2)
["usec"]=>
int(0)
}
Example #2
Procedural style
<?php
/* connection */
$link = stomp_connect('ssl://localhost:61612');
/* check connection */
if (!$link) {
die('Connection failed: ' . stomp_connect_error());
}
var_dump(stomp_get_read_timeout($link));
/* close connection */
stomp_close($link);
?>
The above example will output something similar to:
array(2) {
["sec"]=>
int(2)
["usec"]=>
int(0)
}
PHP Documentation Group STOMP_GET_READ_TIMEOUT(3)