Hi Michael, There seems to be a script error.
./oidlist.sh: line 6: syntax error near unexpected token `MYNEXT=$(( $LAST + 1 ))' ./oidlist.sh: line 6: ` MYNEXT=$(( $LAST + 1 ))' Many Thanks Jason > -----Original Message----- > From: [email protected] [mailto:blueonyx- > [email protected]] On Behalf Of Michael Stauber > Sent: 09 December 2009 17:47 > To: BlueOnyx General Mailing List > Subject: [BlueOnyx:03058] Re: CCED problem? > > Hi Jason, > > > I have had problems with one of our BlueOnyx servers and aliases and > have > > never been able to get to the bottom off it. I have today found that > I am > > also having a problem with the Newlinq. The errors in the messages > log are > > as follows > > > > When checking for new packages; > > "cced(smd)[9534]: client 0:[0:9516]: CREATE Package failed (-7)" > > > > When adding a vsite; > > "cced(smd)[9633]: client 6:[48:9547]: CREATE Vsite failed (-7)" > > > > When adding a user; > > "cced(smd)[9661]: client 6:[48:9545]: CREATE User failed (-7)" > > > > When adding an aliases to an existing user; > > "cced(smd)[9806]: client 6:handlers/base/email/personal.pl: CREATE > > EmailAlias failed (-7)" > > > > I can't think of any other instances where I have problems. Maybe > this new > > information might spark and idea? > > Please create a script on your server (name it /root/oidlist.sh) and > put the > following codein it: > > ---Start--- > #!/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 $LAST > fi > echo "" > echo "/usr/sausalito/codb/codb.oids reports:" > cat /usr/sausalito/codb/codb.oids > echo "" > --End-- > > That's everything between "---Start---" and "---End---". Then make that > script > executeable (chmod 700 /root/oidlist.sh) and run it as root. Report > back the > output that it generates. > > That might help to diagnose this further. > > -- > With best regards > > Michael Stauber > > _______________________________________________ > Blueonyx mailing list > [email protected] > http://www.blueonyx.it/mailman/listinfo/blueonyx > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. _______________________________________________ Blueonyx mailing list [email protected] http://www.blueonyx.it/mailman/listinfo/blueonyx
