Way To Clean Up /boot Partition
Mar 14, 2008
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?
View 4 Replies
ADVERTISEMENT
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
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
Jun 6, 2009
How do you go about figuring out what to remove?
Example(groups):
Installed Groups:
Administration Tools
Base
Development Tools
Dial-up Networking Support
Editors
Input Methods
Legacy Fonts
Mail Server
MySQL Database
Network Servers
Printing Support
System Tools
Text-based Internet
Web Server
I'm sure its safe to remove printing, dial up, fonts, editors?, and web server(installed nginx).
but when I list individual RPMs i have over a few 100 to go through. anyone know of a few documents to help my research go faster?
View 0 Replies
View Related
Jan 20, 2008
I have some problems with /tmp:
When /tmp is more 20-50% clean out /tmp directory :
rm -f /tmp/sess_*
rm -f /tmp/*.wrk
it cleans tmp folder, but size folder still big and 50% . I fix it :
Run the following commands :
/bin/umount -l /tmp
/bin/umount -l /var/tmp
/bin/rm -fv /usr/tmpDSK
/scripts/securetmp
and it's OK.
The partitions remount only helps to fix it. Is it problem the file system ext3 ? Is there a wey yet to fix /tmp ?
FC6
cPanel
tmpfs ext3=2 Gb.
View 5 Replies
View Related
May 10, 2007
In APF I can download deny_hosts.rules and delete all the IP there but how about iptalbes?
I tried to find the file that store the IP but I couldn't find it.
I flushed the iptalbes but when I restart it all the ip come back.
Code:
iptables --flush
and I also tried
Code:
[url]
Where is the ip stored at iptalbes?
View 2 Replies
View Related
Aug 7, 2007
my whm Trojan scanner found 23 possible Trojans.
how can i clean my server?
View 9 Replies
View Related
Jan 5, 2009
I think it's due time to clean up one of my server's. It's very time consuming to sit and try to go through the daily and weekly backup folders or the reseller center of WHM and compare accounts so that I know which backups stay and which backups go.
Whats the best way to clean up all those old backups? Would it be possible to just delete everything in them and then do something like copy the /home/ folder which has all active accounts over into the backup? Or just let the daily backup do it's thing?
View 5 Replies
View Related
Nov 9, 2009
What is the best way to clean a hacked site?
All of the pages have iframe injection and my only backup was made after the attack.
I have hundreds of pages, do I have to edit them all manually?
View 7 Replies
View Related
Jun 15, 2008
By default,when domain is created by default it redirect all unrouted mail to default mail.And since i didnt notice that on time,now there is 100k mails.How do i delete that instantly?
View 7 Replies
View Related
Jul 3, 2007
one of my customers, he gets a lot of spam emails. So i tell him to enable SpamAssassin.
He also tell me if i can clean the his users inboxs (20000+ emails). Not to delete all as they have emails that they need.
The 20000+ emails are before he enable SpamAssassin.
I need something to scans emails inboxs and move the spams to another folder.
Is possible to scan emails folders with spamassassin
View 3 Replies
View Related
Jul 21, 2007
Is there a command to clean up my Memory in Linux?
I use Plesk 8, Linux
When i execute "free -m" command it shows me:
total used free shared buffers cached
Mem: 1006 959 47 0 136 567
-/+ buffers/cache: 254 752
Swap: 4095 0 4095
Version:
Command: free -V
Result: procps version 3.2.3
View 11 Replies
View Related
Nov 10, 2008
I'm just curious, when getting IPs with a VPS or Dedicated server, is there any steps to take to make sure the IPs were used by a previous customer to spam or in other way get them blacklisted by Yahoo, AOL, Gmail, etc.?
View 6 Replies
View Related
Mar 12, 2007
how I can install GCC on a clean slackware 10.2 server. It doesnt have any cc compiler, so am not able to compile gcc. Are there any binaries of c compilers for slackware?
View 9 Replies
View Related
Nov 8, 2007
We are having trouble with disk space on some of our shared hosting servers and we are wondering if anyone have a script to clean e-mails from exim not checked in the last 60 days ?
View 1 Replies
View Related
Oct 17, 2007
How do i format a secondary drive in Ubuntu? I want to get the drive ready for RAID so it must be clean.
View 2 Replies
View Related
May 28, 2009
see this screen shot:[url]
I used WHM to mount a spare partition and when the machine next rebooted, it give this error, nothing has been put on the disk as of yet.
View 14 Replies
View Related
Mar 21, 2008
Has anyone here been successful in doing a usb boot of windows xp & win2k3 server?
View 3 Replies
View Related
Aug 19, 2008
I've supposedly set APF firewall to start at boot time, by doing something like:
chkconfig --levels 2345 apf on
However i have my reservations to weather it is actually starting, its set to block port 80, after boot if i try and access it, the connection will get refused straight away, however if i go and manually start APF then try and access again, it will take a while, like its ignoring the connection attempt (which is good).
How could I check if APF is actually running?
View 9 Replies
View Related
Jun 24, 2007
How We can set a shoutcast servers to starts automatically on boot/restart/etc?
View 14 Replies
View Related
May 21, 2007
I have a problem on my dedicated server, the boot is at 99% but i am not sure
how to fix this problem.
The server runs centos 4.5 final.
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 228G 17G 199G 8% /
/dev/sda1 31M 29M 492K 99% /boot
View 7 Replies
View Related
Nov 10, 2007
I'm trying to put together a new 1U rackmount server that I'm intending to colocate (my first server of my own). Here are the details:
11-152-087 CHASSIS SUPERMICRO|CSE-512L-260B R
13-182-120 SERVER_MB SUPERMICRO|MBD-PDSML-LN2+
22-144-417 HD 250G|WD 7K 8M SATA2 WD2500JS
19-115-029 CPU INTEL|C2D E6750 2.66G 65N 4M R
20-134-337 MEM 1Gx2|KST KVR667D2E5K2/2G R
The stock CPU fan is obviously too big to sit in a 1U rackmount chassis, but I've got the top off and was just trying to boot up with the OEM fan to make certain everything worked (forgot to order a low-profile fan and heatsink--they're on the way).
Well, I put everything together, and it won't boot. Upon power up, there is nothing sent to the VGA port, and after a second or two, there is a hi-low alarm sound that does not stop that seems to imply the system is overheating (the MB and chassis manuals don't mention this alarm anywhere, but the read "temperature" light on the front is red). The CPU fan runs as well as the case fan, and even if I hold a huge high-velocity home fan over it, it still won't send any signal to the VGA monitor or POST.
I've checked that the power connections are good, the fans are seated properly, the memory contact is good, etc., and all I get is this hi-low chime every time I try to boot up. I think it's either a bad MB or CPU, since I can't imagine that the CPU is overheating with the heat sink and CPU fan.
Perhaps I've screwed something up, but the next issue I have is trying to figure out what could be causing the problem so I know what to return or replace. Is it the CPU? MB? RAM? Power unit? How can I test any of these without buying another set and possibly frying those?
I figured maybe some of you might have some ideas. I've built several computers over the years, but this one has me completely stymied.
View 11 Replies
View Related
Apr 5, 2007
This is probably the wrong location for this thread but I am unsure which section it is best located at.
I have 2 hard drives - 1 has XP pro installed (master drive) on it and the other is blank and set to slave. On the blank one i intedn to install Red Hat linux.
How is the best way to create a dual boot with these machines if each hard drive has one O/S dedicated to it.
View 2 Replies
View Related
May 26, 2008
How do i can perform
- Clean up unwanted files from /tmp
- Check and clean the mail queue
- Check /proc for hidden or unwanted processes
I will be thanking the person who can give in details how to perform each point in vps server and what's the steps or commands i should follow .
View 3 Replies
View Related
Mar 29, 2008
I recently purchased a dedicated server from a company I found on these forums. I have been very happy with the company, but the 2 IP's I have with the server are blacklisted in many places. I have been systematically trying to clean the address, but am starting to think that it may be a losing battle.
My ISP has offered
I have assigned to your account the following ip:
ip:216.144.227.125
sm:255.255.255.240
You can bind Exim to a secondary IP using the steps below:
a. Login to the server as root using SSH and open the file /etc/exim.conf in
your favorite Unix text editor.
b. Locate the section of the file that contains the following:
remote_smtp:
driver = smtp
c. Replace this section with the following modified version:
remote_smtp:
driver = smtp
interface = 216.144.227.125
d. Restart Exim
I don't know anything about this. Can someone please tell me if this is the best route. I don't want this to create any other issues for my email, like causing reverse DNS issues. If this will totally solve my problem, fine. If not, shouldn't I demand to have clean IP's assigned to my server, especially since the service is advertised as such?
my IP's 72.11.145.112 72.11.145.113
View 12 Replies
View Related
Dec 4, 2006
I'm not sure exactly how to phrase the question. But, I'm researching how to PXE boot a server without having a DHCP/PXE server in each vlan.
Scenario: Datacenter with dozens of servers. 1 VLAN per server. Cisco switches and routers. Each server has a serial console available for remote management (OS and BIOS are configured for serial console). If an admin wants to re-install OS, they should be able to reboot the server and tell the BIOS to initiate a PXE boot request. A central install server is available to provide the DHCP and PXE boot images.
Has anyone tried this? I have been reading about the 'ip helper-address' for Cisco to relay DHCP requests. Interested in hearing about real-world setups. Or is there a better way to accomplish remote OS installs?
View 7 Replies
View Related
Jul 8, 2009
We cannot figure out why our dedicated server will not boot to the correct kernel. I've removed all other options from grub.conf but it's still booting to the default CentOS setup.
grub.conf:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/mapper/ddf1_4c53492020202020808627c300000000378494a900000a28p1
# initrd /boot/initrd-version.img
#boot=/dev/mapper/ddf1_4c53492020202020808627c300000000378494a900000a28
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-028stab062.3)
root (hd0,0)
kernel /boot/vmlinux-2.6.18-028stab062.3 ro root=LABEL=/
initrd /boot/initrd-2.6.18-028stab062.3.img
Code:
uname -r
2.6.18-128.el5
View 4 Replies
View Related
Jul 17, 2008
I have a NAS to mount but it disappears on every (re)boot. How do I automatically mount it on boot?
View 4 Replies
View Related
Jan 8, 2008
on a RHE 3 system I installed a new Kernel. I did update lilo.conf and grub.conf but they are still booting an old kernel: 2.4.21-27.ELsmp. Please have a look at my files below and if you have any idea why please let me know.
lilo.conf:
prompt
timeout=50
default=2.4.21-53.ELsmp
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
image=/boot/vmlinuz-2.4.21-53.ELsmp
label=2.4.21-53.ELsmp
initrd=/boot/initrd-2.4.21-53.ELsmp.img
read-only
append="root=/dev/hda3"
image=/boot/vmlinuz-2.4.21-47.ELsmp
label=2.4.21-47.ELsmp
initrd=/boot/initrd-2.4.21-47.ELsmp.img
read-only
append="root=/dev/hda3"
image=/boot/vmlinuz-2.4.21-47.EL
label=2.4.21-47.EL
initrd=/boot/initrd-2.4.21-47.EL.img
read-only
append="root=/dev/hda3"
image=/boot/vmlinuz-2.4.21-27.ELsmp
label=linux
initrd=/boot/initrd-2.4.21-27.ELsmp.img
read-only
append="root=/dev/hda3"
image=/boot/vmlinuz-2.4.21-27.EL
label=linux-up
initrd=/boot/initrd-2.4.21-27.EL.img
read-only
append="root=/dev/hda3"
grub.conf:
Code:
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Enterprise Linux ES (2.4.21-53.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-53.ELsmp ro root=/dev/hda3
initrd /initrd-2.4.21-53.ELsmp.img
title Red Hat Enterprise Linux ES (2.4.21-47.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-47.ELsmp ro root=/dev/hda3
initrd /initrd-2.4.21-47.ELsmp.img
title Red Hat Enterprise Linux ES (2.4.21-47.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-47.EL ro root=/dev/hda3
initrd /initrd-2.4.21-47.EL.img
title Red Hat Enterprise Linux ES (2.4.21-27.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-27.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-27.ELsmp.img
title Red Hat Enterprise Linux ES-up (2.4.21-27.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-27.EL ro root=LABEL=/
initrd /initrd-2.4.21-27.EL.img
View 4 Replies
View Related
Jul 11, 2007
Just asking, where should I usually install my boot loader:
/dev/sda - master boot record (MBR)
-- or --
/dev/sda1 - first sector of boot partition
My partition for /sda1/ is /boot 100MB
View 13 Replies
View Related
Jul 3, 2007
am running CentOs with whm/cpanel and am whenever i reboot my server all sites that required mysql show erros ( can't connect ) it resolves by manually in the web host manager restarting mysql.
I already tried
chkconfig mysql on
then rebooted and the error persists,
View 8 Replies
View Related