make: *** [ffmpeg_frame.lo] Error 1

ARUN Posted in ERROR, INSTALLATION
0

Getting the below error while trying to run “make” during ffmpeg install

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

/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_toGDImage’:
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: ‘PIX_FMT_RGBA32′ undeclared (first use in this function)
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: (Each undeclared identifier is reported only once
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: for each function it appears in.)
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_ffmpeg_frame’:
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_frame.c:421: error: ‘PIX_FMT_RGBA32′ undeclared (first use in this function)
make: *** [ffmpeg_frame.lo] Error 1

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

SOLUTION :

vi ffmpeg_frame.c
:%s/PIX_FMT_RGBA32/PIX_FMT_RGB32

save and exit

 

./configure

Fatal error: Undefined class constant ‘MYSQL_ATTR_USE_BUFFERED_QUERY + drupal

ARUN Posted in Drupal, ERROR
0

Getting the below error when accessing a drupal site

=======

Fatal error: Undefined class constant ‘MYSQL_ATTR_USE_BUFFERED_QUERY + drupal

=======

Solution :  make sure PDO, PDO mysql and PDO sqlite is installed.

spamd failed @ Wed Mar 23 02:42:23 2011. A restart was attempted automatically. Service Check Method: [check command]

ARUN Posted in ERROR, MAIL, WHM BACKEND
0

spamd failed @ Wed Mar 23 02:42:23 2011. A restart was attempted automagically.
Service Check Method: [check command]

Solution :

[   /scripts/eximup --force   ]

/scripts/fixspamassassinfailedupdate

Chkservd is currently suspended, waiting 100 seconds

ARUN Posted in ERROR, WHM BACKEND
0

Getting error in  chkservd.log   “Chkservd is currently suspended, waiting 100 seconds”  and also chkservd wont restart any service even they are down

Solution :

Check if you have any file named  “chkservd.suspend”  in   /var/run

 

ERROR: PleskFatalException Unable to connect to database: saved admin password is incorrect. 0: common_func.php3:95 psaerror(string ‘Unable to connect to database: saved admin password is incorrect.’) 1: auth.php3:124

ARUN Posted in ERROR, PLESK FRONTEND
0
ERROR: PleskFatalException
Unable to connect to database: saved admin password is incorrect.
0: common_func.php3:95
psaerror(string ‘Unable to connect to database: saved admin password is incorrect.’)
1: auth.php3:124

ERROR: PleskFatalExceptionUnable to connect to database: saved admin password is incorrect.
0: common_func.php3:95 psaerror(string ‘Unable to connect to database: saved admin password is incorrect.’)1: auth.php3:124

Solution :

# cd /usr/local/psa/admin/bin/

# export PSA_PASSWORD=’newpass’

# echo $PSA_PASSWORD

# ./ch_admin_passwd

# export PSA_PASSWORD=

# cat /etc/psa/.psa.shadow

Fatal! Write Failure: /etc/valiases/ + Ignore any messages of success this can only result in failure!

ARUN Posted in CPANEL FRONTEND, ERROR, WHM BACKEND
0

When trying to add the email forwarder in cpanel we get the following error :

Fatal! Write Failure: /etc/valiases/ +  Ignore any messages of success this can only result in failure!

Solution :

cd /etc/valiases/
chown username:mail /etc/valiases/domain.com
Or
/scripts/fixvaliases   which will fix all the permission errors.

Getting Redirect error

ARUN Posted in ERROR, HTACCESS
0

Getting the following redirect error while trying to access a subdomain

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

[Thu Sep 23 17:45:19 2010] [error] [client 65.25.54.25] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.

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

SOLUTION :   This can happen if : RewriteBase is not enabled in .htaccess. To enable that open .htaccess

vi .htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /             ——> make sure this LINE IS PRESENT

<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /

WordPress MU giving Internal Server errorr : Pemature end of script headers: index.php

