Archive

Archive for the ‘Dedicated Server’ Category

zimbra : Error in NoteBook. system failure: wiki formatter failure

May 19th, 2010 No comments

I have this when I enter in notebook, inte user interface I click on Notebook, and didn`t work why is it?  what would the wrong ?

HTTP ERROR 500

Problem accessing /service/home/admin@domainname/Notebook. Reason:

    system failure: wiki formatter failure

Powered by Jetty://

Sounds like you don’t have Documents enabled,You can use following steps to enable it.

All you need to do is re-initalize the notebook template for the renamed wiki user (wiki@domain.com)

1. login to the zimbra server.
2. Shell into the zimbra account (su – zimbra)
3. run zmprov in wiki@domain.com
4. look for the following output: Initializing folders

Regards

Alex P

configure: error: C++ preprocessor “/lib/cpp” fails sanity check

April 19th, 2009 6 comments

Hello,

If you having trouble compiling any application manually using “configure” , here simple fix for this error.

Error ::

checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Solution::

  • Centos/Fedora/RHEL
    yum install gcc gcc-cpp gcc-c++
  • Ubuntu/Debain
    apt-get install gcc gcc-cpp gcc-c++

Regards

AlexP

What is the advantge and disadvantage of mysql_connect() and mysql_pconnect() ?

April 16th, 2009 1 comment

mysql_pconnect() will maintain a persistent connection to the database. Whenever your script calls the connect to database function, it first searches already existing connections to the database and if exists it will use the same connection to connect to the database, if not it will open a new connection to the database. ie. Connection is Persistent

where as mysql_connect() function will establish a new connection whenever a connection to database needed, and after executing the script, this function disconnects the connection. ie. connection is not a persistent one.

mysql_pconnect() function is used where your site has a Heavy Traffic and where as mysql_connect() function is used when there is moderate/less traffic to your site.

Regard’s

Alex P

System Administrator.