首页 > 其他分享 >dhcp报错

dhcp报错

时间:2024-05-13 19:19:59浏览次数:23  
标签:13 07 19 报错 dhcpd dhcp servera 58

报错详情

  1. 查看dhcpd.service状态
  2. 使用命令检查配置文件报错
dhcpd -t -cf /etc/dhcp/dhcpd.conf
  1. 修改配置文件
  2. 重启dhcpd服务
[root@servera ~]# systemctl restart dhcpd
Job for dhcpd.service failed because the control process exited with error code.
See "systemctl status dhcpd.service" and "journalctl -xeu dhcpd.service" for details.
[root@servera ~]# journalctl -xeu dhcpd
May 13 19:07:58 servera dhcpd[5893]: 
May 13 19:07:58 servera dhcpd[5893]: This version of ISC DHCP is based on the relea>
May 13 19:07:58 servera dhcpd[5893]: on ftp.isc.org. Features have been added and o>
May 13 19:07:58 servera dhcpd[5893]: have been made to the base software release in>
May 13 19:07:58 servera dhcpd[5893]: it work better with this distribution.
May 13 19:07:58 servera dhcpd[5893]: 
May 13 19:07:58 servera dhcpd[5893]: Please report issues with this software via:
May 13 19:07:58 servera dhcpd[5893]: https://bugzilla.redhat.com/
May 13 19:07:58 servera dhcpd[5893]: 
May 13 19:07:58 servera dhcpd[5893]: exiting.
May 13 19:07:58 servera systemd[1]: dhcpd.service: Main process exited, code=exited>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░ 
░░ An ExecStart= process belonging to unit dhcpd.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
May 13 19:07:58 servera systemd[1]: dhcpd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░ 
░░ The unit dhcpd.service has entered the 'failed' state with result 'exit-code'.
May 13 19:07:58 servera systemd[1]: Failed to start DHCPv4 Server Daemon.
░░ Subject: A start job for unit dhcpd.service has failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░ 
░░ A start job for unit dhcpd.service has finished with a failure.
░░ 
░░ The job identifier is 5511 and the job result is failed.
lines 504-535/535 (END)
May 13 19:07:58 servera dhcpd[5893]: 
May 13 19:07:58 servera dhcpd[5893]: This version of ISC DHCP is based on the release available
May 13 19:07:58 servera dhcpd[5893]: on ftp.isc.org. Features have been added and other changes
May 13 19:07:58 servera dhcpd[5893]: have been made to the base software release in order to make
May 13 19:07:58 servera dhcpd[5893]: it work better with this distribution.
May 13 19:07:58 servera dhcpd[5893]: 
May 13 19:07:58 servera dhcpd[5893]: Please report issues with this software via:
May 13 19:07:58 servera dhcpd[5893]: https://bugzilla.redhat.com/
May 13 19:07:58 servera dhcpd[5893]: 
May 13 19:07:58 servera dhcpd[5893]: exiting.
May 13 19:07:58 servera systemd[1]: dhcpd.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░ 
░░ An ExecStart= process belonging to unit dhcpd.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
May 13 19:07:58 servera systemd[1]: dhcpd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░ 
░░ The unit dhcpd.service has entered the 'failed' state with result 'exit-code'.
May 13 19:07:58 servera systemd[1]: Failed to start DHCPv4 Server Daemon.
░░ Subject: A start job for unit dhcpd.service has failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░ 
░░ A start job for unit dhcpd.service has finished with a failure.
░░ 
░░ The job identifier is 5511 and the job result is failed.
[root@servera ~]# dhcpd -t -cf /etc/dhcp/dhcpd.conf
Internet Systems Consortium DHCP Server 4.4.2b1
Copyright 2004-2019 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
/etc/dhcp/dhcpd.conf line 10: semicolon expected.
  option 
   ^
Configuration file errors encountered -- exiting

This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.

Please report issues with this software via: 
https://bugzilla.redhat.com/

exiting.
[root@servera ~]# vim /etc/dhcp/dhcpd.conf 
[root@servera ~]# dhcpd -t -cf /etc/dhcp/dhcpd.conf
Internet Systems Consortium DHCP Server 4.4.2b1
Copyright 2004-2019 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
ldap_gssapi_principal is not set,GSSAPI Authentication for LDAP will not be used
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Config file: /etc/dhcp/dhcpd.conf
Database file: /var/lib/dhcpd/dhcpd.leases
PID file: /var/run/dhcpd.pid
Source compiled to use binary-leases
[root@servera ~]# systemctl restart dhcpd

