• Register
0 votes

Problem :

I have recently installed krb5-1.2.3 on my Linux machine.I want to utilize this install as the client and the KDC is installed on another machine. But while I tried to do the initial kinit I got the following error;

# ./kinit
kinit(v5): Configuration file does not specify default realm when parsing name

I am unable to understand the error, I am having my config file at /etc/krb5.conf path and it also defines my default realm.Is there anybody who have faced this message before and have any solution on it ?

6 5 3
7,540 points

1 Answer

0 votes

Solution :

I think somebody might have moved the config file but they might have forgotten to copy your config file or they might have replaced your config file with the default config file I have seen this happen in many teams so often with other software. So my suggestion will be to try using 'strace kinit' command to trace down your files actual path and if your config file is not present at the usual location then you will need to move your working config file.You can try to do the double check and confirm that it is the your last working file which is where you left it.

9 7 4
38,600 points

Related questions

1 vote
1 answer 414 views
Problem: I am very new to Kerberos and Hadoop. I tried to create the "user.keytab" file by "ktutil" to try to renew a krb ticket without the use of the password as it was recommended in some online tutorial. Please find below the procedure I ... credentials Please find below my environment details for your reference: My OS: Centos Linux, My Cluster: Cloudera Hadoop Distribution, My Tool: Kerberos
asked May 27 Martin K 6.6k points
0 votes
1 answer 64 views
Problem: I am very new to boto3. Now I have a boto3 client also: boto3.client('kms') But it always happens on all of my new machines they open and close dynamically. if endpoint is None:         if region_name is None:             # Raise a more specific error ... : Botocore.exceptions.noregionerror: you must specify a region. I want to know the reason behind this error and how can I fix it?
asked Aug 10 Raphael Pacheco 4.9k points
0 votes
1 answer 980 views
Problem : I had to run the jmap so that I can take the heap dump of my process. But the jvm returned below error : Unable to open socket file: target process not responding or HotSpot VM not loaded The -F option can be used when the target process is not responding So I ... to take the heap dump? 2. I am waiting for more than 20 minutes and not finished yet. Any ideas why it is taking so long?
asked Dec 19, 2019 alecxe 7.5k points
0 votes
1 answer 50 views
Problem: I am little bit confused, which character to used? What character is used to delimit most Linux configuration files? a. tab b. colon c. space d. semicolon
asked Feb 18 maddi86 5.4k points
0 votes
2 answers 15 views
Problem: What is the default shell in Linux called? a. SH b. BSH c. CSH d. BASH
asked Apr 12 ArifulIslam 5.7k points