Proxmox node random reboot

I was just playing with my new proxmox node. It is still imcomplete and still in the testing phase.

While trying by to find the wake-on-lan setting on the Supermicro X9DRH-IF board, I accidentally turned on the watchdog setting. For whatever reason, it causes proxmox to reboot a few minutes after bootup.

It got me pulling my imaginary hair before I figured it out. If i remember correctly, there was a saying that goes something like change only one thing at a time’.

Moving to #Freebsd ?

I am thinking of moving my main server to FreeBSD. My main goal is to learn the OS. I have gotten so use to Debian and It seems like it is no longer a challenge to me. At least I think with #FreeBSD, I do not have to worry so much with upgrading. Right now, since I track Debian Unstable, I have to constantly update when I am in there. Also I also have to update the kernel. All of this I know are avoidable. I could just go with Debian stable and I could just choose to use the distro kernel and not have to worry with compiling the kernel.

Anyway, I think this would be a huge undertaking. I probably would have to plan this in stages. For one, how do I migrate without significant downtime???

 

Office 365 is coming and …

Our office is going to do a force upgrade of some sort these coming days and I don’t want to let go of one feature that I have gotten use to using. This is the journal timer in outlook. I was trying to look for a replacement but I cant find any.

Before I started this job, I was mainly using Emacs and Org for organising my projects and daily tasks and I know Org has this really nifty feature of clocking in and out with time stamps. Therefore , I might just go back to using Org however I am a bit apprehensive in how to integrate all my job related stuff since we are such a microsoft centric organization.

I guess I will figure it out . Whoever said that ” necessity is the mother of all innovation” is damn right.

Heimdal-Kerberos,OpenLDAP and Debian

I am trying to set up Openldap and Kerberos on my server for several days now. Openldap is somewhat working since I am able to login via normal clients, however I am stuck with Heimdal.

Actually at first I went with the MIT version of Kerberos but after I read somewhere that it wasn’t a good idea I went with Heimdal instead. This is where trouble started. It seems like when I installed Heimdal ,It did not completely removed MIT . So I was left with a mess. It keeps on giving me an error that  that the kdc could not be reach but I checked the firewall,nat seems to be working, netstat shows the server ports open also. It must be the dns. Restart dhcp server and client,no go. Searching web then I found out that I set the host name default in my kernel,is this it? Right now it’s set to my domain name. I am now updating my kernel to check this hypotheses.

 

Followup:

I finally was able to recompile the kernel and It seems like the default hostname was a red herring. So I kept digging and I found out that Kerberos is really very sensitive to bad DNS configuration. I read somewhere that I need to set up split-DNS in order for it to work. So off I go to the PFsense documentation. And after I set it up! Bingo!

Useful Git commands

I am tinkering with my Vim setup today and I notice that I could not update my plugin directories without going inside the specific directories. I had set all of the plugins as git submodules and I thought I get it but it seems I still don’t fully understand how this works .

From my understanding ,git submodules is suppose to make updating plugins easier by just using one command instead of going to each directory and doing a git pull inside.

I found a solution from stackoverflow though. Doing a git submodule foreach git clone master and a git submodule foreach git pull worked. I did not see this on the git wiki though. I wonder if this is a hack job. Still it works for me.