problem installing dhcp server

Posted on 2002-04-30
Last Modified: 2013-12-15
I have a redhat 7.1 installed system with enough RAM processor etc... But when ever i try to install the dhcp rpm package i get the error segmentation fault , core dumpded... i have tried some other cd ( assuming the cd was bad ) but that does not help... by the way the other cd was redhat 7.0... somebody please help cos i got to get the dhcp server soon...
Question by:harisnshaw
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
LVL 40

Expert Comment

ID: 6981104
Can you use rpm to install any package from your 7.1 CD or a network resource? I know that the dhcp rpm on the 7.1 distribution is okay, so it is likely that something is wrong with your OS installation.

Has anything been installed on top of your 7.1 system that isn't a part of the 7.1 distro? By that I mean have you downloaded any rpms or locally built and installed anything?

Author Comment

ID: 6981343
i have updated my xserver and kde. Apart from that I have installed nothing else. I tried reinstalling xmms from the redhat 7.1 ... and that worked fine. I feek there is some problem with my system configuration ... but i have not clue about it.... Also i searched the net and got the DHCP source code... problem is i don't know to compile it.
LVL 40

Expert Comment

ID: 6981779
Are you using a command line invocation of rpm or a Gui tool?  The latter could be a problem since the X server and KDE have been changed from RedHat's version. Also how much free space do you have on the system?
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)


Author Comment

ID: 6982667
yes now that u mentioned i have only 93 MB... is that not enough???? i tried the gui tool first and then the command line.
LVL 40

Expert Comment

ID: 6982678
93Mb free should be be enough although that's pushing the edge of the envelope. The actual dhcp server isn't that big once it is installed, but rpm needs work space to unpack the package and room in /var to rebuild the database as a part of the install.

I can't think of anything other than a space problem, a problem with the CD or something wrong with rpm (like a corrupt database) that would cause rpm to drop core.The first thing I'd try is to download a clean copy of the dhcp rpm from and see if that helps. Next I might try rebuilding the rpm ddatabase with 'rpm --rebuilddb'.

Author Comment

ID: 6982799
got the problem .... when i try to rebuild the database with rpm --rebuilddb i again get
segmnetation fault... core dumped... now what do i do... do i have to reinstall the whole redhat once again?
LVL 40

Accepted Solution

jlevie earned 100 total points
ID: 6983585
That's not good... and the question is why. I've used 7.1 enough to know that a standard installation on well behaving hardware shouldn't be having that kind of problem. Given that you upgraded X and KDE, presumably via non-RedHat rpms, I'm suspicious that something related to those upgrades may have changed some system lib that rpm depends on. I can't say for sure that's the problem, only that it's likely.

I think that what I'd do at this point is to do a clean install of 7.1 (or 7.2 if you want the later version of X). I'd also lay out the disk partitions so as to have about 300-500MB free where / lives and I'd make at least /var a separate partition of 300Mb or a bit more. My typical layout for a 7.1 desktop looks something like:

/boot  - 20MB
/      - 2000MB
swap   - 256MB or twice memory, which is larger
/var   - 500MB
/home  - free space

Servers for specific purposes, like an email or web server, will be partioned a bit different, depending on what the box needs to do.

As soon as the install completes the very next thing that I do is to get and install all applicable RedHat errata and updates. That can be done with up2date or manually, but it is important to get those installed to close security holes and to eliminate known problems.

By and large I'm quite reluctant to install major system components, like X, KDE, or a kernel that aren't a part of a RedHat distribution or its errata on anything other than a 'throw away' desktop system. Something that crucial to system use may well conflict with RedHat's utilities and break something that I really need. Again, I don't know that the upgrades are the problem here, only that it's a good possibility.

Author Comment

ID: 6985080
thanks a lot for the support.... I am reinstalling the whole thing today...

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Moving from Mcrypt to OpenSSL 18 75
parallel rsync issues with Ubuntu 1 50
block mails from a particular country in postfix 7 80
Linux recover lost file deleted by mv 1 32
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question