[BlueOnyx:09952] Re: CCE DNS Hanging

2012-03-30 Thread SB9-PageKeeper Service

Subject: [BlueOnyx:09951] Re: CCE DNS Hanging


> Hi Matt.
>
> The cobalt object databases has three main components
>
> 1. The actual objects. These are stored in a directory structure.
> 2. codb.oids - You already found and fixed a problem with the data in
> this file.
> 3. db.classes - This file maintains a cross reference of class names to
> object numbers - and is used to help with search routines. Eg show me a
> list of oid's for DNS records
>
> I have never seen a corruption with #1. We've fixed #2. #3 is the only
> remaining area of concern. Bad news: This file is a bit of a black art.
> I dont think anyone has done any detailed research on this index - its
> structure, or how it is maintained. It has been on my to-do list to do
> some research on it - but I have not succeeded in finding some time yet.
>
> Short term advice: Cmu export / import to a new server.
>
> Long term - someone needs to find some time/bandwidth to research and
> understand this file - and create a tool to do a rebuild if it gets
> corrupt... but dont hold your breath.
>
> On 3/31/2012 1:44 AM, Matt James wrote:
>> Hi Greg,
>>
>> Thanks again for your help.  I've run the script and here's what happened 
>> for me:
>>
>> * I ran the script and the output was almost identical except for the 
>> second number -- not sure if that matters
>> * I stopped CCE (this took a few minutes, which made me nervous, but it 
>> eventually worked without erroring)
>> * I updated the /usr/sausalito/codb/codb.oids file with the first line of 
>> information from the script
>> * I restarted CCE
>> * I went into the GUI and viewed the list of Secondary DNS.
>> * This list contained 68 empty records.
>> * I attempted to delete a record, which had no error, but also no affect.
>> * I ran my script again hoping that it would remove all records and 
>> re-add them from the master list -- the script hung like before.
>> * While waiting for the script to finish, I scanned down the list of 
>> records noting that the first had its own target id, while the others 
>> shared the same id (I had not reloaded the page since starting my script, 
>> so this was the output after the update to the oids index file).
>> * Eventually my script actually finished (though it could have been 
>> kicked out when I restarted CCED in an attempt to stop it from hanging).
>> * Unfortunately, now clicking the "Edit Secondary Services" button in the 
>> GUI hangs (I've left it for 12 minutes with no response).
>>
>> Any thoughts?
>>
>> Of note:
>> * We're using a BQ box at this time (planning to move it to BlueOnyx in 
>> the coming 1-2 months).
>> * I ran the corruption checker script again and the oids are the same 
>> still, so that's good.
>>
>> Again, thank you for your help!
>>
>> --
>> Matt James
>> Web Programmer
>> RainStorm Consulting
>> (207) 866-3908
>>
>>
>> On Mar 30, 2012, at 7:32 AM, Greg Kuhnert wrote:
>>
>>> On 3/30/2012 8:04 AM, Matt James wrote:
 Now, no matter what I do, I'm unable to make any changes to the CCE
 database even directly through the GUI.  If I attempt to edit and save
 the remaining Secondary DNS record, the GUI hangs upon save.  If I
 attempt to run my script, the script hangs.  If I attempt to use the
 dns cleaner script written in Perl (found here
 http://oldonce.gknsonline.com/bq-dnsImport.php), the script hangs.  If
 I even attempt to disable DNS in the GUI, saving that hangs.

>>> One more thing - That page is a static archive that I created ages ago
>>> to preserve some of the work of nuonce - the script is out of date, and
>>> its probably time to take that site offline.
>>>
>>> The replacement scripts are now in an RPM that you can install
>>>
>>> yum install blueonyx-dnstoolbox
>>>
>>> The  scripts will be installed in /usr/sausalito/sbin
>>>
>>> Regards,
>>> Greg.
>>> ___
Greg,

Will this script help if the GUI is totally hosed..? I have one BQ server 
that won't show any vsites
in the GUI and CMU won't find the info needed to export.. Been moving vsites 
the hard way..
Everything works but the GUI.

TIA
David Hahn 

___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09951] Re: CCE DNS Hanging

2012-03-30 Thread Greg Kuhnert
Hi Matt.

The cobalt object databases has three main components

