Site create fails at nginx reload


#1

I used EasyEngine to create a new website blog.studentlife.com.cy.

Prior the create command below I updated EasyEngine to 3.7.0

ee site create blog.studentlife.com.cy --wpfc

Everything was running smoothly until I got the following error.

Reload : nginx     [Failed]
service nginx reload failed. check issues with `nginx -t` command.
Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!!

I followed the suggestion of the console to run the nginx -t command and everything seems fine.

nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

This is the outpout of the tail /var/log/ee/ee.log command.

2016-06-28 05:55:54,085 (INFO) ee : [Failed] 2016-06-28 05:55:54,100 (DEBUG) ee : Removing /var/www/blog.studentlife.com.cy 2016-06-28 05:55:54,100 (DEBUG) ee : Removing /var/www/blog.studentlife.com.cy 2016-06-28 05:55:54,300 (DEBUG) ee : dropping databaseblog_studentlife_com_cy2016-06-28 05:55:54,304 (DEBUG) ee : Exceuting MySQL Statement : drop databaseblog_studentlife_com_cy2016-06-28 05:55:54,494 (DEBUG) ee : dropping userblog_sxJ1wbGy2mj2016-06-28 05:55:54,499 (DEBUG) ee : Exceuting MySQL Statement : drop userblog_sxJ1wbGy2mj@localhost2016-06-28 05:55:54,506 (DEBUG) ee : Exceuting MySQL Statement : flush privileges 2016-06-28 05:55:54,533 (INFO) ee : service nginx reload failed. check issues withnginx -tcommand. 2016-06-28 05:55:54,534 (ERROR) ee : Check logs for reasontail /var/log/ee/ee.log& Try Again!!!

Could you please help me resolve this issue?


#2

@Onisiforos can you share the output of sudo tail -n 50 /var/log/ee/ee.log ?

p.s: You can use pastebin or similar website to share long results.

Thank you.


#3

Hi,

Thank you for your reply and your tip.

Here is the link to pastebin.

http://pastebin.com/Q8nisF18


#4

@Onisiforos Can you please kill all nginx process on your current system, restart the process and then perform the same task. Le us know if the issue persists.

Sorry, for the inconvenience.


#5

Hi,

After following your instructions the issue has been fixed and I managed to create the site.

Thank you


#6

@Onisiforos glad I that I was able to help.

p.s: you can close he topic if the issue has been resolved.


#7

It may sound stupid but I cannot find the way to close the topic :confused:


#8

@Onisiforos

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#9