Avactis shopping card errors with Cpanel with Suhosin security patch activated

Cpanel, PHP No Comments »

Some fellas are experiencing errors with long form post data - when users press send button not all form fields are submitted. This is because Cpanel with suhosin patch does accept only max post vars of 200. Avactis shopping cart users may experience problems with country post data. The fix is very easy, you need to add the following string to your php.ini

On most Linux platforms your php.ini can be found /usr/local/lib directory. Full path: /usr/local/lib/php.ini

Add to the bottom of this file:

suhosin.post.max_vars = 2048

Remember to restart your Apache daemon and you should be set. You can check the new value with phpinfo(); function output. Cheers!

Decrease cpanel server high load for popular web sites

Cpanel No Comments »

It’s no secret that Cpanel servers are load-hungry when you move quite a large site on the server. There are quite a few things to do:

  1. server optimization
  2. daemon optimization
  3. disabling built-in stats processing software
  4. updating logfile processing

and much more. I suggest disabling built in automatic stats processing - awstats, analog and webalizer. You can quickly script to logrotate logs and do own stats processing. For folks who prefer awstats there is only ONE OPTION if you have a bandwidth and load hungry site - use -staticlinks option and generate static files with Awstats. This is the only solution.

If you have any other guys or friends on the server - disable web update for Awstats statistics option in the Cpanel admin control panel. If you have problems with optimization and high load, crashes for your Cpanel box - there are quite a few companies out there willing to help.

Updating apache, php and other libs for Cpanel servers using root shell

Cpanel No Comments »

In order to update Apache, php and all the other required libs and packages you can execute

/scripts/easyapache

under root user via server shell. You will be provided with a few choices to continue installation with gd, freetype, phpsuexec,  load previous config - depending on your system requirements. I usually choose option #5 but you may try #7 that will load previous config.

Fetching http://layer1.cpanel.net/buildapache.sea (0)….@69.90.250.34……connected……receiving…1%…2%…3%…4%…5%…6%…7%…8%…9%…10%…11%…12%…13%…14%…15%…16%…17%…18%…19%…20%…21%…22%…23%…24%…25%…26%…27%…28%…29%…30%…31%…32%…33%…34%…35%…36%…37%…38%…39%…40%…41%…42%…43%…44%…45%…46%…47%…48%…49%…50%…51%…52%…53%…54%…55%…56%…57%…58%…59%…60%…61%…62%…63%…64%…65%…66%…67%…68%…69%…70%…71%…72%…73%…74%…75%…76%…77%…78%…79%…80%…81%…82%…83%…84%…85%…86%…87%…88%…89%…90%…91%…92%…93%…94%…95%…96%…97%…98%…99%…100%……Done
Creating directory buildapache
Verifying archive integrity… All good.
Uncompressing buildapache………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………
Checking Update System……..Rpm Sanity Check PASSED!
Verifying compiler and libs….Verifying installation….Using newyum support…
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do
/scripts/ensurerpm [@buildapache]…(–quiet –safe libxpm4 ImageMagick libxpm4-devel libxpm4-dev ncurses ncurses-devel ncurses-dev libncurses5 libncurses5-devel libncurses5-dev gettext gdbm gdbm-devel libgdbm2-devel libgdbm2-dev db4 db4-devel db4-dev db1 db1-devel db1-dev db1-tools patch kernel-headers linux-headers glibc-kernheaders pam-devel pam-dev krb5-devel krb5-dev openssl openssl-devel ssl-dev libssl-dev openssl-dev libopenssl0 libopenssl0-devel libopenssl0-dev flex lex bison glibc-devel glibc-dev gcc gcc-c++ libgcc cpp libstdc++ libstdc++-devel libstdc++-dev jpeg libjpeg libjpeg-devel libjpeg-dev libjpeg62 libjpeg62-devel libjpeg62-dev png libpng libpng-devel libpng-dev libpng10 libpng10-devel libpng3 libpng3-devel libpng3-dev libtiff libtiff-devel libtiff-dev libtiff3 libtiff3-devel libtiff3-dev XFree86-libs XFree86-devel XFree86-dev libopenssl0.9.7-devel libopenssl0.9.7-static-devel libltdl xorg-x11-devel pspell pspell-devel zlib zlib-devel zlib1-devel libz-devel tdl aspell aspell-devel xorg-x11-devel libc-client-devel libtool automake libungif-devel libtool-libltdl-devel libtool-ltdl-devel libltdl-devel libltdl3-devel)………………………Done
Done
Done
********************************
This is buildapache version 1.5.402 (for cpanel <= 10.9.3) (ap=1.3.37)
********************************

If you have installed third party modules that buildapache does not install, you will probably need to recompile them after apache is rebuilt.  You may experience an unusable apache that produces segmentation faults until the old modules are recompiled or removed.

Select skill level:
If it is possible for you to run phpsuexec, we recommend you do this
by choosing option 2, or using the advanced options.

phpsuexec combinded with webroot protection will prevent people
from reading other users webroots.   If you are unable to use
phpsuexec we recommend you enable PHP open_basedir security
inside of Web Host Manager.

The following does not work with phpsuexec:  php commands in
.htaccess, php http authentication.

1) Beginner without/phpsuexec + webroot protection support (*** DEFAULT ***)
2) Beginner with/phpsuexec support + web root protection
3) Beginner with/php mcrypt support (if php will not compile, you must choose option 1)
4) Beginner with/php gd+freetype support (if php will not compile, you must choose option 1)
5) Beginner with/php gd+freetype+mcrypt support (if php will not compile, you must choose option 1)
6) Advanced (Experts Only, At Your Own Risk)
7) Advanced [Load Previous Config] (Experts Only, At Your Own Risk)
8) Failsafe mode (Resets apache config to default, USE ONLY AS A LAST RESORT)

After you chose the config you require (1-8) the apache, php and all required lib configuration, compilation and installation will begin.

Updating cpanel servers from root shell

Cpanel No Comments »

You can manually update your linux cpanel servers by executing the following commands under the root login when you have logged in server shell via console, telnet (!) or SSH.

yum update (if you have yum update package)

/scripts/upcp (will upgrade Cpanel)

/scripts/easyapache (will upgrade Apache, php..)

Normal output from /scripts/upcp will be as follows:

Updating /scripts…
Sync Source: http://httpupdate.cpanel.net/RELEASE/scripts
Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/.cpanelsync.lock (0)….@74.200.65.162……connected……receiving……Done
Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/.cpanelsync.bz2 (0)….@74.200.65.162……connected……receiving…27%…54%…81%…100%……Done
…Done
Checking and Repairing System Package Setup……Done
Setting up ip statup……Done
Configuring editors……Done
Creating symlinks for common binaries……Done
Setting Clock……Done
Running Env Auto Repair…quota test: repquota exited with signal 0 (ok)
…Done
Running Cleanups…Found hostname to be sls-cd3p1.dca2.superb.net, which resolves to 66.36.228.26
Hostname Virtual Host is already setup
…Done
Updating services & databases…PHP version file is up to date
Ftp Quota Check v1.6
Updating loanpage: …Done
…Done
Doing a manual update…
Cpanel updates are coming from layer2.cpanel.net
Setting Up Crontab……Done
Setting Up dcpumon Crontab……Done
Repairing Mailman Permissions……Done
Running Sanity Checks & Notifications…Using smartcheck config 5.32 for smartctl(5.33)
Checking /dev/hda….S.M.A.R.T does not appear to be enabled for this device.
…Done
Running Named Checks……Done
Updating FTP Server…Ftp Setup Script Version 6.1
Fetching version information from http://updates.cpanel.net/ftpinstall/version (RELEASE)….Fetching http://updates.cpanel.net/ftpinstall/version (0)….@74.200.65.162……connected……receiving…100%……Done
Done
This is the pure-ftpd 1.0.21 installer release number 2.tls for platform centos 4.5
pure-ftpd is up to date.  Use ftpup –force to force a reinstall
…Done
Updating SMTP (exim) Server…Exim (maildir) Setup Script Version 20.0
Fetching version information from http://updates.cpanel.net/eximinstall/version (RELEASE)….Fetching http://updates.cpanel.net/eximinstall/version (0)….@74.200.65.162……connected……receiving…100%……Done
Done
This is the exim 4.66 installer release number 0 for platform centos 4.5
exim is up to date.  Use eximup –force to force a reinstall
…Done
Updating MySQL Server…MySQL Setup Script Version 7.0
Loaded cPPkgs::MySQL ok!
This is the cPPkgs::MySQL 4.1.22 installer for Linux.
MySQL 4.1.22 is up to date
Install Complete
…Done
Updating bandmin…bandmin Setup Script Version 1.0
Fetching version information from http://updates.cpanel.net/bandmininstall/version (RELEASE)….Fetching http://updates.cpanel.net/bandmininstall/version (0)….@74.200.65.162……connected……receiving…100%……Done
Done
This is the bandmin 1.6.1 installer release number 1 for platform centos 4.5
bandmin is up to date.  Use bandminup –force to force a reinstall
…Done
Updating courier…courier-imap Setup Script Version 1.0
Fetching version information from http://updates.cpanel.net/courierinstall/version (RELEASE)….Fetching http://updates.cpanel.net/courierinstall/version (0)….@74.200.65.162……connected……receiving…100%……Done
Done
This is the courier-authlib 0.57 installer release number 6cp
courier-authlib-0.57 is up to date
This is the courier-imap 4.0.4 installer release number 4cp
courier-imap-4.0.4 is up to date
Install Complete
…Done
Installing system packages and perl modules…portsentry is up to date (Tue Jan 29 21:02:40 2002)
Using newyum support…
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do
…Done
Updating system packages…Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
No Packages marked for Update/Obsoletion
Method: Perl Expect
Fetching CPAN timestamp…Done
Testing connection speed…(this could take a while)…Done
Ping:3.224 Testing connection speed to cpan-du.viaverio.com using pureperl…(104800.00 bytes/s)…Done
Ping:5.332 Testing connection speed to mirrors.phenominet.com using pureperl…(156450.00 bytes/s)…Done
Ping:6.693 Testing connection speed to perl.secsup.org using pureperl…(44800.00 bytes/s)…Done
Three usable mirrors located
Mirror Check passed for mirrors.phenominet.com (/index.html)
Unknown config variable ‘less’
commit: wrote ‘/usr/lib/perl5/5.8.7/CPAN/Config.pm’
CPAN: File::HomeDir loaded ok (v0.65)
CPAN: Storable loaded ok (v2.16)
Going to read /home/.cpan/Metadata
Database was generated on Sat, 07 Jul 2007 22:50:45 GMT
Devel::PPPort is up to date (3.11).
HTTP::Date is up to date (1.47).
Scalar::Util is up to date (1.19).
MIME::Base64 is up to date (3.07).
Digest::MD5 is up to date (2.36).
URI is up to date (1.35).
Net::FTP is up to date (2.77).
HTML::Tagset is up to date (3.10).
HTML::Parser is up to date (3.56).
HTML::HeadParser is up to date (2.22).
LWP is up to date (5.805).
Crypt::SSLeay is up to date (0.55).
Digest::MD5 is up to date (2.36).
Digest::SHA1 is up to date (2.11).
Encode is up to date (2.23).
ExtUtils::Constant is up to date (0.16).
ExtUtils::ParseXS is up to date (2.18).
File::Touch is up to date (0.02).
Filesys::Df is up to date (0.92).
Filesys::Virtual is up to date (0.06).
Filter::Util::Call is up to date (1.07).
Getopt::Long is up to date (2.36).
Compress::Raw::Zlib is up to date (2.005).
Net::FTPSSL is up to date (0.04).
Net::SSL is up to date (2.81).
Net::SSLeay is up to date (1.30).
IO::Compress::Gzip is up to date (2.005).
IO::Scalar is up to date (2.110).
IO::Socket::SSL is up to date (1.07).
IO::Stty is up to date (.02).
IO::Uncompress::Gunzip is up to date (2.005).
Lchown is up to date (1.00).
List::Util is up to date (1.19).
MD5 is up to date (2.03).
Net::AIM is up to date (1.22).
Net::DNS is up to date (0.60).
Net::OSCAR is up to date (1.925).
Storable is up to date (2.16).
Term::ReadKey is up to date (2.30).
Term::ReadLine::Perl is up to date (1.0302).
Time::HiRes is up to date (1.9707).
Tree::MultiNode is up to date (1.0.10).
Unix::PID is up to date (0.0.11).
XML::Parser is up to date (2.34).
XML::SAX is up to date (0.16).
XML::Simple is up to date (2.16).
lib::restrict is up to date (0.0.5).
Filesys::Statvfs is up to date (0.82).
Crypt::GPG is up to date (1.63).
Class::Accessor is up to date (0.30).
Class::Accessor::Fast is up to date (0.30).
File::MMagic::XS is up to date (0.09).
Acme::Spork is up to date (0.0.7).
Apache::Admin::Config is up to date (0.94).
Archive::Tar is up to date (1.32).
Archive::Tar::Streamed is up to date (0.03).
Archive::Zip is up to date (1.20).
DBI is up to date (1.58).
DBD::mysql is up to date (4.005).
Digest::MD5 is up to date (2.36).
MIME::Base64 is up to date (3.07).
MIME::Lite is up to date (3.01).
URI::URL is up to date (5.03).
HTML::Tagset is up to date (3.10).
MIME::Base64 is up to date (3.07).
Digest::MD5 is up to date (2.36).
URI is up to date (1.35).
Net::FTP is up to date (2.77).
HTML::Tagset is up to date (3.10).
HTML::Parser is up to date (3.56).
HTML::HeadParser is up to date (2.22).
LWP is up to date (5.805).
Parse::RecDescent is up to date (1.94).
OLE::Storage_Lite is up to date (0.14).
MIME::Base64 is up to date (3.07).
Digest::MD5 is up to date (2.36).
URI is up to date (1.35).
Net::FTP is up to date (2.77).
HTML::Tagset is up to date (3.10).
HTML::Parser is up to date (3.56).
HTML::HeadParser is up to date (2.22).
LWP is up to date (5.805).
Term::ReadKey is up to date (2.30).
Term::ReadLine::Perl is up to date (1.0302).
Text::Query is up to date (0.07).
Image::Size is up to date (3.01).
DBI is up to date (1.58).
Safe::Hole is up to date (0.10).
Tie::ShadowHash is up to date (0.07).
Set::Crontab is up to date (1.00).
IO::Scalar is up to date (2.110).
Storable is up to date (2.16).
Spreadsheet::ParseExcel is up to date (0.32).
Spreadsheet::WriteExcel is up to date (2.18).
Business::OnlinePayment::AuthorizeNet is up to date (3.16).
Business::UPS is up to date (1.13).
CGI is up to date (3.29).
Class::Std::Utils is up to date (0.0.2).
Compress::Bzip2 is up to date (2.09).
cPCPAN: Module (Compress::Zlib) holdback (2.005 held back to 1.42)
Compress::Zlib is up to date (1.42).
DBI is up to date (1.58).
Date::Parse is up to date (2.27).
File::Tail is up to date (0.99.3).
GD::Graph is up to date (1.44).
GD::Text::Align is up to date (1.18).
Geo::IPfree is up to date (0.2).
HTML::Parser is up to date (3.56).
HTTP::Daemon::App is up to date (0.0.9).
IO::Socket::ByteCounter is up to date (0.0.2).
Image::Size is up to date (3.01).
MIME::Base64 is up to date (3.07).
Mail::DomainKeys is up to date (1.0).
Running install for module ‘Mail::SPF’
Running make for J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.005.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v1.42)
Checksum for /home/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.005.tar.gz ok
Mail-SPF-v2.005/
Mail-SPF-v2.005/INSTALL
Mail-SPF-v2.005/CHANGES
Mail-SPF-v2.005/SIGNATURE
Mail-SPF-v2.005/lib/
Mail-SPF-v2.005/lib/Mail/
Mail-SPF-v2.005/lib/Mail/SPF/
Mail-SPF-v2.005/lib/Mail/SPF/Mod.pm
Mail-SPF-v2.005/lib/Mail/SPF/Exception.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mech.pm
Mail-SPF-v2.005/lib/Mail/SPF/Base.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mech/
Mail-SPF-v2.005/lib/Mail/SPF/Mech/Include.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mech/A.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mech/IP6.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mech/IP4.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mech/All.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mech/PTR.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mech/MX.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mech/Exists.pm
Mail-SPF-v2.005/lib/Mail/SPF/Util.pm
Mail-SPF-v2.005/lib/Mail/SPF/v1/
Mail-SPF-v2.005/lib/Mail/SPF/v1/Record.pm
Mail-SPF-v2.005/lib/Mail/SPF/Record.pm
Mail-SPF-v2.005/lib/Mail/SPF/Term.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mod/
Mail-SPF-v2.005/lib/Mail/SPF/Mod/Redirect.pm
Mail-SPF-v2.005/lib/Mail/SPF/Mod/Exp.pm
Mail-SPF-v2.005/lib/Mail/SPF/Request.pm
Mail-SPF-v2.005/lib/Mail/SPF/Result.pm
Mail-SPF-v2.005/lib/Mail/SPF/v2/
Mail-SPF-v2.005/lib/Mail/SPF/v2/Record.pm
Mail-SPF-v2.005/lib/Mail/SPF/SenderIPAddrMech.pm
Mail-SPF-v2.005/lib/Mail/SPF/MacroString.pm
Mail-SPF-v2.005/lib/Mail/SPF/Server.pm
Mail-SPF-v2.005/lib/Mail/SPF.pm
Mail-SPF-v2.005/TODO
Mail-SPF-v2.005/MANIFEST
Mail-SPF-v2.005/sbin/
Mail-SPF-v2.005/sbin/spfd
Mail-SPF-v2.005/Makefile.PL
Mail-SPF-v2.005/Build.PL
Mail-SPF-v2.005/bin/
Mail-SPF-v2.005/bin/spfquery
Mail-SPF-v2.005/debian/
Mail-SPF-v2.005/debian/spf-tools-perl.postinst
Mail-SPF-v2.005/debian/rules
Mail-SPF-v2.005/debian/compat
Mail-SPF-v2.005/debian/spf-tools-perl.install
Mail-SPF-v2.005/debian/libmail-spf-perl.install
Mail-SPF-v2.005/debian/changelog
Mail-SPF-v2.005/debian/spf-tools-perl.prerm
Mail-SPF-v2.005/debian/control
Mail-SPF-v2.005/debian/copyright
Mail-SPF-v2.005/t/
Mail-SPF-v2.005/t/rfc4408-tests.yml
Mail-SPF-v2.005/t/00.99-class-misc.t
Mail-SPF-v2.005/t/00.02-class-request.t
Mail-SPF-v2.005/t/00.04-class-server.t
Mail-SPF-v2.005/t/00.00-class-misc.t
Mail-SPF-v2.005/t/rfc4406-tests.yml
Mail-SPF-v2.005/t/00.03-class-result.t
Mail-SPF-v2.005/t/00.05-class-macrostring.t
Mail-SPF-v2.005/t/Mail-SPF-Test-lib.pm
Mail-SPF-v2.005/t/10.00-rfc4408.t
Mail-SPF-v2.005/t/90-author-pod-validation.t
Mail-SPF-v2.005/t/00.01-class-util.t
Mail-SPF-v2.005/t/10.01-rfc4406.t
Mail-SPF-v2.005/META.yml
Mail-SPF-v2.005/LICENSE
Mail-SPF-v2.005/README
CPAN: File::Temp loaded ok (v0.18)
CPAN: Module::Build loaded ok (v0.2808)

CPAN.pm: Going to build J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.005.tar.gz

# running Build.PL
/usr/bin/perl Build.PL
Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
Checking whether your kit is complete…
Looks good

Checking prerequisites…
Looks good

Creating new ‘Build’ script for ‘Mail-SPF’ version ‘v2.005′
CPAN: YAML loaded ok (v0.65)
/usr/bin/perl Build –makefile_env_macros 1
Copying lib/Mail/SPF/v1/Record.pm -> blib/lib/Mail/SPF/v1/Record.pm
Copying lib/Mail/SPF/Mech/A.pm -> blib/lib/Mail/SPF/Mech/A.pm
Copying lib/Mail/SPF/Mech/All.pm -> blib/lib/Mail/SPF/Mech/All.pm
Copying lib/Mail/SPF/MacroString.pm -> blib/lib/Mail/SPF/MacroString.pm
Copying lib/Mail/SPF/Mech/IP6.pm -> blib/lib/Mail/SPF/Mech/IP6.pm
Copying lib/Mail/SPF/SenderIPAddrMech.pm -> blib/lib/Mail/SPF/SenderIPAddrMech.pm
Copying lib/Mail/SPF/Exception.pm -> blib/lib/Mail/SPF/Exception.pm
Copying lib/Mail/SPF/Mod/Redirect.pm -> blib/lib/Mail/SPF/Mod/Redirect.pm
Copying lib/Mail/SPF/Server.pm -> blib/lib/Mail/SPF/Server.pm
Copying lib/Mail/SPF/Mod/Exp.pm -> blib/lib/Mail/SPF/Mod/Exp.pm
Copying lib/Mail/SPF/v2/Record.pm -> blib/lib/Mail/SPF/v2/Record.pm
Copying lib/Mail/SPF/Util.pm -> blib/lib/Mail/SPF/Util.pm
Copying lib/Mail/SPF/Base.pm -> blib/lib/Mail/SPF/Base.pm
Copying lib/Mail/SPF/Term.pm -> blib/lib/Mail/SPF/Term.pm
Copying lib/Mail/SPF/Mech/MX.pm -> blib/lib/Mail/SPF/Mech/MX.pm
Copying lib/Mail/SPF/Mech/Include.pm -> blib/lib/Mail/SPF/Mech/Include.pm
Copying lib/Mail/SPF/Mech.pm -> blib/lib/Mail/SPF/Mech.pm
Copying lib/Mail/SPF/Record.pm -> blib/lib/Mail/SPF/Record.pm
Copying lib/Mail/SPF/Mech/Exists.pm -> blib/lib/Mail/SPF/Mech/Exists.pm
Copying lib/Mail/SPF.pm -> blib/lib/Mail/SPF.pm
Copying lib/Mail/SPF/Mod.pm -> blib/lib/Mail/SPF/Mod.pm
Copying lib/Mail/SPF/Mech/IP4.pm -> blib/lib/Mail/SPF/Mech/IP4.pm
Copying lib/Mail/SPF/Result.pm -> blib/lib/Mail/SPF/Result.pm
Copying lib/Mail/SPF/Mech/PTR.pm -> blib/lib/Mail/SPF/Mech/PTR.pm
Copying lib/Mail/SPF/Request.pm -> blib/lib/Mail/SPF/Request.pm
Copying bin/spfquery -> blib/script/spfquery
Deleting blib/script/spfquery.bak
Copying sbin/spfd -> blib/sbin/spfd
Manifying blib/script/spfquery -> blib/bindoc/spfquery.1
Manifying blib/lib/Mail/SPF/Mech/PTR.pm -> blib/libdoc/Mail::SPF::Mech::PTR.3
Manifying blib/lib/Mail/SPF/Mech.pm -> blib/libdoc/Mail::SPF::Mech.3
Manifying blib/lib/Mail/SPF/SenderIPAddrMech.pm -> blib/libdoc/Mail::SPF::SenderIPAddrMech.3
Manifying blib/lib/Mail/SPF/MacroString.pm -> blib/libdoc/Mail::SPF::MacroString.3
Manifying blib/lib/Mail/SPF/Mech/A.pm -> blib/libdoc/Mail::SPF::Mech::A.3
Manifying blib/lib/Mail/SPF/Mech/IP4.pm -> blib/libdoc/Mail::SPF::Mech::IP4.3
Manifying blib/lib/Mail/SPF/Result.pm -> blib/libdoc/Mail::SPF::Result.3
Manifying blib/lib/Mail/SPF/Request.pm -> blib/libdoc/Mail::SPF::Request.3
Manifying blib/lib/Mail/SPF.pm -> blib/libdoc/Mail::SPF.3
Manifying blib/lib/Mail/SPF/Mod.pm -> blib/libdoc/Mail::SPF::Mod.3
Manifying blib/lib/Mail/SPF/Mod/Exp.pm -> blib/libdoc/Mail::SPF::Mod::Exp.3
Manifying blib/lib/Mail/SPF/Mech/MX.pm -> blib/libdoc/Mail::SPF::Mech::MX.3
Manifying blib/lib/Mail/SPF/Server.pm -> blib/libdoc/Mail::SPF::Server.3
Manifying blib/lib/Mail/SPF/Util.pm -> blib/libdoc/Mail::SPF::Util.3
Manifying blib/lib/Mail/SPF/Mech/IP6.pm -> blib/libdoc/Mail::SPF::Mech::IP6.3
Manifying blib/lib/Mail/SPF/Mech/Include.pm -> blib/libdoc/Mail::SPF::Mech::Include.3
Manifying blib/lib/Mail/SPF/Record.pm -> blib/libdoc/Mail::SPF::Record.3
Manifying blib/lib/Mail/SPF/Mod/Redirect.pm -> blib/libdoc/Mail::SPF::Mod::Redirect.3
Manifying blib/lib/Mail/SPF/v2/Record.pm -> blib/libdoc/Mail::SPF::v2::Record.3
Manifying blib/lib/Mail/SPF/Base.pm -> blib/libdoc/Mail::SPF::Base.3
Manifying blib/lib/Mail/SPF/Mech/All.pm -> blib/libdoc/Mail::SPF::Mech::All.3
Manifying blib/lib/Mail/SPF/v1/Record.pm -> blib/libdoc/Mail::SPF::v1::Record.3
Manifying blib/lib/Mail/SPF/Term.pm -> blib/libdoc/Mail::SPF::Term.3
Manifying blib/lib/Mail/SPF/Mech/Exists.pm -> blib/libdoc/Mail::SPF::Mech::Exists.3
JMEHNLE/mail-spf/Mail-SPF-v2.005.tar.gz
/usr/bin/make — OK
Running make install
/usr/bin/perl Build –makefile_env_macros 1 install
Skipping /usr/share/man/man1/spfquery.1 (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mech.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Result.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mod.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/MacroString.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Request.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Record.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Base.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Term.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Exception.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Util.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/SenderIPAddrMech.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Server.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mech/Exists.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mech/All.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mech/Include.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mech/IP4.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mech/PTR.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mech/MX.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mech/IP6.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mech/A.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/v2/Record.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/v1/Record.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mod/Exp.pm (unchanged)
Skipping /usr/lib/perl5/site_perl/5.8.7/Mail/SPF/Mod/Redirect.pm (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mod::Exp.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::v1::Record.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Request.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Result.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mech::IP6.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Server.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::v2::Record.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::MacroString.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mech::Exists.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Util.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mech::PTR.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Base.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mech::Include.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::SenderIPAddrMech.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mod.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mech::All.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mech.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mech::A.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mech::IP4.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mech::MX.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Term.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Record.3 (unchanged)
Skipping /usr/share/man/man3/Mail::SPF::Mod::Redirect.3 (unchanged)
Skipping /usr/sbin/spfd (unchanged)
Skipping /usr/bin/spfquery (unchanged)
Writing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Mail/SPF/.packlist
JMEHNLE/mail-spf/Mail-SPF-v2.005.tar.gz
/usr/bin/make install UNINST=1 — OK
Mail::SPF::Query is up to date (1.999.1).
Mail::DKIM is up to date (0.26).
IP::Country is up to date (2.23).
Graph::Easy is up to date (0.55).
Graph::Flowchart is up to date (0.10).
cPCPAN: Module (Mail::SpamAssassin) holdback (3.002001 held back to 3.2.1)
Mail::SpamAssassin is up to date (3.002001).
XML::LibXML::Common is up to date (0.13).
XML::LibXML is up to date (1.63).
Net::DAV::Server is up to date (1.29).
Net::Daemon::SSL is up to date (1.0).
Net::LDAP::Schema is up to date (0.9905).
Net::LDAP::Server is up to date (0.3).
PNGgraph is up to date (1.11).
Parse::RecDescent is up to date (1.94).
Quota is up to date (1.5.1).
SVG::TT::Graph is up to date (0.09).
Safe::Hole is up to date (0.10).
Spreadsheet::ParseExcel is up to date (0.32).
Spreadsheet::WriteExcel is up to date (2.18).
String::CRC32 is up to date (1.4).
SQL::Statement is up to date (1.15).
Tie::IxHash is up to date (1.21).
Tie::ShadowHash is up to date (0.07).
Tie::Watch is up to date (1.2).
URI::URL is up to date (5.03).
perlmod–Install done
Tested 96, 96 ok, 0 failed.
GD installed ok
…Done
Restoring compiler permissions…Compilers are enabled for unprivileged users.
…Done
Repairing mysql……Done
Optimizing Databases……Done
Configuring Frontpage…initfpsuexec: using apache 1.x support
…Done
Fetching Installer…Fetching http://layer2.cpanel.net/installer/ (0)….@74.200.65.162……connected……receiving…27%…54%…81%…100%……Done
…Done
Running Installer…Requested cPanel Tree: RELEASE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!cPanel Auto Heal 2.4 Running !!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Processing heal of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=171178
Waiting for yum to finish….Could not find update match for bind-libs
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
No Packages marked for Update/Obsoletion
Done
BIND 9.2.4
Succeeded
Fetching http://httpupdate.cpanel.net/cpanelsync/RELEASE/cpanel/version (0)….@74.200.65.162……connected……receiving…100%……Done
Using mail permissions style: NEW
Versions Match! (11.6.0-RELEASE_15032).  You are running the latest RELEASE.
…Done
Updating Addons……Done
Running postinstall scripts…Added Contact kvahers@yahoo.com
Scanning for new mail senders…..Done
Scanning suexec_log…Done
…Done

New Cpanel server DNS problem, also affects some servers after upgrade or/and update

Cpanel 1 Comment »

OK, we have seen the following problem with a fresh Cpanel install. The problem is that named (Bind DNS server) is not starting and you get get hundreds of the following error messages:

Stopping named: [FAILED]
Starting named: [FAILED]

…..
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/scsi
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/scsi/device_info
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/scsi/scsi
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/mdstat
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/ide
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/proc/ide/drivers
chattr: Inappropriate ioctl for device while reading flags on /var/named/chroot/*****
…….
/scripts/fixndc

/scripts/fixnamed

/scripts/upcp

/scripts/fixeverything

doesn’t fix the problem. You can actually do it yourself quickly and easily…

cd /var/named/chroot/etc

chown root.named named.conf

chmod g+r rndc.key

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in