1. The actual objects. These are stored in a directory structure.
2. codb.oids - You already found and fixed a problem with the data in 
this file.
3. db.classes - This file maintains a cross reference of class names to 
object numbers - and is used to help with search routines. Eg show me a 
list of oid's for DNS records

I have never seen a corruption with #1. We've fixed #2. #3 is the only 
remaining area of concern. Bad news: This file is a bit of a black art. 
I dont think anyone has done any detailed research on this index - its 
structure, or how it is maintained. It has been on my to-do list to do 
some research on it - but I have not succeeded in finding some time yet.

Short term advice: Cmu export / import to a new server.

Long term - someone needs to find some time/bandwidth to research and 
understand this file - and create a tool to do a rebuild if it gets 
corrupt... but dont hold your breath.

On 3/31/2012 1:44 AM, Matt James wrote:
> Hi Greg,
>
> Thanks again for your help.  I've run the script and here's what happened for 
> me:
>
> * I ran the script and the output was almost identical except for the second 
> number -- not sure if that matters
> * I stopped CCE (this took a few minutes, which made me nervous, but it 
> eventually worked without erroring)
> * I updated the /usr/sausalito/codb/codb.oids file with the first line of 
> information from the script
> * I restarted CCE
> * I went into the GUI and viewed the list of Secondary DNS.
> * This list contained 68 empty records.
> * I attempted to delete a record, which had no error, but also no affect.
> * I ran my script again hoping that it would remove all records and re-add 
> them from the master list -- the script hung like before.
> * While waiting for the script to finish, I scanned down the list of records 
> noting that the first had its own target id, while the others shared the same 
> id (I had not reloaded the page since starting my script, so this was the 
> output after the update to the oids index file).
> * Eventually my script actually finished (though it could have been kicked 
> out when I restarted CCED in an attempt to stop it from hanging).
> * Unfortunately, now clicking the "Edit Secondary Services" button in the GUI 
> hangs (I've left it for 12 minutes with no response).
>
> Any thoughts?
>
> Of note:
>   * We're using a BQ box at this time (planning to move it to BlueOnyx in 
> the coming 1-2 months).
>   * I ran the corruption checker script again and the oids are the same 
> still, so that's good.
>
> Again, thank you for your help!
>
> --
> Matt James
> Web Programmer
> RainStorm Consulting
> (207) 866-3908
>
>
> On Mar 30, 2012, at 7:32 AM, Greg Kuhnert wrote:
>
>> On 3/30/2012 8:04 AM, Matt James wrote:
>>> Now, no matter what I do, I'm unable to make any changes to the CCE
>>> database even directly through the GUI.  If I attempt to edit and save
>>> the remaining Secondary DNS record, the GUI hangs upon save.  If I
>>> attempt to run my script, the script hangs.  If I attempt to use the
>>> dns cleaner script written in Perl (found here
>>> http://oldonce.gknsonline.com/bq-dnsImport.php), the script hangs.  If
>>> I even attempt to disable DNS in the GUI, saving that hangs.
>>>
>> One more thing - That page is a static archive that I created ages ago
>> to preserve some of the work of nuonce - the script is out of date, and
>> its probably time to take that site offline.
>>
>> The replacement scripts are now in an RPM that you can install
>>
>> yum install blueonyx-dnstoolbox
>>
>> The  scripts will be installed in /usr/sausalito/sbin
>>
>> Regards,
>> Greg.
>> ___
>> Blueonyx mailing list
>> Blueonyx@mail.blueonyx.it
>> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>
> ___
> Blueonyx mailing list
> Blueonyx@mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx

___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09950] Logwatch Dovecot Details

2012-03-30 Thread SB9-PageKeeper Service
 Hi list,

Seeing a ton of logged out lines in logwatch since one of the updates last week.
Is there another setting in logwatch I need to adjust to limit some of the 
detail sent?

Detail Level of Output: 0
- Dovecot Begin  

 Dovecot disconnects:
Logged out: 487 Time(s)
Logged out bytes=11/46: 4 Time(s)
Logged out bytes=117/907: 2 Time(s)
Logged out bytes=120/904: 1 Time(s)
...

TIA
David Hahn___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09949] Mailman "max message length" error

2012-03-30 Thread Chris Gebhardt - VIRTBIZ Internet
5108R

