Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: Matthias Andree
Newsgroups: de.comm.software.newsserver
Subject: inn-fixup, die =?ISO-8859-15?Q?n=E4chste?=
Date: Mon, 2 Aug 2004 15:34:51 +0000 (UTC)
Lines: 44
Sender: Matthias Andree
Message-ID:
X-Trace: news.uni-berlin.de LoSZ34Jl7g1vbRPbbdqQGAQa1zSuk/5loWHQTO/mgQmE6cU8BhpqgeMg==
X-Orig-Path: news.emma.line.org!not-for-mail
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (Linux/2.6.7 (i686))
Es sollte sich herausstellen, dass meinem Skript noch ein reload fehlte,
damit INN das active-File richtig auf die Reihe brachte. Aktuelle
Fassung:
------------------------------------------------------------------------
#! /bin/sh
set -e
if test "x`id -un`" != xnews ; then
echo >&2 "$0 must be executed as user news"
exit 1
fi
eval `innconfval -s`
set -x
cd $PATHDB
ctlinnd throttle 'fixup' || :
ctlinnd reject 'fixup' || :
ctlinnd reload '' ''
if [ x"$OVMETHOD" = x"buffindexed" ] ; then
awk -F: '
/^[0-9]+:/ {
printf "dd if=/dev/zero bs=1024 of=\"%s\" count=%d\n", $2, $3
}' $PATHETC/buffindexed.conf \
| sh -x
fi
makehistory -b -e -f history.n -O -l 30000
awk 'NF == 2 { print }' < history >> history.n
makedbz -s `wc -l < history` -f history.n
for i in history.n* ; do
mv $i history${i##history.n}
done
ctlinnd reload all fixup
ctlinnd go fixup
ctlinnd renumber ''
echo "done."
------------------------------------------------------------------------
--
Matthias Andree
Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)