Error 503: Service Unavailable by magento2 - magento2

I've faced a problem after unsuccessful install of a module from magento2 connect. My platform is windows8-apache2.2-php5.6-mysql5.6, Open the home page appears as follows:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Please help me!thanks.

It's solved.
Delete the file called .maintenance.flag located in the var folder. Then appear
Exception printing is disabled by default for security reasons
and check the error log, the error log prompt
Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory
and execute this command in the GIT root directory.

Related

Web Deploy not working. Timeout on client. Schannel 1203 on server

I'm trying to deploy an application via web deploy to a windows 2012 r2 server.
First tried installing iis, web deploy using the msi. After getting an unreachable error I saw somewhere that I needed wmsvc to be installed and installed it via powershell command Install-WindowsFeature Web-Mgmt-Service.
I stopped getting the unreachable error and started getting this error ->
Error: Could not complete the request to remote agent URL 'http://xx.x.xx.xx:8172/MSDEPLOYAGENTSERVICE'.
Error: The operation has timed out
On the server's event viewer under system I get the following error ->
A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 10. The Windows SChannel error state is 1203.
Any idea of what could be going on? Did I miss something on the installation?
After this I also tried installing everything but without iis and I get the same error.
So, this is really not a PoSH issue.
Maybe you should consider movin gthis question to another forum.
Anyway, you have either real server config issues (this can sometimes mean wipe and rebuild - very ugly option - but if it's a virtual machine and you have a snapshot, just roll back), or an app causing this.
Typically for Schannel type of error, it has to do with application or service in machine not able to complete any SSL connection sort of connection.
The error state parameter of 1203 means client error connecting to server, ie invalid ClientHello from the client
See if you can collect more data by...
https://support.microsoft.com/en-us/help/260729/how-to-enable-schannel-event-logging-in-iis
I realized this is an old question, but in case somebody ran into the same issue, here are my solution.
I had to follow this guidelines : https://learn.microsoft.com/en-us/aspnet/web-forms/overview/deployment/configuring-server-environments-for-web-deployment/configuring-a-web-server-for-web-deploy-publishing-web-deploy-handler
Copy the resulting publishsetting file. In the Publish/Profile page import it.
In the Publish/Connection page, change the server to the server address with the 8172 port. Add the password. Change the Destination URL to the site to go to after the publish is completed.
Then after Validate connection was completed, go ahead and publish it!

ejtserver won't start, but no errors, after power outage

I have an install4j license that is served by ejtserver. After a power outage ejtserver doesn't start any more. It doesn't issue any errors, either.
My workaround is to run ejtserver_console. That starts up and opens the port to listen for connections.
I appear to be running ejtserver 1.12. What can I do to get my ejtserver running as expected?
Thanks,
Michael
On Windows, please check the service manager if the "ej-technologies license server" service is started and if not, please start it while ejtserver_console is closed. Executing ejtserver directly has no effect. The log file is located in log/server.log, an error log would be in log/error.log only if an error has occurred. Please contact support#ej-technologies.com to share a log file or error log.

AEM login screen is not apprearing in a linux machine AEM6.3

I have set up AEM 6.3 on remote Linux machine. But when I try to access the AEM from browser, it says "Connection has timed out".
I am not getting any error in the error.log file. Also, in stdout.log file, it says "Startup completed".
Also, I checked that port(4502) is not blocked on the server.
When I put command "curl http://localhost:4502/" on the server, I am not getting any error, which makes me assume that the connection is established.
Do I need to do any other configuration or something in order to access it from the browser? I am using http://ip:4502/ in the browser..
Almost certainly a firewall issue, check and check again :)
Look in the AEM Access log (same folder as the other logs you looked in) can you see any requests coming in from your browser? There is no other config required on AEM to access other than starting it up, assuming there is nothing network/firewall related blocking then you should be able to access it.

nagios Error: Could not read object configuration data

I have a brand new install of nagios3 on ubuntu 12.04. After I log in to the web interface and click any link I get the error:
Error: Could not read object configuration data!
Here are some things you should check in order to resolve this error:
Verify configuration options using the -v command-line option to check for errors.
Check the Nagios log file for messages relating to startup or status data errors.
I ran it with the -v option and it reported no errors:
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
The nagios log and apache error log and debug log all have nothing regarding this. Does anyone know how to turn on logging that will give me some kind of useful error? Or if anyone knows how to fix this specific problem without additional logging, I guess that's okay too.
Thanks!
Possibly an issue with permissions.
/var/cache/nagios3 probably has wrong user/group or permissions set.

Access to a file location is denied

Hi, I've installed TFS2010 trial version in my remote machine. While configuring the Application Tier, I am getting an error stated that TFSJobAgent did not start. While I was looking into the Error logs, I found this message.
An error occurred loading a configuration file: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config) ---> System.UnauthorizedAccessException: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied.
It looks like access rights. So I changed the the security rights to allow all rights. And I set the access to that location is available to user Everyone, but still having the problem. But same software I installed in my laptop and I could able to configure and using it. SO I am waiting for the valuable responses from tech guys to resolve my problem.
Thanks,
Siva
Please check the answer on MSDN here: http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/b31432bc-5025-45a7-91aa-f96644ce4458. These people had the same problem because in the same session they changed passwords. A reboot should fix it, according to them.