When adding a new "Remote Subscriber" for a Mailing List, then click 
Save, this error message:
"Sorry, the data entered in the field maxlength is invalid. Please check 
your input and try again."

Changing Advanced tab > Maximum Message Length to something other than 
5kb appears to resolve the problem.

The default is 5k.

-- 
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09948] Re: CCE DNS Hanging

2012-03-30 Thread Matt James
Hi Greg,

Thanks again for your help.  I've run the script and here's what happened for 
me:

* I ran the script and the output was almost identical except for the second 
number -- not sure if that matters
* I stopped CCE (this took a few minutes, which made me nervous, but it 
eventually worked without erroring)
* I updated the /usr/sausalito/codb/codb.oids file with the first line of 
information from the script
* I restarted CCE
* I went into the GUI and viewed the list of Secondary DNS.
* This list contained 68 empty records.
* I attempted to delete a record, which had no error, but also no affect.
* I ran my script again hoping that it would remove all records and re-add them 
from the master list -- the script hung like before.
* While waiting for the script to finish, I scanned down the list of records 
noting that the first had its own target id, while the others shared the same 
id (I had not reloaded the page since starting my script, so this was the 
output after the update to the oids index file).
* Eventually my script actually finished (though it could have been kicked out 
when I restarted CCED in an attempt to stop it from hanging).
* Unfortunately, now clicking the "Edit Secondary Services" button in the GUI 
hangs (I've left it for 12 minutes with no response).

Any thoughts?

Of note:
* We're using a BQ box at this time (planning to move it to BlueOnyx in 
the coming 1-2 months).
* I ran the corruption checker script again and the oids are the same 
still, so that's good.

Again, thank you for your help!

--
Matt James
Web Programmer
RainStorm Consulting
(207) 866-3908


On Mar 30, 2012, at 7:32 AM, Greg Kuhnert wrote:

> On 3/30/2012 8:04 AM, Matt James wrote:
>> Now, no matter what I do, I'm unable to make any changes to the CCE 
>> database even directly through the GUI.  If I attempt to edit and save 
>> the remaining Secondary DNS record, the GUI hangs upon save.  If I 
>> attempt to run my script, the script hangs.  If I attempt to use the 
>> dns cleaner script written in Perl (found here 
>> http://oldonce.gknsonline.com/bq-dnsImport.php), the script hangs.  If 
>> I even attempt to disable DNS in the GUI, saving that hangs.
>> 
> One more thing - That page is a static archive that I created ages ago 
> to preserve some of the work of nuonce - the script is out of date, and 
> its probably time to take that site offline.
> 
> The replacement scripts are now in an RPM that you can install
> 
> yum install blueonyx-dnstoolbox
> 
> The  scripts will be installed in /usr/sausalito/sbin
> 
> Regards,
> Greg.
> ___
> Blueonyx mailing list
> Blueonyx@mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx


___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09947] Re: GUI Broken

2012-03-30 Thread Chris Gebhardt - VIRTBIZ Internet
Bill Hicks wrote:
> Chris
> 
> Yeah I discoverd that after the fact, thats why I did it on a test box.

:)   It's good to have a test system if you're going to "experiment"!

Also, this is why there is a WARNING on every system at 
/etc/yum.repos.d/0_WARNING.txt that reads:

WARNING!


Do NOT use RPMForge!

Do NOT tie your server into third party YUM repositories UNLESS they are 
certified for BlueOnyx.

Third party YUM repository servers (*especially* RPMforge!) replace 
onboard RPMs with versions that conflict with BlueOnyx. That will then 
break the GUI and will cause service outages.

The damages that this will cause may not be easy to repair.

If you require specific software that's not present in the CentOS5 or 
BlueOnyx YUM repositories,then consider asking for it on the BlueOnyx 
mailing list to check what other peoples experienceswith it are.

The mailing list can be found here:

http://www.blueonyx.it/index.php?page=mailing-list

Thank you.

Team BlueOnyx
http://www.blueonyx.it



The warning mentions YUM repositories other than certified for BlueOnyx.

Hint: there aren't any EXCEPT for the ones that come "factory installed" 
on a fresh BlueOnyx box and those that may be added automatically by a 
BlueOnyx package vendor such as Compass Networks or Solarspeed.

-- 
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09946] Re: CCE DNS Hanging

2012-03-30 Thread Matt James
Terrific information.  Thank you very much!

--
Matt James
Web Programmer
RainStorm Consulting
(207) 866-3908



On Mar 30, 2012, at 7:24 AM, Greg Kuhnert wrote:

> On 3/30/2012 8:04 AM, Matt James wrote:
>> 
>> Hi everyone,
>> 
>> I was recently making an update to our secondary DNS server to update 
>> existing DnsSlaveZone objects with a new "masters" IP value. 
>> 
>> After running the script, I refreshed the Secondary DNS list in the GUI to 
>> find that none of the records had been updated with the new value.  After 
>> looking into it, it turned out that the code was attempting to create new 
>> DnsSlaveZone objects with duplicate information to existing objects.  Once I 
>> discovered that, I decided to clear out all DnsSlaveZone objects and 
>> re-populate the list from a master list of domains in the Primary DNS 
>> server.  After running that script, I found that one of my Secondary DNS 
>> entries remained.
>> 
>> Now, no matter what I do, I'm unable to make any changes to the CCE database 
>> even directly through the GUI.  If I attempt to edit and save the remaining 
>> Secondary DNS record, the GUI hangs upon save.
> 
> Sounds like a corrupt cobalt database...
> 
>>  If I attempt to run my script, the script hangs.  If I attempt to use the 
>> dns cleaner script written in Perl (found here 
>> http://oldonce.gknsonline.com/bq-dnsImport.php), the script hangs.  If I 
>> even attempt to disable DNS in the GUI, saving that hangs.
>> 
> Yep - its pooched.
> 
>> A couple of questions:
>>  1) Is there a place where I can get some debug output as to what might be 
>> causing the issue?
>>  2) Does anyone have any recommendations as to the best way to proceed?
>> 
> 
> I wrote a script a while back while troubleshooting a similar issue for a 
> client... Copy of script below. When you run the script, it produces two 
> lists of numbers. If they are NOT the same, your database is corrupt.
> 
> First line: This is the real list of CODB objects found in the file system by 
> the script.
> Second line: This is an index of active CODB objects. This is the list that 
> is broken.
> 
> Solution:
> 
> Run the script, then stop CCEd. Then edit /usr/sausalito/codb/codb.oids and 
> replace everything in it with ALL the data from the first list of numbers in 
> the script output, and save the changes.
> 
> Then restart CCEd
> 
> Hope that helps.
> 
> --- script starts here -
> 
> #!/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 ""
> 
> 
> 
> ___
> Blueonyx mailing list
> Blueonyx@mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx

___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09945] Re: GUI Broken

2012-03-30 Thread Bill Hicks
Chris

Yeah I discoverd that after the fact, thats why I did it on a test box.

Bill H

> Bill Hicks wrote:
>> I saw that you solved it but I got errors similare to that on a test box
>> when I tried to upgrade php.
>
> You should not be "upgrading" PHP on a BlueOnyx box.   That's why you
> broke it.
>
> If you need a PHP upgrade, the safest thing to do is to go with a PKG
> vendor such as Solarspeed or Compass.
>
> Or you can use 5107R or 5108R to get Scientific Linux 6, which carries
> PHP 5.3.3 by default.
>
> -- 
> Chris Gebhardt
> VIRTBIZ Internet Services
> Access, Web Hosting, Colocation, Dedicated
> www.virtbiz.com | toll-free (866) 4 VIRTBIZ
> ___
> Blueonyx mailing list
> Blueonyx@mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
> 

___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09944] Re: GUI Broken

2012-03-30 Thread Chris Gebhardt - VIRTBIZ Internet

Gustavo Silva wrote:
> *I've browsed the List archive looking for answers and all the pointers 
> i have found point to a PHP version upgrade, but that didnt happen. Only 
> thing -non-stock- i have installed was php-soap libs.

Is this a 5106R system?  Or what version are you using?

Also... what did you do in order to install php-soap?  What repo did you 
get that from?
-- 
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09943] Re: GUI Broken

2012-03-30 Thread Chris Gebhardt - VIRTBIZ Internet
Bill Hicks wrote:
> I saw that you solved it but I got errors similare to that on a test box 
> when I tried to upgrade php.

You should not be "upgrading" PHP on a BlueOnyx box.   That's why you 
broke it.

If you need a PHP upgrade, the safest thing to do is to go with a PKG 
vendor such as Solarspeed or Compass.

Or you can use 5107R or 5108R to get Scientific Linux 6, which carries 
PHP 5.3.3 by default.

-- 
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09942] Re: GUI Broken

2012-03-30 Thread Bill Hicks
I saw that you solved it but I got errors similare to that on a test box when I 
tried to upgrade php.

Bill Hicks


  Hi Gustavo,

  did you restart the CCED with

  /etc/rc.d/init.d/cced.init restart ?

  And perhaps restart the admserv with 

  /etc/rc.d/init.d/admserv restart ?


-- 
Dirk Jessel

BB-ONE.net - BX/BQ-VPS-Hosting in Berlin
Support-Team 
---
Internetpartner der Wirtschaft
Web:   www.bb-one.net
eMail: supp...@bb-one.net
Fon:   +49 30 22 49 46 30

BB-ONE.net Ltd.
Niederlassung Berlin
13439 Berlin
Borgsdorfer Strasse 30  
USt-IdNr. DE188018781 
Amtsgericht Berlin-Charlottenburg, HRB 104629
Geschäftsführer Uwe Stache
---

  Am 30.03.2012 13:19, schrieb Gustavo Silva: 
Hello and thanks in advance,

on a BO box I have running I started getting this errors when i try to 
access the gui:

---
Warning: include_once(I18n.php) [function.include-once]: failed to open 
stream: No such file or directory in /usr/sausalito/ui/web/login.php on line 14

Warning: include_once() [function.include]: Failed opening 'I18n.php' for 
inclusion (include_path='.:/usr/share/pear:/usr/share/php') 
in/usr/sausalito/ui/web/login.php on line 14

Warning: include_once(uifc/Stylist.php) [function.include-once]: failed to 
open stream: No such file or directory in /usr/sausalito/ui/web/login.php on 
line 15

Warning: include_once() [function.include]: Failed opening 
'uifc/Stylist.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in/usr/sausalito/ui/web/login.php on line 15

Warning: include_once(CceClient.php) [function.include-once]: failed to 
open stream: No such file or directory in /usr/sausalito/ui/web/login.php on 
line 18

Warning: include_once() [function.include]: Failed opening 'CceClient.php' 
for inclusion (include_path='.:/usr/share/pear:/usr/share/php') 
in/usr/sausalito/ui/web/login.php on line 18

Fatal error: Class 'CceClient' not found in /usr/sausalito/ui/web/login.php 
on line 19
---

I've browsed the List archive looking for answers and all the pointers i 
have found point to a PHP version upgrade, but that didnt happen. Only thing 
-non-stock- i have installed was php-soap libs.

Yum.log shows no evidence of anything that might have broken it.

If i add the sausalito path to the include_path in /etc/admserv/php.ini, 
just this error happens:

---
Fatal error: Class 'CceClient' not found in /usr/sausalito/ui/web/login.php 
on line 19
---


Anyone else noticed this behavior?

Thanks in advance for any pointers!
Cheers
Gustavo

 

___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx




--


  ___
  Blueonyx mailing list
  Blueonyx@mail.blueonyx.it
  http://mail.blueonyx.it/mailman/listinfo/blueonyx
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09941] Re: GUI Broken

2012-03-30 Thread Gustavo Silva

Nevermind... Found what happened.
But.. This shouldnt happen! :)

The /etc/admserv/php.ini file got replaced with a default one..
Put one of the backups in place and ta-daaa: solved.

Thanks!
Gustavo

On 12/03/30 12:19, Gustavo Silva wrote:

Hello and thanks in advance,

on a BO box I have running I started getting this errors when i try to 
access the gui:


---
*Warning*: include_once(I18n.php) [function.include-once 
]: failed to open 
stream: No such file or directory 
in*/usr/sausalito/ui/web/login.php*on line*14*


*Warning*: include_once() [function.include 
]: Failed opening 
'I18n.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in*/usr/sausalito/ui/web/login.php*on line*14*


*Warning*: include_once(uifc/Stylist.php) [function.include-once 
]: failed to open 
stream: No such file or directory 
in*/usr/sausalito/ui/web/login.php*on line*15*


*Warning*: include_once() [function.include 
]: Failed opening 
'uifc/Stylist.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in*/usr/sausalito/ui/web/login.php*on line*15*


