November 14, 2014, 9:44 am
Hello!
We're running a centOS 6.6 VPS and we had a crash on tuesday morning (11/11). After it came back up, I checked Munin and found and increase in low priority processes:
graph.png
It alarmed me a bit since I don't recall making any configuration changes that would take effect on restart. I checked htop and found that the nice on the apache processes is now automatically set to 18.
htop.png
My questions are:
1. What could've caused that to happen?
2. Should I be concerned? Should I switch it back and how?
I can provide more details/specs if needed.
Thank you.
↧
November 14, 2014, 11:07 am
I have read through all the documents and understand how things get setup but i have a few questions how things are going to work.
I will have 9 servers that all currently running local dns for the domains the customers buy on each server, my goal is to setup a cluster for dns to get all the dns records on 2 servers.
For example
DNS CLUSTER 1 : NS1.SERVER.NET
DNS CLUSTER 2 : NS2.SERVER.NET
These 2 boxes will be converted to the cluster master boxes and can i configure all the other servers to push their DNS to these 2 boxes and then each user that owns their domain that i don't host they set their DNS servers in their domain record to my NS1.SERVER.NET and NS2.SERVER.NET. The customer used to set their domain records to point to the server directly they have their website on for example user1 has an account on server 9 which is NOT one of the DNS clustered boxes so he would set his dns to NS1.SERVER9.NET AND NS2.SERVER9.NET, I'm assuming how it will work now that the users account will stay on SERVER9.SERVER9.NET i will have him change his DNS to NS1.SERVER.NET AND NS2.SERVER.NET so that if one day i need to move his account around from server9 to server5 cause I'm bringing a box down for good that dns will automatically update on NS1.SERVER.NET and NS2.SERVER.NET.
Am i on the right track with this???
Thanks
↧
↧
November 15, 2014, 3:02 am
i want configuration my.cnf
my server :
Intel Core i7 3930K
64 GB RAM
3.20 GHz
my server have only one site
data base size 200 m byte
data base have 300 tables
and i have 3 million imp daily
↧
November 15, 2014, 5:08 am
Hello,
in sent email headers i have
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - myhostname
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [566 574] / [47 12]
X-AntiAbuse: Sender Address Domain - myhostname
X-Get-Message-Sender-Via: myhostname: authenticated_id: cpaneluser/primary_hostname/system user
but please how to input also path from which email was sent? my aim is to somehow easilly discover which script sent spam
↧
November 15, 2014, 7:04 am
After moving an account from one server to another using WHM version WHM 11.44.1 (build 21) I have the following issues.
1. DKIM and SPF cannot be disabled in cPanel. It says they are disabled but the entries remain in the DNS settings.
2. When transferring the account, the SPF record is not adjusted to reflect the new server.
3. When changing the SPF record in cPanel, the correct record (txt) is inserted but the autodiscover record remains as the old server and requires a manual adjustment.
4. The autodiscover record for DKIM cannot be deleted in edit DNS.
This is causing all sorts of issues with transferred accounts and their email.
What am I not seeing here?
↧
↧
November 15, 2014, 7:33 am
VPS Server Information
Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
5 GB ram
What are the best settings for the server my.cnf file?
Server speed is very low indeed.
Few visitors to increase server load goes up to 7 to 15
My.cnf file settings are as follows :
PHP Code:
[mysqld]
slow_query_log=1
long_query_time=0.1
long_query_time=10
#--slow-query-log-file=/var/lib/mysql/slow.log
log-error="/var/lib/mysql/error.log"
innodb_additional_mem_pool_size=512M
innodb_buffer_pool_size=1000M
innodb_file_per_table=1
#innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1
innodb_flush_method=O_DSYNC
myisam_sort_buffer_size=64M
#expire_logs_days=7
thread_cache_size=16
max_allowed_packet=32M
skip-federated
table_definition_cache=3000
local-infile=0
table_open_cache=5000
max_connections=100
max_user_connections=50
thread_concurrency=8
port=3306
query_cache_size=50M
query_cache_limit=1M
query_cache_type=1
socket="/var/lib/mysql/mysql.sock"
skip-external-locking
default-storage-engine=MyISAM
open_files_limit=1500
tmp_table_size=30M
max_heap_table_size=30M
read_buffer=8M
key_buffer=400M
sort_buffer_size=256K
read_buffer_size=2M
join_buffer_size=512K
key_buffer_size=500M
[mysqldump]
max_allowed_packet=16M
quick
[mysql]
no-auto-rehash
[mysqlhotcopy]
interactive-timeout
myisam_use_mmap=1
innodb_stats_on_metadata=0
↧
November 15, 2014, 8:23 am
Hello,
I found today that in cpanel i no longer can se emy mysql databases in databases section, but they do exist in phpmyadmin, i did not deleted them.
in cpanel error log is:
Code:
[2014-11-15 16:13:40 +0000] info [cpses_tool] MYSQL: Remove dbuser cpses_reC18qF1u9 for owner recenze on 107.*.*.*
[2014-11-15 16:13:55 +0000] warn [cpses_tool] The user “recenze” is not authorized to access “cpses_reGmRPM2kn” for revoking permissions from all. at /usr/local/cpanel/Cpanel/DBAdmin.pm line 160
Cpanel::DBAdmin::_log_error_and_output_return(Cpanel::Mysql=HASH(0x2278e48), 'The user \xE2\x80\x9C[_1]\xE2\x80\x9D is not authorized to access \xE2\x80\x9C[_2]\xE2\x80\x9D for revoking permissions from all.', 'recenze', 'cpses_reGmRPM2kn') called at /usr/local/cpanel/Cpanel/DBAdmin.pm line 177
Cpanel::DBAdmin::_log_error_and_output(Cpanel::Mysql=HASH(0x2278e48), 'The user \xE2\x80\x9C[_1]\xE2\x80\x9D is not authorized to access \xE2\x80\x9C[_2]\xE2\x80\x9D for revoking permissions from all.', 'recenze', 'cpses_reGmRPM2kn') called at /usr/local/cpanel/Cpanel/Mysql.pm line 501
Cpanel::Mysql::_dbowner_to_all_with_ownership_checks(Cpanel::Mysql=HASH(0x2278e48), 'method', 'REVOKE', 'users', HASH(0x2279640)) called at /usr/local/cpanel/Cpanel/Mysql.pm line 465
Cpanel::Mysql::remove_dbowner_from_all(Cpanel::Mysql=HASH(0x2278e48), 'cpses_reGmRPM2kn') called at bin/cpses_tool.pl line 139
bin::cpses_tool::__ANON__() called at bin/cpses_tool.pl line 155
bin::cpses_tool::action_REMOVETEMPDBOWNER('bin::cpses_tool', HASH(0x2274078)) called at bin/cpses_tool.pl line 64
bin::cpses_tool::process_request(HASH(0x2274078)) called at bin/cpses_tool.pl line 51
bin::cpses_tool::script('bin::cpses_tool') called at bin/cpses_tool.pl line 27
[2014-11-15 16:13:55 +0000] warn [cpses_tool] The cPanel user “recenze” is not allowed to grant access to any of the requested database users. at /usr/local/cpanel/Cpanel/DBAdmin.pm line 160
Cpanel::DBAdmin::_log_error_and_output_return(Cpanel::Mysql=HASH(0x2278e48), 'The cPanel user \xE2\x80\x9C[_1]\xE2\x80\x9D is not allowed to grant access to any of the requested database users.', 'recenze') called at /usr/local/cpanel/Cpanel/Mysql.pm line 522
Cpanel::Mysql::_dbowner_to_all_with_ownership_checks(Cpanel::Mysql=HASH(0x2278e48), 'method', 'REVOKE', 'users', HASH(0x2279640)) called at /usr/local/cpanel/Cpanel/Mysql.pm line 465
Cpanel::Mysql::remove_dbowner_from_all(Cpanel::Mysql=HASH(0x2278e48), 'cpses_reGmRPM2kn') called at bin/cpses_tool.pl line 139
bin::cpses_tool::__ANON__() called at bin/cpses_tool.pl line 155
bin::cpses_tool::action_REMOVETEMPDBOWNER('bin::cpses_tool', HASH(0x2274078)) called at bin/cpses_tool.pl line 64
bin::cpses_tool::process_request(HASH(0x2274078)) called at bin/cpses_tool.pl line 51
bin::cpses_tool::script('bin::cpses_tool') called at bin/cpses_tool.pl line 27
/usr/sbin/nscd: nscd not running!
[2014-11-15 16:14:39 +0000] info [cpses_tool] MYSQL: Remove dbuser cpses_reh3G7oHUw for owner recenze on 107.*.*.*
the IP mentioned on the last line is old WHM IP which is no longer used after i transfered WHM VPS to another dedicated server..
↧
November 15, 2014, 9:21 am
Hi
I have a new dedicated server and i plan to install Centos 6.6 on the 3x 160gb ssd disks that i got with it (soft raid).
I will host a forum with 80gb data and a database that is now 32gb.
Can you please recommend me how to partition the disks?
sample like:
/ 5gb
/home 10gb
swap 2gb
Thanks
↧
November 15, 2014, 9:59 am
My server MySQL load is too high 230% mostly Please let me guide how can I optimize it.
Server OVH with 48GB RAM.
System information
Server load 16.71 (8 CPUs) (Alert)
Memory Used 4.01% (1,985,444 of 49,514,432) (Ok)
Swap Used 0% (0 of 523,260) (OK)
my.cnf
[mysqld]
innodb_file_per_table=1
bind-address=127.0.0.1
open_files_limit=4596
innodb_buffer_pool_size=134217728
max_allowed_packet=268435456
Currently Load Averages: 13.17 13.95 13.68
Thank you.
↧
↧
November 15, 2014, 10:21 am
Just started seeing the below error and I noticed that the last successful backup was before glibc was updated by upcp on the 9th.
This is legacy backup w/ FTP (I tried switching to the new backup but apparently it works differently w/r/t staging the tar files and I ran out of diskspace).
I just reran the backup using --force and the same error occurred.
Note that the error only happens for one of the accounts on this system.
Code:
WARN: Warnings(s) encountered in tar during archiving:
*** glibc detected *** pkgacct - username - av: 3: double free or corruption (out): 0x000000001f178400 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2b4174fc34af]
/lib64/libc.so.6(cfree+0x4b)[0x2b4174fc77ab]
/lib64/libc.so.6(closedir+0xd)[0x2b4174fe813d]
/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/Archive/Tar/Builder/Builder.so[0x2b417a381f52]
/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/Archive/Tar/Builder/Builder.so(b_stack_destroy+0x28)[0x2b417a382ccb]
/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/Archive/Tar/Builder/Builder.so(b_find+0x3bb)[0x2b417a382381]
/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/Archive/Tar/Builder/Builder.so[0x2b417a383725]
/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.4/x86_64-linux-64int/CORE/libperl.so(Perl_pp_entersub+0x8a1)[0x2b41741d9e36]
/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.4/x86_64-linux-64int/CORE/libperl.so(Perl_runops_standard+0x11)[0x2b41741d8641]
/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.4/x86_64-linux-64int/CORE/libperl.so(perl_run+0x1c0)[0x2b417418acd6]
pkgacct - username - av: 3(main+0xa7)[0x400ddf]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x2b4174f6f9f4]
pkgacct - username - av: 3[0x400c89]
↧
November 15, 2014, 10:46 am
Hello
I'm not really an expert so I need some help of you guys. I have a VPS with 4gb RAM, running apache 2.4.10 + php 5.5.18 + + fcgid
There's some errors/warning in my log which I can't solve...
About fcgid
Code:
[Sat Nov 15 15:35:01.045778 2014] [fcgid:warn] [pid 20878:tid 140137331631872] (32)Broken pipe: [client x.xx.xx.xx:33740] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Sat Nov 15 15:35:59.943080 2014] [fcgid:warn] [pid 20878:tid 140137447020288] (32)Broken pipe: [client xx.xx.xx.xx:48512] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
Have a ton of these
I just it was related to some timeout, so I changed to a higher value.. didn't worked.
Fcgid settings:
Code:
FcgidMaxRequestsPerProcess 400
FcgidMaxProcesses 800
FcgidMaxRequestLen 1073741824
FcgidMinProcessesPerClass 0
FcgidMaxProcessesPerClass 10
FcgidIOTimeout 240
FcgidIdleTimeout 120
FcgidIdleScanInterval 60
FcgidBusyTimeout 240
FcgidBusyScanInterval 60
FcgidErrorScanInterval 3
FcgidZombieScanInterval 3
FcgidProcessLifeTime 3600
Apache settings:
Code:
Timeout 30
TraceEnable Off
ServerSignature Off
ServerTokens ProductOnly
FileETag None
StartServers 3
<IfModule prefork.c>
MinSpareServers 7
MaxSpareServers 10
</IfModule>
<IfModule itk.c>
MinSpareServers 7
MaxSpareServers 10
</IfModule>
ServerLimit 200
MaxRequestWorkers 200
MaxConnectionsPerChild 1500
KeepAlive On
KeepAliveTimeout 2
MaxKeepAliveRequests 200
About Wordpress:
Code:
[Sat Nov 15 15:26:15.342291 2014] [fcgid:warn] [pid 20878:tid 140137384081152] [client 23.235.204.105:38062] mod_fcgid: read data timeout in 240 seconds
[Sat Nov 15 15:26:15.342770 2014] [core:error] [pid 20878:tid 140137384081152] [client 23.235.204.105:38062] End of script output before headers: wp-cron.php
What should I do to fix these cron job failures?
About Pagespeed:
Code:
[Sat Nov 15 14:01:38.021869 2014] [pagespeed:error] [pid 19495:tid 140137744717760] [mod_pagespeed 1.9.32.2-4321 @19495] ServerContext: 5 leaked_rewrite_drivers on destruction
[Sat Nov 15 14:02:54.227170 2014] [pagespeed:error] [pid 19527:tid 140137744717760] [mod_pagespeed 1.9.32.2-4321 @19527] ServerContext: 2 leaked_rewrite_drivers on destruction
[Sat Nov 15 14:03:47.759081 2014] [pagespeed:error] [pid 19589:tid 140137744717760] [mod_pagespeed 1.9.32.2-4321 @19589] ServerContext: 8 leaked_rewrite_drivers on destruction
[Sat Nov 15 14:07:09.193290 2014] [pagespeed:warn] [pid 20263:tid 140137184773888] [mod_pagespeed 1.9.32.2-4321 @20263] _,Mjo.H3aT5RIRSc.js:0: Resource based on http://theredlilshoes.com/galaxy-nai....1B2M2Y8Asg.js but cannot access the original
[Sat Nov 15 14:07:09.193429 2014] [pagespeed:warn] [pid 20263:tid 140137184773888] [mod_pagespeed 1.9.32.2-4321 @20263] [1115/140709:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://theredlilshoes.com/galaxy-nai....le5uJHxMyh.js
[Sat Nov 15 14:07:09.193499 2014] [pagespeed:warn] [pid 20263:tid 140137321142016] [mod_pagespeed 1.9.32.2-4321 @20263] Fetch failed for http://theredlilshoes.com/galaxy-nai....le5uJHxMyh.js, status=404
[Sat Nov 15 14:07:09.193620 2014] [pagespeed:warn] [pid 20263:tid 140137321142016] [mod_pagespeed 1.9.32.2-4321 @20263] http://theredlilshoes.com/galaxy-nai....le5uJHxMyh.js resource_404_count: not found (404)
I thought this was because of outline css and
JS, disabled it, but I'm still seeing these errors...
I really apreciate if someone can help me or point me to the right direction! :D
Thanks in advance
↧
November 15, 2014, 11:34 am
Sorry if this is a dumb question. I want to change some text in a site I inherited but cannot find the files that contain the content/text in cpanel. I am presuming there is one file per page/url but not sure. Any help will be gratefully received.
↧
November 15, 2014, 1:04 pm
Hi all
Having a bit of an issue with Apache installed through cPanel. I'm working on a fresh build of cPanel on a blank install of Centos x64 6.5 and have followed the installation instructions through (including any existing yum installations which could conflict) and passed the initial setup and creation of the first user account when I realised that httpd isn't starting and that I haven't come across this error before. This is from the error_log file:
[Sat Nov 15 18:33:11 2014] [alert] (EAI 3)Temporary failure in name resolution: mod_unique_id: unable to find IPv4 address
I also get the same message returned on the WHM Restart Apache page. My httpd.conf file is as generated and un-modified, all I have set are the initial settings in WHM with my 2 IP's and their corresponding nameservers and hostname.
If there's anyore information you need from my system please let me know and I'll post up the results as quickly as I can. All help will be greatly appreciated. Thank you.
Spadge
↧
↧
November 15, 2014, 5:00 pm
How would it be possible for all mail to be delivered to mailserver.company.tld and any boxtrapper messages and auto-responses would be sent from that IP address (as to not blacklist any other customers using the webhost server) and then, hopefully non-spam emails could be directed onto a second cPanel server, like: webhost.company.tld with a different IP?
Which option should be selected on which server (any local MX mods here) and what MX records should be publically visable in the DNS?
Thanks
↧
November 15, 2014, 8:58 pm
hello
I try to find how to change the server name (ns1.sever.com, ns2.server.com).
I've Cpanel. I'm user (no whm).
Click image for larger version Name: Capture d'écran de 2014-11-16 05:04:08.png Views: 1 Size: 150.2 KB ID: 29701
Impossible to find the place to put name. Only A Cname TXT, in DNS zone simple. I can access to dns zone advanced also.
Help....
Thank all
- - - Updated - - -
i forgot image
Capture d'écran de 2014-11-16 05:04:08.png
↧
November 15, 2014, 11:00 pm
Hi all.
I have a domain mydomain.com.
Under WHM>Service Configuration>Manage Service SSL Certificates, I installed SSL for my main domain (but under sub-domain)
secure.mydomain.com for Dovecot Mail Server, Exim (SMTP) Server, FTP Server and cPanel/WHM/Webmail Service.
But now I'd like to install another SSL Certificate for my domain (without sub-domain). I bought SSL certificate for mydomain.com, and when I tried to install it, I receive the following error:
The system failed to find an owner for the domain mydomain.com"
I tried:
Code:
mv /var/cpanel/users/system /root/
And received the following error:
Code:
mv: cannot stat `/var/cpanel/users/system': No such file or directory
When I run:
Code:
/scripts/updateuserdomains
I didn't receive any error.
I'm running CentOS 6 on WHM VPS Optimize.
Please advise,
Thank you :-).
↧
November 16, 2014, 1:29 am
Hello,
if i will be using PHP 5.3.29 END OF LIFE
do i need to worry about WHM upgrading PHP to higher version somehow automatically when this version is no longer supported by PHP?
As when i tried higher version, many scripts was throwing many errors..
↧
↧
November 16, 2014, 6:16 am
I don't know if it's only me but today I noticed that when I activate "Auto-Delete Spam" (Cpanel->Mail->Apache SpamAssassin) all forwarders for this account (all domains of account) were missing.
The files in /etc/valiases still existed but were empty.
First I was not really sure what it was. But after I have restored the forwarders again from the backup I tried enabling Auto-Deletion of Spam again (with a Setting of 10) and the forwarders where gone again.
I also tried it with another account. Same issue. Both accounts (most of the domains) have forwarders and are also catch-all - so all mails go to the main mailbox or to another mail address. As the catch-all rule did not exist any more the domain did not accept any mail (error: 550 Unrouteable address).
I have already updatet to 11.46.0. When I played around with the Spamassassin settings a couple of weeks ago (with 11.44) I did not notice such a behavior.
↧
November 16, 2014, 7:11 am
Situation:
Server with both SSD and HDD mounts for /homeX
Want:
easy way to assign accounts or resellers to a certain mount
Reason:
We want to sell cheaper HDD-based accounts, as well as more expensive SDD-based accounts
Current situation:
WHM assigns accounts to the mount with the most free space, which isn't always the mount we want.
Workaround:
temporary change the settings in "Basic cPanel & WHM setup", create acount, return settings to previous mount.
Or create account, and then from "List accounts" move the account to another mount.
Problem:
This is a lot of steps to take, for something we need to do almost every time we create a new account.
For resellers, there doesn't even seem to be a way to assign all accounts created to a certain mount; it always follows the settings in the "Basic cPanel & WHM setup"
Question:
is there an easier way to fulfill our needs?
↧
November 16, 2014, 9:17 am
Hello everyone,
I started with cPanel in little time. All functions is working fine but I can't send and receive emails. When I look the Delivery Reports appear the following messages:
- host lookup did not complete
- retry timeout exceeded
When I click in details the Sender IP is set to: 127.0.0.1 or sometime is set to: ::1
I belive that error is caused for this but I don't know how to change this config.
Someone know how to solved this issue?
Thanks to all!!
↧