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

createacct not working

$
0
0
Hi. Im trying to use the json api to create accounts . When I try to test the string in the browser I get a SSL error:

"Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error code: ERR_SSL_PROTOCOL_ERROR"

I installed a SSL certificate in WHM for this domain but I still get the same error. When i try the same string in SSH as root with lynx I get just this:

[1] 26545
[2] 26546

here is the string Im trying to get to work :

Code:

https://domain.com/:2087/json-api/createacct?username=user123&password=h@rd2gu3ss&domain=test1.domain.com
when I try with the xml api I get this result:

Code:

<cpanelresult>
<error>Access denied</error>
<data>
<result>0</result>
<reason>Access denied</reason>
</data>
</cpanelresult>


Help regarding IPs and subdomains on cPanel/WHM

$
0
0
Hello admins. I just installed cPanel on my servers and its perfectly running smoothly without a problem.
I was a got a problem just now, I'm using a VPS single IP and why while I'm tryin' to access my IP it's
showing my primary domain's website I was found similar thread but I don't get it what they said.
How to fix this? I want while accessing my IP its showing normal cPanel default sites page.

and also I have a problem too with a subdomain, I was created a subdomain and while I'm accessing
It's showing my primary domain's index too. UPDATE, It was a mistake I think, It's back normal again

Here's the screenshot.
/http://prntscr.com/2fu4t4

I'm accessing my IP it's showing my primary domain's index. :
/http://prntscr.com/2fu5rl

Please help admin :D fast response :D

brute forcing all accounts

$
0
0
Hi all,

I am pretty new to this so i might be worrying about nothing.

I can see in my login_log file that certain IP's are trying to brute force in to accounts. While i am new to this i know this is very common and "part and parcel" of running a web server.

The issue i have is coming from several IP's that are systematically trying to brute force every username from cpanel.
they are attempting to brute force them 3 times each then move on to the next. So ok someones trying to find a weak password, nothing out of the ordinary, but my concern is they are going through each username on the server and i mean EACH and EVERY username, they are not missing a single one out.

most of the other brute force attacks are directed at either a single user account or the root account, Is this something to be concerned about?

any info would be of great help.

Thanks.

Dave

cPanel/Hostname not resolving on specific computer(s)

$
0
0
Hi all,
I own a VPS running cPanel, the usual setup. CSF firewall installed on it. The server is still up, serving email, and domains etc. However a user isn't able to get to cPanel or even the host name's domain from their computers. I expected it was just a firewall block, but even after "allowing" their IP address, still not working. They can't even get the "default website page" for the hostname. But they can access their domains and other domains on the server.

Any ideas on what may be causing this? I am still able to get on cPanel & WHM without any problem. Tried restarting Apache, no luck there.

Thanks and Happy New Year!

--Eric

Internal Error on load php files - CentOS

$
0
0
I have cPanel / WHM installed on CentOS, and whenever I try to access files *.php error Internal Server Error is displayed.

BoxTrapper's Forward List still forwarding to old address

$
0
0
Hello,

We have an email account and set up BoxTrapper's Forward List to forward all email to a particular address (we'll call it address A). Yesterday, we removed address A and set up a new address, we'll call address B. We saved it and it's set up for address B when viewed this morning. However, all email is still forwarding to the old address, A, and B is not getting any mail. It's like the change is being ignored. Is there some other magic required to get BoxTrapper's Forward List to see that we've implemented a change? Thank you all for your help.

Copied account has less disk usage

$
0
0
I copied an account from my other Cpanel server to a new Cpanel server but the copied account has lesser disk usage compare to the old server.

Old server says Cpanel user has 1219MB but after transferring to the new server, the disk space usage on the new server says 811MB only.

There was no error during the account transfer. Other accounts that I transferred were fine.

What can be the cause of this disk space discripancy?

The MySQL server is currently offline

$
0
0
Hello,
When I go to the MySQL® Databases faced with the following error I get:
Code:

The MySQL server is currently offline.

Error while connecting to MySQL: #28000Access denied for user 'root'@'localhost' (using password: YES)

The new server is newly installed.
But the sites are connected to the database.
-----------
This is the MySQL Root Password of the output:

