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, 2020 in OpenStack by akhtar
• 38,260 points
2,392 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, 2020 by MD
• 95,460 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, 2020 in OpenStack by MD
• 95,460 points
2,968 views
0 votes
1 answer
+1 vote
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, 2020 in OpenStack by akhtar
• 38,260 points
2,609 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, 2020 in OpenStack by MD
• 95,460 points
1,182 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, 2020 in OpenStack by MD
• 95,460 points
2,382 views
0 votes
2 answers
0 votes
1 answer
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, 2020 in OpenStack by MD
• 95,460 points
1,310 views
0 votes
1 answer

"Failed to schedule_prep_resize: No valid host was found." when trying to resize an instance

Hi@akhtar, To avoid this error you have to ...READ MORE

answered Mar 30, 2020 in OpenStack by MD
• 95,460 points
1,260 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP