04-13-2012
Quote:
on, where you failed not because you were dumb, but because you didn't understood the project requirement very well. How did you handle it?
You said it. Thats the real reason isn't it?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I'm having problems with persistent routes.
I have the route added to route-eth1.
But when I run the 'route' command to display the routes, it does not show the newly added route.
I did restart the network service. That did not help.
I also rebooted the server, but still did not... (1 Reply)
Discussion started by: hemangjani
1 Replies
2. Shell Programming and Scripting
I found a way to make a numeric variable persistent for a script :
#!/bin/bash
function Persist() { # 1:Expression like VARIABLE=Value (numeric)
local V=${1%=*}
eval "$1"
sed -i "s/^$V=*/$1/" $(which $(basename $0)) || return 1
}And how to use itAA=12
read -p "Enter a... (2 Replies)
Discussion started by: frans
2 Replies
3. AIX
Hi,
I want to use the service IP incase for any network activity rather than the persistent IP as the Persistent IP is blacklisted in our network. Is there any way
to make the service ip as LPARs default IP to be used as the lpars source IP incase it pings anything or acceses any external... (6 Replies)
Discussion started by: aixromeo
6 Replies
4. AIX
i am trying to make HACMP but when i add a persistent ip, error shows unable to determine address for 'UPIDGIS1_pers'
pls help me out
AIX - 5.3
HACMP -5.4
thanks (2 Replies)
Discussion started by: reply.ravi
2 Replies
5. AIX
I am new in AIX and please forgive my poor english.
I know that AIX allow same subnet IPs for different interfaces, which result in multipath routing / route striping.
My question is,
is there any best practice for the persistent and service IP with same subnet to stay on same interface, or... (5 Replies)
Discussion started by: skeyeung
5 Replies
6. Solaris
All,
I hope someone can help me on my problem with an aggregate, as I am a Solaris noob. I tried doing this according to the official documentation from Oracle (unfortunately, as a new user to the forum, I may not post URLs...) and also googled a lot around, but have not found any solution yet.... (15 Replies)
Discussion started by: Captainquark
15 Replies
7. Shell Programming and Scripting
Hi ! all I am just trying to check range in my datafile
pls tell me why its resulting wrong
admin@IEEE:~/Desktop$ cat test.txt
0 28.4
5 28.4
10 28.4
15 28.5
20 28.5
25 28.6
30 28.6
35 28.7
40 28.7
45 28.7
50 28.8
55 28.8
60 28.8
65 28.1... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies
8. Programming
I noticed that when attempting to download videos from the url, I receive a 403 forbidden when I get through to a certain point in my downloads. I can download a third of the videos but will error:
Retrieving file 'blah-video.f4v'...
Traceback (most recent call last): ... (0 Replies)
Discussion started by: metallica1973
0 Replies
9. AIX
I have done other clusters (HP MC/Service Guard and oracle Clusters, and RHEL Cluster services), and have good idea about hacmp (a little older knowledge).
However the term "Boot IP" for some reason is messing with my head. Have not done HACMP since the 4.1.2.X days.
Is the Bootip the... (1 Reply)
Discussion started by: mrmurdock
1 Replies
LEARN ABOUT PHP
sqlite_popen
SQLITE_POPEN(3) SQLITE_POPEN(3)
sqlite_popen - Opens a persistent handle to an SQLite database and create the database if it does not exist
SYNOPSIS
resource sqlite_popen (string $filename, [int $mode = 0666], [string &$error_message])
DESCRIPTION
This function behaves identically to sqlite_open(3) except that is uses the persistent resource mechanism of PHP. For information about
the meaning of the parameters, read the sqlite_open(3) manual page.
sqlite_popen(3) will first check to see if a persistent handle has already been opened for the given $filename. If it finds one, it returns
that handle to your script, otherwise it opens a fresh handle to the database.
The benefit of this approach is that you don't incur the performance cost of re-reading the database and index schema on each page hit
served by persistent web server SAPI's (any SAPI except for regular CGI or CLI).
Note
If you use persistent handles and have the database updated by a background process (perhaps via a crontab), and that process re-
creates the database by overwriting it (either by unlinking and rebuilding, or moving the updated version to replace the current
version), you may experience undefined behaviour when a persistent handle on the old version of the database is recycled.
To avoid this situation, have your background processes open the same database file and perform their updates in a transaction.
PARAMETERS
o $filename
- The filename of the SQLite database. If the file does not exist, SQLite will attempt to create it. PHP must have write permis-
sions to the file if data is inserted, the database schema is modified or to create the database if it does not exist.
o $mode
- The mode of the file. Intended to be used to open the database in read-only mode. Presently, this parameter is ignored by the
sqlite library. The default value for mode is the octal value 0666 and this is the recommended value.
o $error_message
- Passed by reference and is set to hold a descriptive error message explaining why the database could not be opened if there was
an error.
RETURN VALUES
Returns a resource (database handle) on success, FALSE on error.
SEE ALSO
sqlite_open(3), sqlite_close(3), sqlite_factory(3).
PHP Documentation Group SQLITE_POPEN(3)