I got a new laptop for my job and was thinking about installing Win8 CP as my main operating system, I love it, so I tried to do some tests in a VM to see if AppFabric cache can work in Win8 CP. The official response from MS is "AppFabric is not supported in Win8 and we would tell you how to run it when Win8 is released" and of course that is not a nice answer for me, so I tried... and failed...
After installing .Net 3.5SP1 and latest updates AppFabric cache was installed and configured without any problem in my Win8 machine using my local user and a XML provider in a shared folder, I gave permissions and everything to that folder...
The first problem is that the Cache Administrator Console answer back with this message every time I open it:
Use-CacheCluster : ErrorCode<ERRCAdmin040>:SubStatus<ES0001>:Failed to connect
to hosts in the cluster At line:1 char:46
+ Import-Module DistributedCacheAdministration;Use-CacheCluster
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Use-CacheCluster], DataCacheException
+ FullyQualifiedErrorId : Microsoft.ApplicationServer.Caching.DataCacheException,Microsoft.ApplicationServer.Caching.Commands.UseCacheClusterCommand
PS C:\Windows\system32>
Well, looks like something is not right... let's try to start the cache cluster
PS C:\Windows\system32> start-cachecluster
HostName : CachePort Service Name Service Status Version Info
-------------------- ------------ -------------- ------------
win8:22233 AppFabricCachingService UP 0 [0,0][0,0]
PS C:\Windows\system32>
The version info answer is not right at all, so problably create a new cache would fail
PS C:\Windows\system32> new-cache IPE
New-Cache : Object reference not set to an instance of an object.
At line:1 char:1
+ new-cache IPE
+ ~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-Cache], NullReferenceExce
ption
+ FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Applicat
ionServer.Caching.Commands.NewCacheCommand
PS C:\Windows\system32>
And pretty much that's all...
I tried everything I could find in the internet:
Starting the Remote
Registry Service Modifying the host file in windows/system32/drivers/etc/host to place an explicit entry to localhost and my machine name
Checking permissions
Installing updates
Opening firewall rules
(For the firewall rules I tried something like this)
netsh advfirewall firewall set rule group="Windows Server AppFabric: AppFabric Caching Service" new enable=Yes
netsh advfirewall firewall set rule name="Remote Service Management (RPC)" profile=domain new enable=Yes
netsh advfirewall firewall set rule name="Remote Service Management (RPC-EPMAP)" profile=domain new enable=Yes
netsh advfirewall firewall set rule name="Remote Service Management (NP-In)" profile=domain new enable=Yes
And still getting the same problem... I have no idea where to start or continue to fix the problem... I would really appreciate any help, and yes, would be really really hard for me to wait until Win8 official release.
Start the Remote Registry service, if not started. AppFabric uses this service even to connect to your local machine
link
Related
Can someone suggest a way out of this issue please?
Can't start IIS either through command prompt or through iis itself.
IISRESET in command prompt throws the below error:-
The service did not respond to the start or control request in a timely fashion. (2147943453, 8007041d)
I have IIS 6.2(Build 9200) and OS is Win 8.1 Enterprise
I have encountered this problem before for IIS6,7 and IIS10. I tried for a very long time but it was not solved by any method.
The definitive and permanent solution is IIS uninstall and reinstall. When IIS is removed, you also need to delete it in C:\Windows\System32\inetsrv folder.
I'm trying to follow the steps in the RabbitMQ docs here to get clustering with SSL working on Windows. I'm noticing though that the "rabbitmqctl status" command starts failing after the environment variables defined in those steps are set. I'm getting the following error when executing "rabbitmqctl status":
Error: unable to connect to node 'rabbit#server1': nodedown
I've already configured RabbitMQ to use TLS 1.2 and have verified that it's working. I've ensured that my Erlang 18 cookie is the same in the user directory C:\users\me and C:\Windows on the machine, but the error persists, and is stopping other servers from clustering with it. The docs say that the Windows SSL Cluster setup is "Coming soon"... Here are the steps I've taken so far on server1. I think that Erlang wants forward slashes in the paths - this matches the rabbit.config SSL settings.
Combined the contents of my server\cert.pem and server\key.pem into rabbit.pem via the command "type server\cert.pem server\key.pem > server\rabbit.pem"
Created environment variable ERL_SSL_PATH and set to: "C:/Program
Files/erl7.0/lib/ssl-7.0/ebin"
Created environment variable RABBITMQ_CTL_ERL_ARGS and set to: -pa "%ERL_SSL_PATH%" -proto_dist inet_tls -ssl_dist_opt server_certfile C:/OpenSSL-Win64/server/rabbit.pem -ssl_dist_opt server_secure_renegotiate true client_secure_renegotiate true
Created environment variable RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS and set to same value as RABBITMQ_CTL_ERL_ARGS
Copied the erlang cookie at C:\Windows.erlang.cookie to my local user profile directory.
Restarted rabbit using rabbitmq-service start
At this point, on server1, "rabbitmqctl status" no longer works. Attempts to try to join server2 to server1 result in a "node down" error.
Edit 1: I can't get the initial step in the docs working to ask Erlang to report its SSL directory on Windows in order to set ERL_SSL_PATH correctly. Erlang is installed at C:\Program Files\erl7.0 on my server.
Edit 2: Using werl.exe (at C:\Program Files\erl7.0\bin\werl.exe), I was able to issue a command "Foo=io:format(code:lib_dir(ssl, ebin))." and it reported the path as: c:/Program Files/erl7.0/lib/ssl-7.0/ebin. However, this doesn't seem to be the cause of the this issue since that's already what I was using.
Thanks,
Andy
For environment changes to take effect on Windows, the service must be
re-installed. It is not sufficient to restart the service. This can be
done using the installer or on the command line with administrator
permissions
(source)
This will do:
rabbitmq-service.bat stop
rabbitmq-service.bat remove
rabbitmq-service.bat install
rabbitmq-service.bat start
Also, if while the node you're working on is down, the other cluster nodes were running, their state might be assumed to have gone out of sync. In that case, the node might fail to start up and you might need to:
rabbitmqctl force_boot
Check the logs to confirm. (at %RABBIT_BASE%\log\rabbit#server.log)
Late answer but, hopefully this could help a searcher...
I am using apache Archiva v. 2.2.0 under Windows Server 2012 R2, Java version 1.8.0_60 inside VirtualBox. It used to work for quite a long time before Windows autoupdate.
After Windows autoupdate I am getting an error message when going to archiva url: HTTP ERROR: 503 . Problem accessing /. Reason: Service Unavailable, Powered by Jetty://.
The Apache Archiva service is running. No error logs are generated. Restarting or even reinstalling of the service has no impact.
After rolling back of Windows update I restore the normal operation of Archiva, but mysteriously, just once, i.e. stopping and restarting of Archiva will cause the same HTTP ERROR 503.
The log file do not indicate any problem or error cuase.
Thank you for any tips.
I faced a similar issue.
I restarted archiva using ./path/to/archiva/apache-archiva-2.2.0/bin/archiva console
for you, since you are using windows .\bin\archiva.bat console
In my case I've found out that the jetty configuration file jetty.xml in ARCHIVA_BASE\conf got corrupted.
Solution:
Stop archiva service
Replace jetty.xml with either a fresh one or from last known working
backup. A fresh copy of jetty.xml can be downloaded from archiva web
site as an apache-archiva-2.2.0-bin.zip. File location within the
zip file is apache-archiva-2.2.1\conf\jetty.xml
Start archiva service
For me it was complaining about ClassDefNotFound errors, this was because I didn't set my JAVA_HOME properly (on Mac OS). After fixing this, the program worked. Maybe that was your issue.
I used this build to install redis on my windows7:
https://github.com/rgl/redis (git)
http://ruilopes.com/redis-setup/binaries/redis-2.4.6-setup-64-bit.exe (binary)
Service has been installed sucessfully, but it doesn't start:
The message says: 'Redis Server service on local computer was started and then stopped'. logs folder is empty. redis-server.exe starts properly without service. How can I fix this? Propose any other working dist. plz if you know it.
Ran into a similar issue on Windows 10 when trying to start Redis v3.0.503 as a service.
I had to install the service with a service-name param and it magically started working.
C:\redis>redis-server --service-install redis.windows.conf --loglevel verbose --service-name redisService
[7484] 04 Feb 00:03:53.610 # Granting read/write access to 'NT AUTHORITY\Network Service' on: "C:\redis" "C:\redis" [7484] 04 Feb 00:03:53.612 # Redis successfully installed as a service.
Found the solution here:
Redis-windows GitHub Wiki - Issues might happen
Commonly the Redis server on windows fails to start if you don't specify a maxheap parameter, before installing the service try to edit the redis.windows.conf file and uncomment maxheap parameter to something suitable.
OK.
Here's what I am running:
Intellitrace Collector (powershell 2.0, from VS 2012)
Windows Server 2003, running IIS 6
The target application to be traced is a web service (asmx, ASP.NET 2.0.50727)
Here's what I've done & what happened:
cmdlet Start-IntelliTraceCollection at command pipeline position 1
Supply values for the following parameters:
OutputPath: logs
Start-IntelliTraceCollection : An error occurred during website instrumentation
: Internet Information Services could not be found on the machine.
At line:1 char:29
+ Start-IntelliTraceCollection <<<< MyAppPool .\collection_plan.ASP.NE
T.trace.xml
+ CategoryInfo : NotSpecified: (:) [Start-IntelliTraceCollection]
, IISLegacyVersionException
+ FullyQualifiedErrorId : Microsoft.VisualStudio.Enterprise.WebInstrument.
IISLegacyVersionException,Microsoft.VisualStudio.IntelliTrace.PowerShell.S
tartIntelliTraceCollectionCommand
I tried running powershell as administrator - it didn't help (same error message)
Am I missing something here ?
Is any of the components I mentioned not supported ? ie: version of IIS, version of Windows Server ? I am suspicious that the IIS version isn't supported (IISLegacyVersionException was raised)
Much appreciated for your time + attention.
Cheers.
This Microsoft page on collecting IntelliTrace data from IIS using the standalone collector using VS2012 mentions
ASP.NET Web apps hosted on Internet Information Services (IIS) version 7.0, 7.5, and 8.0
as a requirement, so you're right, IIS6 is not supported.