RHEL Installation Without A Swap Partition, Anyway To Fix It

Oct 27, 2007

My data center happen to install RHEL 4 without a swap partition

Is there anyway to fix it without an OS reload?

Linux OS:
[root@server2 log]# uname -a
Linux 2.6.9-55.0.9.ELsmp #1 SMP Tue Sep 25 02:17:24 EDT 2007 i686 i686 i386 GNU/Linux
[root@server2 log]#

Kernel Version(uname -r)
[root@server2 log]# uname -r
2.6.9-55.0.9.ELsmp
[root@server2 log]#
Hardware Information
Clovertown with quad core , dual thing.
4 gb ram.

Control Panel(if any)
Cpanel

[root@server2 sbin]# df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda5 75505212 37384684 34285012 53% /
/dev/sda1 101086 17347 78520 19% /boot
none 2074560 0 2074560 0% /dev/shm
/dev/sda3 25197252 80800 23836476 1% /tmp
/dev/sda2 40313996 7249168 31016944 19% /var
/tmp 25197252 80800 23836476 1% /var/tmp
[root@server2 sbin]#

[root@server2 sbin]# fdisk -l

Disk /dev/sda: 146.8 GB, 146815733760 bytes
255 heads, 63 sectors/track, 17849 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 5112 40957717+ 83 Linux
/dev/sda3 5113 8299 25599577+ 83 Linux
/dev/sda4 8300 17849 76710375 5 Extended
/dev/sda5 8300 17849 76710343+ 83 Linux
[root@server2 sbin]#

View 5 Replies


ADVERTISEMENT

Raid Disk Partition Errorc :: Warning: Invalid Flag 0x0000 Of Partition Table

Mar 16, 2008

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

Quote:

#fdisk /dev/sdb
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?

View 2 Replies View Related

Resize Partition/create New Partition/lvm

Jul 4, 2008

i have centos 5 server i want install xen on it on my server is just one partion how may i resize this partion( without format partion/with put delete data) and then create lvm partion?

View 0 Replies View Related

RHEL 4 Or 5

Apr 27, 2008

Will you use RHEL 4 or 5? Is there any great differences between them?

I want to use the newer version, but helix server [url] requires RHEL 4 to run, so I am just thinking whether I should use RHEL 4 or 5.

View 2 Replies View Related

ETA For RHEL 5

Jan 27, 2007

When will RHEL 5 final be released? (And Centos 5 as well)

Wasn't it supposed to be released in December?

View 2 Replies View Related

64 Bit RHEL

Jan 4, 2007

Going to order a new server fairly soon, and I'm facing the tough question if I should go with 64-bit or stay with the "classic" 32 bits. My operating system of choice is Red Hat Enterprise 4.

From the research I've done, RHEL 4 (64 bits) should come with dual libraries that would allow running 32 bit and 64 bit applications under the same 64 bit operating system. Sounds great, and if it comes with an overall performance boost I am all for it.

But I've also heard that that's only the theory - in reality, I could end up banging my head against the screen for uncounted hours because compatibility still isn't as good as it's supposed to be. I don't plan to run Plesk or Cpanel, but I still don't want to get into hot water with other applications I've been using on my current 32-bit server.

All in all it's intimidated me quite a bit, so I'd probably go with 32 bits this time around, just to be on the safe side. Then again, I'm still having an eye on the possible performance boost, so dunno. Does anyone have an idea what's the latest on this? 64 bit already safe for the non-experimental-minded, or bleeding edge and stay away from?

View 4 Replies View Related

SuSE Vs. RHEL

Apr 13, 2009

Anyone out there have experience with SuSE over RedHat? RHEL is obviously the generalized Enterprise version used across most commercial hosting companies, but I'm interested in hearing about some SuSE experiences people have had.

It looks like SoftLayer offers SuSE and a couple VPS hosting companies do the same. I'm wondering how many large-scale sites are run on this operating system.

View 7 Replies View Related

How Can I Install A VNC On RHEL 5.0

Jul 14, 2009

how can I install a VNC *(graphical remote control) on RHEL 5.0?

would someone give me a detail instruction and links?

View 3 Replies View Related

Installing Php-gd On RHEL

