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

Partitioning Scheme Questions

$
0
0
BTW just as an FYI, Softlayer offers two cPanel partitioning schemes as follows...


/4 GB
/swap04 GB
/boot0.25 GB
/tmp2 GB
/var25 GB
/usr25 GB
/homeGrow 191.8 GB


AND


/40 GB
/swap04 GB
/boot0.25 GB
/tmp2 GB
/var16 GB
/usr16 GB
/homeGrow 1 GB


What are the advantages/disadvantages of each and which is the recommended scheme?

Domain Propagation Question

$
0
0
I have changed my domain name from Hostgator hosting to insty hosting.

I went into GoDaddy.com where my domain name domain.com is and it seemed to propagate ok.

A few weeks later it's showing domain.com/cgi-sys/suspendedpage.cgi

I've gone into GoDaddy.com and changed the domain name servers again to the correct ones but this still persists.

My hosting provider assures me it's nothing to do with thier servers at insty

I've tried getting off my main wireless network and using my iPad's internet and the address domain.com works fine

When I go back on to my main wireless modem, the error shows up as domain.com/cgi-sys/suspendedpage.cgi

Any ideas on how to fix this?

Thanks,
Adam

Old Password Still Works

$
0
0
hello
i see new problem with cpanel
i have more than 280 account on the my server on whm/cpanel
one account is my website i test login to my account with my old password and i can login successfully !!! after login i tryed change password and logout a gain test for login with new and old password i can login with both password successfuly !!!

after see this problem i tested my old password for login to other account on my server and i see login successfully to any account of my servver with this password !!

2 hard problem

$
0
0
Hello to all
I have a few problems
I need your help

root@server [/usr/local/apache/conf]# service httpd restart
Warning: DocumentRoot [/dev/null] does not exist
root@server [/usr/local/apache/conf]#
What is the message?

PHP Code:

root@server [/usr/local/apache/conf]# /usr/local/apache/bin/apachectl status
                       
Apache Server Status for localhost

   Server Version
Apache/2.2.29 (Unixmod_ssl/2.2.29 OpenSSL/1.0.1e-fips
          mod_bwlimited
/1.4

   Server Built
Dec 26 2014 18:12:05
     __________________________________________________________________

   Current Time
Saturday27-Dec-2014 17:15:37 IRST
   Restart Time
Saturday27-Dec-2014 17:14:13 IRST
   Parent Server Generation
29
   Server uptime
1 minute 24 seconds
   Total accesses
118 Total Traffic1.0 MB
   CPU Usage
u0 s0 cu1.39 cs0 1.65CPU load
   1.4 requests
/sec 12.7 kB/second 9.1 kB/request
   2 requests currently being processed
8 idle workers

_W___C____
......................................................
................................................................
................................................................
................................................................

   
Scoreboard Key:
   
"_" Waiting for Connection"S" Starting up"R" Reading Request,
   
"W" Sending Reply"K" Keepalive (read), "D" DNS Lookup,
   
"C" Closing connection"L" Logging"G" Gracefully finishing,
   
"I" Idle cleanup of worker"." Open slot with no current process
root
@server [/usr/local/apache/conf]

2) CloudLinux CageFS
PHP Code:

root@server [/home]# yum install cagefs
Loaded pluginsfastestmirrorrhnpluginsecurity
Profilename
server.domain.in
IP
:5.196.242.7 Not licensed
This system is not registered with CLN
.
CLN support will be disabled.
Setting up Install Process
Loading mirror speeds from cached hostfile
No package cagefs available
.
ErrorNothing to do
root@server [/home]

What is the message?

IP Migration Wizard via ssh command line

$
0
0
Hi there, my question is:
¿is possible IP Migration through ssh command line ?

Note: This I can be performed by Whm cpanel Home » IP Functions » IP Migration Wizard.

Thanks.

/tmp mounting hanging boot

$
0
0
I rebooted my server this morning and find it not coming back online. When I connect to the IPMI I see that the server is hanging at "Setting up /tmp...". Below are some screenshots. I don't see any issues with the filesystems and everything looks good. This system has been hanging for over an hour now.

/https://db.tt/rP8VmTtN
/https://db.tt/5L2KuCRi

Has anyone else experienced this issue? Any suggestions are appreciated.

- - - Updated - - -

Here are the screenshots.
Attached Images

permanently disable disk quota

$
0
0
Hello,

I inadvertently installed quota, but I don't need them because I use my server only for my sites.

I saw this thread

http://forums.cpanel.net/f5/permenen...tas-47845.html

and understood that what I have to do is to change something in the file /etc/fstab and run the command
quotaoff -a , but I don't know wath I have to change in the file /etc/fstab.

My /etc/fstab is this

Code:

# <file system> <mount point>  <type>  <options>        <dump>  <pass>
/dev/md2        /        ext3    errors=remount-ro,usrjquota=quota.user,jqfmt=vfsv0  0  1
/dev/md3        /home  ext3    defaults        1        2
/dev/sda4        swap    swap    defaults        0        0
/dev/sdb4        swap    swap    defaults        0        0
proc            /proc  proc    defaults                0        0
sysfs          /sys    sysfs  defaults                0        0
tmpfs          /dev/shm        tmpfs  defaults        0        0
devpts          /dev/pts        devpts  defaults        0        0

I know that /etc/fstab is a very important file and I don't want to mess it.

Does anyone know how to change it?

Thank you

Help the Apache configuration

$
0
0
The best configuration for Apache
Hosting Provider What is speed?
What options should be enabled?:confused:

Latest Visitors List - Corrupted data?

$
0
0
Usualy my "Latest Visitors" data shows like this:

Code:

IP URL Time Size (bytes) Referring URL User Agent
85.72.50.96 / 12/25/14 PM 16146 Mozilla/5.0 (Linux; Android 4.1.1; IdeaTabA2109A
1:05 PM Build/JRO03R) Safari/535.19

But now I'm seeing a whole lot of data in the first column which are mixed up with the IP, and in some cases there is no IP, i.e.: (I'm also getting quite a few hits from bots I have blocked in my htaccess file)

Code:

IP 201.68.36.223.dsl.telesp.net.br
URL /images/wikilogo.png
Time 12/27/14 1:29 PM
Size (bytes) 15252
Referring URL http://mysite.com/
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/36.0.1985.143 Safari/537.36

Other IPs are:
Code:

crawl.66.249.75.167.googlebot.com
host.78.146.124.248.as13285.net
dau94.9.88.178.188.246.fbx.proxad.net
pc.168.56.161.190.cm.vtr.net
msnbot.157.55.39.92.search.msn.com
178.137.94.34.lvv.broadband.kyivstar.net
zt113.tfbnw.net
b110083.yse.yahoo.net
hfc.181.140.223.101.une.net.co
vs354.vair.minded.de
host41.186.157.215.telmex.net.ar
redwood02.syscrest.com
b110083.yse.yahoo.net
static.kpn.net
baiduspider.180.76.5.190.crawl.baidu.com
213.37.36.55.dyn.user.ono.com
nut46.times.sk
google.proxy.66.249.84.147.google.com
p54a20aee.dip0.t.ipconnect.de

My last action in "Latest Visitors" was to view the list in Legacy Mode, but I don't think that could be the cause.
I have been changing my htaccess file to control bandwidth highjaker bots, and maybe my current code might have caused this.

If you don't know whats going on, could you have a look at my htaccess code and tell me if you see something wrong (I'm posting only the parts I have changed recently). Please excuse my ignorance if you see something too wrong. Thanks for your help.

------------------------------

Code:

RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* – [F,L]

BrowserMatchNoCase "BLEX" bad_bot
BrowserMatchNoCase "Ahrefs" bad_bot
BrowserMatchNoCase "Ezooms" bad_bot
BrowserMatchNoCase "Seomoz" bad_bot
(a whole lot of other bots)

BrowserMatchNoCase "ib\.adnxs\.com" bad_bot
BrowserMatchNoCase "AppNexus\.com" bad_bot
BrowserMatchNoCase "Java/1\.7\.0" bad_bot
BrowserMatchNoCase "darodar\.com" bad_bot
BrowserMatchNoCase "make-money-online\.7makemoneyonline\.com" bad_bot
BrowserMatchNoCase "buttons-for-website\.com" bad_bot
BrowserMatchNoCase "semalt\.semalt\.com" bad_bot
(and some other spammer websites)
Order Deny,Allow
Deny from env=bad_bot
allow from all
Deny from 180\.178\.62\.74
Deny from 79\.117\.76\.214
Deny from 125\.60\.241\.253

(these last ones are spammers without a known website or bot name)

----------------------------------------

Understanding VPS memory graphs

$
0
0
Hi,

I have just moved to a VPS and at the time have very few visitors each day at the moment. I took a look at the amount of Memory that is being used via cPanel, and it looks like I'm using an average of 882MB out of 1.1 GB allowed. (Please see attached graph.) I'm not sure how to tell if this is a lot (Kind of seems that way?) or how to investigate whether there are any issues. As I'm a total noob hosting on a VPS server, so any help to get started in how to analyze the Memory of my site via the graphs (or some other cPanel tool?) would be appreciated.

Thanks so much!
Attached Images

Inaccessible Subdomains - 403 Forbidden

$
0
0
Hello everyone.

I'm having a major problem that unfortunately forced me to get rid of an MW installation, which after fiddling with it for too long, I decided to look for alternatives:

I created a subdomain to run a few tests so I'd see whay exactly was the problem with the MW script. Installed it via Softaculous without a hitch and visited the link so I could see what was the problem with it.

