06-25-2010
The names are disappearing from the flat file. When mail comes in from an external source we see "Unknown User" in syslog. So they are disappearing from the previous vi session or the latest one.
There are six people that have root access on the servers having this problem. I believe five of us have SUN workstations and one, our team lead, has a Windows workstation but uses PuTTY to access the servers.
In an effort to try to figure out what is going on I'm going to try to do all the modifications to the aliases file. I don't think the timestamp is changing because we aren't seeing any "errors" in the messages log that the aliases.db is out of date.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
i have unixware 2.1.
A warning message Strintercept dropping message start scrolling on screen.
does anyone have any idea what it means? :confused:
and some times system hangs with all terminals.? (2 Replies)
Discussion started by: kapilverma_udr
2 Replies
2. Shell Programming and Scripting
Hello:
I wrote a sed statement that is inserting 3 variables at the beginning of each record in a comma-delimited file:
for FILE in *gnrc_lkup.csv
do
c=`echo $FILE | cut -c1-3`
d=`grep $c $RTLIST | cut -c4-6`
e=`grep $c $RTLIST | cut -c7`
f=`grep $c $RTLIST | cut -c8`
sed -e... (5 Replies)
Discussion started by: bheeke
5 Replies
3. Linux
Linux Kernels 2.6.16 and up provide a way to instruct the kernel to drop the page cache, inode and dentry caches on command. This tip can help free Linux memory without a reboot.
Note: This is a non-destructive operation. Dirty objects are not freeable, hence; you must run sync beforehand.
... (0 Replies)
Discussion started by: Neo
0 Replies
4. Shell Programming and Scripting
Hi,
I have written the following it is pretty sloppy but I don't see any reason why I should be losing 54 records from a 3.5 million line file after using it.
What I am doing:
I have a 3.5 million record file with about 80,000 records need a correction. They are missing the last data from... (8 Replies)
Discussion started by: mkastin
8 Replies
5. Red Hat
RH 4.2.1.13
Hi All,
I just installed RH and I am able to connect to the internet via my router.
My high speed is such that I should be able to download at over 1000 kb/s.
While trying to download oracle database, it is starting at above 1000kb/s
and gradually droping to below 40kb/s which... (1 Reply)
Discussion started by: jxh461
1 Replies
6. Shell Programming and Scripting
I've written a daemon in bash, that waits for a HUP signal and then does some processing, before waiting for the next HUP. It goes something like this:
trap gothup=1 HUP
while :; do
gothup=0
# do some processing ...
# now wait for a HUP ...
while ; do
sleep 30 &... (4 Replies)
Discussion started by: cambridge
4 Replies
7. Emergency UNIX and Linux Support
Hi folks,
We are pushing messages to an IBM MQ queue on a AIX server where our client connects to from their Windows server and pick up the message. The
problem is that every now and then the connection drops and the client application cannot pick up the message. Someone has to bring up the... (1 Reply)
Discussion started by: ChicagoBlues
1 Replies
8. Red Hat
Hi,
Under '/home' directory, there is one file called 'maddy'.Usually there used to be directories under /home directory.
# ls -alrt
total 132
drwx------ 2 hcladmin sys 4096 May 30 10:54 admin
drwxr-xr-x 29 root root 4096 Aug 27 03:54 ..
drwx------ 2 v6admin dba ... (3 Replies)
Discussion started by: Maddy123
3 Replies
9. Solaris
We often have to update our ipfilter rules on Solaris 11. svcadm refresh ipfilter drops users every time (we're logged in via the global and then a zlogin to the zone in question).
Is there any way not to drop user's connections when modifying ipfilter rules and refreshing the service? (2 Replies)
Discussion started by: LittleLebowski
2 Replies
10. UNIX for Beginners Questions & Answers
Hi there.
I have a problem with pc's dropping their mounts to a network Nas. The Nas is a Synology DiskStation, it has enough concurrent connections which I think off the top of my head is about 200 and I only need 120.
So, question 1 is why will a unix box drop a mount, and 2, how can I... (2 Replies)
Discussion started by: MuntyScrunt
2 Replies
LEARN ABOUT PHP
mb_encoding_aliases
MB_ENCODING_ALIASES(3) 1 MB_ENCODING_ALIASES(3)
mb_encoding_aliases - Get aliases of a known encoding type
SYNOPSIS
array mb_encoding_aliases (string $encoding)
DESCRIPTION
Returns an array of aliases for a known $encoding type.
PARAMETERS
o $encoding
- The encoding type being checked, for aliases.
RETURN VALUES
Returns a numerically indexed array of encoding aliases on success, or FALSE on failure
ERRORS
/EXCEPTIONS
Emits an E_WARNING level error if $encoding is unknown.
EXAMPLES
Example #1
mb_encoding_aliases(3) example
<?php
$encoding = 'ASCII';
$known_encodings = mb_list_encodings();
if (in_array($encoding, $known_encodings)) {
$aliases = mb_encoding_aliases($encoding);
print_r($aliases);
} else {
echo "Unknown ($encoding) encoding.
";
}
?>
The above example will output something similar to:
Array
(
[0] => ANSI_X3.4-1968
[1] => iso-ir-6
[2] => ANSI_X3.4-1986
[3] => ISO_646.irv:1991
[4] => US-ASCII
[5] => ISO646-US
[6] => us
[7] => IBM367
[8] => cp367
[9] => csASCII
)
SEE ALSO
mb_list_encodings(3).
PHP Documentation Group MB_ENCODING_ALIASES(3)