Jan 24, 2007

I olled online and tried to use yum and up2date and they said the package could not be found

I did rpm-q gd and gd is installed but i need it for php-gd.

I looked on the web and i do not see a version for RHEL.

View 6 Replies View Related

Qmail RHEL 4 Not Working

Nov 21, 2006

My server is not sending mail for about a week, and i dont know what is the problem and how to fix this.

also, in PLesk, it still states that Mail is on and active.

Could anybody point me the direction how to fix that?

i am having a server runnung RHEL 4

View 6 Replies View Related

Cpanel On RHEL Server

Dec 10, 2008

I just installed RHEL on our in house web server. This server is going to host our secure public server.

I was wondering if installing a control panel (cPanel) would be a good idea? I would like something automated to setup php, mysql, apache etc.

View 1 Replies View Related

Update A Red Hat (RHEL 4) Package (vsftpd)

Jul 11, 2008

With Red Hat Enterprise Linux 4 (RHEL 4), are updated packages made available, or are only security patches backported? Specifically I'm interested in vsftpd. Version 2.0.1 is included in the RHEL installation on a server I'm working on, but there is a bug fix in v2.0.4 that I'd like to get access to.

Is there an easy way for me to browse / search what packages are available for RHEL 4, preferably via website?

View 5 Replies View Related

Time Auto Modified At RHEL Server

Mar 17, 2008

I have a problem with time at one RHEL 4 server, it is a plain box, and from time to time the time (hours) seems to be auto modified, no one is touching the box and then from once it got modified to a few hours less than what we specified, to change time and date we always use:

Code:
date --set "2007-10-24 13:35"
hwclock --set --date="2007-10-24 13:35"

The only thing that I noted is that ntpd daemon was running, while in the rest of our plain box it is not running, maybe this is the reason the system is auto chaning the time?

View 4 Replies View Related

Bs Best Tutorial And Reference Guide For RHEL And GUI Admin

Feb 18, 2008

Is there a Windows GUI software for remote Admining servers that run on Red Hat Linux?

FYI: Currently I use Putty for remotely managing our servers.

So if you can recommend a GUI like Windows desktop software for remotely Admining servers running Red Hat Enterprise, I would very much appreciate that.

FYI: we have like 10 dedicated severs, so a desktop GUI that would allow one to monitor/manage multiple servers would be best. But if the GUI that you think is best can only remotely connect/manage one server at a time, requiring disconnecting to connect to the other server to Admin it, that is fine.


Also, I would love to hear what you think is the best book, best tutorial and reference guide for remotely Admining servers running RHEL? I am not looking for one of those books that are 1000 pages, but something that is a few 100 pages and can be read in 1 month assuming a few hours per day of reading.

View 6 Replies View Related

Hypertown RedHat RHEL 5.2 Server Has Been Going Down Everyday

Jul 13, 2008

For the past two weeks, our Hypertown RedHat RHEL 5.2 server has been going down everyday because of a wierd Kernel Panic problem.

Attached you can see what was displayed on the console at the time of the panic. This is what SoftLayer tech. support team was able to obtain from the console.

We are not using Samba or NFS-based applications.

Here is the server's info:

[kaware3@rannatweb ~]$ uname -a
Linux rannatweb.com 2.6.18-92.1.6.el5PAE #1 SMP Fri Jun 20 02:51:01 EDT 2008 i686 i686 i386 GNU/Linux
[kaware3@rannatweb ~]$ free
total used free shared buffers cached
Mem: 16632176 3244660 13387516 0 234480 1934632
-/+ buffers/cache: 1075548 15556628
Swap: 2096472 0 2096472
[kaware3@rannatweb ~]$ more /etc/fstab
LABEL=/1 / ext3 defaults 1 1
LABEL=/var1 /var ext3 defaults 1 2
LABEL=/boot1 /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda3 swap swap pri=0,defaults 0 0
/dev/sdb1 /disk1 ext3 defaults 0 0
/dev/sdc1 /disk2 ext3 defaults 0 0
/dev/sdd1 /disk3 ext3 defaults 0 0
[kaware3@rannatweb ~]$ iostat
Linux 2.6.18-92.1.6.el5PAE (rannatweb.com) 07/13/2008

avg-cpu: %user %nice %system %iowait %steal %idle
3.78 0.00 4.41 9.02 0.00 82.79

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 90.93 1784.24 1401.45 2073549 1628690
sdb 156.49 1567.09 179.30 1821188 208368
sdc 47.39 443.82 565.21 515787 656864
sdd 0.06 0.88 0.01 1019 8

View 7 Replies View Related

How To Install Ffmpeg On Centos/rhel, The Simple Way

Jun 7, 2007

I seen where a lot of server management companies are charging big bucks for this, so this might save you some time and money.
First

Code:
nano -w /etc/yum.repos.d/dag.repo
Insert

Code:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
Then yum update and search for ffmpeg and install all ffmpeg packages including devel.
Seems there is some lib problems along the way so in /etc/ld.so.conf
add
/usr/local/lib
then
ldconfig -v
To install the php extension follow the simple directions on [url]
Then you should be all set!

Tried and tested on 2 different centos server, works fine.

View 14 Replies View Related

Apache :: Identity Modules Compiled For RHEL

Apr 26, 2014

I have 2.4.x version installed on RHEL and I need to install same version on Solaris 10. How can I find out what packages/modules were compiled for RHEL so that I can download same for Solaris and compile them.

View 2 Replies View Related

Plesk 11.x / Linux :: 11.5 Support On RHEL / CentOS 7?

Sep 15, 2014

We noticed that for now only Plesk 12 supports RHEL / CentOS 7. Is support for EL 7 planned for Plesk 11.5?

View 13 Replies View Related

RHEL 5 - 32bit V 64bit Running Cpanel 11 For Hosting

Jul 8, 2008

As cPanel is an integral part of server hosting and has the ability of compiling Apache 1.3.x with PHP4 (cgi) and PHP5 (dso) on your server OS.

Does anyone know or have baselines/benchmarks for which performs better generally for hosting: 32bit or 64bit RedHat 5 when cPanel 11 has compiled for the Apache and php mentioned above on either of these OS editions? (assume latest versions of apache/php4/5)

I was wondering if 32bit performed better or 64bit on a quad core Xeon. Don't forget PHP is compiled for prefork and not multi-threading for Apache 1.3.41 (which are considered legacy 32bit forked apps compiled against 64bit OS).

Or rephrased, could i be hampering performance by running it on a 64bit OS on a Xeon (X3210) or improving performance? I'd assume 64bit would offer better all round processing power, or is this a misconception.

I recently decided to get a server on RedHat Enterprise 5 X86_64 (64bit), when i wondered if 32bit version would have provided better performance and been the better options for compatibility.

View 0 Replies View Related

Dell 1600SC DRAC3 No Keyboard Input With RHEL 5

Dec 18, 2007

