Here is the log in /var/log/messages Sep 5 19:01:55 rg1-ceph7 systemd: Started Ceph cluster manager daemon. Sep 5 19:01:55 rg1-ceph7 systemd: Starting Ceph cluster manager daemon... Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Bus STARTING Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Started monitor thread '_TimeoutMonitor'. Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Error in HTTP server: shutting down Sep 5 19:01:56 rg1-ceph7 ceph-mgr: Traceback (most recent call last): Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/servers.py", line 187, in _start_http_thread Sep 5 19:01:56 rg1-ceph7 ceph-mgr: self.httpserver.start() Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 1824, in start Sep 5 19:01:56 rg1-ceph7 ceph-mgr: raise socket.error(msg) Sep 5 19:01:56 rg1-ceph7 ceph-mgr: error: No socket could be created Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Bus STOPPING Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::', 7000)) already shut down Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Stopped thread '_TimeoutMonitor'. Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Bus STOPPED Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Bus EXITING Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Bus EXITED Sep 5 19:01:56 rg1-ceph7 ceph-mgr: Exception in thread HTTPServer Thread-3: Sep 5 19:01:56 rg1-ceph7 ceph-mgr: Traceback (most recent call last): Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner Sep 5 19:01:56 rg1-ceph7 ceph-mgr: self.run() Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib64/python2.7/threading.py", line 764, in run Sep 5 19:01:56 rg1-ceph7 ceph-mgr: self.__target(*self.__args, **self.__kwargs) Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/servers.py", line 201, in _start_http_thread Sep 5 19:01:56 rg1-ceph7 ceph-mgr: self.bus.exit() Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 276, in exit Sep 5 19:01:56 rg1-ceph7 ceph-mgr: os._exit(70) # EX_SOFTWARE Sep 5 19:01:56 rg1-ceph7 ceph-mgr: TypeError: os_exit_noop() takes no arguments (1 given) Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f01b3d15c10>> Sep 5 19:01:56 rg1-ceph7 ceph-mgr: Traceback (most recent call last): Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 197, in publish Sep 5 19:01:56 rg1-ceph7 ceph-mgr: output.append(listener(*args, **kwargs)) Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/_cpserver.py", line 151, in start Sep 5 19:01:56 rg1-ceph7 ceph-mgr: ServerAdapter.start(self) Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/servers.py", line 174, in start Sep 5 19:01:56 rg1-ceph7 ceph-mgr: self.wait() Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/servers.py", line 208, in wait Sep 5 19:01:56 rg1-ceph7 ceph-mgr: raise self.interrupt Sep 5 19:01:56 rg1-ceph7 ceph-mgr: error: No socket could be created Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Shutting down due to error in start listener: Sep 5 19:01:56 rg1-ceph7 ceph-mgr: Traceback (most recent call last): Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 235, in start Sep 5 19:01:56 rg1-ceph7 ceph-mgr: self.publish('start') Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 215, in publish Sep 5 19:01:56 rg1-ceph7 ceph-mgr: raise exc Sep 5 19:01:56 rg1-ceph7 ceph-mgr: ChannelFailures: error('No socket could be created',) Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Bus STOPPING Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::', 7000)) already shut down Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE No thread running for None. Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Bus STOPPED Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Bus EXITING Sep 5 19:01:56 rg1-ceph7 ceph-mgr: [05/Sep/2017:19:01:56] ENGINE Bus EXITED Sep 5 19:01:56 rg1-ceph7 ceph-mgr: 2017-09-05 19:01:56.858240 7f01a634e700 -1 mgr serve dashboard.serve: Sep 5 19:01:56 rg1-ceph7 ceph-mgr: 2017-09-05 19:01:56.858266 7f01a634e700 -1 mgr serve Traceback (most recent call last): Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib64/ceph/mgr/dashboard/module.py", line 989, in serve Sep 5 19:01:56 rg1-ceph7 ceph-mgr: cherrypy.engine.start() Sep 5 19:01:56 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 250, in start Sep 5 19:01:56 rg1-ceph7 ceph-mgr: raise e_info Sep 5 19:01:56 rg1-ceph7 ceph-mgr: ChannelFailures: error('No socket could be created',) What does it mean? Thank you:-) -----邮件原件----- 发件人: 许雪寒 发送时间: 2017年9月4日 18:15 收件人: 许雪寒; ceph-users@xxxxxxxxxxxxxx 主题: 答复: How to enable ceph-mgr dashboard Thanks for your quick reply:-) I checked the opened ports and 7000 is not opened, and all of my machines had selinux disabled. Can there be other causes? Thanks :-) -----邮件原件----- 发件人: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] 代表 许雪寒 发送时间: 2017年9月4日 17:38 收件人: ceph-users@xxxxxxxxxxxxxx 主题: How to enable ceph-mgr dashboard Hi, everyone. I’m trying to enable mgr dashboard on Luminous. However, when I modified the configuration and restart ceph-mgr, the following error came up: Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 2017-09-04 17:33:06.495563 7fc49b3fc700 -1 mgr handle_signal *** Got signal Terminated *** Sep 4 17:33:06 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:06] ENGINE Bus STOPPING Sep 4 17:33:06 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:06] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::', 7000)) already shut down Sep 4 17:33:06 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:06] ENGINE No thread running for None. Sep 4 17:33:06 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:06] ENGINE Bus STOPPED Sep 4 17:33:06 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:06] ENGINE Bus EXITING Sep 4 17:33:06 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:06] ENGINE Bus EXITED Sep 4 17:33:06 rg1-ceph7 ceph-mgr: *** Caught signal (Segmentation fault) ** Sep 4 17:33:06 rg1-ceph7 ceph-mgr: in thread 7fc4aa31f480 thread_name:ceph-mgr Sep 4 17:33:06 rg1-ceph7 ceph-mgr: ceph version 12.2.0-6-gbcf8970 (bcf89707d6c3c3086f001d08c754095b9e7a85f1) luminous (rc) Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 1: (()+0x3ccf11) [0x7fc4aa708f11] Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 2: (()+0xf100) [0x7fc4a809e100] Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 3: (free()+0x23c) [0x7fc4a9ee852c] Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 4: (Option::~Option()+0x133) [0x7fc4aa915103] Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 5: (std::vector<Option, std::allocator<Option> >::~vector()+0x27) [0x7fc4aa9151f7] Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 6: (()+0x38e69) [0x7fc4a70bde69] Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 7: (()+0x38eb5) [0x7fc4a70bdeb5] Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 8: (__libc_start_main()+0xfc) [0x7fc4a70a6b1c] Sep 4 17:33:06 rg1-ceph7 ceph-mgr: 9: (()+0x247775) [0x7fc4aa583775] Sep 4 17:33:06 rg1-ceph7 systemd: ceph-mgr@rg1-ceph7.service: main process exited, code=killed, status=11/SEGV Sep 4 17:33:06 rg1-ceph7 systemd: Unit ceph-mgr@rg1-ceph7.service entered failed state. Sep 4 17:33:06 rg1-ceph7 systemd: ceph-mgr@rg1-ceph7.service failed. Sep 4 17:33:06 rg1-ceph7 systemd: start request repeated too quickly for ceph-mgr@rg1-ceph7.service Sep 4 17:33:06 rg1-ceph7 systemd: Failed to start Ceph cluster manager daemon. Sep 4 17:33:06 rg1-ceph7 systemd: ceph-mgr@rg1-ceph7.service failed. Sep 4 17:33:27 rg1-ceph7 systemd: Started Ceph cluster manager daemon. Sep 4 17:33:27 rg1-ceph7 systemd: Starting Ceph cluster manager daemon... Sep 4 17:33:28 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:28] ENGINE Bus STARTING Sep 4 17:33:28 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:28] ENGINE Started monitor thread '_TimeoutMonitor'. Sep 4 17:33:28 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:28] ENGINE Error in HTTP server: shutting down Sep 4 17:33:28 rg1-ceph7 ceph-mgr: Traceback (most recent call last): Sep 4 17:33:28 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/servers.py", line 187, in _start_http_thread Sep 4 17:33:28 rg1-ceph7 ceph-mgr: self.httpserver.start() Sep 4 17:33:28 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/wsgiserver/wsgiserver2.py", line 1824, in start Sep 4 17:33:28 rg1-ceph7 ceph-mgr: raise socket.error(msg) Sep 4 17:33:28 rg1-ceph7 ceph-mgr: error: No socket could be created Sep 4 17:33:28 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:28] ENGINE Bus STOPPING Sep 4 17:33:28 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:28] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('::', 7000)) already shut down Sep 4 17:33:28 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:28] ENGINE Stopped thread '_TimeoutMonitor'. Sep 4 17:33:28 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:28] ENGINE Bus STOPPED Sep 4 17:33:28 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:28] ENGINE Bus EXITING Sep 4 17:33:28 rg1-ceph7 ceph-mgr: [04/Sep/2017:17:33:28] ENGINE Bus EXITED Sep 4 17:33:28 rg1-ceph7 ceph-mgr: Exception in thread HTTPServer Thread-3: Sep 4 17:33:28 rg1-ceph7 ceph-mgr: Traceback (most recent call last): Sep 4 17:33:28 rg1-ceph7 ceph-mgr: File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner Sep 4 17:33:28 rg1-ceph7 ceph-mgr: self.run() Sep 4 17:33:28 rg1-ceph7 ceph-mgr: File "/usr/lib64/python2.7/threading.py", line 764, in run Sep 4 17:33:28 rg1-ceph7 ceph-mgr: self.__target(*self.__args, **self.__kwargs) Sep 4 17:33:28 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/servers.py", line 201, in _start_http_thread Sep 4 17:33:28 rg1-ceph7 ceph-mgr: self.bus.exit() Sep 4 17:33:28 rg1-ceph7 ceph-mgr: File "/usr/lib/python2.7/site-packages/cherrypy/process/wspbus.py", line 276, in exit Sep 4 17:33:28 rg1-ceph7 ceph-mgr: os._exit(70) # EX_SOFTWARE Sep 4 17:33:28 rg1-ceph7 ceph-mgr: TypeError: os_exit_noop() takes no arguments (1 given) How should I deal with this? Thanks☺ _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com