Mongodb wont start ERROR: child process failed, exited with error number 100

ARUN Posted in ERROR
0

After installation mongodb wont start and the error I receive is :
Starting mongod: about to fork child process, waiting until server is ready for connections.
ERROR: child process failed, exited with error number 100

Error log shows :

ERROR: Insufficient free space for journal files

SOLUTION :

http://admin.webhostingdevelopment.com/viewtopic.php?f=42&t=157&p=173#p173

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

ARUN Posted in ERROR
0

Solution here :

http://admin.webhostingdevelopment.com/viewtopic.php?f=42&t=117

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) + cpanel jailed shell

ARUN Posted in ERROR, MYSQL
0

Getting the error “ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)” while I try to connect to mysql via a jailed shell enabled user.

[email protected] [~]# mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
[email protected] [~]#

Solution :

http://admin.webhostingdevelopment.com/viewtopic.php?f=84&t=74
You need to specify the hostname so you can connect.
mysql -h=127.0.0.1 -u user_name -p
or
mysql -h=localhost -u user_name -p

Fatal error: Incompatible file format: The encoded file has format major ID 3, whereas the Loader expects 4 in /home/username/public_html/index_enc_zend.php on line 0 for cubecart

ARUN Posted in ERROR
0

Got the above error in cubecart website

This mainly happens when you upgrade php to 5.3.X

Solution :

http://admin.webhostingdevelopment.com/viewtopic.php?f=81&t=69

1 ) Upgrade cube cart

2)

vi  includes/global.inc.php

change the line below

glob['encoder'] = ‘zend’;

to

glob['encoder'] = ‘ioncube’;

 

HTTP output character conversion is improperly configured mbstring.http_output must be set to pass. You can check the current value on the PHP information page.

ARUN Posted in ERROR
0

Error in phpbb admin page as mentioned below :

HTTP output character conversion is improperly configured  mbstring.http_output must be set to pass. You can check the current value on the PHP information page.

Solution :

First try with php.ini and .htaccess

==================

mbstring.http_input = pass
mbstring.http_output = pass

==================

If that wont work open the config.php file and add the below line under “<?php”

++++++++++++++++++++++++++++++++++++++

ini_set(“mbstring.http_input”, “pass”);
ini_set(“mbstring.http_output”, “pass”);

++++++++++++++++++++++++++++++++++++++

HTTP input character conversion is improperly configured mbstring.http_input must be set to pass. You can check the current value on the PHP information page.

ARUN Posted in ERROR
0

Error in phpbb admin page as mentioned below :

HTTP input character conversion is improperly configured  mbstring.http_input must be set to pass. You can check the current value on the PHP information page.

Solution :

First try with php.ini and .htaccess

==================

mbstring.http_input = pass
mbstring.http_output = pass

==================

If that wont work open the config.php file and add the below line under “<?php”

++++++++++++++++++++++++++++++++++++++

ini_set(“mbstring.http_input”, “pass”);
ini_set(“mbstring.http_output”, “pass”);

++++++++++++++++++++++++++++++++++++++

 

Fatal error: Call to undefined method mosMenu::mosDBTable()

ARUN Posted in ERROR
0

This mostly happens after updating php to 5.3.X

You need to edit file named :   database.php which will be under includes folder  and add

EG :  /home/username/public_html/includes/database.php

===========================================================================

 class mosDBTable extends mosDBAbstractRow {

/** @var mosDatabase Database connector */
var $_db = null;

// ADD THIS FUNCTION….
    function mosDBTable($table=”, $keyname=’id’, $db=”) {
        $this->mosDBAbstractRow ($table, $keyname, $db);
}

===========================================================================

If it still shows a warning in some lines like :  /home/username/public_html/includes/Cache/Lite/Function.php

Edit the error line mentioned and add that as below :

line 100:
$result = call_user_func_array($target, $arguments);
to
$result = call_user_func_array($target, &$arguments);

/etc/cron.weekly/chkrootkit.sh: line 3: mail: command not found

ARUN Posted in ERROR
0

/etc/cron.weekly/chkrootkit.sh:

/etc/cron.weekly/chkrootkit.sh: line 3: mail: command not found
/etc/cron.weekly/rkhunter.sh:

/etc/cron.weekly/rkhunter.sh: line 2: rkhunter: command not found

Solution :

yum install mailx.x86_64

/usr/bin/perl: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory

ARUN Posted in ERROR, WHM BACKEND
0

Getting the below error in apache error logs and the website giving a Internal server error 500

Solution :

Check  RLimitMEM is enabled. If so disable and restart apache.

vi /usr/local/apache/conf/httpd.conf

 

Moodle admin login page gives blank page after logged in.

ARUN Posted in ERROR, INSTALLATION
0
Moodle admin login page gives blank page after logged in.
Solution :
open moodle config file
vi config.php
and insert the below at the end of file
=============================================================
ini_set ('error_reporting', E_ALL);
ini_set ('display_errors', 1);
ini_set ('display_startup_errors', 1);
ini_set ('log_errors', 1);
ini_set ('error_log', 'syslog');

=============================================================

Access site and you can see the error. Comment out the lines giving errors and see
To commnet out you can use
/**  PHP CODE */

Out of memory OOM errors

ARUN Posted in ERROR, LOAD, LOG FILES
0

grep out_of_memory /var/log/messages

One addon domain after the installing LSWS shows 404 error even if contents are present

ARUN Posted in ERROR, Lite Speed
0

Solution : Try changing the addon domain folder permission to  USERNAME:NOBODY

 

cpanel (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed

ARUN Posted in ERROR, White Page
0

Getting the below error in error log and also soholaunch gives white page when accessed.

Solution :  Increase Timeout variable in apache

Getting following error while trying to access Fantastico : Warning: php_uname() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1013 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1029 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1030 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1031 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1032 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1033 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1034 Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1035

ARUN Posted in ERROR, FANTASTICO, WHM BACKEND, WHM FRONTEND
0

Warning: php_uname() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1013

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1029

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1030

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1031

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1032

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1033

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1034

Warning: shell_exec() has been disabled for security reasons in /tmp/cpanel_phpengine.1306989206.272778s_v9ctir4 on line 1035

 

Solution :  /scripts/makecpphp

[ERROR] Sorry, but that file doesn’t exist: [/etc/ssl/private/pure-ftpd.pem]

ARUN Posted in ERROR, FTP, WHM BACKEND
0

Getting the error [ERROR] Sorry, but that file doesn’t exist: [/etc/ssl/private/pure-ftpd.pem] in /var/log/messages

Solution is in the link below :

 

http://forum.webhostingdevelopment.com/index.php/2011/05/pure-authd-usrsbinpure-authd-s-varrunftpd-sock-r-usrsbinpureauth-running-as-root-with-pid/