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
• 4,500 points
25 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
• 8,870 points

Related Questions In OpenStack

0 votes
1 answer

Could not able to start the instance, getting error in OpenStack.

Hi@akhtar, You can use the bellow given command ...READ MORE

answered Mar 24 in OpenStack by MD
• 8,870 points
26 views
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
• 8,870 points
26 views
0 votes
1 answer

Why I am getting Server Failure in OpenStack ?

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

answered Mar 17 in OpenStack by MD
• 8,870 points
21 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
• 8,870 points
26 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
• 8,870 points
19 views
0 votes
1 answer