[BlueOnyx:21815] Re: One VPS can not add new site
Rodrigo Ordoñez Licona
rordonez at xnet.com.mx
Tue Mar 6 22:39:59 -05 2018
I had this problem today,
Rebooted a server without shuting it down correctly.
I solved it using this script,(below)
Name it
oids.sh
and
chmod –c 755 oids.sh
# so you can execute it,
It it reports a diferente in the file codb.oids.
Put that text into oids
And restart chorizo
Systemctl restart cced.init.service
This scripts comes from an old post on the blueonyx list
HTH
Rodrigo O
Xnet
/////////////begin script
#!/bin/bash
LAST=-1
MIN=-1
for X in `ls /usr/sausalito/codb/objects/ | sort -n`
do
MYNEXT=$(( $LAST + 1 ))
if [ $MYNEXT -eq $X ]
then
LAST=$X
else
if [ $LAST -ge 1 ]
then
if [ $MIN -eq $LAST ]
then
echo -n $LAST,
else
echo -n $MIN-$LAST,
fi
fi
LAST=$X
MIN=$X
fi
done
if [ $MYNEXT -lt $X ]
then
echo -n $LAST
else
echo -n $MIN-$LAST
fi
echo ""
echo "/usr/sausalito/codb/codb.oids reports:"
cat /usr/sausalito/codb/codb.oids
echo ""
////////////////////////end script
From: Blueonyx [mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of Richard Barker
Sent: martes, 6 de marzo de 2018 02:18 p. m.
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:21814] One VPS can not add new site
We have one VPS can not add new site it is yum is up to date 5209R base line php is 5.4.16 mariadb is 10.1.18
just hangs up.
Have a text message file
RC
--
Richard C. Barker Sr.
CEO & President
1-813-873-8942
ProBass Networks Inc.
www.probassnetworks.net
www.probass.net
***************************************
DISCLAIMER : -
This e-mail is confidential and intended only for the use
of the individual or entity named above and may contain
information that is privileged. If you are not the intended
recipient, you are notified that any dissemination, distribution
or copying of this e-mail is strictly prohibited. If you have
received this email in error, please notify us immediately
by return email or telephone and destroy the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20180306/246cf164/attachment.html>
More information about the Blueonyx
mailing list