I couldn't post (that's the problem with the script, no surprizes there) but what happened next was worse.

I got a message saying:

Quote:

You don't have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

After making other subdomains and installing other scripts and just uploading dummy index.php and.htaccess files, the same happened again and again...

The only fix seems to be disabling mod_security, which allows me to do everything I want, including using the MW script at will with no restrictions. But this poses a major security risk, also confirmed by my webhost.

I've searched here on other threads, googled for it, asked in MW site, IRC and Quora but no joy so far.

The Error Log only shows me errors about older subdomains that have nothing to do with this.
Using CHMOD 750/755 on public_html and subdomain.domain folder does nothing.


I have no SSH, programming expertice and, as of now, ideas... Though my main site works flawlessly.

This is my .htaccess on the Main.

Code:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

If it helps... my site is: - Removed -
I think that somehow, the problem with the MW script is connected with this error so, solving this may definitely solve the other problem.

Please, do help. There are others too which need assistance...

Sending Mail from URL (PHP fopen)

$
0
0
Hello. I am starting my own E-Mail service and have found a script that works wonderfully for creating E-Mail accounts in CPanel automatically.

The script is here: - Removed -

It works great.
The only problem is that when users log into their shiny new mailboxes, their inbox looks rather blank.
I want my E-Mail service to be a welcoming place to new users.
I was wondering if anyone could modify that script to use PHP fopen (just like account creation) to send a message to their mailbox to welcome them. You could just modify it to be an outline and then I could input the message, from address, etc.

Anyone who helps me, please leave your email address and I will send you a custom signup link where you can get your own - Removed - address with 10GB of e-mail storage instead of the default 1.5GB.

Please Help With cURL Error (7):

$
0
0
Hello All, I've problem with cURL,
Code:

cURL Error (7): Failed to connect to xxxxxx.io port 80: No route to host
May someone give me clue and advice to fix that error

Very Thank you

PHP vs CGI

$
0
0
Guys.

One of my web sites uses HTML forms which post via PHP so customers to contact the sales team.
I'm trying to determine which might be better for security.
PHP or CGI. ?

cPanel GUI breaking down

$
0
0
Hi,

We watching for a while cPanel's GUI, because one moment to the next neither unavaible. Only run again, if we restart cpanel service. We watched the cpanel's access/error log, but not see anything else.

Thank you!

Problem with cPanel

$
0
0
Hi there
After installing the C panel and hit the following command
PHP Code:

 service cpanel restart 

Code:

Stopping cPanel log services:
Stopping cPanel Chat services:                            [FAILED]

Stopping cPanel ssl services:  Waiting for (?^:^(?:stunnel$|stunnel-[0-9\.]+local)) to shutdown ... not running.
                                                          [  OK  ]
Stopping mailman services:  Shutting down Mailman's master qrunner
PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
[Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid'
Is qrunner even running?
mailmanctl: no process killed
                                                          [FAILED]
Starting cPanel services: Waiting for cpsrvd,cpsrvd-ssl,whostmgrd,cpaneld,webmaild to shutdown ... not running.
Starting cpsrvd.

These errors are displayed hears
What is the reason?

cpanel password

$
0
0
Hello

I nee to findout password of cpanel users. Can someone tell me where are the all cpanel password get stored ? In whmcs we can see password for user. If we change password from cpanel, it also get reflect in whmcs client area.

How can I check this from server end ?

How migrate from shared hosting to VPS hosting

$
0
0
Hello

please I'm not very experienced in hosting.
I want migrate my website from shared hosting to VPS hosting or Dedicated Servers.
1/ wich one is better VPS hosting or Dedicated Servers?
2/ how can i transfert my domain name, the contained on my website and my sql database without losing any thing and without creating from the beginning.
My website link: - Removed - (created with wordpress)

Hope that i find an answer clear and detailed forasmuch i'm not experienced.

Thank you.

Move files from one directory to another with cron job

$
0
0
I tried to run this script:

Code:

#!/bin/bash

$sDirectory="/home/mysite/public_html/folder/test"
$snew="/home/mysite/public_html/folder/test1"

find $sDirectory -type f -maxdepth 1 -name "*.htm*" -exec mv {} $snew \;

But it returns:
No such file or directory for both directories (I can confirm the directories exist)

I have placed the script in /home directory

Auto login to Email accounts without asking for credentials - How to disable it

$
0
0
Dear friends
We have made some users for support staff for supporting our shared server's customers. In the previous versions of Cpanel when you use "LIST USERS" and then clicking on their Cpanel account for modifying their account, on Email section we were not able to go to inbox of the customer's email address without initiating the credentials.

But on the new Cpanel, our staff can easily go to email section of the users and by clicking on the email address they can easily go inside the customer's inbox without knowing their password.

How to disable this auto login issue? We don't want auto login and we want cpanel to ask for credentials.
How to fix this issue?
Viewing all 5759 articles
Browse latest View live