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

IP addresses/netmask screwed up

$
0
0
We only had one (1) IP bound to eth0 so we wanted to add a /27 to one of our cPanel boxes and the tech typo'd the netmask and screwed things up. I got the IPs removed by removing them from /etc/ipaddrpool and /etc/ips (no help to the 'Show/Delete IP' screen since there was no way to actually remove them).

Ran 'service network restart' and 'service ipaliases restart'.

Now, when checking the IPs, the screen comes up blank, and when listing accounts, we get this:
Code:

Can't use an undefined value as a HASH reference at /usr/local/cpanel/Cpanel/NAT/Object.pm line 54.
 at /usr/local/cpanel/Cpanel/NAT/Object.pm line 54.
        Cpanel::NAT::Object::load_file(Cpanel::NAT::Object=HASH(0x51483f0)) called at /usr/local/cpanel/Cpanel/NAT/Object.pm line 27
        Cpanel::NAT::Object::new("Cpanel::NAT::Object") called at /usr/local/cpanel/Cpanel/NAT.pm line 20
        Cpanel::NAT::cpnat() called at /usr/local/cpanel/Cpanel/NAT.pm line 29
        Cpanel::NAT::get_public_ip("208.110.131.31") called at whostmgr/bin/whostmgr4.pl line 389
        main::listaccts() called at whostmgr/bin/whostmgr4.pl line 163

Obviously WHM is trying to call a file that doesn't fit with it's expected result. Rebooted and still nothing - same errors. 'Show IP Address Usage' shows nothing, 'Show/Edit Reserved IPs' shows this error:
Code:

undef error - Can't use an undefined value as a HASH reference at /usr/local/cpanel/Cpanel/NAT/Object.pm line 54.
/etc/ipaddrpool and /etc/ips are empty since neither contained our original single IP. Something went haywire - not sure where, or what to do. Tried rebooting; no difference. Websites work, mail flows.

Where to look? What to do?

Autodiscover setting breaking outlook autodisover for domains setup to remote exchange server

$
0
0
I have the Autodiscover for thunderbird setting enabled on my cPanel servers, and it seems to be playing havoc for domains that use remote exchange servers.

I have a domain on my cpanel server with the correct autodiscover record however when setting up the email account in outlook, it keeps looking at the cpanel server, rather than the exchange server.

If I disable the Autodiscover for thunderbird setting this problem goes away and autodiscover works by looking up the autodiscover.mydomain.com cname record and correctly connecting to the exchang eserver.

I'm not sure when all this stopped working, but now none of my clients with exchange can setup outlook.

I'm using the latest cPanel WHM 11.48.1 (build 2) with all the autodisover settings on default in WHM.

Help! This isnt restricted to one server either - I can replicate on multiple cpanel servers.

If I disable the autodisover for thunderbird setting, outlook will setup an account correctly!

How to contain roundcube inside an iframe

$
0
0
I'm trying to make roundcube stay inside an iframe, since I'm running a kiosk version of firefox and there is no way to go back if roundcube goes full screen. What happenes is that after log in, the browser window gets redirected to cpanel webmail chooser page and that page just jumps out of the iframe and become full screen.

Is there anyway I can keep everything inside the iframe at all?

sub domain shows folder name rather than host name?

$
0
0
Hi guys,

Having a small issue with subdomain...

When I create a subdomain in cPanel, it creates new folder etc under public_html which is all good.

but then when I type in the address, the url changes to the public_html/folder rather than showing the actual domain name.

ie, say if my domain was "www.test.com" and I want a subdomain of "sub", if I type in "sub.test.com" it will send me to the right page (public_html/sub/) but the address bar of the browser also changes to "www.test.com/sub"

How do I fix this so it will show "sub.test.com" instead of "www.test.com/sub" ?

Thanks :)

Spam Assassin Update Failed

$
0
0
I'm quite stuck.
My customers are complaining of too much spam, I checked the server and spamd is stopped. I setup logging so I will receive a email when it stops, thus every 5minutes I get a email.
Code:

**
Server:        cpanel.domain.com
Primary IP Address:        192.168.0.000
Service Name:        spamd
Service Status:        failed 

Notification:        The service “spamd” appears to be down.
Service Check Method:        The system’s command to check or to restart this service failed.
Number of Restart Attempts:        5
**

I have tried restarting the server, /usr/local/cpanel/3rdparty/perl/514/bin/su-update -D, changed DNS Servers, and logged a ticket.
When I logged a ticket, the support was great but could not fix it.
Quote:

"The issue is not on your server itself, it's with the network your server is connected to. You can see in my previous response that I resolved the DNS record for mirrors.updates.spamassassin.org using the same DNS resolver that you're server uses 8.8.8.8 which is Google's public DNS server. We cannot assist with this issue as it's an issue with your server's network. You will want to contact your network administrator, server provider, or data center about this issue."
Which I don't have another Network Administrator, it's me and I'm stuck because everything else looks great.
The actual error is I believe "error: no mirror data available for channel updates.spamassassin.org" and "channel: MIRRORED.BY file URL was not in DNS, channel Failed"
So any assistance will be great.

security policy error after password age change password (root)

$
0
0
I have password expiration enforced after every 90 days and I got this message in cPanel's error_log after I changed my password:

Code:

[2015-03-06 09:18:52 +0800] warn [Fileman::statfiles] Encountered error in Fileman::statfiles: The file “Website.zip” is not available.
securitypolicy: Called because of PasswordAge failing check.
securitypolicy: Called because of PasswordAge failing check.
Security Policy requires exec termination.
This code may not be called for root.
 at base/securitypolicy.cgi.pl line 141.

What could this be?

modify malformed address in queue

$
0
0
Is it possible for me to modify a malformed email address in the mail queue.
Someone in our sales office typed goolemail instead of googlemail and the email is stuck in the queue waiting to retry.
Is it possible to modify this ?

Yahoo issues and using telnet to test SMTP authentication.

$
0
0
Hello again all,

I would like to test my server mail.mydomain.com and how it connects to yahoo (mta5.am0.yahoodns.net)
The reason for this is the emails to any yahoo account email keep getting deferred for 24 hours.

I have tried to use putty for a telnet connection however it simply closes after a few seconds and i cannot get any results. Can someone shed any light on this and please explain to me the telnet process for this. i can seem to get my head around it.

yahoo tell me to telnet to this host
telnet mta5.am0.yahoodns.net 25 ( this crashes putty after a few seconds)
what would the procedure be if i could get a stable telnet connection?

thanks so much
Chris

Script timed out before returning headers

$
0
0
Hi,

I am referring to this very very old thread:

http://forums.cpanel.net/f5/script-t...rs-206601.html

This is a very old post but for anybody with the same issue, the solution worked for my situation.

When installing vtigercrm6.2.0 I got the same error usually after +-15min. Setting my Apache Timeout to 1200 (20 min) solved that.

Google Apps Account and Bluehost - emails are not working ! Advise please ?

$
0
0
I have a domain hosted under the Bluehost. I have VPS and access to WHM panel.

Let's say this domain is example.com and I created 4 email accounts for this domain.

1 - info@example.com
2 - test@example.com
3 - admin@example.com
4 - john@example.com

I bought one seat at Google Apps for the first email account which is info@example.com

I can simple go to gmail.com and then use info@example.com as my username and login. It works perfectly...

Problem is... My other e-mail accounts are not receiving any emails anymore and I am getting bounce back messages.

Delivery to the following recipient failed permanently:

test@example.com

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain....

The error that the other server returned was:
550-Please turn on SMTP Authentication in your mail client.
550-mail-wi0-f182.google.com [209.85.212.182]:40313 is not permitted to relay
550 through this server without authentication.

I have been talking with Google Apps technical service and they are trying to help me. They first tried to set "Split Delivery" on Google Apps admin console but it did not work.

Later when I talked to the Bluehost technical service they said it is impossible to do Split Delivery because bluehost servers will deny incoming emails because all of our MX records for example.com is set for google apps now.

This is the Chat Transcript between me and Bluehost Techincal Support Team

(2:21) [Brock] Hi Travis how are you
(2:21) [Travis] I am doing pretty good
(2:21) [Travis] Which domain is having the issues?
(2:21) [Brock] Travis I have a big problem
(2:21) [Brock] example.com is the domain I am having problems with e-mails...
(2:22) [Brock] Let me explain in a short way so you would understand what I mean
(2:23) [Brock] example.com is a company domain and I created 4 email accounts for this domain.
(2:23) [Brock] When I saw this /http://www.bluehost.com/tools/google-apps-for-work
(2:24) [Brock] I decided to buy ONE seat on google apps for the most important email account that domain have which was info@example.com
(2:24) [Travis] Oh...I think I know where this goes.
(2:24) [Brock] after this point on all the other email accounts stopped working... For example test@example.com can send emails but won't accept any from any other email services
(2:25) [Travis] Right, that is because the emails for "example.com" are now being routed to Google due to Google Apps being used.
(2:25) [Travis] Unfortunately, there isn't a way (as of right now) to route one email account to Google and have the rest stay with us :(
(2:26) [Brock] After talking to Google Apps guys they said I could try split delivery option via admin settings of google apps account.
(2:26) [Brock] that is a big problem for me Travis :)
(2:27) [Brock] I mean this is a company that needs email accounts and they are waiting for me to print 1000s of bussiness cards and asking if their email accounts are working or not
(2:28) [Travis] You may want to cancel the Google Apps then as we're not able to split delivery :(
(2:28) [Brock] Now I did alot of stuff..... and I have VPS plan with bluehost (I dont know if it matters) and I was wondering if there is any way to work this out ?
(2:30) [Travis] You may be able to do that if your domain is using your VPS as the name servers.
(2:30) [Travis] Beyond doing that though, this type of thing is outside the scope of technical support, sorry :(
(2:31) [Brock] hmm I understand but who can help me if there is something possible via VPS options ?
(2:32) [Travis] I would try the cPanel forums (http://forums.cpanel.net/ and this link: https://www.cpanel.net/products/cpan...tutorials.html
(2:33) [Brock] do you think it is somehow possible to do it via WHM panel ?
(2:34) [Travis] Yes, you'll probably need to do all of that in the WHM.
(2:34) [Travis] Those two links should also work for the WHM.
(2:34) [Brock] I have one last question
(2:35) [Brock] is there any solution on the horizon for this matter ? I mean if bluehost is working on it to make other emails to work too ?
(2:36) [Travis] We are actively working on making it so you can setup split delivery on your cPanel
(2:36) [Brock] do you have any idea when it would be possible ?
(2:37) [Travis] Last I heard, it would be within a month or two.
(2:37) [Brock] That's great !
(2:37) [Brock] Thank you for all the information Travis. Have a great day !


Now he gave me a hope thinking that using WHM panel and editing some stuff can help me but my problem is I have no idea what to do and how to do. This is why I am here and asking you guys for help.

Is there anybody here knows what to do about this ?

Thank you in advance !

any thoughts on how this landed in the inbox ?

$
0
0
Code:


Return-path: <suprawoto@sby.prima.net.id>
Envelope-to: email@domain.co.uk
Delivery-date: Fri, 06 Mar 2015 16:54:19 +0000
Received: from mail.sby.prima.net.id ([202.57.9.19]:51935 helo=mail.dev2.coba.sby.prima.net.id)
        by leeds.stlservers.co.uk with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
        (Exim 4.85)
        (envelope-from <suprawoto@sby.prima.net.id>)
        id 1YTvVw-0004aK-L8
        for email@domain.co.uk; Fri, 06 Mar 2015 16:54:18 +0000
Received: (qmail 12444 invoked by uid 89); 6 Mar 2015 15:23:12 -0000
Received: by simscan 1.4.0 ppid: 9560, pid: 12355, t: 1.8726s
        scanners: attach: 1.4.0 clamav: 0.97/m:53/d:12784 spam: 3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
        mail.dev2.coba.sby.prima.net.id
X-Spam-Level:
X-Spam-Status: No, score=-2.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,
        MISSING_MID,PYZOR_CHECK autolearn=no version=3.2.5
Received: from unknown (HELO SERVER) (suprawoto@sby.prima.net.id@110.142.231.188)
  by mail.dev2.coba.sby.prima.net.id with ESMTPA; 6 Mar 2015 15:23:10 -0000
From: "Pedro Quezada" <suprawoto@sby.prima.net.id>
To: email@domain.co.uk
MIME-Version: 1.0
Reply-To: spammer@gmail.com
Date: Sat, 7 Mar 2015 01:22:57 +1000
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: Yes, score=5.3
X-Spam-Score: 53
X-Spam-Bar: +++++
X-Spam-Report: Spam detection software, running on the system "host.myserver.co.uk",
 has identified this incoming email as possible spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 root\@localhost for details.
 
 Content preview:  Hi, You have received a donation of 750,000 USD; reply to
  spammer@gmail.com for details. [...]
 
 Content analysis details:  (5.3 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 T_RP_MATCHES_RCVD      Envelope sender domain matches handover relay
                            domain
  2.7 RCVD_IN_PSBL          RBL: Received via a relay in PSBL
                            [202.57.9.19 listed in psbl.surriel.com]
  0.1 MISSING_MID            Missing Message-Id: header
  0.0 LOTS_OF_MONEY          Huge... sums of money
  2.5 FREEMAIL_FORGED_REPLYTO Freemail in Reply-To, but not From
X-Spam-Flag: YES
Subject: ***SPAM*** Donation

Hi,

You have received a donation of 750,000 USD; reply to pedrro.quezada@g=
mail.com for details.

cPanel DNS only syncing some zones

$
0
0
Hi all,

Sorry if this is a duplicate post. I have the following scenario:

1 webserver (cPanel)
2 DNS servers (cPanel DNS Only)

I created a DNS cluster between the three servers where the webserver send the zone files to the 2 DNS servers. After doing an initial synchronization, everytime I modify a zone two behaviors occur:

Some zones sync modifications without any issues, showing the following confirmation:

Modifying Zone domain.com

zone domain.com/IN: loaded serial 2015013009 OK
Bind reloading on ns1 using rndc zone: [domain.com]

Bind reloading on ns2 using rndc zone: [domain.com]


However, some zones do not replicate changes to the DNS only servers, showing the following result:

Modifying Zone domain2.com

zone domain2.com/IN: loaded serial 2015013114 OK


Any help will be really appreciated.

Pablo

Anyone here using CloudLinux 6 at Softlayer?

$
0
0
If so, can you please post your server specs?

Anyone with CloudLinux 6.x 64 bit, if you don't mind posting your server specs - most importantly your CPU - I would really appreciate it. Thank you!

EDIT - removed information that was distracting from this request.

Website redirecting to default page

$
0
0
Hi,

I added this domain "www.domain.net" more than 20 days, it is still redirecting to default pages, not showing in dedicated IP "192.163.xxx.xx" too.

But showing as:

www.domain.net:81
http://192.163.xxx.xx:81/

I can access FTP, or cpanel okay.

Please advice what is wrong?

Thank you,

Masuk

suspendedpage.cgi - 500 Internal Server Error

$
0
0
All my suspended accounts exhibit a 500 error, for example:

/http://domain.com/cgi-sys/suspendedpage.cgi

suexec_log shows this entry:

[2015-03-06 17:59:16]: uid: (504/stripper) gid: (505/stripper) cmd: suspendedpage.cgi
[2015-03-06 17:59:17]: uid: (504/stripper) gid: (505/stripper) cmd: suspendedpage.cgi

I use Cpanel's default HTML for the suspended page content.

Any idea where to look for the cause of this issue? thanks.

Force defaultwebpage.cgi on all accounts?

$
0
0
I've just moved all my cPanel accounts to a new server, just wondering how I can force all accounts to disable a "This website has moved" or the defaultwebpage.cgi file?

Thanks.

Unusually large torrent traffic directed to our server

$
0
0
Hi

In the last 24 hours server received a lot of bad traffic

The same issue is explain here:

/http://www.webhostingtalk.com/showthread.php?t=1443734
/http://serverfault.com/questions/656093/mod-security-block-requests-by-http-host-header

So ModSecurty work fine and nder ModSecurity Tools we see blocked

Code:

----------------------------------------
2015-03-07 09:38:49        eztv.tracker.thepiratebay.org        111.161.77.198        WARNING        406       
Request:
GET /announce.php?info_hash=%14%9m%E9%89%FA%DF%D5%E5i95%2C%ABU%AC%93ut%12%D9&peer_id=%2DSD100%2D%3EX%7CD2%5F%93%E2%C3%2D%DE%5D%BF&ip=223.20.6.237&port=18447&uploaded=16130235144&downloaded=16130235144&left=1686119672&numwant=200&key=31538&compact=1
Action Description:
Access denied with code 406 (phase 2).
Justification:
Invalid UTF-8 encoding: invalid byte value in character at ARGS:info_hash.
----------------------------------------

But:

1. ok, chinese dns point to this server but there isn't domain configurated, so why reply ??
2. may be better create rule for block ALL request where host "contain" word thepiratebay .. not ??

Thanks

Problem with my.cnf File

$
0
0
I Got this Mail - Alert :

error: Found option without preceding group in config file: /etc/my.cnf at line: 1
Fatal error in defaults handling. Program aborted
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'


I tried via WHM to Try MySQL Password

I Updated the CPANEL

I Restart Cpanel And My SQL

But the problem is still there.


The problem is inside the CPANEL ACCOUNT


The MySQL server is currently offline.

The mysql server is offline.


How i can fix it ?

which the file that i should edit in ordeto the password to be "YES"
and not "NO"

THANKS

Unhappy Camper

$
0
0
no help then closes thread
:(
on a scale of 1 to 10 yur a zero
Viewing all 5759 articles
Browse latest View live