*** From dhcp-server -- To unsubscribe, see the end of
this message. ***
Hi,
I am new to the DHCP stuff. I recently downloaded the
dhcp-3.0.4b2
version of the DHCP from isc.org. My objective is to run
DHCP server and
confogure the server using omshell.
When I run the omshell and say connect, it says connection
refused. Here
is the output.
--------------
[root localhost dhcpctl]# omshell
> connect
dhcpctl_connect: connection refused
>
---------------
I had a look at the code. The value for the server port on
the localhost
is hardcoded to 7911.
Also, the man pages say that the default port on which the
dhcpd listens
is 7911.
But, I have seen the netstat -anp output which does not show
me any 7911
port open.
Here is the netstat output.
--------------
[root localhost dhcp-3.0.4b2]# netstat -anp -e | grep dhcpd
udp 0 0 0.0.0.0:67
0.0.0.0
0 1643099 21904/dhcpd
raw 0 0 0.0.0.0:1 0.0.0.0
7 0 1643070 21904/dhcpd
------------------------------------------------------------
--------------
[root localhost dhcp-3.0.4b2]# netstat -anp -e | grep
LISTEN
tcp 0 0 0.0.0.0:32768 0.0.0.0
LISTEN 29 4281 4340/
tcp 0 0 127.0.0.1:32769 0.0.0.0
LISTEN 0 4635 4460/xinetd
tcp 0 0 0.0.0.0:199 0.0.0.0
LISTEN 0 21938 8498/snmpd
tcp 0 0 127.0.0.1:783 0.0.0.0
LISTEN 0 4799 4508/spamd -d -c -a
tcp 0 0 0.0.0.0:111 0.0.0.0
LISTEN 0 4203 4321/
tcp 0 0 0.0.0.0:6000 0.0.0.0
LISTEN 0 5181 4776/X
tcp 0 0 0.0.0.0:22 0.0.0.0
LISTEN 0 4599 4445/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0
LISTEN 0 4979 4550/cupsd
tcp 0 0 0.0.0.0:23 0.0.0.0
LISTEN 0 4639 4460/xinetd
tcp 0 0 127.0.0.1:25 0.0.0.0
LISTEN 0 4760 4488/
tcp 0 0 127.0.0.1:6010 0.0.0.0
LISTEN 0 1576672 21369/sshd
unix 2 [ ACC ] STREAM LISTENING 1645222
22013/thunderbird-b
/tmp/orbit-root/linc-55fd-0-2a1e2ddf7e9a3
unix 2 [ ACC ] STREAM LISTENING 5430
4867/ /tmp/.fam_socket
unix 2 [ ACC ] STREAM LISTENING 4996
4612/ /tmp/jd_sockV4
unix 2 [ ACC ] STREAM LISTENING 5172
4726/ /tmp/.gdm_socket
unix 2 [ ACC ] STREAM LISTENING 5301
4858/gconfd-2
/tmp/orbit-root/linc-12fa-0-3531d412ad560
unix 2 [ ACC ] STREAM LISTENING 707043
26104/soffice.bin
/tmp/OSL_PIPE_0_SingleOfficeIPC_e31798b4554fdedd4fea48cd4e93
b7
unix 2 [ ACC ] STREAM LISTENING 5182
4776/X /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 5279
4855/ssh-agent /tmp/ssh-XX4yYtGp/agent.4791
unix 2 [ ACC ] STREAM LISTENING 5054
4689/ /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 4833
4517/gpm /dev/gpmctl
unix 2 [ ACC ] STREAM LISTENING 5382
4791/gnome-session /tmp/.ICE-unix/4791
unix 2 [ ACC ] STREAM LISTENING 4838
4527/ /tmp/.iroha_unix/IROHA
unix 2 [ ACC ] STREAM LISTENING 5309
4791/gnome-session /tmp/orbit-root/linc-12b7-0-6d479a5d059e
unix 2 [ ACC ] STREAM LISTENING 5393
4860/bonobo-activat
/tmp/orbit-root/linc-12fc-0-18cbec1190939
unix 2 [ ACC ] STREAM LISTENING 5414
4862/gnome-settings
/tmp/orbit-root/linc-12fe-0-30f4f43dc4cd7
unix 2 [ ACC ] STREAM LISTENING 5495
4874/metacity
/tmp/orbit-root/linc-130a-0-49b1bf3d49e2c
unix 2 [ ACC ] STREAM LISTENING 5536
4878/gnome-panel /tmp/orbit-root/linc-130e-0-6935b982985e
unix 2 [ ACC ] STREAM LISTENING 5542
4882/magicdev /tmp/orbit-root/linc-1312-0-6935b982a9d0
unix 2 [ ACC ] STREAM LISTENING 5567
4880/nautilus
/tmp/orbit-root/linc-1310-0-6935b982c7306
unix 2 [ ACC ] STREAM LISTENING 5600
4886/eggcups
/tmp/orbit-root/linc-1316-0-6935b982e35df
unix 2 [ ACC ] STREAM LISTENING 5713
4890/python
/tmp/orbit-root/linc-131a-0-7e78bf12e78ce
unix 2 [ ACC ] STREAM LISTENING 5739
4898/mixer_applet2
/tmp/orbit-root/linc-1322-0-68ac1d4269ae8
unix 2 [ ACC ] STREAM LISTENING 542611
16245/gnome-termina /tmp/orbit-root/linc-3f75-0-3914e0d384ed
unix 2 [ ACC ] STREAM LISTENING 684986
25972/firefox-bin /tmp/orbit-root/linc-6574-0-58e6050b643
------------------------------------------------------------
--------------------
In the above output you may see that port 7911 is not open.
Now, can you
help me fixing this???
How do I open the 7911 port. Is there any parameter I can
pass while
running the server??
Please reply.
--
nachiket
------------------------------------------------------------
-----------
List Archives : http://www.isc.org/ops/
lists/
Unsubscribe : http://www.
isc.org/sw/dhcp/dhcp-lists.php
-or- : mailto:dhcp-server-request isc.org?Subject=unsubscribe
------------------------------------------------------------
-----------
|