Error: neutron-server failed to start and no log was written – neutron dead but pid file exists.

0 votes

Hi everyone,

I am trying to start neutron-server, but It shows the below error.

$ service neutron-server start
$ service neutron-server status
neutron dead but pid file exists

How can I solve this error?

Thank You

Mar 24 in OpenStack by akhtar
• 15,260 points
64 views

1 answer to this question.

0 votes

Hi@akhtar,

Generally, after installing keystone, glance, nova services, you have to create a corresponding database in MySQL (usually the databases are created manually). But neutron service doesn’t require that, as the service will populate the database automatically. However, it didn’t behave that way and we had to manually run ‘neutron-db-manage‘ before starting ‘neutron-server’.

Execute the below commands to configure the network plugins

$openstack-config --set /etc/neutron/neutron.conf DEFAULT core_plugin neutron.plugins.ml2.plugin.Ml2Plugin
$openstack-config --set /etc/neutron/neutron.conf DEFAULT service_plugins neutron.services.l3_router
.l3_router_plugin.L3RouterPlugin

Now populate the neutron database.

$su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head" neutron

Now start your neutron-server.

Thank You

answered Mar 24 by MD
• 34,440 points

Related Questions In OpenStack

0 votes
1 answer

openstack Connection to neutron failed.

Hi@akhtar, For the above issue, there may be multiple cause ...READ MORE

answered Mar 24 in OpenStack by MD
• 34,440 points
96 views
0 votes
1 answer

Why do we need to disable firewalld and NetworkManager in OpenStack?

Hi@akhtar, By default in Linux there are security ...READ MORE

answered Mar 13 in OpenStack by akhtar
• 15,260 points
90 views
0 votes
1 answer

error: server error. Is Neutron not working properly?

Hi@akhtar, We can't say Neutron is the one ...READ MORE

answered Mar 17 in OpenStack by MD
• 34,440 points
50 views
0 votes
1 answer

How can I do SSH inside my instance in OpenStack?

Hi@akhtar, Yes, there is nothing wrong with your ...READ MORE

answered Mar 17 in OpenStack by MD
• 34,440 points
72 views
0 votes
1 answer

openstack-nova-metadata-api dead but pid file exists.

Hi@akhtar, Surprisingly, the service ‘openstack-nova-metadata-api‘ was already running. ...READ MORE

answered Mar 27 in OpenStack by MD
• 34,440 points
62 views
0 votes
1 answer