Failed to create gpg object: No keys found for vendor ‘cpanel’ Please see http://go.cpanel.net/sigerrors for further information about this error.
root@web2 [~]# /scripts/easyapache
die [cpanelsync] Failed to create gpg object: No keys found for vendor 'cpanel' Please see http://go.cpanel.net/sigerrors for further information about this error.
die [cpanelsync] Failed to create gpg object: No keys found for vendor 'cpanel' Please see http://go.cpanel.net/sigerrors for further information about this error.
Download Failed… trying again…in….60….59….58….57….56….55….54….53….52….51….50….49….48….47….46….45….44….43….42….41….40….39….38….37….36….35….34….33….32….31….30….29….28….27….26….25….24….23….22….21….20….19….18….17….16….15….14….13….12….11….10….9….8….7….6….5….4….3….2….1..die [cpanelsync] Failed to create gpg object: No keys found for vendor 'cpanel' Please see http://go.cpanel.net/sigerrors for further information about this error.
Resolving
EasyApache should be working without issue now. The problem was your lot of root certificates on your server was either missing or incorrect.
I corrected the problem by running the below commands:
mkdir /usr/src/ca-certificates && cd /usr/src/ca-certificates
wget http://mirror.centos.org/centos/6/os/i386/Packages/ca-certificates-2014.1.98-65.1.el6.noarch.rpm
rpm2cpio ca-certificates-2014.1.98-65.1.el6.noarch.rpm |cpio -idmv
cp -pi ./etc/pki/tls/certs/ca-bundle.* /etc/pki/tls/certs/
Finally running the below command to update the keys for cPanel:
/usr/local/cpanel/scripts/updatesigningkey
Best Regards,
Centos Memcached ve memcached kurulumu
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xvfz libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure
make
make install
wget http://memcached.org/files/memcached-1.4.22.tar.gz
tar xvfz memcached-1.4.22.tar.gz
cd memcached-1.4.22
./configure
make
make install
ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
memcached -d -u nobody -p 11211
wget http://pecl.php.net/get/memcache-2.2.7.tgz
tar xvfz memcache-2.2.7.tgz
cd memcache-2.2.7
phpize
./configure
make
make install
nano /usr/local/lib/php.ini
>> extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613" alt satırına altdaki satırı ekle
>> extension=memcache.so
Centos ffmpeg kurulumu
Centos sunucuda ffmpeg kurulumu oldukça basit.
Ffmpeg kurulumu için ffmpeginstaller.com sitesinden faydalanacağız.
Yapmanız gereken önce güncel sürümü öğrenmek. Site üzerinden alacağınız download linki ile ffmpeg kurulum dosyalarını indirdikten sonra kolayca sunucuyua kurabileceğiz.
wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg8/ffmpeginstaller.8.0.tar.gz
tar -zxvf ffmpeginstaller.8.0.tar.gz
sh install.sh
Kurulum aşamasında size iki defa onay soracaktır. Enter Enter yaparak ffmpeg kurulumunu tamamlayabilirsiniz.
Centos plesk php-mcrypt kurulumu
Centos üzerinde pleks için php-mcrypt eklentisi ihtiyacınız varsa aşağıdaki iki satırla bu ihtiyacınızı karşılayabilirsiniz
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# yum install php-mcrypt
Cpanel IP onarma
Cpanelde ek IP adresleriniz olabilir bazen bunlar çalışmyabilir. Bunun için ufak iki satırlık komutu yazmanız yeterli olacaktır.
chkconfig –list ipaliases
/etc/rc.d/init.d/ipaliases restart
If you have additional IPs added in WHM/Cpanel it may not bring them up after network restart to fix this behavior run this commands in above.
Server 2012 Administrator Şifre Değiştirme İşlemi
Server 2012 üzerinde administrator şifresini uzaktan değiştirmek için yapmanız gereken oldukça basit.
Klavyeden CTRL + ALT + END tuşlarına basarak şifreyi değiştirebilirsiniz.
Mod Security Error: Access denied for user ‘modsec’
Eğer sizde cpanel sunucularınızda Mod Security kısmına erişmek istediğiniz zaman aşağıdaki hata mesajını alıyorsanız yapmanız gereke oldukça basit.
‘The mod_security plugin could not connect to the database. Please verify that MySQL is running. Error: Access denied for user ‘modsec’@’localhost’ (using password: YES)’
SSH komut satırınından sırasıyla aşağıdaki komutları çalıştırmanız yeterli
1. Bu komutu çalıştırarak #dbpassword karşısındaki şifreyi alın.
nano /etc/cron.hourly/modsecparse.pl
2. mysql mysql
3. update user set Password=password('PASSWORDHERE') where User='modsec';
4. flush privileges;
5. quit;
Centos xpdf,libXp ve antiword kurulumu
cd /usr/local/src/
Dowload following RPM’s files under the /usr/local/src/ directrory.
wget http://mit.edu/zacheiss/dev/rhlinux/redhat-7.1-updates/SRPMS/xpdf-0.92-4.71.0.src.rpm
wget ftp://ftp.univie.ac.at/systems/linux/fedora/core/6/i386/os/Fedora/RPMS/libXp-1.0.0-8.i386.rpm
wget http://dag.wieers.com/rpm/packages/antiword/antiword-0.37-3.el5.rf.i386.rpm
or
http://dag.wieers.com/rpm/packages/antiword/?N=A
Then
rpm -ivh xpdf-0.92-4.71.0.src.rpm
rpm -ivh libXp-1.0.0-8.i386.rpm
rpm -ivh antiword-0.37-3.el5.rf.i386.rpm
Then you can check it
root@server [/usr/local/src]# which xpdf
/usr/local/bin/xpdf
root@server [/usr/local/src]# which antiword
/usr/bin/antiword
cPanel Log file locations
cPanel log file locations and Basic troubleshooting, most activity that happens on a server to log files, so that you can go back and review log entries for problems, instead of having to be on the server at the time of them happening.
Kernel Boot & Hardware error logs
Path : /var/log/dmesg
Use the command ” dmesg ” in the root shell to display all the kernel ring buffer (last 64 K) stored in the memory. Just use ” dmesg > boot.messages ” to store the logs in the separate file, and if you want to clear the dmesg just type ” dmesg -c “.
System Informations
Path : /var/log/messages
Use “ tail -f /var/log/message ” to list what is going on with your system and with your dns. This logs helps the admin to find our any form of tcp/udp and other form of attacks.
Bad Login / Logout logs
Path : /var/log/btmp
Stores all the bad login and logout attempts either failure or success. Just use the lastb command to list all the log in a clear format with date/time etc to trace and block the attack source. This kind of attacks on ssh are normally done using a script with Brute force password crackers.
Login / Logout logs
Path : /var/log/wtmp
Similar to the bad login/logout this log store the good/authorized system login and logout which can be listed using ” last “ command.
Last Logins Logs
Path : /var/log/lastlog
Database times of previous user logins. The lastlog file is a database which contains info on the last login of each user. Use the ” lastlog ” command to retrieve the data from the logs.
Authentication logs
Path : /var/log/secure
Logs all daemons which requires PAM Authentication.
Common Cpanel logs
cPanel/WHM Initial Installation Errors
Path : /var/log/cpanel*install*
Logs use to record the missing dependency or any error which its encouter during the cpanel installation process including the hardware driver failures/mis-matches.
Cpanel License Error Logs
Path : /usr/local/cpanel/logs/license_log
License and its updated information’s are stored here, if you are encountering with any license issue just execute the command /usr/local/cpanel/cpkeyclt to update the license from the cpanel.
Cpanel/WHM Accounting Logs
Path : /var/cpanel/accounting.log
Contains a list of accounting functions performed through WHM, including account removal and creation. So the administrator can make of this logs to check who deleted the account and from which ip etc.
Cpanel/WHM Service Status Logs
Path : /var/log/chkservd.log
Separate logs for the cpanel’s chkservd daemon which logs the service failure and notifications.
Cpanel Stats Daemon Logs
Path : /usr/local/cpanel/logs/stats_log
The stats daemon (cpanellogd) logs the output from all stats generators (Awstats, Webalizer, Analog) here.
Cpanel login and access logs
Path : /usr/local/cpanel/logs/access_log
All the login attempts and logins will be logged in this logs which helps the administrator to check who logged in to the panel on which time/ip address etc.
Cpanel Bandwidth Logs
Path : /var/cpanel/bandwidth
Files contain a list of the bandwidth history for each account. Each named after their respective user.
Tailwatchd Daemon logs
Path : /usr/local/cpanel/logs/tailwatchd_log
Logs for daemon configured under tailwatchd ie. cPBandwd, Eximstats, Antirelayd.
Cpanel Ftp logs
Ftp General login and Failure
Path : /var/log/messages
FTP Data Transactions log
Path : /var/log/xferlog
Is a symbolic link in most cases to /usr/local/apache/domlogs/ftpxferlog, which contains a history of the transactions made by FTP users.
FTP account Raw logs.
Path : /usr/local/apache/domlogs/ftp.domainname-ftp_log
Store all the ftp login/transfers ftp commands, client connection status etc.
Pure-ftp log
Path : /var/log/pureftpd.log
It will be disabled by default and only works if you enable it in the /etc/pure-ftpd.conf .
Pro-ftp log
Path : /var/log/pro-ftpd.log
It will be disabled by default and only works if you enable it in the /etc/pro-ftpd.conf
Cpanel Mysql logs
MySQL General Information and Errors
Path : /var/lib/mysql/$(hostname).err
This path could vary, but is generally located in /var/lib/mysql. Could also be located at /var/log/mysqld.log.
Cpanel Apache logs
Apache Access Logs:
Path : /usr/local/apache/logs/access_log
Complete web server access log records all requests processed by the server.
General Error and Auditing Logs
Path : /usr/local/apache/logs/error_log
All exceptions caught by httpd along with standard error output from CGI applications are logged here, including apache crash etc.
Apache SuExec Logs
Path : /usr/local/apache/logs/suexec_log
Auditing information reported by suexec each time a CGI application is executed. Useful for debugging internal server errors, with no relevant information being reported to the Apache error_log, check here for potential suexec policy violations.
Domain Access & error logs
Path : /usr/local/apache/domlogs/domain.com
General access and error log file for each domain configured with cPanel.
Cpanel Exim logs
Mail Receive and Delivery
Path : /var/log/exim_mainlog or /var/log/exim/mainlog(FreeBSD)
Receives an entry every time a message is received or delivered.
ACLs/Policies based RejectLog
Path : /var/log/exim_rejectlog
An entry is written to this log every time a message is rejected based on either ACLs or other policies eg: aliases configured to :fail
Panic/Fatal Errors :
Path : /var/log/exim_paniclog
Logs any entries exim doesn’t know how to handle. It’s generally a really bad thing when log entries are being written here, and they should be properly investigated
IMAP/POP logs
Path : /var/log/maillog & /var/log/messages
The IMAP, POP, and SpamAssassin services all log here. This includes all general logging information (login attempts, transactions, spam scoring), along with fatal errors.