Archive

Archive for the ‘SysAdmin’ Category

Postfix: How to erase deferred mails from the queue

December 12th, 2005 Mark 2 comments

I had a mail stuck in the deferred queue that was bugging me, a few google searches later resulted in the following commands in order to remove it:

mailq
postsuper -d <queueid>
Categories: Linux, SysAdmin Tags:

saslauthd on vds issues

December 12th, 2005 Mark No comments

I have a vds (virtual dedicated server) which runs postfix and uses saslauthd as the mechanism for SMTP Auth

I noticed that I couldn’t restart saslauthd via “/etc/init.d/saslauthd restart” for some reason.. the script would kill the PID of the parent saslauthd processes but the children would remain

It seemed that the children were locked in some state so reading the saslauthd –help output I noticed a -L option to disable accept() locking.. adding this to /etc/default/saslauthd did the trick.. flawless restarting of the daemon

Note to self: Markdown doesn’t support abbreviations :(

Categories: Linux, SysAdmin Tags:

Sony Ericsson K750i Themes

September 7th, 2005 Mark 1 comment

One of the themes I quite like is called lablue, it has a problem however.. on the “Add Symbol” screen, you cannot tell which symbol is selected as there is no highlight block – it’s there but you cannot see it as it’s the same colour as the background.

I don’t know why this is happening as I can’t find the colour inside the Themes Creator or the raw .thm file.. I’m guessing two colours are colliding somewhere and it’s using something else..

Anyway, I’m at work and I don’t have my bluetooth adapter here or my USB cable so I was forced to upload the modified .thm file for testing to my own hosting for influenced.net.

After much messing about I discovered that in order to serve .thm files so that the phone may download them via WAP as a theme, you have to add the following to your .htaccess

AddType application/vnd.eri.thm .thm

.. and I’ve still not got the theme fixed!!

Categories: SysAdmin Tags:

phpMyAdmin & Bloglines gripe

August 17th, 2005 Mark No comments

[imported from Bloglines]

*sigh*

Typed a blog entry (first ever in this Bloglines account), it lets me do it, click “Publish to Blog” and voila, the entry is gone and a message telling me to set something up before I can publish stuff… well that’s just great – why the hell did it let me type it in the first place?!?

Anyway, here’s the crux of what my original post was about:

phpMyAdmin and server statistics (“show status”)

I’ve been using MySQL 5.x beta’s now for a while (both the server and embedded server) and noticed that the “show status” command was returning rather odd statistics, low query counts etc. I noticed that this was also the case with the phpMyAdmin statistics page. I thought it was a bug in MySQL 5.x since it’s still in beta… so time passes, I keep installing the newer versions, same problem, never fixed.. strange!

Anyway, I realised that it’s showing session statistics vs global statistics. Examing the mysql.com documentation I found that the command now takes an argument: “show [session/global] status”.

You can fix phpMyAdmin to provide global statistics like it usually does by modifying the server_status.php file and changing the “SHOW STATUS” to “SHOW GLOBAL STATUS”.

Categories: Internet, SysAdmin Tags: