November 12, 2014, 11:28 am
Anyone migrating accounts is likely to have an issue with Roundcube accounts not transferring their address books. I've seen it a bunch of times, but always too late to see what really happened. Today I'm getting ready for a transfer and my test transfer did not copy its address books.
Turns out, the transfer works fine, but only if both systems are using sqlite for their Roundcube address books. Turns out my new server wasn't using sqlite.
Best thing to do is to run:
/usr/local/cpanel/scripts/convert_roundcube_mysql2sqlite
On the originating server if there is any question if it is running sqlite for Roundcube and to run it on the new server to verify that it is also doing the same.
It appears that if it is already run on a server, a nice warning message is displayed, so no harm.
Once that both servers are using sqlite, the transfer moves the address books without any issues.
↧
November 12, 2014, 11:55 am
Hello,
I installed the basic OWASP rules for ModSecurity, but now my logs in ModSecurity Tools are becoming really big, really fast.
I tried, for many hours, to find the configuration to disable the log of non-critical rules, like a missing Accept Header (like the one used by PingDom), but it does not work.
What I tried:
1. Changing the Audit Log Level to Only log noteworthy transactions
2. Adding SecAuditLogRelevantStatus (using many different prefixes)
3. And plenty little steps that didn't work
I am currently using the "Anomaly" rules, and it works great. I understand the logs are using MySQL, but I cannot find where this setting is enabled.
I guess I am missing something.
Thank you for your help
↧
↧
November 13, 2014, 12:10 am
How to prevent a reseller from using "Create New Account" to create a subdomain account using another users domain name.
Example:
domainxxx.com is host by reseller-xxx,
but reseller-yyy can create account as domain sub.domainxxx.com
↧
November 13, 2014, 2:22 am
Hello,
Can i add more space on my website?
Because,i want more space for the emails.
Also i want my emails stored on the server,because many people must have access to it.
If it isn't impossible,then can i have on an other hosting service running the emails,and if yes,how do i do that.
Thank you
↧
November 13, 2014, 3:44 am
Hi, I'm trying to create my first plugin for WHM. I had registered the addon_my_plugin.conf as said in the documentation.Basically my plugin folder has just 2 files, one is .conf file and addon_my_plugin.cgi. In the .cgi file, I have my PHP code written instead of Perl.
I got my plugin listed in the plugin section, but when I click on that I get error
No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/my_plugin/addon_my_plugin.cgi): The subprocess exited with status 2 (ENOENT).
I'm working in a windows machine.I gave file a 777 permission. But what amaze me is that when my friend create the same cgi file for me in his Linux machine, my plugin works perfectly! It's working even if I edited that file in my windows system.But doesn't work when I create a new file!
I don't know much about the working of Linux.So can anybody please tell me what would be the reason for that?
I'm using sublime text 3 to edit my PHP code and PHP script includes and echo statement and the shebang(right?) I used is #!/usr/local/cpanel/3rdparty/bin/php-cgi
Thanks in advance!
↧
↧
November 13, 2014, 4:33 am
Hi
Getting below running easy apache? Any ideas?
suexec.c: In function 'main':
suexec.c:550: error: redeclaration of 'lib_handle' with no linkage
suexec.c:521: note: previous declaration of 'lib_handle' was here
make[2]: *** [suexec.lo] Error 1
make[2]: Leaving directory `/home/cpeasyapache/src/httpd-2.4/support'
make[1]: *** [suexec] Error 2
make[1]: *** Waiting for unfinished jobs....
and
make[1]: Leaving directory `/home/cpeasyapache/src/httpd-2.4'
make: *** [all-recursive] Error 1
!! 'make -j2' failed with exit code '512' !!
↧
November 13, 2014, 6:38 am
Very strange...
Code:
root@neon [/home]# passwd root
Changing password for user root.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
root@neon [/home]#
Yet, I cannot login via WHM or via regular SSH without a key. Obviously "yourdomain" is not my real domain:
Code:
login as: root
root@neon.yourdomain.net's password:
Access denied
root@neon.yourdomain.net's password:
Access denied
root@neon.yourdomain.net's password:
Access denied
root@neon.yourdomain.net's password:
↧
November 13, 2014, 6:42 am
Hello,
an OpenVZ VPS, WHM on it. I transfered VPS to another server, but this server was unable to run "ploop", but only "simfs" (its older kernel maybe)
I see now all cpanel accounts has unlimited disk Quota.
I tried /scripts/fixquotas
the result:
Code:
Installing Default Quota Databases......Done
journaled quota support: not available with vzaquota (disabled)
Warning virtual file systems are mounted. Quotas may be counted as double
for users who are currently logged in. Please have jailshell users logout
before running quotacheck in the future!
All jailed users will be logged out in 60 seconds!
jailshell: no process killed
checking out /backup
checking out /backup
Quotas have been enabled, however they may not be up to date as quotacheck has been skipped.
Reading package prefix_myhosting.com_mypackagename
Resetting quota for aazbiwmm to 100 M
edquota: Quota write failed (id 708): Invalid argument
...and so on for all accounts.....
quota aazbiwmm
Code:
Disk quotas for user aazbiwmm (uid 708): none
/sbin/quotacheck -vguma
Code:
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
quotacheck: Scanning /dev/simfs [/] done
quotacheck: Checked 350839 directories and 3124862 files
quotacheck: Quota file //aquota.user has IMMUTABLE flag set. Clearing.
quotacheck: Failed to remove IMMUTABLE flag from quota file //aquota.user: Inappropriate ioctl for device
quotacheck: Quota file //aquota.group has IMMUTABLE flag set. Clearing.
quotacheck: Failed to remove IMMUTABLE flag from quota file //aquota.group: Inappropriate ioctl for device
From OpenVZ configuration file:
QUOTAUGIDLIMIT="10000"
there someone advicing command from node (i have access to it): "vzctl set 101 --quotaugidlimit 80 --save"
THe VPS hdd is using slightly more than 100gb disk space..
DISKSPACE="204800000:204800000"
DISKINODES="102400000:102400000"
QUOTATIME="0"
Please how can i fix this?
↧
November 13, 2014, 8:28 am
[root@cake ~]: service cpanel start
Starting cPanel services: Waiting for cpsrvd,whostmgrd,cpaneld,webmaild to shutdown ... not running.
Starting cpsrvd.
[ OK ]
Starting cPanel brute force detector services: [ OK ]
Starting cPanel dav services: [ OK ]
Starting cPanel Chat services:
Starting cPanel ssl services: Waiting for (?^:^(?:stunnel$|stunnel-[0-9\.]+local)) to shutdown ... not running.
Using Native SSL support (stunnel not needed)
[ OK ]
Starting cPanel Queue services: [ OK ]
Starting tailwatchd:
Starting cPanel Log services:
Starting mailman services: [ OK ]
[root@cake ~]: service cpanel status
cpsrvd is stopped
entropychat is stopped
stunnel is stopped
qrunner is stopped
nothing in /usr/local/cpanel/logs/error_log or panic_log, nothing in /var/log/messages
↧
↧
November 13, 2014, 9:31 am
Good morning
I'm going to purchase a new WHM license for a new dedicated. The dedicated will be an OVH (So You Start) machine.
I'm planning to use failover IP instead of main machine IP as described here: /http://www.soyoustart.com/en/failover-ip.xml and here: /http://help.ovh.com/IpAlias
In order to set the IP of my new cPanel/WHM license, can I use a Failover IP instead of main machine IP?
Thank you
↧
November 13, 2014, 11:41 am
Hi,
On my server I have iptables setup so ssh (on port 22) only allows connections from a limited set of IP's (tested such that when I comment out my IP I can't connect). However, I notice in audit.log thousands of messages like:
type=USER_AUTH msg=audit(1415905373.817:1993316): user pid=28071 uid=0 auid=0 ses=29944 msg='op=PAM:authentication acct="root" exe="/usr/sbin/sshd" hostname=192.126.120.93 addr=192.126.120.93 terminal=ssh res=failed'
and in the messages log hundreds of:
Nov 13 08:30:02 host PAM-hulk[22289]: Brute force detection active: 580 LOGIN DENIED -- TOO MANY FAILURES -- IP TEMP BANNED
also aureport reports:
Number of logins: 6
Number of failed logins: 6835
Number of authentications: 12
Number of failed authentications: 41589
Does anyone have any ideas on why these invalid attempts are not being blocked by iptables?
Thanks for any insight.
Jeff Paetkau
↧
November 13, 2014, 11:49 am
Does anyone know how to install mod_forcedads? can't find anything anywhere
↧
November 14, 2014, 3:22 am
Hi, I have a problem after updating cPanel:
Code:
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
username@domain.az
local delivery failed
The following text was generated during the delivery attempt:
------ username@domain.az ------
[2014-11-14 14:11:45 +0400] die [Internal Death while parsing 32467]
Unknown encoding 'UTF-8' at bin/boxtrapper.pl line 105.
at
/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64in
t/Encode.pm line 157, <STDIN> line 22.
Encode::encode("UTF-8", "\x{414}\x{43b}\x{44f}
\x{431}\x{443}\x{445}\x{433}\x{430}\x{43b}\x{442}\x{435}\x{440}\x{438}\x{438
}. \x{41e}\x{442}\x{447}\x{435}\x{442} - \x{43f}\x{43e}
\x{440}\x{430}\x{441}\x{445}\x{43e}\x{434}\x{430}\x{43c} \x{438}
\x{441}\x{443}\x{43c}\x{43c}\x{430}\x{43c}
\x{440}\x{430}\x{441}\x{442}\x{430}\x{43c}\x{43e}\x{436}\x{435}\x{43a}
\x{43d}\x{430} 1"...) called at bin/boxtrapper.pl line 105
Unknown encoding 'UTF-8' at bin/boxtrapper.pl line 105.
Code:
CENTOS 5.11 x86_64 standard WHM 11.46.0 (build 14)
I think, something wrong with Encode.pm, but what I need to do, to repair this?
↧
↧
November 14, 2014, 3:57 am
Hello,
Does anyone know if it's possible to import addresses from .csv or other files via a cron job inside cPanel and maybee know a command for this?
↧
November 14, 2014, 6:19 am
Hi!
I'm trying to install DNSONLY on clean install of CentOS 6.6 netinstall.
(Installed as minimal, and only added screen and wget)
When I try to install I get the error bellow. Any clues?
#####
2014-11-14 15:12:42 691 (ERROR): Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
2014-11-14 15:12:42 692 (ERROR):
#####
Thanks in advance,
Johan
Sweden
↧
November 14, 2014, 6:58 am
I hope I am posting this in the right section.
A website we are installing requires the "Multibyte String PHP extension".
After doing some online searches I found where to install this Mbstring on our WHM server, using our Root access.
However, I have never done this before and usually very carefull when installing something or changing some setting of our server, as we have quite a few websites hosted here.
I'll copy some of the steps/messages here:
First of all I go to
Home » Software » EasyApache (Apache Update)
where it show we are using Easy Apache v3.26.9
Then I go to customize our ** DEFAULT ** profile, that uses
Apache 2.2
PHP 5.4
MPM Prefork
Your profile has Apache 2.2.29 chosen to build
Your currently running apache is Apache 2.2.27 (Please note it also gives me the option to use Apache 2.4.10)
In the next step it says:
You currently have PHP 5 installed.
Please choose which PHP version(s) to build
None
5.3.29 END OF LIFE
5.4.34
5.5.18
In the next step I go to Exhaustive Options List where I can choose to install Mbstring.
So far so good, now I have to chose between Save Only (do not build) or "Save and build"
This is how far I've gotten before I got scared ;-)
I'm a little afraid this will change configuration of the server and it might affect other websites we got hosted in this server.
Any advice on this? Are there any risks this affects other websites?
Many thanks!
We use WHM 11.46.0 (build 14) by the way.
↧
November 14, 2014, 7:27 am
Hello,
I've created some DNS clustering with the above example
Server1 Full cPanel -> sync to -> Server2 DNSonly cPanel
my question is for each other hosting/full cPanel server that I have do I have to create another DNSonly cPanel server,
or can I connect mutliple Full cPanel servers to 1 DNSonly cPanel server?
↧
↧
November 14, 2014, 7:31 am
Hi,
I'm new here and I can't figure something.
I want to register my website to Google tags. They asking me to add an html code under every <body> tag on every page of my site.
Now, How can I add html code if it's all php files (so there is no <body> tags) ???
When i'm looking at the page source it look a beautiful html page, but then again, can't find anything like it on my files.
I have lots of folders
Hope my question is clear..
Thank you,
Alon
↧
November 14, 2014, 7:36 am
WHM version WHM 11.44.1 (build 21) on both servers.
Just noticed when transferring sites that the SSL certificate is not transferred. Anyone else notice this?
↧
November 14, 2014, 9:32 am
I have tried everything to install/get a wordpress created website working on my server. I just ran through the installation again and I keep having the same problems, every time I go to the website it never opens the page just downloads a file. Even when trying to run the install.php, instead of running it, it just downloads the file. I have no idea what I'm doing wrong. Can anyone help?
Thanks,
↧