MIT Kerberos - kpropd does nothing

I'm attempting to start kpropd on a CentOS box. It gives no status and doesn't start the process. The exit code is "1"

I started it in debug mode:

kpropd -d -S

It shows:

kpropd: Address already in use while binding listener socket

I don't see anything in netstat listening on port 754. The system is a VM and has only eth0 and lo. The krb5kdc is running correctly.

This is all local but I'll post the iptables entry anyway:

-A INPUT -p tcp -m tcp --dport 754 -j ACCEPT

Any thoughts on what might be blocking the socket?

-------------Problems Reply------------

Well, it took some doing but there were two problems.

First, starting kpropd manually with -d -S, the socket was getting blocked by /sbin/portreserve. The port is normally released during the init script, so if you want to do this you have to stop portreserve temporarily, or release the port with /sbin/portrelease. Recommend not leaving portreserve off though, only disable to test.

service portreserve stop

The real issue was that I didn't have a kpropd.acl, or rather had it named wrong. Strange that "service" showed nothing, returned nothing. In any case, after creating the file kprop now inits correctly.

/var/kerberos/krb5kdc/kpropd.acl

I had to hack up the /etc/init.d/kprop file quite a bit to figure that out.

Category:sockets Views:4 Time:2018-09-21

Related post

  • MIT Kerberos fails to locate TGT in MSLSA cache 2012-01-12

    I'm struggling with a Windows application which uses MIT Kerberos for authentication. If a user logs on to Windows with a domain user account, klist shows that he gets the expected tickets from the AD, including this one: #1> Client: jalf @ TESTRE

  • nHibernate update does nothing 2009-01-13

    I have a very weird problem: sometimes when I call nHibernate update to an entity and it works, and some times it does nothing, in the same call. When it doesn't do the update, nHibernate does not return an exception or anything like that. It simply

  • Invalidate does nothing 2009-03-27

    I have a datagridview on a form with an associated SelectionChanged event. When the selected row contains "attachments" then the backcolor of the btnComments control should turn yellow as follows: int noAttachments = 1; if (noAttachments > 0) btnA

  • Do I test a class that does nothing? 2009-07-14

    In my application, I have two classes: a logger that actually logs to the database and a dummy logger that does nothing (used when logging is disabled). Here is the entire DummyLog class: class DummyLog(object): def insert_master_log(self, spec_name,

  • Is there a site that does nothing but spit out whatever POST form parameters were sent to it? 2009-12-07

    Is there a site online available to the general public that does nothing but display whatever form variables (name-value pairs) were sent to it via POST? Yes, it's very simple and I have already made one myself, the question is to see if there is som

  • evalScripts:true does nothing with Ajax inplace editor 2009-12-21

    I have the following code to create an inplace editor: new Ajax.InPlaceEditor('artifact_pretty_display_date_110_in_place_editor', '/artifacts/set_artifact_pretty_display_date/110', {evalScripts:true}) The response looks good to after I change a date:

  • PHP ftp_connect does nothing 2009-12-23

    I've configured a couple of php codes that connects to my server with the use of ftp connect. It works perfectly when I'm testing it locally, it connects, it goes in, i can access stuff. BUT when I upload it online and try it there. The php code does

  • zoomToRect does nothing if your UIScrollView is already at that zoomlevel 2010-01-22

    I think I have found a bug in UIScrollView, but I want to check if other people are observing the same thing and if it is expected behaviour. I've got a UIScrollView and am trying to set what it is looking at using zoomToRect. That works fine. If I t

  • Is it OK to write a constructor which does nothing? 2010-03-08

    To use methods of a class I need to instantiate a class. At the moment the class has not constructor (so I want to write it). But than I have realized that the constructor should do nothing (I do need to specify values of fields). In this context I h

  • UIDatePicker locale does nothing? 2010-04-15

    I'm creating a UIDatePicker programmatically, and setting its locale with the following code: datePicker.locale = [[[NSLocale alloc] initWithLocaleIdentifier:@"es_ES"] autorelease]; The datepicker still appears in English (or whatever language I've s

  • InPlaceBitmapMetadataWriter.TrySave() returns true but does nothing 2010-05-02

    On some .JPG files (EPS previews, generated by Adobe Illustrator) in Windows 7 InPlaceBitmapMetadataWriter.TrySave() returns true after some SetQuery() calls, but does nothing. Code sample: BitmapDecoder decoder; BitmapFrame frame; BitmapMetadata met

  • Fibonacci in C works great with 1 - 18 but 19 does nothing at all 2010-05-21

    Yeah right... we are forced to programm some good old C at our university... ;) So here's my problem: We got the assignment to program a little program that show a fibonacci sequence from 1 to n 1 to 18 works great. But from 19 the program does nothi

  • Cygwin GCC + WinXP cmd.exe does nothing 2010-06-06

    My basic problem is that if I run GCC from the windows command line (cmd.exe in Windows XP) and it does nothing: no .o files are created, no error messages, nothing. It will only throw an error message if I use DOS-style paths, but nothing else. When

  • ASP.NET update panel updates once - then does nothing 2010-07-24

    I'm a PHP guy learning some .NET. I am tinkering around with the UpdatePanel control for a little dashboard. In .aspx file, I'm using OnClick to trigger the code behind file to update the label by +1 <asp:ScriptManager ID="ScriptManager1" runat="s

  • Large amount of Javascript code that does nothing? 2010-07-27

    I'm trying to make one of my scripts seem really complicated, when it's not. I was wondering if anyone had a snippet of code or something that would help, or a nudge in the right direction? EDIT: I need this because I'm trying to hide an algorithm fo

  • NSWindowController: loadWindow loads window from nib but showWindow: does nothing 2010-08-22

    I have an NSWindowController subclass called _PreferencesWindowController with the following implementation - @synthesize window; - (id)init { self = [super initWithWindowNibName:@"PreferencesWindow"]; if (!self) return nil; return self; } And I trie

  • "git diff" does nothing 2010-08-27

    I presume this is a configuration error somewhere, but I can't figure out where. Regular git commands appear to work fine, but "git diff" does nothing. To be safe, I removed external diff tools from my .gitconfig file. This was installed via MacPorts

  • Missing RedCloth gem but `rake gems:install` does nothing 2010-09-10

    I tried starting my Rails application but got this error message from Passenger: Ruby on Rails application could not be started The application has exited during startup (i.e. during the evaluation of config/environment.rb) /home/chuck/chuck.com/vend

  • Node.js provide an efficiency in doing nothing? 2010-09-24

    I heard a speaker described Node.js as a webserver that "efficiently does nothing". I thought it was a joke but others looked to nod agreement. Can someone explain my misunderstanding of this phrase? --------------Solutions------------- I think this

  • Is an If branch that does nothing a code smell or good practice? 2010-10-15

    I've responded to threads here (or at least commented) with answers containing code like this, but I'm wondering if it's good or bad form to write a series of if branches with one (or more) of the branches doing nothing in them, generally to eliminat

  • presentModalViewController does nothing 2010-10-30

    I have a UIViewController (parent) that calls presentModalViewController with another UIViewController (child) on viewDidLoad. If parent doesn't have a UINavigationController, then presentModalViewController does nothing. If it has a UINavigationCont

  • Python MySQLDB executemany() works on mac, does nothing on linux 2010-11-17

    I run a number of SQL scripts in this manner: db_conn = (created earlier) cursor = db_conn.cursor() script_file = open(join(script_path, script_name)) script_text = script_file.read() script_file.close() num_rows = cursor.executemany(script_text, Non

  • Font-weight doing nothing in FF 3.6 2011-01-13

    I'm trying to adjust the font weight rather than just "bold". It appears to be doing nothing on Verdana text. Has browser support for this dropped or something? <div class='business-hours'> Toll free: (866) 528-4930 &middot; Mon-Fri 9-5 EST

  • Netbeans - input.hasNext() does nothing upon hitting ctrl+z 2011-01-20

    while ( input.hasNext() ) { i = input.nextInt(); //System.out.println(); System.out.print("Bla: "); } this was just a test app/code. When I hit ctrl+z I just hear the ding Windows sound (aka you're doing it wrong sound <.<) and nothing happens,

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.147 (s). 11 q(s)