*Warning*: include_once(CceClient.php) [function.include-once 
]: failed to open 
stream: No such file or directory 
in*/usr/sausalito/ui/web/login.php*on line*18*


*Warning*: include_once() [function.include 
]: Failed opening 
'CceClient.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in*/usr/sausalito/ui/web/login.php*on line*18*


*Fatal error*: Class 'CceClient' not found 
in*/usr/sausalito/ui/web/login.php*on line*19

*---
*
*I've browsed the List archive looking for answers and all the 
pointers i have found point to a PHP version upgrade, but that didnt 
happen. Only thing -non-stock- i have installed was php-soap libs.


Yum.log shows no evidence of anything that might have broken it.

If i add the sausalito path to the include_path in 
/etc/admserv/php.ini, just this error happens:


---
*Fatal error*: Class 'CceClient' not found 
in*/usr/sausalito/ui/web/login.php*on line*19*

---


Anyone else noticed this behavior?

Thanks in advance for any pointers!
Cheers
Gustavo


___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09940] Re: CCE DNS Hanging

2012-03-30 Thread Greg Kuhnert
On 3/30/2012 8:04 AM, Matt James wrote:
> Now, no matter what I do, I'm unable to make any changes to the CCE 
> database even directly through the GUI.  If I attempt to edit and save 
> the remaining Secondary DNS record, the GUI hangs upon save.  If I 
> attempt to run my script, the script hangs.  If I attempt to use the 
> dns cleaner script written in Perl (found here 
> http://oldonce.gknsonline.com/bq-dnsImport.php), the script hangs.  If 
> I even attempt to disable DNS in the GUI, saving that hangs.
>
One more thing - That page is a static archive that I created ages ago 
to preserve some of the work of nuonce - the script is out of date, and 
its probably time to take that site offline.

The replacement scripts are now in an RPM that you can install

yum install blueonyx-dnstoolbox

The  scripts will be installed in /usr/sausalito/sbin

Regards,
Greg.
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09939] Re: GUI Broken

2012-03-30 Thread BB-ONE.net - BX/BQ-VPS-Hosting in Berlin

Hi Gustavo,

did you restart the CCED with

/etc/rc.d/init.d/cced.init restart ?

And perhaps restart the admserv with

/etc/rc.d/init.d/admserv restart ?

--
Dirk Jessel

BB-ONE.net - BX/BQ-VPS-Hosting in Berlin
Support-Team
---
Internetpartner der Wirtschaft
Web:   www.bb-one.net
eMail: supp...@bb-one.net
Fon:   +49 30 22 49 46 30

BB-ONE.net Ltd.
Niederlassung Berlin
13439 Berlin
Borgsdorfer Strasse 30  
USt-IdNr. DE188018781
Amtsgericht Berlin-Charlottenburg, HRB 104629
Geschäftsführer Uwe Stache
---



Am 30.03.2012 13:19, schrieb Gustavo Silva:

Hello and thanks in advance,

on a BO box I have running I started getting this errors when i try to 
access the gui:


---
*Warning*: include_once(I18n.php) [function.include-once 
]: failed to open 
stream: No such file or directory 
in*/usr/sausalito/ui/web/login.php*on line*14*


*Warning*: include_once() [function.include 
]: Failed opening 
'I18n.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in*/usr/sausalito/ui/web/login.php*on line*14*


*Warning*: include_once(uifc/Stylist.php) [function.include-once 
]: failed to open 
stream: No such file or directory 
in*/usr/sausalito/ui/web/login.php*on line*15*


*Warning*: include_once() [function.include 
]: Failed opening 
'uifc/Stylist.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in*/usr/sausalito/ui/web/login.php*on line*15*


*Warning*: include_once(CceClient.php) [function.include-once 
]: failed to open 
stream: No such file or directory 
in*/usr/sausalito/ui/web/login.php*on line*18*


*Warning*: include_once() [function.include 
]: Failed opening 
'CceClient.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in*/usr/sausalito/ui/web/login.php*on line*18*


*Fatal error*: Class 'CceClient' not found 
in*/usr/sausalito/ui/web/login.php*on line*19

*---
*
*I've browsed the List archive looking for answers and all the 
pointers i have found point to a PHP version upgrade, but that didnt 
happen. Only thing -non-stock- i have installed was php-soap libs.


