Solved

problem installing dhcp server

Posted on 2002-04-30
8
233 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
  • 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
 

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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Help needed with BIND9 DNS on Ubuntu. 22 67
Issue to mail 11 38
Automating a script for user accounts LINUX 14 39
Problem to start Neon 20 51
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é.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now