06-07-2007
My guess would be an incorrect DNS configuration - it's probably hanging while trying to do a lookup on your host/ip
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
Can you please help me in resolving the following problem?
My requirement is like this:
1) I have two files YESTERDAY_FILE and TODAY_FILE. Each one is having nearly two million data.
2) I need to check each record of TODAY_FILE in YESTERDAY_FILE. If exists we can skip that by... (5 Replies)
Discussion started by: madhukalyan
5 Replies
2. UNIX for Dummies Questions & Answers
I have a strange situation. I'm running a shell script containing several data uploads (using Oracle sqlloader utility). This script is being run on a Red Hat server.
I tried to run it in background:
$ nohup upload.sh &
This script uploads some thousands files. After several hours I... (0 Replies)
Discussion started by: viniciov
0 Replies
3. HP-UX
There might be some problem with my server,
because every morning at 7, it's performance become bad with no DB extra deadlock.
But I just couldn't figure it out.
Please give me some advise, thanks a lot...
According to the CPU performace chart, Daily CPU loading Maximum: 42 %, Average:36%.
... (8 Replies)
Discussion started by: GreenShery
8 Replies
4. UNIX and Linux Applications
Hi,
I am using EXIT command to log out of the server, But this logs me out of the Putty. Is there any way that I can still be present on Putty and just log out of the server.
Every time I have to open a new session of PUTTY for a new server (3 Replies)
Discussion started by: himvat
3 Replies
5. Solaris
I have written a virtual HBA driver named "xmp_vhba". A scsi disk is attached on it. as shown below:
xmp_vhba, instance #0
disk, instance #11
But the performance became very bad when we read/write the scsi disk using the vdbench(a read/write io tool).
What is the reason? ... (7 Replies)
Discussion started by: ForgetChen
7 Replies
6. Shell Programming and Scripting
Why I get bad replace when using eval?
$ map0=( "0" "0000" "0")
$ i=0
$ eval echo \${map$i}
0000
$ a=`eval echo \${map$i}` !!!error happens!!!
bash: ${map$i}: bad substitution
How to resolve it ?
Thanks! (5 Replies)
Discussion started by: 915086731
5 Replies
7. Solaris
I have noticed this error in /var/cron/log:
> CMD: /usr/lib/acct/ckpacct
> adm 6739 c Tue Oct 11 10:00:00 2011
< adm 6739 c Tue Oct 11 10:00:00 2011 rc=1
! bad user (adm) Tue Oct 11 11:00:00 2011but when I try to list crontab of user 'adm':
solarni/~# crontab -l adm
crontab: you are... (4 Replies)
Discussion started by: orange47
4 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I am not sure if this is a known issue. I am using Putty and logging the session into a log, only the printable one.
On Solaris, all is working fine. But on Linux servers, Redhat or Suse, while the screen looks correct, the log file is not.
Note example below:
On the screen,... (1 Reply)
Discussion started by: newbie_01
1 Replies
9. AIX
Hi Guys,
I have fresh new installed VIO 2.2.3.70 on a p710, 3 physical SAS disks, rootvg on hdisk0
and 3 VIO clients through vscsi, AIX7.1tl4 AIX6.1tl9 RHEL6.5ppc, each lpar has its rootvg installed on a LV on datavg (hdisk2) mapped to vhost0,1,2
There is no vg on hdisk1, I use it for my... (1 Reply)
Discussion started by: frenchy59
1 Replies
LEARN ABOUT DEBIAN
krb5_get_default_realm
KRB5_SET_DEFAULT_REALM(3) BSD Library Functions Manual KRB5_SET_DEFAULT_REALM(3)
NAME
krb5_copy_host_realm, krb5_free_host_realm, krb5_get_default_realm, krb5_get_default_realms, krb5_get_host_realm, krb5_set_default_realm --
default and host realm read and manipulation routines
LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS
#include <krb5.h>
krb5_error_code
krb5_copy_host_realm(krb5_context context, const krb5_realm *from, krb5_realm **to);
krb5_error_code
krb5_free_host_realm(krb5_context context, krb5_realm *realmlist);
krb5_error_code
krb5_get_default_realm(krb5_context context, krb5_realm *realm);
krb5_error_code
krb5_get_default_realms(krb5_context context, krb5_realm **realm);
krb5_error_code
krb5_get_host_realm(krb5_context context, const char *host, krb5_realm **realms);
krb5_error_code
krb5_set_default_realm(krb5_context context, const char *realm);
DESCRIPTION
krb5_copy_host_realm() copies the list of realms from from to to. to should be freed by the caller using krb5_free_host_realm.
krb5_free_host_realm() frees all memory allocated by realmlist.
krb5_get_default_realm() returns the first default realm for this host. The realm returned should be freed with free().
krb5_get_default_realms() returns a NULL terminated list of default realms for this context. Realms returned by krb5_get_default_realms()
should be freed with krb5_free_host_realm().
krb5_get_host_realm() returns a NULL terminated list of realms for host by looking up the information in the [domain_realm] in krb5.conf or
in DNS. If the mapping in [domain_realm] results in the string dns_locate, DNS is used to lookup the realm.
When using DNS to a resolve the domain for the host a.b.c, krb5_get_host_realm() looks for a TXT resource record named _kerberos.a.b.c, and
if not found, it strips off the first component and tries a again (_kerberos.b.c) until it reaches the root.
If there is no configuration or DNS information found, krb5_get_host_realm() assumes it can use the domain part of the host to form a realm.
Caller must free realmlist with krb5_free_host_realm().
krb5_set_default_realm() sets the default realm for the context. If NULL is used as a realm, the [libdefaults]default_realm stanza in
krb5.conf is used. If there is no such stanza in the configuration file, the krb5_get_host_realm() function is used to form a default realm.
SEE ALSO
free(3), krb5.conf(5)
HEIMDAL
April 24, 2005 HEIMDAL