ARUN Posted in ERROR, HTTPD
0
===========================================
[Tue Sep 21 12:23:08 2010] [error] [client ] /usr/bin/php: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Cannot allocate memory
[Tue Sep 21 12:23:08 2010] [error] [client ] Premature end of script headers: index.php

[Tue Sep 21 12:23:08 2010] [error] [client ] /usr/bin/php: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Cannot allocate memory[Tue Sep 21 12:23:08 2010] [error] [client ] Premature end of script headers: index.php

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

Sotution :   Please make sure that you have commented the following entries in httpd.conf

# RLimitMEM

# RLimitCPU

Restart httpd and site will be up.

Solution 2

Check the size of error_log and if its higher than 2GB clear those.

ERROR : Connection dropped by imap-server

ARUN Posted in ERROR, MAIL, MAIL ERROR
0

Getting following error while trying to login to webmail.

ERROR : Connection dropped by imap-server.

Solution:

Check mail log to see if there are any error

tail -f /var/log/maillog

Sep 8 11:04:21 server imapd: authdaemon: s_connect() failed: Connection refused
Sep 8 11:04:21 server imapd: [Hint: perhaps authdaemond is not running?]
Sep 8 11:04:21 server imapd: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
Sep 8 11:04:21 server imapd: authentication error: Connection refused

If you are getting the above error restart

/etc/init.d/courier-authlib restart

ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

ARUN Posted in ERROR, MYSQL, PLESK BACKEND, PLESK FRONTEND
0

While trying to use mysql in plesk I am getting the following error :

ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)

Solution :

echo “use psa; truncate lockout;” | mysql -u root -p`cat /etc/psa/.psa.shadow`     —> this can be a solution, but I have not tested that with 100% success

Getting internal server error 500 intermittently

ARUN Posted in ERROR
0
Getting internal server error 500 intermittently while accessing the website. Checking error logs shows the following.
============
xc_fcntl_lock failed errno:9
===========
Solution :  This error occurs because of xcache module. Disable  the module temporarily and check the website.

Fantastico gives error : Site error: the file /usr/local/cpanel/3rdparty/fantastico/includes/enc_restrictions.inc.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.

ARUN Posted in ERROR, FANTASTICO
0

Fantastico gives error :

Site error: the file /usr/local/cpanel/3rdparty/fantastico/includes/enc_restrictions.inc.php  requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be  installed by the site administrator.

Solution :

Install ioncube loader if not enabled.

/scripts/phpextensionmanager install ioncubeloader

Whm >> Tweak Settings >> Under php Session >> Loader to use for internal cPanel PHP (Use oldsourceguardian for version 1.x and 2.x)

Check if ioncube is enabled, if not enable that

/scripts/makescpphp

If still not fixed add a cron or execute the command

*/15 * * * * /usr/local/cpanel/bin/checkphpini >/dev/null 2>&1

Soholaunch error while login

ARUN Posted in ERROR
0
While login to soholaunch we get logged out immediately with the following message
=================
Your session has expired. Please close this browser window and re-login.
=================
Solution :
1) Check if there are separate php.ini under the public_html folder and inside the soholaunch folder.

Named wont start in direct admin

ARUN Posted in DIRECT ADMIN, ERROR
0

[[email protected] ~]# service named start
Starting named:
Error in named configuration:
zone localhost/IN: loaded serial 42

Solution :

cd /etc/init.d
mv named named.backup
wget http://www.directadmin.com/named
chmod 755 named
/sbin/chkconfig named reset

URL :  http://help.directadmin.com/item.php?id=40

Error restarting Munin in cpanel server

ARUN Posted in ERROR
0

[[email protected] munin]# /etc/init.d/munin-node restart
Stopping Munin Node agents: cat: /var/run/munin/munin-node.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]
[FAILED]
Starting Munin Node: Can’t locate Net/Server/Fork.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl) at /usr/sbin/munin-node line 130.
BEGIN failed–compilation aborted at /usr/sbin/munin-node line 130.
[  OK  ]
[[email protected] munin]#

Solution :

/scripts/realperlinstaller –force Net::Server::Fork