I learned something new

I’ve recently encountered a disk space issue in FreeBSD and thought it’s a normal disk space problem. But then again, I’m wrong.

Even if the file has been moved to another location, whenever I checked for utilization, I’d get the same percentage.

The thing is, the file I moved is active and is used by one of the services. Anyway, to avoid having the same issue of not decreasing disk space, service running must be stopped to unlock the partition and refresh its contents. Then do the ‘move’ of files.

Note to self about IPA

I got cranky with all the inconsistency that I went through during my deployment. But here are some of what woke me up big time:

  • That IPA-client can’t pull keytab from master server;
  • That IPA doesn’t like incorrect hostname. It has to be the right one up to the domain level;
  • That IPA uses A and PTR record when transferring user ticket for single sign on (SSO) be possible;
  • That IPA can’t do SSO on some machines for some strange reason considering they have correct hostname and DNS records. (That I ought to find out.)

That’s all for now.

MySQL default directory for FreeBSD and Linux

Just learned something interesting.

That the default directory for MySQL installed in FreeBSD is /var/db/mysql and for Linux it’s in /var/lib/mysql.

Samba Daemons

I once asked:

When you restart samba, how many daemons do you see?
The answer is 2. There’s smbd and nmbd.

But when asked how many daemons comprised samba?
The answer is 3. smbd, nmbd and winbindd.

The first 2 daemons run in a linux server installed with samba package. On the other hand, windbindd in Windows NT box meaning it runs in client-side.

Just a few (minor) things to remind us of. =D

Redhat IPA

Yesterday, I subscribed linux servers to an IPA server and actually tested logging in using my IPA account.

IPA (Identity, Policy, Audit) is the AD (Active Directory) counterpart for nix machines. And it’s really cool subscribing linux machines via console. hehe.

As for IPA’s pre-requisites, it’s A and PTR records. Aside from that, it requires python-ldap.

I haven’t setup an IPA server but maybe I’ll try. For now, subscribing clients to masters is my role. It’s still nice because I get to spend a lot of time seeing black screens. Although sometimes I wish I have an additional display to accommodate all of my sessions instead of ‘minimize’ then ‘restore’. I like seeing all of them. hahaha! Sorry, an addict talking rubbish.

Anyway, version is Red Hat Enterprise IPA v1 EL5. (still young).

You can refer to these pages for other information that you may want to know:

http://www.redhat.com/security/updates/ipa/

and

https://rhn.redhat.com/errata/rhel5-ipa-1-errata.html