[memcached] memcached: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or director/usr/local/share/libevent-1.4.4-stable/_root/lib holds the files (per default) - cf. man ldconfig and ld.so to proceed from there...
Thursday, September 18, 2008
Apple Calendar Server and memcached
the apple calendar server (in r2002) seems to 'forget' to make libevent - it works hard to download, compile and install - available for the executable...
Sunday, September 14, 2008
OpenVPN and fail2ban
wanted to combine Shorewall and fail2ban for SSH and OpenVPN - but found no OpenVPN filters, hence, added http://www.fail2ban.org/wiki/index.php/OpenVPN.
Monday, August 18, 2008
Saturday, August 16, 2008
Shorewall and Limit: how to reset a Limit counter
...i have still no ide how to reset the counter in /proc/net/ipt_recent/
but found a way to circumvent the blocking of an address for some time:
1. sudo iptables -L | grep -e "Chain.*%Limit\([0-9]\+\)\? "
- this lists all the Limit Chains
2. sudo iptables -I %Limit -m recent --name SSHA --remove -s IPADDRESS
- in case the Chain is calld %Limit and the name for the recent module is SSHA
References:
but found a way to circumvent the blocking of an address for some time:
1. sudo iptables -L | grep -e "Chain.*%Limit\([0-9]\+\)\? "
- this lists all the Limit Chains
2. sudo iptables -I %Limit -m recent --name SSHA --remove -s IPADDRESS
- in case the Chain is calld %Limit and the name for the recent module is SSHA
Friday, August 8, 2008
OS X Leopard (>= 10.5.4 + Security Update 2008-005) - 'Add Printer' for non-admin users
funnily enough the latest Security Update seems to have outdated this hack.
now the Add Printers... dialogue shows all broadcasted cups printers. however, users cannot add them without authenticating as an Administrator of the computer.
a possible solution seems to be to edit a different part of the cupsd.conf file. look for this section and change it accordingly...
Referenes:
now the Add Printers... dialogue shows all broadcasted cups printers. however, users cannot add them without authenticating as an Administrator of the computer.
a possible solution seems to be to edit a different part of the cupsd.conf file. look for this section and change it accordingly...
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
# AuthType Default
# Require user @SYSTEM
Require valid-user
Order deny,allow
</Limit>
Referenes:
Tuesday, July 29, 2008
Change OS X 10.5 Leopard Dock from 3D to 2D
a quick reminder for myself (because i'd rather like the two lines than downloading a software...)
references:
defaults write com.apple.dock no-glass -boolean YES
killall Dock
references:
Monday, July 28, 2008
Flushing DNS Cache
mac os x:
win:
linux:
lookupd -flushcache
win:
ipconfig /flushdns
linux:
/etc/init.d/ncsd restart
Thursday, July 17, 2008
flashplugin-nonfree on Debian GNU/Linux amd64
installation of flashplugin-nonfree resulted in:
(in between i also found that linux32 should be installed - but wasn't. strace -f was helpful...)
...what helped in the end:
references:
*** NSPlugin Viewer *** preloader not founddebugging went along the lines of
nspluginwrapper: no appropriate viewer found for /usr/lib/flashplugin-nonfree/libflashplayer.so
ldd /usr/lib/nspluginwrapper/i386/linux/npviewer.binand finding that some libs were missing...
(in between i also found that linux32 should be installed - but wasn't. strace -f was helpful...)
...what helped in the end:
aptitude install -t testing linux32 ia32-libs ia32-libs-gtk flashplugin-nonfree/unstable
references:
Monday, July 14, 2008
svn-finder integration for (very) basic use cases
was about to write some tiny scripts to get some basic svn commands integrated into Finder.app - luckily, came first across: http://svn-finder.sourceforge.net/
Tuesday, July 8, 2008
backup: notification instead of polling
realized that my machine needs an awful lot amount of time to walk through a directory to check whether anything has changed and, hence, need to go into a backup. instead, i thought, it would be neat to use e.g. inotify.
current idea: use iwatch to monitor for file system events, record the files, feed the list to the backup...
- will keep you posted...
change language in "grammar and spelling" on OS X
in case you want to change the language in the "grammar and spelling" dialog box the short cut
CMD+SHIFT+: comes very handy...
well, but then you are stuck with a floating windows - grab the mouse and change the setting. now,
CTRL+F6 comes handy - this should focus the floating window.
after the first switch the
SHIFT+TAB comes handy to switch to the language field. when leaving the dialog box open, now, the language is pre selected...
Sunday, June 29, 2008
cleaning house in osx
- use xslimmer or monolingual to strip down languages and unneeded architectures
- for all those compiling left overs of macports
sudo port clean --all -vf installed
- and mostly not needed inactive ports
sudo port -f uninstall inactive
- get rid of all the gui developer files (don't do this if you yourself develop applications on that machine, it will delete all designable.nib files)
sudo find / -iname "designable.nib" -exec rm "{}" \;
- for all those compiling left overs of macports
sudo port clean --all -vf installed
- and mostly not needed inactive ports
sudo port -f uninstall inactive
- get rid of all the gui developer files (don't do this if you yourself develop applications on that machine, it will delete all designable.nib files)
sudo find / -iname "designable.nib" -exec rm "{}" \;
Monday, June 9, 2008
future reminder: FreeBSD for dummies, aka. linux users...
don't ask - but i might need this in the near future...
Friday, May 30, 2008
nss signtool, xulrunner, firefox 3 add-ons and things i don't want to mention - currently on a debian system
in the very unlikely case someone wants to write an add-on for firefox - and let's assume this add-on should run with the new ff3... and the add-on should not be hosted on mozilla.org... well, this is going to be a tough one (and i dont't even want to go into that).
furthermore, let's assume (now, that it's obvious that this add-on needs to be signed) the signing is supposed to take place on a current debian system...
...and, last but no least, this system should also run a xulrunner in ver.> 1.8.1
these constraints will lead (among others) to the following packages:
libnss3-1d, 3.12.0~rc3-1
libnss3-tools, 3.12.0~rc3-1
related:
furthermore, let's assume (now, that it's obvious that this add-on needs to be signed) the signing is supposed to take place on a current debian system...
...and, last but no least, this system should also run a xulrunner in ver.> 1.8.1
these constraints will lead (among others) to the following packages:
libnss3-1d, 3.12.0~rc3-1
libnss3-tools, 3.12.0~rc3-1
in case the signtool refuses to do part of its job (and complains about missing libraries) this might help:
ln -s /usr/lib/nss/libsoftokn3.so /usr/lib/libsoftokn3.so
ln -s /usr/lib/nss/libnssdbm3.so /usr/lib/libnssdbm3.so
ln -s /usr/lib/nss/libsoftokn3.so /usr/lib/libsoftokn3.so
ln -s /usr/lib/nss/libnssdbm3.so /usr/lib/libnssdbm3.so
related:
Tuesday, May 27, 2008
Subscribe to:
Posts (Atom)