标签:13,07,19,报错,dhcpd,dhcp,servera,58
From: https://www.cnblogs.com/humlogs/p/18189818

相关文章

  • Ubuntu报错:E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
    sudoaptupdate错误:11https://mirrors.ustc.edu.cn/ubuntujammy/mainarm64Packages404NotFound[IP:2001:da8:d800:95::110443]忽略:20https://mirrors.ustc.edu.cn/ubuntujammy/restrictedarm64Packages......
  • MAC make编译报错 “clang: error: unsupported option '-fopenmp'”
    编译报错➜php_mt_seed-mainmakegcc-Wall-march=native-mtune=generic-O2-fomit-frame-pointer-funroll-loops-fopenmpphp_mt_seed.c-ophp_mt_seedclang:error:unsupportedoption'-fopenmp'clang:error:unsupportedoption'-fopenmp'......
  • Docker执行命令报错:Cannot connect to the Docker daemon at unix:///var/run/docker.
    1、问题说明Docker执行重新启动命令重启成功。命令如下:重新加载配置systemctldaemon-reload重启docker服务systemctlrestartdocker.service查看启动状态systemctlstatusdocker.service显示启动成功使用docker-v命令查看版本号输出正常但是使用dockerps......
  • 宝塔:续签SSL证书报错error_result: During secondary validation
    宝塔上的SSL证书有时候忘了到期前续签,导致续签时候报错:error_result:Duringsecondaryvalidation:或者 该帐户1小时内失败的订单次数超过5次,请等待1小时再重试! 点击SSL当前证书,续签证书处理,是无效的。因此要换种方式: 解决方法如下:1.点击SSL选项框内的“证书夹”选项,删......
  • dbeaver连接mysql报错Public Key Retrieval is not allowed
    这个错误通常发生在尝试通过JDBC连接MySQL数据库时,并且是由于MySQL的配置不允许公钥检索导致的。从MySQL5.0开始,连接时默认需要使用密钥进行密码加密传输。如果JDBC驱动程序尝试通过不允许公钥检索的方式进行连接,就会抛出这个错误。解决方法:更新JDBC连接字符串,添加允许公钥检......
  • 手动执行SQL触发器id自增报错处理方式
      一、查询出触发器创建的sqlSELECTdbms_metadata.get_ddl('TRIGGER','TRI_XXX_STORAGE','XSY')AStrigger_sql FROMdual; 二、删除触发器DROPTRIGGERXSY.TRI_XSY_STORAGE;三、创建触发器CREATEORREPLACETRIGGERTRI_XSY_STORAGEBE......
  • minio依赖报错
    引入minio-sdk后启动报错现象一1缺失kotlin.collections.ArraysKt.copyInto([B[BIII)[B解决方法提升kotlin-stdin依赖<dependency><groupId>org.jetbrains.kotlin</groupId><artifactId>kotlin-stdlib</artifactId><version>1.3.70</......
  • ROS2:报错:package 'turtle_tf2_py' not found
    在学习tf坐标变换的乌龟小实验中,运行乌龟仿真程序出现的报错问题分析:原因还是没有先source一下解决:首先source/opt/ros/galactic/setup.bash然后再运行乌龟ros2launchturtle_tf2_pyturtle_tf2_demo.launch.py  参考:github上的一个老哥的回答   顺带......
  • Pgsql报错修复
     1   这里更改安装目录bin下面例如E:\WorkingSoftware\PostgreSql\16\bin 更改权限,下面都改下  2如果安装时提示databse出错,就初始化下 E:\WorkingSoftware\PostgreSql\16\bin\pg_ctl.exe-DE:\WorkingSoftware\PostgreSql\16\datainitdb ......
  • npm install 报错 ---》npm ERR! request to https://registry.npmjs.org/react faile
    1、npminstall报错E:\wsg\AWC_TEST\stage>npminstallreactreact-domnpmERR!codeCERT_NOT_YET_VALIDnpmERR!errnoCERT_NOT_YET_VALIDnpmERR!requesttohttps://registry.npmjs.org/reactfailed,reason:certificateisnotyetvalidnpmERR!Acomplete......