The detail of error is below:
Enabled maintenance mode
Something went wrong while compiling generated code. See the error log for details. Command returned non-zero exit code:
/usr/bin/php7.0 -f /var/www/html/magento21/bin/magento setup:di:compile
My Magento version is 2.1.0
Anyone know regarding this problem then please guide me about various steps need to follow?