Quantcast
Channel: cPanel Forums
Viewing all 5759 articles
Browse latest View live

Old server to new - 451 Temporary local problem

$
0
0
I've moved my site to a new server (both semi-managed servers belonging to me), and changed the DNS and A records on the old server to point to the new IP.

A few times a day, though, the old server sends an email to me as "root"; mainly updates on cron jobs, and the rare occasion that someone is still seeing the old site through the old server.

When this email is sent, though, I'm not getting it. Instead, I get this:

Code:

Delay reason: SMTP error from remote mail server after RCPT TO:<email@example.com>:
    host example.com [987.65.43.21]: 451 Temporary local problem - please try later

(Where 987.65.43.21 is the IP of the new server.)

Both servers have the same SPF record:

v=spf1 +a +mx +ip4:123.45.67.89 +ip4:987.65.43.21 -all

(Where 123.45.67.89 is the IP of the old server.)

I found a thread from 2008 on this error that said to make sure that the domain is in /etc/localdomains. It's not, but it is in /etc/remotedomains, which is where I think it should be at this point since it's now on a different server (but I really don't know the significance of these files).

Any other suggestions?

Do backups contribute towards bandwidth limits?

$
0
0
Hi,

Apologies for this basic question but i've done a good amount of searching and yet to find a solid answer.

Can anyone please tell me if making a full backup will contribute to my monthly bandwidth quota?

Many thanks in advance.

Force Backup now

$
0
0
hello,

i tried to force the backup via /scripts/cpbackup --force

and i get a

[cpbackup] Backup Not Enabled (This can be adjusted in WHM => Backup => Legacy Backup Configuration)

But i`m using not the Legacy Backup, i`m using the "normal" backup that stores all files on amazon s3.

How can i force that cpanel does a backup now and upload all backups to s3 ?

Fruthermore i get a error message for one acc.

Code:

Unable to send “/backup/2014-03-21/accounts/shopware.tar.gz” to destination “shopware02”
Two other accounts were sucessfull uploaded to s3.

Api and Backup

$
0
0
Hello everybody,
i'm creating my custom management interface calling JSON apis.
Now i need to create an user interface for Manually Backup and Restore.

I found these api calls for restore db and home directory
ap1: Fileman::restoredb
ap1: Fileman::restorefiles

But I do not found their counterparts to make db backup and home directory backup
Can anyone tell me what calls I need to do for create a partial backup?

Best regards

Dns cluster zone delete

$
0
0
Hello,
I have a Dns cluster configured and working fine, Now i delete a old server and add new server with new IP , all accounts are transfered successfully.
The problem that i have a onlydns server ( all my servers synchronize dns to this server), I delete the old server from the cluster, but the cluster ( onlydns zone ) stil respona to my request ( like dns zone of the old server are still reside in the dns only server).
How to delete totaly this server ?? i disable bind service, delete it from cluster, but when i check dns propagation of my accounts, i see that the old ip still respond,

Thank you .

IP Address NIGHTMARE.

$
0
0
I don't know who's responsible for this new 'feature', but it's just horrifically wrong on so very many levels.

Problem 1: Adding ip addresses (outside of initial setup)
This needs to go back to how it was. Add in the gateway, add in the netmask and you're done. No dropdown preselected gateway garbage, which NEVER WORKS

Problem 2: Removing ip addresses (must be done one at a time).
Each removal requires 5 steps. ONE of these steps can actually shut off access to cPanel until cPanel's 'partners' decide to fix the license file

#1: Click the removal link
#2: Click the trash can
#3: Confirm
#4: Rebuild the license (/usr/local/cpanel/cpkeyclt), because #3 just broke it
#5: Rebuild ip address pool

Step 4 is where the problems come in, because lo and behold if you rebuild that license file enough times, DAMN, you have no more cPanel

Come on people, this shouldn't be rocket science here. Deleting the ip addresses needs to be streamlined, and adding IP addresses shouldn't take guesswork!

Slideshow embed issues

$
0
0
Hi.
I'm using phpmyadmin on my website and having some issues with an embed slideshow code. The code's from divshare (like flickr) website. It happens that the slideshow appears on the page twice and with an error...

This is the code:

PHP Code:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0" width="560" height="400" id="divslide"><param name="movie" value="http://www.divshare.com/flash/slide?myId=25309449-76a" /><param name="allowFullScreen" value="true" /><embed src="http://www.divshare.com/flash/slide?myId=25309449-76a" width="560" height="400" name="divslide" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object

I've tried to put this code with Iframe but the result is the same...

The website where i'm trying to display the slideshow is:

- Removed -

I'd apreciate some help.
Thanks
Paulo

My cPanel server is compromised

$
0
0
Noticed a huge spike in my inbound traffic recently and noticed that it was the ip of my shared cPanel server. Looking at my lanalyzer it showed a lot of dns queries and then a lot of queries to port 80 on all kinds of websites from the IP of my cPanel server.

I ran Top utility to see if I can find anything and the only thing I saw was a cpanel user who was running 'phpize' for several hours.

It appears to me that something is on my system that is looking for vulnerabilities on other servers.

Not sure where to start looking for something like this. I looked at the logs of the user that was running this phpize and don't see anything error_logs
Attached Images

Self-Signed Certificate Error Help Please !!!

$
0
0
Hello Everyone,

I am the owner of - Removed - and trying to add self-signed certificate to my site through cpanel
but its gave me an error and i am last step.

Error :- The certificate could not be installed on the domain “domain.com”.
error The user 'chmosama' is required to have the feature 'sslinstall' to install SSL items.: The user 'chmosama' is required to have the feature 'sslinstall' to install SSL items.

Email sending Obviously, by

$
0
0
I have some other domains on my vps.
When i send a e-mail the receiver see: Obviously, by

And "Obviously, by" is the domain from DNS hosting name.
How can i change this?
Only the domain from sender i want to display.

Regards

AUTHRELAY Alert

$
0
0
Hi just wondering if someone could advise me please.

I had emails for a customers account AUTHRELAY Alert they tried to send 1000s of emails,
but this could not of been the customer because they had been sent from 5 different countries, and need to know if this means they all got access to his email account or would they have malware on their computer ?

DBD::mysql::st execute failed: Lost connection to MySQL server

$
0
0
Hello,

Last night the data centre had an issue with a switch which apparently led to the filesystem on our server being rendered read only.
After the switch issue was resolved we rebooted our server and all appears to be running as expected except for the following where we receive errors every 4 hours.

DBD::mysql::st execute failed: Lost connection to MySQL server during query at bin/update_db_cache line 334.
DBD::mysql::st execute failed: Lost connection to MySQL server during query at bin/update_db_cache line 334.

Has anyone come across this before? Is there a fix for this?

Thanks in advance for any help.

----
CENTOS 6.5 x86_64 xenpv
WHM 11.42.0 (build 22)
Load Averages: 0.07 0.17 0.14

After spammer attack emails are all in queue and not delivered

$
0
0
Hi all,
I have this problem, exim stop send mail from 2 days, i can receive mail in my main account and now are all in cpanle mail queue manager.
This a part of mail exim_mainlog

Code:

2014-03-23 13:03:38 1WRcZH-0005HM-Jg liberomx1.domain.com [212.52.xx.xx] Connection timed out
2014-03-23 13:04:48 1WRcZi-0005Yc-U7 liberomx1.domain.com [212.52.xx.xx] Connection timed out
2014-03-23 13:04:48 1WRcZi-0005Yc-U7 == antonio.sambataro@domain.com R=lookuphost T=remote_smtp defer (110): Connection timed out
2014-03-23 13:04:58 1WRgz8-0000Ch-57 liberomx3.domain.com [212.52.84.67] Connection timed out
2014-03-23 13:05:23 1WRg2h-0007zh-4v alt3.gmail-smtp-in.l.google.com [173.194.xx.xx] Connection timed out
2014-03-23 13:05:25 cwd=/etc/csf 2 args: /usr/sbin/exim -bpc
2014-03-23 13:05:31 1WRcaY-0005wX-Ci mx3.hotmail.com [65.54.xx.xx] Connection timed out
2014-03-23 13:05:31 1WRcaY-0005wX-Ci == io-sono-75@domain3.it R=lookuphost T=remote_smtp defer (110): Connection timed out
2014-03-23 13:05:45 SMTP connection from [89.118.xx.xx]:51282 (TCP/IP connection count = 1)
2014-03-23 13:05:45 no IP address found for host 89-118-51-30-static.domain3.net (during SMTP connection from [89.118.xx.xx]:51282)
2014-03-23 13:05:46 1WRcZH-0005HM-Jg liberomx1.domain.com [212.52.xx.xx] Connection timed out
2014-03-23 13:05:46 1WRcZH-0005HM-Jg == vampirellilith@domain.com R=lookuphost T=remote_smtp defer (110): Connection timed out
2014-03-23 13:05:48 dovecot_login authenticator failed for ([192.168.2.33]) [89.118.51.30]:51282: 535 Incorrect authentication data (set_id=tomek)
2014-03-23 13:05:54 dovecot_login authenticator failed for ([192.168.2.33]) [89.118.51.30]:51282: 535 Incorrect authentication data (set_id=tomek)
2014-03-23 13:06:05 dovecot_login authenticator failed for ([192.168.2.33]) [89.118.51.30]:51282: 535 Incorrect authentication data (set_id=tomek)
2014-03-23 13:06:22 dovecot_login authenticator failed for ([192.168.2.33]) [89.118.51.30]:51282: 535 Incorrect authentication data (set_id=tomek)
2014-03-23 13:06:25 cwd=/etc/csf 4 args: /usr/sbin/sendmail -f root -t
2014-03-23 13:06:25 1WRhAX-00027n-HU <= root@ks208859.domain2.com U=root P=local S=1388 T="lfd on ks208859.domain2.com: blocked 89.118.xx.xx (IT/Italy/89-118-51-30-static.domain3.net)" for root
2014-03-23 13:06:25 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1WRhAX-00027n-HU
2014-03-23 13:06:25 1WRhAX-00027n-HU User 0 set for local_delivery transport is on the never_users list
2014-03-23 13:06:25 1WRhAX-00027n-HU == root@ks208859.domain2.com R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
2014-03-23 13:06:25 1WRhAX-00027n-HU ** root@ks208859.domain2.com: retry timeout exceeded
2014-03-23 13:06:25 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1WRhAX-00027n-HU
2014-03-23 13:06:25 1WRhAX-00027v-MA <= <> R=1WRhAX-00027n-HU U=mailnull P=local S=2245 T="Mail delivery failed: returning message to sender" for root@ks208859.domain2.com
2014-03-23 13:06:25 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1WRhAX-00027v-MA
2014-03-23 13:06:25 1WRhAX-00027v-MA User 0 set for local_delivery transport is on the never_users list
2014-03-23 13:06:25 1WRhAX-00027v-MA == root@ks208859.domain2.com R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
2014-03-23 13:06:25 1WRhAX-00027v-MA ** root@ks208859.domain2.com: retry timeout exceeded
2014-03-23 13:06:25 1WRhAX-00027v-MA root@ks208859.domain2.com: error ignored
2014-03-23 13:06:25 1WRhAX-00027n-HU Completed
2014-03-23 13:06:25 1WRhAX-00027v-MA Completed

I tried to put csf in medium protection but still not work.
I checked if my domain (domain.com) is blacklisted but its ok.
I dont know whats happened in last 48 hours, before all worked...
Can you help me please?

DNS Issue

$
0
0
Hello,

I have a client who wants to use cPanel however needs his Domain to forward to his Minecraft Server (when typed in to his Minecraft Client) and at the same time server content from the cPanel Account.

Is there any way to do this?

Migrate WHM with Remote MYSQL Server

$
0
0
Hi,

We have an existing WHM/Cpanel configured with Remote MYSQL Server. However this server has been compromised with Ebury trojan and we have to migrate the accounts to a new server. After making sure that the accounts were cleaned up, we have migrated them to the new server. However when testing the site were having errors like "cant connect to mysql server". I assume this is because the server was with Remote Mysql Server. How can we go about making sure the site works before doing the final switch? I dont think we can set up the new server to connect with Remote MYSQL Server while the current live server is still connected with it.

Email connection only works in wi-fi

$
0
0
I have a client that got a new phone. He set it up and found that it works fine as long as there is a wi-fi connection but if there isn't one and the phone switches to 4g mode, the connection fails. He said he was on the street where there wasn't a wi-fi connection and his email wouldn't work. Then he went into a restaurant that had a wi-fi connection and the email started working.

He says he has email accounts elsewhere, like gmail, and the problem doesn't exist with them. He said he spoke with his ISP and the phone manufacturer and they both said the problem was on the server (cpanel). He said he tried setting up the email accounts using ssl and no ssl and both IMap and pop3 - all act the same way.

I'm not having any troubles with any other clients but I've no way of knowing if they have 4G phones so maybe this is the situation. Is there some change I need to make in cpanel to allow this to work?

Disk usage warning on unlimited quota accounts

$
0
0
Hi,

On my server I have all accounts set to unlimited quota. Since there is no hard limit to check against, I am looking for a way to receive a notification if an account goes over a certain disk usage amount. Even though it wouldn't stop them as they are unlimited, I'd still like to know when a user is using more than a certain amount of disk space that I might consider excessive.

Is there a way to configure such a notification when an account reaches a specific disk usage? Right now, in WHM I can only see warnings based on a percentage of their quota, but when accounts are unlimited, this won't be useful. I'm looking for something similar based on an actual MB/GB usage amount rather than a percentage of quota.

Does such as setting exist?

Thanks!

MySQL Server Optimization - Only using 6% installed RAM

$
0
0
I have just purchased a new dedicated server and currently using the defaults for MySQL and Apache. I'm looking to try and optimize the setup as best I can.

Here is the spec of the machine:

Intel Xeon E3 1225v2 3.25Ghz
4 Cores / 4 Threads
32GB RAM
CentOS 6.5 - 64-Bit

The spec is similar to my previous machine (i7-2600), except that had only 8GB RAM and this one has 32GB of RAM, but the server load seems to be generally higher - I did do some tweaks on the previous machine, and have made the same changes on this server.

Here is the contents of /etc/my.cnf

Code:
[mysqld]
innodb_file_per_table=1
local-infile=0
open_files_limit=10000
myisam_use_mmap=1
connect_timeout = 2
join_buffer_size=2M
read_rnd_buffer_size=4M
query_cache_type = 1
query_cache_size = 100M
query_cache_limit = 30M
max_heap_table_size = 100M
tmp_table_size = 100M
thread_cache_size = 50
table_open_cache = 2000
slow_query_log=0
slow_query_log_file=mysql-slow.log
long_query_time=0.1
key_buffer_size = 500M
concurrent_insert=2

Even though I've made these changes (only recently - so cannot take complete notice of mysqltuner.pl for the results, it is showing:

[OK] Maximum possible memory usage: 2.1G (6% of installed RAM)

I would expect the server should be set to be allowed to use far more than a maxmimum of 2.1GB on a 32GB machine.

I have run /usr/bin/mysqltuner.pl and this is what is showing (for info only, as it has only been running for 45 minutes since I made the changes).


-------- General Statistics --------------------------------------------------
[--] Skipped version check for MySQLTuner script
[OK] Currently running supported MySQL version 5.5.36-cll
[OK] Operating on 64-bit architecture

-------- Storage Engine Statistics -------------------------------------------
[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 21M (Tables: 185)
[--] Data in InnoDB tables: 1M (Tables: 113)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[OK] Total fragmented tables: 0

-------- Performance Metrics -------------------------------------------------
[--] Up for: 46m 16s (9K q [3.418 qps], 2K conn, TX: 21M, RX: 1M)
[--] Reads / Writes: 92% / 8%
[--] Total buffers: 844.0M global + 8.4M per thread (151 max threads)
[OK] Maximum possible memory usage: 2.1G (6% of installed RAM)
[!!] Slow queries: 14% (1K/9K)
[OK] Highest usage of available connections: 3% (5/151)
[OK] Key buffer size / total MyISAM indexes: 500.0M/8.4M
[!!] Key buffer hit rate: 21.6% (19K cached / 14K reads)
[!!] Query cache efficiency: 18.2% (430 cached / 2K selects)
[OK] Query cache prunes per day: 0
[OK] Sorts requiring temporary tables: 0% (3 temp sorts / 1K sorts)
[OK] Temporary tables created on disk: 2% (9 on disk / 309 total)
[OK] Thread cache hit rate: 99% (5 created / 2K connections)
[!!] Table cache hit rate: 16% (134 open / 808 opened)
[OK] Open file limit used: 0% (7/10K)
[OK] Table locks acquired immediately: 100% (2K immediate / 2K locks)
[OK] InnoDB data size / buffer pool: 1.8M/128.0M

-------- Recommendations -----------------------------------------------------
General recommendations:
MySQL started within last 24 hours - recommendations may be inaccurate
Enable the slow query log to troubleshoot bad queries
Increase table_cache gradually to avoid file descriptor limits
Variables to adjust:
query_cache_limit (> 30M, or use smaller result sets)
table_cache (> 2000)


Thanks in advance,

Daniel

Email Filtering Problems

$
0
0
My ISP is Inmotionhosting.com and they are useless when it comes to tech support so I am hoping that you might be able to help me.

I have setup numerous email filters and yest email that should fail gets to my inbox. I have done a copy and paste to test the filter test and it says that the email should have failed and been rejected but yet I am getting it. For example I have a filter which says if the body contains "13876 SW" the email should be rejected yet in the last 2 days I have received at least 4 or 5 emails with "13876 SW". Again the test says it should have failed. BTW the email have "13876 SW" as text and not hyperlink.

Does anyone have a suggestions?

Email Filtering of IP Addresses

$
0
0
Like everyone else I am trying to reduce my spam email. So when I get a spam email I am taking the IP address of the sender and putting it in a email filter to automatically reject that IP address in the future.

I would appreciate your comments on this. Am I going to have a hopelessly long list or am I creating a problem because there might be many other people that are legitimate senders using the same IP?

Thanks for your thoughts.
Viewing all 5759 articles
Browse latest View live