Code:

MySQL password change failed!!
A forced reset will now be attempted.
..found binary [/usr/sbin/mysqld]..
Waiting for mysql to terminate.....Done
Waiting for mysql to restart.....Done
Waiting for mysql to terminate.....Done
Restarting MySQL ....
Waiting for mysql to restart......finished.

mysqld_safe (/bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/*hostname*.pid) running as root with PID 23436 (process table check method)
mysqld (/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/*hostname*.err --open-files-limit=50000 --pid-file=/var/lib/mysql/*hostname*.pid) running as mysql with PID 23699 (pidfile check method)

mysql has failed, please contact the sysadmin (result was "mysql is not running").
Done
The MySQL root password has been changed.
You have successfully changed “root”’s MySQL password.

I was transferred to the server with the Restore Databases command was:
mysql -u root -p -f < fulldbs.sql

Before the command I chose a root password.
Please Help

Moving Servers to new IPS - Guide (Please Check)

$
0
0
Hi Folks,

We’re moving 3 servers today to a new data center and I wanted to make sure I've got all the steps correct before proceeding.

This is what I’ve done so far…

1) Add the new IPs via “Add a new IP address”
2) Launch “IP Migration Wizard” and added the new IPs (reached step 6)
3) Ignore migrating the main server IP for now (as read here How to migrate IP addresses for a HyperVM VPS by using cPanel)

I will modify the DNS before I leave for the datacentre as we still need the sites running this afternoon but doesn’t matter that much for the weekend.

Before I disconnect the servers…

4) Edit /etc/sysconfig/network-scripts/ifcfg-eth0 – New main server IP address (we don’t have a broadcast or network address)
5) Edit /etc/sysconfig/network – Add new gateway
6) In this article codero.com knowledge base :: How to change the primary IP addres of a WHM/cPanel server it says: Edit /etc/ips and Remove the new primary IP from this file if it is present and Add the old primary IP to this file with the format <IP address>:<Net Mask>:<Gateway> - confused by this?
7) Edit /var/cpanel/mainip – add new primary ip
8) Edit /etc/hosts

Modify the DNS at DNSMadeEasy and hook up the servers to the new network.

Complete migration and remove old IPs.

The only part I’m confused about is step 6 above.

Do I have to change any other files, httpd etc?

Thanks!

root "from" address

$
0
0
I can access WHM using server.domain.nl
Mails originating from root (like cron based update notifications) are sent

FROM root@server.domain.nl
TO mymail@example.nl (as configured in [WHM » Server Contacts » Edit System Mail Preferences])

(How) can I change this from-address?

cPanel on EC2 AWS .. Cant access main site after cPanel installlation ..

$
0
0
Dear All,

i am new to cPanel and trying to configure it on our EC2 CentOS server so we can start our own hosting server for our clients and company sites,

i have followed all the instructions written on cPanel for installing it on CentOS , it goes well normally it takes 180 to 200 Minutes and says congratulation bla bla ..

access your site via http://ip:2087 ... but when i try this i cant , cPanel ask me to browse my NAT IP internal which i cant ? as i have static ip of EC2 which NATs to local ip.

i can browse apache server if i go without secure channel and without the port mentioned. means only with
http://dedicated IP
http://x.x.x.x



i have done :

firewall off ,
2087 port open from security group of EC2 .
fresh system with minimum , perl , yum , wget and cPanel ..

i have not done :

any dns settings , no dns server configured ... no domain name ..

Any tip guys for me ???

Thanks

Mysql upgrade

$
0
0
Hi,

I have a cpanel DNSOnly server. I get this error message: The last attempt to update cPanel & WHM was blocked.
Reason:
Please correct these issues and rerun updates.

fatal: The mysql-version value in /var/cpanel/cpanel.config is invalid. Valid values are 5.1 or 5.5. You can change the value here: MySQL Upgrade
fatal: Newer releases of cPanel & WHM are not compatible with your MySQL version: 5.0. Upgrade your MySQL server to a version greater or equal to 5.1

Since I have a dnsonly version, there is no "mysql upgrade" page to go to.
If I run "yum list updates", I get no mysql updates.

# yum list installed | grep mysql
cpanel-mysql.x86_64 5.0.96-1.cp1136 installed
cpanel-mysql-libs.x86_64 5.0.96-1.cp1136 installed
cpanel-perl-514-DBD-mysql.x86_64 4.021-1.cp1136 installed

How do I upgrade mysql?

cPanel - No Password In Access Statistics

$
0
0
Good afternoon,
It is possible to access statistics without cPanel password?

/http://i.imgur.com/ZegYg2y.png

/http://i.imgur.com/9LCn42j.png

Varnish Issues with Multiple IPs

$
0
0
I've had varnish running port 80 in front of apache running on port 8080 for 18 months. Last night, varnish just died. The only changes I made were the addition of some IP addresses to the server. I was able to workaround the issue by shutting down varnish and switching apache to listen on port 80, but this is temporary.

I have a few sites with an SSL. I assigned each of those sites to use a unique IP address. How can I tell varnish to recognize and properly route those domains to the correct IP? I tried this in my default.vcl file, but I'm getting the cPanel 404 error page when I try to access domain-a.com. Here's what I tried:
Code:

backend default {
        .host = "1.2.3.4";
        .port = "80";
        .connect_timeout = 600s;
        .first_byte_timeout = 600s;
        .between_bytes_timeout = 600s;
}
backend unique {
        .host = "5.6.7.8";
        .port = "80";
        .connect_timeout = 600s;
        .first_byte_timeout = 600s;
        .between_bytes_timeout = 600s;
}
sub vcl_recv {
        if (req.http.host ~ "^(www\.)?domain-a\.com$" || req.http.host ~ "^secure\.domain-a\.com$") {
                set req.backend = unique;
        } else {
                set req.backend = default;
        }

how to use apache2::uploadprogress

$
0
0
I have installed the module Apache2::UploadProgress on server for showing upload progress when i upload files
(i'm not a server administrator)
But(there's always a BUT) i can't configure this module to show the progress uploading I have read the documentation but i don't understand how to enable this feature

Apache version:2.2.25

Php version:5.3.27

upload center :

Please can you help me to enable this module

THANKS A LOT

Where is the Command Line Restore Script in 11.38+

$
0
0
Not liking how the new GUI constantly times out, where is the Command Line Restore Script in 11.38+?

Thank you.

cpHulk alerts while running CSF

$
0
0
Hello,

I understand (albeit vaguely :-) that cpHulk and CSF do their jobs differently, however, I have CSF set up with CC_ALLOW_FILTER=US which my understanding is will essentially block or make my website, mail servers, etc invisible to virtually all other IP's.

I am still getting several Failed Login alerts each day from cpHulk from around the world, which I dont quite understand. If CSF is protecting me with CC_ALLOW how could I still get hit?

Thanks for any guidance. I've been trying to post to the CSF board, but havent had any replies yet, so I'm hoping you folks can help :-)

Thanks!
Vlus

Cannot upload Wordpress files

$
0
0
Hi,

Just registered and joined this forum.

I'm trying to upload Wordpress version 3.8 via file manager within my cPanel account but the upload tool will not let me choose more than one file at a time.

I've checked the cPanel site and the only relevant instructions I can find say; "The Extract and Compress functions will only work with the .zip format if Zip is installed on your server. Your system administrator can run the command yum install zip to install the Zip module."

I am not particularly technical and don't really understand what this means. If I'm interpreting this correctly then does it mean I need to install winzip? If so does this apply to my PC or on to File Manager?

I'd be grateful if someone could provide some help here; a step by step process solution would be very helpful.

thanks in advance,
Neil

Mailman still supported?

$
0
0
Hello,
Does mailman is still supported by the latest versions of cpanel ?
Thank's !

Disk Quota Error

$
0
0
I moved multiple accounts from old cpanel server to new cpanel server.

I checked Home »Account Information »List Accounts and some accounts are reflecting new server IP while other accounts are still reflecting old server IP.

I checked /home via SSH and there are cpanel accounts owned by group and user root.

I tried chown group:user cpaneluser but it gives an error about "Disk quota exceeded"

How can I fix this?
Viewing all 5759 articles
Browse latest View live