Apr 20 2008

Openpanel beta released

Published by pj under Projects,opensource

The past months, I teamed up with the panel6 folks in their project to create a server/webhosting control panel “that eats webmins for breakfast”. I’m very happy with the results so far: the webbased GUI communicates 100% through ajax with the core system.

And it gets even better: it contains a command-line called ‘opencli’

Creating vhosts on servers is repeating the same trick every time. I know most people around me have automated this using ‘setup-a-new-domain’-scripts, but handmade scripts usually lack proper errorchecking – unless you spend a lot of time writing them. With opencli creating a new vhost is as simple as entering ‘create vhost www.foo.com’ and apache is up and running the domain \o/.

No responses yet

Apr 06 2008

Reaching critical mass

Published by pj under Uncategorized

Click for more pictures of exploding kitty

No responses yet

Sep 06 2007

Waar gaat het over?

Published by pj under prive

“Met het voertuig met onderstaand kenteken is een verkeersvoorschrift overtreden. [..]” .

De standaard-brief is nu voorzien van een opmerking, “Rustig rijden. Wat zijn de voordelen? U leest het in bijgevoegde folder.”.

De bewuste folder:

No responses yet

Aug 27 2007

digging up old code – anagram generator

Published by pj under Uncategorized

While working on wordpress plugins,  I stumbled on an old piece of code.. a cgi ‘an’ interface :-) http://pitr.net/an

No responses yet

Aug 08 2007

Internal error: pcfg_openfile() called with NULL filename

Published by pj under apache2,bugs,opensource,subversion

While upgrading Apache to version 2.2.4-2 for a subversion upgrade (version 1.4.4dfsg1-1) I ran into errors with my auth_pgsql (or any other auth_mysql, auth_ldap or auth_* module) setup:

“Internal error: pcfg_openfile() called with NULL filename”

This is caused by auth_basic and stops the authentication and authorisation process. Adding the following directive to your auth_pgsql or auth_ldap config file solves the problem:

“AuthBasicAuthoritative Off”
It disables basic authorisation being authoritive for the authorisation process. The errors will still be visible in your logfiles, but the authorisation scheme works as normal.

Other tags:

  • Apache 2.2 error
  • Apache 2.2 subversion 1.4.4 error
  • mod_pgsql pcfg_openfile errors

http://gforge.org/forum/message.php?msg_id=10926&group_id=128

11 responses so far

Aug 02 2007

Windows image viewer slow

Published by pj under bugs

When your windows image viewer is really slow in showing the image (halts on ‘Generating preview’), make sure that there are no dead links in the same folder as you are currently viewing the file in. Broken links to network drives for example cause slowdown of the image viewer. This usually occurs on the desktop, which contains shortcuts to programs or games that might no longer be installed on your computer.

Moving the images to a seperate directory solves the problem.

Other tags:

  • slow windows image viewer
  • performance problem windows image viewer
  • Picture taking forever to open

12 responses so far

Jan 11 2007

Carpc

Published by pj under Projects,prive

Jan 11 11:26:10 rory sshd[19339]: Accepted publickey for bmw from 10.0.0.246 port 2869 ssh2

I love it when a plan comes together!

Not yet 100% complete. it lacks:

  • rf keyboard (ordered, waiting)
  • playback control remote (borrow from friend)
  • power plug in trunk of car (using converter on front 12v plug right now)

One response so far

Jan 03 2007

To DVI or not to DVI Part 2

Published by pj under bugs,hardware

After my dramatic attempt to get my hands on an IIyama E2200WS last weekend, the friendly people at graficall sold me a *real* E2200WS.

I had to negotiate a new sleeping place with the cats, though:

(apologies on the low motorola SLVR resolution)

No responses yet

Jan 02 2007

Samba/Windows problem: content of folder does not refresh part 2

Published by pj under opensource,samba

In reference to this older post, several people requested my smbd.conf samba configuration file. Here it is:

[global]
refresh = 1
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
socket options = TCP_NODELAY
obey pam restrictions = yes
interfaces = 192.168.1.0/255.255.255.0
encrypt passwords = true
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam
wins support = true
dns proxy = no
server string = %h server (Samba, Ubuntu)
invalid users = root
unix password sync = yes
workgroup = KOALA
os level = 20
syslog = 0
panic action = /usr/share/samba/panic-action %d
max log size = 1000
#strict sync = no
#sync always = no
#oplocks = no
#level 2 oplocks = no
kernel change notify = yes
fam change notify = yes

No responses yet

Jan 01 2007

Transparent SQL proxy

Published by pj under design,opensource

I’m about to start a new project: a transparent SQL proxy. Connect your PHP-app to this “fake” mysql server, which sits in between your app and postgresql server translating all mysql-specific queries to normal sql’92 compliant format.

Requirements:

  • support backend connections to postgres
  • emulate mysql behaviour to frontend
  • in Release1, queries for ‘X-cart’ shopping cart software should be supported

I have a clear picture of this. Does anyone have more ideas to contribute? I’ll start designing in the next few days.

No responses yet

« Prev - Next »