Yum.log shows no evidence of anything that might have broken it.

If i add the sausalito path to the include_path in 
/etc/admserv/php.ini, just this error happens:


---
*Fatal error*: Class 'CceClient' not found 
in*/usr/sausalito/ui/web/login.php*on line*19*

---


Anyone else noticed this behavior?

Thanks in advance for any pointers!
Cheers
Gustavo


___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09938] Re: CCE DNS Hanging

2012-03-30 Thread Greg Kuhnert

On 3/30/2012 8:04 AM, Matt James wrote:

Hi everyone,

I was recently making an update to our secondary DNS server to update 
existing DnsSlaveZone objects with a new "masters" IP value.


After running the script, I refreshed the Secondary DNS list in the 
GUI to find that none of the records had been updated with the new 
value.  After looking into it, it turned out that the code was 
attempting to create new DnsSlaveZone objects with duplicate 
information to existing objects.  Once I discovered that, I decided to 
clear out all DnsSlaveZone objects and re-populate the list from a 
master list of domains in the Primary DNS server.  After running 
/that/ script, I found that one of my Secondary DNS entries remained.


Now, no matter what I do, I'm unable to make any changes to the CCE 
database even directly through the GUI.  If I attempt to edit and save 
the remaining Secondary DNS record, the GUI hangs upon save.


Sounds like a corrupt cobalt database...

 If I attempt to run my script, the script hangs.  If I attempt to use 
the dns cleaner script written in Perl (found here 
http://oldonce.gknsonline.com/bq-dnsImport.php), the script hangs.  If 
I even attempt to disable DNS in the GUI, saving that hangs.



Yep - its pooched.


A couple of questions:
1) Is there a place where I can get some debug output as to what might 
be causing the issue?

2) Does anyone have any recommendations as to the best way to proceed?



I wrote a script a while back while troubleshooting a similar issue for 
a client... Copy of script below. When you run the script, it produces 
two lists of numbers. If they are NOT the same, your database is corrupt.


First line: This is the real list of CODB objects found in the file 
system by the script.
Second line: This is an index of active CODB objects. This is the list 
that is broken.


Solution:

Run the script, then stop CCEd. Then edit /usr/sausalito/codb/codb.oids 
and replace everything in it with ALL the data from the first list of 
numbers in the script output, and save the changes.


Then restart CCEd

Hope that helps.

--- script starts here -

#!/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 ""



___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:09937] GUI Broken

2012-03-30 Thread Gustavo Silva

Hello and thanks in advance,

on a BO box I have running I started getting this errors when i try to 
access the gui:


---
*Warning*: include_once(I18n.php) [function.include-once 
]: failed to open 
stream: No such file or directory in*/usr/sausalito/ui/web/login.php*on 
line*14*


*Warning*: include_once() [function.include 
]: Failed opening 
'I18n.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in*/usr/sausalito/ui/web/login.php*on line*14*


*Warning*: include_once(uifc/Stylist.php) [function.include-once 
]: failed to open 
stream: No such file or directory in*/usr/sausalito/ui/web/login.php*on 
line*15*


*Warning*: include_once() [function.include 
]: Failed opening 
'uifc/Stylist.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in*/usr/sausalito/ui/web/login.php*on line*15*


*Warning*: include_once(CceClient.php) [function.include-once 
]: failed to open 
stream: No such file or directory in*/usr/sausalito/ui/web/login.php*on 
line*18*


*Warning*: include_once() [function.include 
]: Failed opening 
'CceClient.php' for inclusion 
(include_path='.:/usr/share/pear:/usr/share/php') 
in*/usr/sausalito/ui/web/login.php*on line*18*


*Fatal error*: Class 'CceClient' not found 
in*/usr/sausalito/ui/web/login.php*on line*19

*---
*
*I've browsed the List archive looking for answers and all the pointers 
i have found point to a PHP version upgrade, but that didnt happen. Only 
thing -non-stock- i have installed was php-soap libs.


Yum.log shows no evidence of anything that might have broken it.

If i add the sausalito path to the include_path in /etc/admserv/php.ini, 
just this error happens:


---
*Fatal error*: Class 'CceClient' not found 
in*/usr/sausalito/ui/web/login.php*on line*19*

---


Anyone else noticed this behavior?

Thanks in advance for any pointers!
Cheers
Gustavo
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx