免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 28400 | 回复: 16
打印 上一主题 下一主题

pxe-e32:tftp open timeout [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-11-19 13:49 |只看该作者 |倒序浏览
pxe server为rhel
其中dhcp以及tftp服务都已开启,disable设置成no,防火墙也已关闭
为什么客户端报拿到ip后,报这个错误呢?

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2011-11-19 14:41 |只看该作者
检查下tftp的目录下pxe启动所需要的文件是否都齐全了

论坛徽章:
0
3 [报告]
发表于 2011-11-19 14:43 |只看该作者
检查下tftp的目录下pxe启动所需要的文件是否都齐全了
chenyx 发表于 2011-11-19 14:41



[root@localhost ~]# cd /tftpboot
[root@localhost tftpboot]# tree
.
|-- boot.msg
|-- filesystem.squashfs
|-- home
|   `-- partimag
|-- initrd.img
|-- pxelinux.0
|-- pxelinux.cfg
|   `-- default
`-- vmlinuz

3 directories, 6 files
[root@localhost tftpboot]#

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
4 [报告]
发表于 2011-11-19 14:48 |只看该作者
检查下dhcpd.conf里面allow booting;
allow bootp;
next-server 1.2.3.4;(用你的ip替换1.2.3.4)
是否配置了?

论坛徽章:
0
5 [报告]
发表于 2011-11-19 14:54 |只看该作者
检查下dhcpd.conf里面allow booting;
allow bootp;
next-server 1.2.3.4;(用你的ip替换1.2.3.4)
是否配置 ...
chenyx 发表于 2011-11-19 14:48



[root@localhost tftpboot]# more /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
allow booting;
allow bootp;

subnet 172.18.11.0 netmask 255.255.255.0 {

# --- default gateway
        option routers                  172.18.11.254;
        option subnet-mask              255.255.255.0;

        option time-offset              -18000; # Eastern Standard Time
#       option ntp-servers              192.168.1.1;
#       option netbios-name-servers     192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
#       option netbios-node-type 2;

        range dynamic-bootp 172.18.11.26 172.18.11.29;
        default-lease-time 21600;
        max-lease-time 43200;
        next-server 172.18.11.130;
        filename "pxelinux.0";

        # we want the nameserver to appear at a fixed address
}
[root@localhost tftpboot]#
[root@localhost tftpboot]# more /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -u nobody -s /tftpboot
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}
[root@localhost tftpboot]#

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
6 [报告]
发表于 2011-11-19 14:58 |只看该作者
楼主在服务器上执行setenforce 0,暂时关闭下selinux,看看客户机是否能够正常pxe启动

论坛徽章:
0
7 [报告]
发表于 2011-11-19 15:29 |只看该作者
楼主在服务器上执行setenforce 0,暂时关闭下selinux,看看客户机是否能够正常pxe启动
chenyx 发表于 2011-11-19 14:58



    多谢,现在可以了
不过还有一个新的问题

=========================================================
Begin:Trying tftp -g -b 10240 -r /filesystem.squashfs -l /live/image/live/filesystem.squashfs 172.18.11.130...
Slow work thread pool: Starting up
Slow work thread pool: Ready
CIFS VFS: Error connecting to socket. Aborting operation
CIFS VFS: cifs_mount failed w/return code = -111
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
tftp: timeout
Begin: Trying netboot from 172.18.11.130: ...
Begin: Trying mount.cifs 172.18.11.130: /live/image -ouser=root, password=...
mount error(111): Connection refused
Refer to the mount.cifs( manual page (e.g. man mount.cifs)
Begin: Trying nfsmount -o nolock -o ro 172.18.11.130: /live/image ...
nfsmount: need a path
nfsmount: need a path
nfsmount: need a path
nfsmount: need a path
nfsmount: need a path
nfsmount: need a path
nfsmount: need a path
nfsmount: need a path
nfsmount: need a path

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
8 [报告]
发表于 2011-11-19 15:50 |只看该作者
楼主的pxe是什么方式传送文件的?nfs还是别的?提示说nfs不可用,检查下吧

论坛徽章:
0
9 [报告]
发表于 2011-11-19 15:53 |只看该作者
楼主的pxe是什么方式传送文件的?nfs还是别的?提示说nfs不可用,检查下吧
chenyx 发表于 2011-11-19 15:50



    确实是用nfs,不过我的nfs服务已经开启了啊

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
10 [报告]
发表于 2011-11-19 15:54 |只看该作者
楼主检查下nfs共享正常不?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP