{"action":"created","issue":{"url":"https://api.github.com/repos/vincentbernat/lldpd/issues/309","repository_url":"https://api.github.com/repos/vincentbernat/lldpd","labels_url":"https://api.github.com/repos/vincentbernat/lldpd/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/vincentbernat/lldpd/issues/309/comments","events_url":"https://api.github.com/repos/vincentbernat/lldpd/issues/309/events","html_url":"https://github.com/vincentbernat/lldpd/issues/309","id":386651581,"node_id":"MDU6SXNzdWUzODY2NTE1ODE=","number":309,"title":"Failed to start LLDP","user":{"login":"HelloLady","id":42627836,"node_id":"MDQ6VXNlcjQyNjI3ODM2","avatar_url":"https://avatars3.githubusercontent.com/u/42627836?v=4","gravatar_id":"","url":"https://api.github.com/users/HelloLady","html_url":"https://github.com/HelloLady","followers_url":"https://api.github.com/users/HelloLady/followers","following_url":"https://api.github.com/users/HelloLady/following{/other_user}","gists_url":"https://api.github.com/users/HelloLady/gists{/gist_id}","starred_url":"https://api.github.com/users/HelloLady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelloLady/subscriptions","organizations_url":"https://api.github.com/users/HelloLady/orgs","repos_url":"https://api.github.com/users/HelloLady/repos","events_url":"https://api.github.com/users/HelloLady/events{/privacy}","received_events_url":"https://api.github.com/users/HelloLady/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-12-03T04:05:15Z","updated_at":"2018-12-03T09:21:04Z","closed_at":"2018-12-03T08:34:36Z","author_association":"NONE","body":"Hi,vincent:\r\nSorry to bothering you again.I meet a new issue **Failed to start LLDP** daemon.\r\n````\r\n# service lldpd status\r\n● lldpd.service - LLDP daemon\r\n   Loaded: loaded (/lib/systemd/system/lldpd.service; enabled; vendor preset: enabled)\r\n   Active: activating (start) since 一 2018-12-03 10:31:23 CST; 1min 7s ago\r\n     Docs: man:lldpd(8)\r\n  Process: 4157 ExecStartPre=/bin/mkdir -p /usr/local/var/run/lldpd (code=exited, status=0/SUCCESS)\r\n Main PID: 4159 (lldpd)\r\n   CGroup: /system.slice/lldpd.service\r\n           ├─4159 /usr/local/sbin/lldpd -ddd\r\n           └─4162 /usr/local/sbin/lldpd -ddd\r\n\r\n12月 03 10:31:23 cqli-VirtualBox systemd[1]: Starting LLDP daemon...\r\n12月 03 10:31:23 cqli-VirtualBox lldpd[4159]: 2018-12-03T10:31:23 [INFO/main] protocol LLDP enabled\r\n12月 03 10:31:23 cqli-VirtualBox lldpd[4159]: 2018-12-03T10:31:23 [INFO/main] protocol CDPv1 disabled\r\n12月 03 10:31:23 cqli-VirtualBox lldpd[4159]: 2018-12-03T10:31:23 [INFO/main] protocol CDPv2 disabled\r\n12月 03 10:31:23 cqli-VirtualBox lldpd[4159]: 2018-12-03T10:31:23 [INFO/main] protocol SONMP disabled\r\n12月 03 10:31:23 cqli-VirtualBox lldpd[4159]: 2018-12-03T10:31:23 [INFO/main] protocol EDP disabled\r\n12月 03 10:31:23 cqli-VirtualBox lldpd[4159]: 2018-12-03T10:31:23 [INFO/main] protocol FDP disabled\r\n12月 03 10:31:23 cqli-VirtualBox lldpd[4159]: 2018-12-03T10:31:23 [INFO/event] libevent 2.0.22-stable initialized with epoll method\r\n12月 03 10:31:23 cqli-VirtualBox lldpd[4159]: 2018-12-03T10:31:23 [INFO/lldpctl] lldpd should resume operations\r\n````\r\n````\r\n# /usr/local/sbin/lldpd -ddd\r\n2018-12-03T10:43:34 [INFO/main] unable to create control socket because it already exists\r\n2018-12-03T10:43:34 [INFO/main] check if another instance is running\r\n2018-12-03T10:43:34 [WARN/main] another instance is running, please stop it\r\n2018-12-03T10:43:34 [CRIT/main] giving up\r\n````\r\n````\r\n# service lldpd start\r\nJob for lldpd.service failed because a timeout was exceeded. See \"systemctl status lldpd.service\" and \"journalctl -xe\" for details.\r\n````\r\n````\r\n# journalctl -u lldpd\r\n-- Logs begin at 一 2018-12-03 10:10:08 CST, end at 一 2018-12-03 10:23:51 CST. --\r\n12月 03 10:10:16 cqli-VirtualBox systemd[1]: Starting LLDP daemon...\r\n12月 03 10:10:16 cqli-VirtualBox lldpd[930]: 2018-12-03T10:10:16 [INFO/main] protocol LLDP enabled\r\n12月 03 10:10:16 cqli-VirtualBox lldpd[930]: 2018-12-03T10:10:16 [INFO/main] protocol CDPv1 disabled\r\n12月 03 10:10:16 cqli-VirtualBox lldpd[930]: 2018-12-03T10:10:16 [INFO/main] protocol CDPv2 disabled\r\n12月 03 10:10:16 cqli-VirtualBox lldpd[930]: 2018-12-03T10:10:16 [INFO/main] protocol SONMP disabled\r\n12月 03 10:10:16 cqli-VirtualBox lldpd[930]: 2018-12-03T10:10:16 [INFO/main] protocol EDP disabled\r\n12月 03 10:10:16 cqli-VirtualBox lldpd[930]: 2018-12-03T10:10:16 [INFO/main] protocol FDP disabled\r\n12月 03 10:10:16 cqli-VirtualBox lldpd[930]: 2018-12-03T10:10:16 [INFO/event] libevent 2.0.22-stable initialized with epoll method\r\n12月 03 10:10:16 cqli-VirtualBox lldpd[930]: 2018-12-03T10:10:16 [INFO/lldpctl] lldpd should resume operations\r\n12月 03 10:11:46 cqli-VirtualBox systemd[1]: lldpd.service: Start operation timed out. Terminating.\r\n12月 03 10:11:46 cqli-VirtualBox systemd[1]: Failed to start LLDP daemon.\r\n12月 03 10:11:46 cqli-VirtualBox systemd[1]: lldpd.service: Unit entered failed state.\r\n12月 03 10:11:46 cqli-VirtualBox systemd[1]: lldpd.service: Failed with result 'timeout'.\r\n12月 03 10:11:47 cqli-VirtualBox systemd[1]: lldpd.service: Service hold-off time over, scheduling restart.\r\n12月 03 10:11:47 cqli-VirtualBox systemd[1]: Stopped LLDP daemon.\r\n... ...\r\n````\r\nAfter install lldpd,is the device starting to run lldpd.servic once power on automaticlly or need to execute service lldpd start.And how to uninstall lldpd.servie?"},"comment":{"url":"https://api.github.com/repos/vincentbernat/lldpd/issues/comments/443641618","html_url":"https://github.com/vincentbernat/lldpd/issues/309#issuecomment-443641618","issue_url":"https://api.github.com/repos/vincentbernat/lldpd/issues/309","id":443641618,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzY0MTYxOA==","user":{"login":"vincentbernat","id":631446,"node_id":"MDQ6VXNlcjYzMTQ0Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/631446?v=4","gravatar_id":"","url":"https://api.github.com/users/vincentbernat","html_url":"https://github.com/vincentbernat","followers_url":"https://api.github.com/users/vincentbernat/followers","following_url":"https://api.github.com/users/vincentbernat/following{/other_user}","gists_url":"https://api.github.com/users/vincentbernat/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentbernat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentbernat/subscriptions","organizations_url":"https://api.github.com/users/vincentbernat/orgs","repos_url":"https://api.github.com/users/vincentbernat/repos","events_url":"https://api.github.com/users/vincentbernat/events{/privacy}","received_events_url":"https://api.github.com/users/vincentbernat/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T09:21:04Z","updated_at":"2018-12-03T09:21:04Z","author_association":"OWNER","body":"If it doesn't start automatically on boot, you may need to use `systemctl enable lldpd`. To avoid it running on boot, use `systemctl disable lldpd`."}}
{"actor":{"display_login":"vincentbernat"}}