Archive for August 3rd, 2007

Embracing chkconfig to auto-start services (like mysql) on RHEL/CentOS/Fedora/etc.

Friday, August 3rd, 2007

I was at MODM4 yesterday, and as always, great fun was had. One common recurring theme though, was getting MySQL to start automatically upon a Linux server’s restart, something which I would have thought just came pretty naturally to sys-admin types. Upon further probing, these systems were all generally CentOS or RHEL based, and it wasn’t just MySQL that gave them problems - it was anything they’d installed out of the stock packages (lighttpd was a popular Apache replacement, that suffered from the same fate).

While I didn’t recollect the exact part of the manual it was stored in, I was informing everyone to make use of the chkconfig tool. Its really as simple as making sure there exists a /etc/init.d/mysql (it must be executable - chmod +x), doing a chkconfig –add mysql and making sure that it starts up at the correct runlevels (typically 3, 4 and 5). A simple chkconfig –level 345 mysql on and you’re ready to rock. Repeat, rinse for lighttpd or anything else, that has a startup script, really.

And read the manual - section 2.4.16.2.2. Starting and Stopping MySQL Automatically. chkconfig’s manual page is a little sparse, so consider some of the Red Hat Knowledgebase entries: How do I use chkconfig to enable a script for a service that accepts start, stop, and status options? and Why does an installed service, like ypbind, not show up in the chkconfig list, but I am able to start it manually? Kudos to Red Hat’s open KB as well…

Technorati Tags: , , , ,

Zimbra, and Nokia Symbian Series 60 IMAPS issue

Friday, August 3rd, 2007

I’ve been a big supporter of Zimbra, because I think they’re one of the few projects/companies that get email/calendering/a groupware solution, right. Sure, I don’t necessarily like the model where they cripple the open source version in terms of say, backups (but this I guess will be fixed when MySQL supports online backups natively). No AdSense zimlet? Its easy enough to write one (with spare time).

What’s annoyed me of late with Zimbra, is its lack of ability to work with my Nokia E61i. Its a known problem (since February this year?), as it also affected the E61 (and probably other Series 60 phones, when you’re trying to access the Zimbra server over IMAP). You get the certificate being displayed, you get the headers, and when you try to open any email bodies, it just stops working.

The target for this fix, seems to be Zimbra 5, and according to their roadmap, we should see it in Q3/2007. The betas are already out, though I’m not about to load it on a production system. Watch zimbra#14850 - Nokia E61 sync with imaps if this affects you. There’s also a reference forum post. And here’s hoping to a good release, this quarter (2 more months to go!).

Technorati Tags: , , , , , , , ,