Cpanel Install And HDD Partition
I have a server without cpanel and it have this partition details :
server-rescue / # df -h
Filesystem Size Used Avail Use% Mounted on
228G 134G 82G 63% /
none 1.9G 56K 1.9G 1% /mnt/unionfs/etc
none 230G 134G 84G 62% /etc
none 1.9G 720K 1.9G 1% /mnt/unionfs/var
none 230G 134G 84G 62% /var
none 1.9G 0 1.9G 0% /mnt/unionfs/root
none 230G 134G 84G 62% /root
none 1.9G 4.0K 1.9G 1% /tmp
udev 1.9G 160K 1.9G 1% /dev
shm 1.9G 0 1.9G 0% /dev/shm
/dev/sda2 226G 28G 187G 13% /mnt/sysimage
what I can do for this partition before start Cpanel Install?
View Complete Thread with Replies
Related Forum Messages:
CentOS5 - HDD Partition
I'm trying to install CentOS5. Although the default partition should work fine for me, but I would like to create my own partition for /var, /usr/, /tmp, /swap, etc. Can you recommend me a good partion including the size. My server has 4GB RAM and 500GB SATA2 HDD. I don't use much space of HDD.
Partition Scheme For CPanel
I just received a new server, I have been using always the partition scheme 'x2 ram swap, 1GB /tmp, /boot and /", but im not sure if I should get the new server re-formatted with that scheme (the HD is 250GB, so I will get 2GB /tmp), or stay with the current one:
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 7.8G 343M 7.1G 5% /
/dev/sda8 198G 1.1G 187G 1% /home
/dev/sda6 996M 39M 906M 5% /tmp
/dev/sda3 7.8G 2.4G 5.0G 32% /usr
/dev/sda2 9.7G 390M 8.9G 5% /var
/dev/sda1 122M 11M 105M 10% /boot
tmpfs 1014M 0 1014M 0% /dev/shm
I dont really see anything better, since I have all the available space in my old scheme. Anyway, which one do you think is better for a cPanel server, or you like to use and the reason?
Raid Disk Partition Errorc :: Warning: Invalid Flag 0x0000 Of Partition Table
I have a disk in raid, but it seems raid is not working correctly. I took it out, and plug into another server without raid. However, fdisk shows error
device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 20023.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help):
Should I correct the partition table now, or should I put it in another raid for checking?
Cpanel Hdd Warning Message
I getting error from cpanel now about possible hard drive failure.First it was only secondary disk,so i send request to support to ask them why is that happening and they said it is just temperature warning,but they still checked disk.Testing took 3 hours,and support said everything is ok.
But now i start to receive again that message,and now not just secondary disk,also primary disk.So what should i do,should i just ignore that error considering now is summer and it's hot or contact support again?I am in that dilema beacuse if support will test disk that require offline testing and means server will be down again,and now even longer beacuse of both disk warning,and again if they realy fail then i will lost all data and experience much longer downtime.
Here is message which i getting: ...
My CPanel Server Hdd Just Crash
I reboot my cpanel server twice last night and it had crash
I am now running e2fsck and it's trying to fix the inode thing.. i've been pressing <y> 10000 times! Poor thing my fingers cramp
I've been thinking to mount my primary drive into another cpanel server (not a fresh server) as secondary drive and restore from there. The question is how? I need detailed steps by steps as it's urgent for me..
Is This End Of HDD , Is HDD Failing
Today i just noticed i cannot login to my Direct admin panel no more all the sudden, but was working fine 24 hrs back.
So i login to root, and hit yum update, but guess what i get :
-bash: /usr/bin/yum: Input/output error
And to my surprise i go to /home/user/ to look for sites, and the public_html folder is un-accesible and is all pinkish/orangish with question marks besides them :
?--------- ? ? ? ? ? public_html
Even tmp folder says this :
[root@myproxyhost tmp]# ls
ls: reading directory .: Input/output error
i noticed this when i try to update da password or change it so i could login to DA :
[root@myproxyhost tmp]# passwd
passwd: error while loading shared libraries: /usr/lib64/libuser.so.1: cannot read file data: Input/output error
what happened is this end of HDD and data corruption ?
Its got centos 5 64 bit version :
[root@myproxyhost /]# uname -ia
Linux myproxyhost.proxyorama.info 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:37:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
7200 Rpm HDD Vs. 10k Rpm HDD Performance
How much faster is a 10k rpm HDD vs a 7200 rpm HDD in a server environment?
IMO, a 7200 rpm HDD is much faster than 5400 rpm HDD when it comes down to desktop PCs..
Just wondering if it's worth upgrading to a 10k rpm HDD from a 7200 rpm HDD and losing about 1TB of storage as well...
(Comparing specifically 2 750GB 16mb cache 7200rpm SATA 2 HDD RAID 1 with 2 150GB 16mb cache 10krpm HDD in RAID 1)
Cpanel Install Failed
I have tried my best to install cpanel on a fresh new CentOS 5.2 server.
But everytime failed,it take me about 5 hours to install.
And I find no cpanel service is installed.
I think re-install is also no use.
Install Cpanel On Fedora
i have fedora core 4
i run sh latest
but take me error :
___| _ __ _ _ __ ___| |
/ __| |_) / _` | '_ / _ |
| (__| __/ (_| | | | | __/ |
\___|_| \__,_|_| |_|\___|_|
Installer Version 11.4.0
grep: /etc/yum.conf: No such file or directory
grep: /etc/yum.conf: No such file or directory
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.
Install S3 Backup On CPanel VPS
I'm not experienced with linux or web hosting software and I want to find a way to get my cPanel or WHM to send the backups it does to my amazon s3 storage account.
Now I know this can be done as I've see lots of places around the web talk about it. I'm not experienced enough to do it so to just get it done and setup I'm willing to pay someone.
My VPS is at ServInt.net running on Centos5 with WHM/cPanel.
SSL - CA Bundle Won't Install In CPanel
Has anybody ever had this error in CPanel 11 SSL Manager? How did you solve it? We used the CA Bundle supplied by Comodo. We tried installing SSL with Comodo and the CA Bundle isn't installing at all. Is this an issue with the server?
The CRT itself installs fine so it looks OK from web browsers - but not Google Checkout.
Error in CPanel:
Verifcation Result [/C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=[url] error 2 at 3 depth lookup:unable to get issuer certificate]
As a result, Google Checkout refuses to calculate shipping:
SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086: SSL routines: func(144): reason(134)
I tried manually with curl (Google Checkout uses curl) and it says:
~: curl [url]
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086SL routinesSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Install Cpanel Backup Into Plesk
I'm going from a reseller account that used cPanel to a dedicated server using Plesk. I don't have access to anything on the cPanel server (long story), but the host said they will create a cPanel backup for me. Is it possible to install this into Plesk? I know it's possible to do a migration from a cPanel server to Plesk, which requires root access that I don't have and can't get, so this cPanel backup is the best I've got.
CPanel DNS Only, Now Cant Install PHP, MySQL Etc
i am running a VPS and recently installed cPanel DNS Only so it can operate as a standalone DNS server.
I would also like to serve standard webpages on it via apache and php, i therefore tired to install php, mysql etc via 'yum install php' but it says there is no package to be installed.
Has the cPanel DNS only install done someting to the yum config? I have installed Yum Priorities plugin, and my repos files are as follows:
root@stripe [~]# yum list installed | grep httpd
httpd.i386 2.2.3-22.el5.centos.1 installed
root@stripe [~]# yum list installed | grep php*
root@stripe [~]# cat /etc/yum.repos.d/CentOS-Base.repo
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
name=CentOS-$releasever - Base
name=CentOS-$releasever - Updates
#packages used/produced in the build but not released
name=CentOS-$releasever - Addons
Install Htop On CPanel CentOS Server
I found htop much more easier to understand than top and would like to install it on my cPanel CentOS server. I tried executing following command from root shell:
yum install htop
and got following output:
..................Reading repository metadata in from local files
Excluding Packages in global exclude list
Parsing package install arguments
No Match for argument: htop
Nothing to do
Not sure if htop is available for CentOS cpanel servers? If so how can I install it?
Install Multiple Tomcat Instances With CPanel X.xx
install tomcat in one location and have multiple instances running for individual clients:
Why would you want to do this:
1) Install tomcat in 1 location and have x number of instances running on a per client basis
2) Upgrade tomcat and have it propagate to all clients
3) Limit the resources each tomcat instance uses
4) Tomcat runs as the individual user rather than "root" or "tomcat"
5) Each user has its own manager; hence, no security risk to others
6) Start/Stop/Restart tomcat instances without affecting other clients who also have a tomcat instance
1. Tomcat is installed in: /usr/local/tomcat (TOMCAT_HOME)
2. Instances are installed in: /usr/local/tomcat/instances
3. Java is installed somewhere on your machine
Step 1 - Create a Tomcat Instance
- Create a directory in /usr/local/tomcat/instances/user1 (CATALINA_BASE)
- Create a set of directories (conf,temp,logs,webapps) in $CATALINA_BASE
- Copy web.xml,server.xml,tomcat-users.xml from $TOMCAT_HOME/conf to $CATALINA_BASE/conf
- Create a bash script called user1startstop.sh as follows and make it executable
#This is where you'd be able to restrict the memory usage
export CATALINA_OPTS=" -Djava.awt.headless=true"
# Call the jsvc script to launch the Tomcat instance
Step 2 - Configure the Tomcat Instance
- edit $TOMCAT_BASE/conf/server.xml:
Replace: ... port=8005 with port 8101 ... This is shutdown port
Replace: ... port=8080 with port 8201 ... This is http port
Replace: ... port=8009 with port 8301 ... This is the AJP port
- edit $TOMCAT_HOME/conf/workers.properties
Add: user1 to worker.list=ajp12,ajp13...
DEFAULT ajp13 WORKER DEFINITION
Step 3 - Modify Main Tomcat (One-Time)
Modify start case with the following:
Modify end case with the following:
Step 3 - Configure Apache
- Edit httpd.conf
Add the following code under the VirtualHost definition of the user in question:
JkMount /*.jsp user1
JkMount /webapps/* user1
JkMount /servlets/* user1
JkMount /servlet/* user1
Step 4 - Restart Apache
Step 5 - run $TOMCAT_INSTANCE/user1startstop.sh start
I have 5 instances of tomcat running on my machine and it works like a charm.
How Do I Install And Configure RSSH On A CPanel Server
I am trying to abolish FTP from my VPS, but refuse to allow SFTP with SSH access (and even give the secret port # out for SSH). It seems RSSH fits the bill, but I need to install it on a cPanel server. I want to know the following:How do I install RSSH on a server running cPanel
How do I make RSSH a shell I can enable via WHM as a default for ll new accounts without cPanel breaking it during an pdate
Can I run RSSH on a seperate port then SSH?
I have migrated one raptor disk to a 4 raptor raid 10 disks.
I was threated to being blocked from their helpdesk because they say it is a hardware issue.
I need help on 3 things:
- Is possible to just create a new partition on the not used drive ?
- Is this a software or hardware issue ?
- Can you recommend another support in case i am banned from the actual support ?
> root@server01 [~]# fdisk -l
> Disk /dev/sda: 299.9 GB, 299978719232 bytes
> 255 heads, 63 sectors/track, 36470 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 13 104391 83 Linux
> /dev/sda2 14 268 2048287+ 82 Linux swap / Solaris
> /dev/sda3 269 395 1020127+ 83 Linux
> /dev/sda4 396 18235 143299800 85 Linux extended
> /dev/sda5 396 18235 143299768+ 83 Linux
we can able create lVM partition but just we have 9 GB lvm partition i cant create more than or use full disk space
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 91201 732572001 8e Linux LVM
Creating A New Partition
The server I got from LayeredTech has two hard drives, obviously they set up the first hard drive with Linux etc.
The second hard drive is just there, not showing any partitions in 'fdisk' when I checked, so I assume they just leave it blank in every new server for the owner to deal with however they want.
I've been looking up guides to create a new partition for the full size of the hard drive and then mount it. However, it hasn't been very successful. Everytime I created the partition in fdisk, I have to set a size, and then when I mount it, it only says that the drive is ~98MB big.
Is there a way to partition the drive to its full capacity? And then mount it somewhere on the system? Or anywhere I can go to to find out easily?
I recently ordered a new dedicated machine and for some reason the guys set it up so the /home partition is a massive 250GB, and the / partition is a tiny 20GB. Since that's where all the plesk domains will be storing their files, I'd like to resize things a bit. I'm thinking of making the / partition 200GB and the rest for /home
It's a CentOS machine and the filesystems are ext3.
How can I do this resizing, and are there any caveats I should be aware of?
How To Partition Drive
im assembling my server now....waiting on the 90degree connectors. It is as follows:
SUPERMICRO CSE-512L-260B Black 14" Mini 1U Server Case
ASUS M2N-MX SE Plus AM2+/AM2 NVIDIA GeForce 6100 Micro ATX AMD Motherboard
AMD Athlon 64 X2 4200+ Brisbane 2.2GHz Socket AM2 65W Dual-Core Processor
Dynatron A48G 70mm 2 Ball CPU Cooler - Retail
2gb ddr2 6400 ram
Seagate 500gb 7200.11 32mb hdd
WD 37gb raptor 10k rpm
the wd drive was lying around the house so i figured id add it since i had an extra slot and figured the speed wouldnt hurt.
My question is....how should i partition the drives.? I have 500+gb of space on 2 hard drives. I plan on using centos 5.1 and am downloading the iso now.
If this is not in the right forum for this... I'm sorry didnt knew where else it may go.
I have to build a new server with RAID 1 and WHM/Cpanel installed (in fact i dont have to, but i need to learn ASAP and my boss gave me an old server for practice).
I've seen the installation guide of cpanel but the sizes of the partitions apply to a disk of 80 GB (i think so) so is there any way to calculate the size of the partitions, regardless of disk size? cuz mine are of 250 gb each.
I'm trying to install it on centos 5 on text mode, so far i have been able to successfully install the system (with partitions of any size... since is a test doesnt matter) with RAID 1.
After that i ran cat /proc/mdstat and in some partitions shows me this
I've read in some places that this is not a big issue... but in other places says it is... maybe i did something wrong
Renaming A Partition
I've spent a while on google and the forums but couldnt find an answer to a question.
Is it possible to change the name of a partition in linux?
e.g. its currently called Disk /dev/mapper/VolGroup01-LogVol00 (/)
But i would rather name is something normal like /dev/sda1
Is this possible with out losing any data?
If so how can this be done?
Plesk Disk Partition?
I have 2 x250 gb disk on a server. What configuration would be the best for partition to run Plesk and webhosting on the server?
I want www files on 2nd disk and server is hosted at Softlayer that we can reload server from web interface.
Partition Of VPS Windows
I have VPS Windows. I want to resize partition C 50Gb become 20Gb and then create partition D 30Gb for data , I used softwares Partition Manager 8.5 Enterprise Server Edition, Acronis Disk Director Server 10.0.2169 but I can't.
I used command line :
to check HDD on this VPS Server 2003 64b but can't too.
Centos 5 Partition HD Via SSH
my DC has partitioned my server really complicated and im trying to install various different control panels and im running out of space, so id like to combine all my partitions into one.
How would i do this via SSH in centos 5.2?
Way To Clean Up /boot Partition
I've got Centos 4 and I'm wondering what's the best way to cleanup my /boot partition?
Tried to do a yum update tonight and it included kernel, amongst other updates that belonged there so it stopped. I've googled around for commands to run and whatnot, but no go... or I just can't find it... if I had to clean it up I have an idea already about what to do, but I want to ask for advice first to see if there's an easier way.
so, how do people here clean up that partition?
Access Corrupt Partition
I have two partitions on my hard drive, each have an installation of windows XP, the old partition got corrupt and I can no longer boot windows from it, however I am able to see the files when on the other partition, the problem is I am unable to access the files.
Is there anyway I can get permissions to delete/move those files?
Optimal Partition Setup
I just purchased a dell poweredge in order to move my website to its own dedicated server. I have a few questions on the best linux partition setup for a webserver. The system has 8 gigs of ram, raid 10 setup with four 15k rpm drives and two quadcore cpu's.
The os is CentOS 5.1
The server can have up to 30,000 uniques in a single day and can be somewhat database intensive.
Does anyone have a recommend partition setup, besides the default?
With 8 gigs of ram, what is the recommend swap? I've seen rules that say anything over 2 gigs of ram, the rule is S = M+2. So that would put me at 10 gigs swap. Is that overkill?
Should i make a seperate partition for log files?
Web Server Partition
My PHP/MySQL web application will be put in a unix/linux environment, and the guy who is setting up the server is asking me this:
Do you have any partition requirements?
I don't know too much about hardware, how should I answer him? do you have any suggestions?
Partition Sizes Layout
I have a dell 2950 server with raid 5 + a hotswap.
There are 4 73G 15K drives with TWO dual quad process.
I was reading that the swap space s/b 2X the mem or 8Gigs.
The swap drive should be at the outer edge of the drive for speed.
Or drive C, but with these fast drives is it really going to matter
My layout idea so far is as follows
20 OS and programs
20 SQL databases and websites
10 log files
10 downloads and upgrade files.
Partition /usr Full 100%
i have problem and make all solution and the problem stay
the /usr partition is full 100%
i remove all logs in :
and make du -h --max-depth=1 in /usr that's the monitor :