I just got a Dell 1600SC dual xeon 2.8 from the Planet with a Dell DRAC3 remote access card. In my RHEL3 system this hardware combination works great, but in the new RedHat Enterprise Linux 5 system the DRAC accepts no keyboard input after RHEL5 loads, thus making it impossible to login to the OS through the drac remote console redirect. Tech support suggested it was because the RedHat Enterprise 5 and CentOS5 kernel does not load the PS/2 keyboard driver which is required for the Drac3 to accept keyboard input. (a drac4 works, but that's not an option for this server I would guess.)

At tech support's suggestion, I added
atkbd.set=2
to the /boot/grub/grub.conf file
rebooting had no change - still text input to enter the bios, but no text input to login to the OS.
I also added
serial --unit=0 --speed=9600 -word=8 --parity=no --stop=1
terminal --timeout=2 serial console
which I saw in /etc/grub.conf (which is not linked to /boot/grub/grub.conf but instead a separate file) but still no luck - no keyboard input accepted through the drac3 remote console to login to the os through the drac console redirect.

Has anyone solved this hardware/software combination? Or is RHEL5 simply not going to be backwards compatible with the Dell DRAC3 hardware?

Any ideas, suggestions, or solutions would be greatly appreciated as I've been working on getting a solution for this for a week now and no closer at this point.

I would really like to have the DRAC as a backup connection with my server incase any firewall or software update issue ever prevents me from connecting via ssh. I hate to have roll back to an older OS though to get it. I'm stuck.

View 0 Replies View Related

Run Out Of Swap

Apr 19, 2009

What would cause a Linux server to run out of swap? Would it be a memory leak? This happened today to my server and it had to be forcefully rebooted by the data center.

View 5 Replies View Related

Swap Not Being Used

Apr 25, 2008

My server load is up to 20 sometimes, all RAM is used but only a very little SWAP is used (never go above 3M). IOwait is also very high

top - 09:55:33 up 94 days, 3:35, 2 users, load average: 19.09, 9.43, 6.18
Tasks: 327 total, 2 running, 325 sleeping, 0 stopped, 0 zombie
Cpu(s): 38.0% us, 2.0% sy, 0.0% ni, 0.0% id, 59.5% wa, 0.0% hi, 0.5% si
Mem: 2056272k total, 2034064k used, 22208k free, 47516k buffers
Swap: 1052248k total, 3572k used, 1048676k free, 800656k cached

I tried swapoff, mkswap and swapon but it is still the same.

View 5 Replies View Related

Swap Used At 100%

Jul 6, 2007

do i need to upgrade my server if it looks like this?

I have one website running on it.

[url]
*sign* I'm not really sure why it's running like this.

View 8 Replies View Related

High Swap

Mar 31, 2009

I've got a dedicated with LW.

I've had it for a while and during that time I've never seen the swap memory go over 20%.

A month or so ago, I had the server upgraded to 8GB of ram to make room for more planned sites.

Since then, the swap memory has gone rampant. It regulary goes to 93% used with less than 20% of the regular ram and really no load on the server.

I've contacted support twice about it and was told don't worry it's normal.

From what I've read in the cpanel forum, no it's not normal and may in fact be caused by bad ram chips and if it hits 100% could freeze the server.

There are no processes or users causing it, so It's something else.

Has anybody had this type of problem that they resolved and could share what they did to resolve it?

View 11 Replies View Related

CPanel - Swap Used 100%

Jul 22, 2008

My swap is currently at 100% and my website isnt loading. What does swap mean and is this the reason my site isnt loading?

View 14 Replies View Related

Swap Not Working

Mar 1, 2008

i want to know why the swap in the server didn't work he is always 208k used

see my top status

top - 09:41:51 up 4 days, 12 min, 2 users, load average: 2.05, 3.11, 3.33
Tasks: 185 total, 2 running, 181 sleeping, 2 stopped, 0 zombie
Cpu(s): 0.7% us, 1.0% sy, 1.6% ni, 92.4% id, 4.3% wa, 0.0% hi, 0.0% si
Mem: 4148808k total, 4008248k used, 140560k free, 117488k buffers
Swap: 2096440k total, 208k used, 2096232k free, 3016032k cached

cat /etc/fstab

LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs noexec,nosuid 0 0
LABEL=/home /home ext3 defaults,usrquota 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults,usrquota 1 2
LABEL=/var /var ext3 defaults,usrquota 1 2
LABEL=SWAP-sda7 swap swap pri=0,defaults 0 0
/dev/sdb1 /hdd1 ext3 defaults,usrquota 0 0
/tmp /var/tmp ext3 defaults,bind,noauto 0 0
/dev/hdb /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/scd0 /media/cdrom auto pamconsole,exec,noauto,managed 0 0

My box

WHM 11.15.0 cPanel 11.18.1-R20683
CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0

View 3 Replies View Related

Why Do PHP Caches Use Swap

Feb 20, 2008

Opcode caches have stability problems with some PHP apps:

[url]

I've been trying to get XCache working with gallery2, right now apache has to restart every 2-4 hours but it's been worse at times and it'd be nice to know what's going on

I noticed that both XCache and eAccel use a small amount of swap space all the time, it grows slowly and if I'm lucky enough to go without a segfault it will reach maybe 4MB. That's not a lot but it doesn't happen at all without a PHP cache (swap stays locked at 72kb unless RAM runs out and the server thrashes).

Here's the error and my settings:

[Tue Feb 19 06:19:55 2008] [error] PHP Warning: Invalid argument supplied for foreach() in /home/cityv4/public_html/gallery/modules/customfield/classes/CustomFieldHelper.class on line 233
[Tue Feb 19 06:19:55 2008] [error] PHP Warning: Invalid argument supplied for foreach() in /home/cityv4/public_html/gallery/modules/customfield/classes/CustomFieldHelper.class on line 233
[Tue Feb 19 06:19:56 2008] [notice] child pid 31028 exit signal Segmentation fault (11)
[Tue Feb 19 06:19:56 2008] [notice] child pid 10638 exit signal Segmentation fault (11)

[url]

View 1 Replies View Related

CPanel - Swap Used 100%

Jul 22, 2008

My swap is currently at 100% and my website isn't loading. What does swap mean and is this the reason my site isn't loading?

View 14 Replies View Related

RAID 1 Swap

Oct 28, 2007

I have two servers, HP RAID and DELL RAID.

Both controllers are set to RAID 1

I want to take the 2 HD from HP, and put into Dell.

Would this ruin my HD? Will I break the RAID and all my files be lost?

How can I achieve this without loosing my files?

View 6 Replies View Related

Swap Space For VPS

Oct 1, 2007

I have purchased several VPS from a provider and found they do not provide swap space with VPS, and even with 256MB ram, I get 'out of memory' trying to compile a perl library... Creation of a swap file by myself doesn't work (operation is not permitted).
Hosting providers runs HyperVM.

So the question. Is it common or is it a misconfiguration? For now I got just 'checking on this for you' and three days of silence from their support.

I'm not opening hosting provider name, but I will if they say "You must pay for more RAM", just because other 5 VPS providers support my VPS servers with swap space.

View 8 Replies View Related

Xen And The Issue Of Swap

Jun 4, 2007

I have talked with the moderators and they have agreed that I can start a new thread to clarify the issue of Xen and swapping as long the discussion remains technical.

For people who are curious, I would first like to explain why this is important. What we have here is someone making a specific technical accusation against Xen, and if it is indeed crucial, it needs to be solved, or otherwise people have to know it before they get into Xen.

Claim Number 1: The original claim is that users can create arbitrarily large swap and this can lead to the equivalent of overselling.

Fact: Arbitrarily large swap has absolutely zero effect on a normal system, since Linux treats swap as an auxiliary storage, and will not use it unnecessarily. Linux will always use the RAM to the full, but swap is used only when all the buffers have been cleared. If you run free on a dedicated hardware, you will see that swap usage is most of the times zero, even though you have assigned a very large swap to the system. In fact, you can try this by simply increasing the swap to very huge value, you will see that Linux will ignore it completely.

For large swap to cause a problem, the user not only has to assign a large swap, he has to run a really huge workload on his limited RAM, and this being physically impossible, will cripple his vps long before it has any serious impact on the host.

I think the above has been agreed to by the person who made the initial claim.

Claim Number 2 Merely having a swap can lead to vps getting slowed down.

Fact ; The use of swap does not mean thrashing .

Thrashing is a technical term, and it means that the application is registering a swap hit every few instructions. This is rare in normal systems, because of a property of programs that execution is always localized. That is, at any particular time, a certain portion of the program will be continuously being executed, and other portions would be idle. Linux has algorithms that will swap out the Least Recently Used page, and this will mean that the system will not run into too many swap hits.

Now again, like in the earlier case, there will be trouble if the vps customer is trying to run a 1GB workload in a 64MB RAM. This will actually cripple his vps, which is what's the right thing to happen. So normal usage of Swap will not lead to disk I/O, since Linux has explicit algorithms to reduce swap usage.

So for minor OverUsage of memory:

For virtuozzo: the application will crash

For Xen: there will be a very minor degradation of quality. And sometimes it won't have any affect at all, since as I said, just because swap drive is non-empty doesn't mean that linux is constantly swapping out.

So summarizing:

a) Inordinately large swap has zero effect on Linux

b) Non-empty swap doesn't mean that the system is registering swap hits. For normal workloads, the swap hits will be very minimal.

And an extra advice is that if you are using Xen, don't ever use snapshoting, as it will double the disk I/O, and the worst thing is that the vps that's causing this will not even be penalized. The overhead will be completely borne by the system.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved