On Mon, Sep 4, 2017 at 10:38 AM, 许雪寒 <xuxuehan@xxxxxx> wrote: > 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☺ Hmm, so the "No socket could be created" is the likely cause of this. It could be that something else is already listening on the dashboard's default port (7000), or that there are other restrictions in place that are preventing it from opening a port (restrictive selinux configuration perhaps?) John > _______________________________________________ > 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