[ovs-discuss] OVS does not start without openvswitch log directory

Andy Zhou azhou at nicira.com
Tue Sep 22 20:47:18 UTC 2015


What solutions do you have in mind?

In this case, it seems there is a script involved in starting ovs.  If
true, I wonder if it possible to create
the directory if necessary at the beginning of the script?

On Tue, Sep 22, 2015 at 2:39 AM, Balazs Nemeth
<balazs.nemeth at ericsson.com> wrote:
> Dear All,
>
>
>
> I’m using OVS version 2.3.0. I wanted to delete ovs log files and
> accidentally I deleted the whole folder /var/log/openvswitch/. I noticed
> that openvswitch-switch service was unable to start because of this. The
> error message was (I did not delete /var/run/openvswitch/):
>
> start: Job failed to start
>
> 2015-09-22T09:27:41Z|00001|daemon_unix|WARN|/var/run/openvswitch/ovs-vswitchd.pid:
> open: No such file or directory
>
> ovs-appctl: cannot read pidfile "/var/run/openvswitch/ovs-vswitchd.pid" (No
> such file or directory)
>
>
>
> If the log directory exists but empty, the openvswitch-switch service will
> start. The problem comes up when the directory doesn’t exist. Please
> investigate this bug.
>
> Best regards,
>
> Balazs Nemeth
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>



More information about the discuss mailing list