Welcome! Log In Create A New Profile

Advanced

Re: nginx fails to start - nginx.service not found

Konstantin Pavlov
March 20, 2015 05:18AM
Hello,

On 20/03/2015 01:08, tunist wrote:
> i just built the latest mainline nginx from source on fedora 21 (64bit) and
> when i run: service nginx start
>
> i see:
>
> Redirecting to /bin/systemctl start nginx.service
> Failed to start nginx.service: Unit nginx.service failed to load: No such
> file or directory.
>
> i've searched around online and so far found no-one else reporting the same
> issue.
> i think i have fixed this before on another installation in the past.. but
> presently i'm not sure what the resolutioin is - can anyone help?

Nginx source code does not contain a service file for systemd. You're
free to re-use the one shipped in the official packages available on
http://nginx.org/en/linux_packages.html#mainline.

Also, it might be worth rebuilding an official source rpm package - the
fedora systemd support is in there, it's just we don't build those
packages specifically for fedora linux.

--
Konstantin Pavlov

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx fails to start - nginx.service not found

tunist March 19, 2015 06:08PM

Re: nginx fails to start - nginx.service not found

Konstantin Pavlov March 20, 2015 05:18AM

Re: nginx fails to start - nginx.service not found

tunist March 22, 2015 06:03PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready