LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2015, 04:36 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 153

Rep: Reputation: Disabled
can't start nginx


root@pengsir:~# dpkg -l nginx
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii nginx 1.6.2-5 all small, powerful, scalable web/pro
root@pengsir:~# service nginx start
Failed to start nginx.service: Unit nginx.service failed to load: No such file or directory.

I have installed it in my debian8.1,why can't start it?
 
Old 09-05-2015, 05:13 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
First of all you seem to have developed the nasty habit of selectively responding to replies in your own threads. I suggest you revisit your old threads and either post a follow up or post the solution and mark these threads "solved".


Quote:
Originally Posted by luofeiyu View Post
root@pengsir:~# service nginx start
Failed to start nginx.service: Unit nginx.service failed to load: No such file or directory.
...next to that I think you have posted partial information here which also leads me to believe (also from the questions you posted) that you should not be installing things but would benefit from first reading your Linux distributions basic user and admin documentation. Services may require configuration and pre-flight testing prior to launching them. Just ignoring the configuration part, clues on stdout / stderr or log file entries is no guarantee for success.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nginx/1.4.1 '/etc/nginx/sites-available/default' missing Jalalabee Linux - Newbie 0 06-05-2013 08:44 AM
nginx + php-fpm and nginx modules fantasygoat Linux - Server 0 06-09-2011 01:21 PM
LXer: Nginx+Varnish compared to Nginx LXer Syndicated Linux News 0 04-27-2011 03:30 PM
Nginx experts help me-problem when using Nginx php-fpm !!! HuMan-BiEnG Linux - Server 2 04-17-2011 03:30 PM
NGINX with PHP-FPM vis NGINX with Spawn-FCGI WhisperiN Linux - Server 1 03-15-2011 07:39 PM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration