Better openerp-server init.d script, for ennhanced Monit/d behavior

simple

December 6, 2012

Linux

No Comment

This script was taken from the default distributions openerp-server init.d script and mainly modified for improved Monit/d behavior. The main problem was that sometimes the openerp-server could not be reliable shutdown – as a result a manual kill had been necessary. This should be now addressed with the following script: [crayon-5a3018b570e42395269885/]

Read More

UNIX: Jailkit – jk_init, jk_chrootsh

simple

January 25, 2012

Linux

No Comment

Sometimes you do not want to have users bugging around with your server, but only set up a shell environment where they can work. The answer for Solaris, many Linux distributions, OpenBSD, FreeBSD and MacOSX is plain and simple JailKit. Install it using the package manager of your favorite distribution or download the source from: […]

Read More

ISPConfig3: Mail aliases for login to Dovecot

If you knew ISPConfig2 you probably remember the user login approach which was done there: [crayon-5a3018b571c2d452355851/] Now with ISPConfig3 this has changed to the better by using the users email address – sounds cool – it is! But what about migration from ispconfig 2 to ispconfig 3 – you do not want to drive around […]

Read More

Terminal: Search and Replace text in all files in a folder and its subfolders

I just stumbled across a neat idea using perl to replace the content in files To replace all occurances of a string: find ./ -name “*.txt” | xargs perl -pi -e ‘s/stringtoreplace/replacementstring/g’ for every of these examples you can also use sed find ./ -name “*.txt” | xargs sed -i ‘s/stringtoreplace/replacementstring/’ or rpl rpl stringtoreplace […]

Read More

Cyrus database problem

simple

May 17, 2007

Linux

No Comment

After several DB problems after a cyrus update, I pput this information together: https://bugs.launchpad.net/ubuntu/+source/cyrus-imapd-2.2/+bug/53496 https://launchpad.net/ubuntu/+source/cyrus-imapd-2.2/+bug/67111 http://wiki.bsd-crew.de/index.php/Wiederherstellung_von_Cyrus-IMAPD_nach_Upgrade https://docs.astro.columbia.edu/ticket/544 http://gradstein.info/HowToRecoverFromCyrus technorati tags:linux, debian, cyrus, mta

Read More

Free Linux Nas Distro

simple

March 18, 2007

Linux

No Comment

Naslite FreeNAS Clarkconnect SME Server www.openfiler.com technorati tags:nas

Read More

RedBoot commands notes

simple

January 7, 2007

Linux

No Comment

Editing Commands: ^A moves the cursor (insertion point) to the beginning of the line. ^K erases all characters on the line from the cursor to the end. ^P replaces the current line by a previous line from the history buffer. ^N replaces the current line by the next line from the history buffer. RedBoot Commands: […]

Read More

Thecus N2100 – Info Pages

simple

December 24, 2006

Gadgets, Linux

No Comment

http://onbeat.dk/thecus/index.php/N2100_Resources Discussion Boards: http://thecususergroup.proboards106.com/http://forum.thecus.net/phpBB2/ Firmware: http://d-i.alioth.debian.org/svn/debian-installer/installer/doc/devel/hardware/arm/thecus/firmware RedBoot: http://magicyyang.wordpress.com/2005/12/http://ecos.sourceware.org/docs-2.0/ref/download-command.html SSH: http://www.debonaras.org/wiki/Info/SSHBackdoor

Read More

Confixx logfile – with automated directory creation – pipelog.pl

simple

December 12, 2006

Internet, Linux

No Comment

[perl] #!/usr/bin/perl ###### Confixx-Apache-PipeLog ## zum Loggen der Webzugriffe pro User ########## erstellt am Sun Sep 26 22:13:28 2004 ### $logDir = “/var/log/apache2/sites/confixx/domains”; $stdLog = “/var/log/apache2/sites/confixx/stdlog_access”; while( ){ ($domain, $log) = split(/:#?:/, $_, 2); $domain = lc($domain); $userLogDir = “$logDir/$domain”; if(! -d $userLogDir){ mkdir $userLogDir; } $logfile = “$userLogDir/access.log”; if(! -f $logfile){ touch $logfile; } […]

Read More

UNIX: debian backports

simple

October 5, 2006

Linux

No Comment

Using backports.org is very simple: 1. Add this line deb http://www.backports.org/debian sarge-backports main contrib non-free to your /etc/apt/sources.list. 2. All backports are deactivated by default. You have to set a higher priority for each backport. For mutt, you add these lines: Package: mutt Pin: release a=sarge-backports Pin-Priority: 999 to your /etc/apt/preferences (if you haven’t use […]

Read More