LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2010, 01:56 PM   #1
Marlon
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
Using linux for the server


# /etc/init.d/dhcpd.conf
-bash: /etc/init.d/dhcpd.conf: No such file or directory
what is the problem? and how? please help me to configure out
"joe"
 
Old 08-24-2010, 01:57 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
The /etc/init.d/... command expects a script. A conf file is just a configuration file.
 
Old 08-24-2010, 02:00 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,349

Rep: Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910Reputation: 3910
Quote:
Originally Posted by Marlon View Post
# /etc/init.d/dhcpd.conf
-bash: /etc/init.d/dhcpd.conf: No such file or directory
what is the problem? and how? please help me to configure out
"joe"
Which word in the error did you not understand?? There is No such file or directory in /etc/init.d.

You need to run /etc/init.d/dhcpd, which is the script, which is what READS the config file. And post details...things like version/distro of Linux, what you're trying to do, etc.
 
Old 08-25-2010, 12:31 AM   #4
Marlon
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
im using linux for the internet server. i cant open the file to edit or change the mac address.
 
Old 08-25-2010, 01:11 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Run, with root permissions, updatedb; it will usually take a while and not give feedback. Next run (as root or as normal user) locate dhcpd.conf

Code:
root@btd-techweb01:~# updatedb
root@btd-techweb01:~# locate dhcpd.conf
/etc/dhcpd.conf
/usr/doc/dhcp-3.0.1/examples/dhcpd.conf
/usr/man/man5/dhcpd.conf.5.gz
root@btd-techweb01:~#
In bold the commands that you must enter, blue underlined is the relevant result (which may differ on your system).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM


All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration