Solved

problem installing dhcp server

Posted on 2002-04-30
8
239 Views
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...
0
Comment
Question by:harisnshaw
[X]
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
8 Comments
 
LVL 40

Expert Comment

by:jlevie
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?
0
 

Author Comment

by:harisnshaw
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.
0
 
LVL 40

Expert Comment

by:jlevie
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?
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:harisnshaw
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.
0
 
LVL 40

Expert Comment

by:jlevie
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 ftp://ftp.redhat.com/pub/redhat/linux/7.1/en/os/i386/RedHat/RPMS/dhcp-2.0pl5-4.i386.rpm and see if that helps. Next I might try rebuilding the rpm ddatabase with 'rpm --rebuilddb'.
0
 

Author Comment

by:harisnshaw
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?
0
 
LVL 40

Accepted Solution

by:
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.
0
 

Author Comment

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

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

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). …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

634 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