Facing problems with rabbbitmq server - rabbitmq

My rabbitmq server is working fine but when I am trying to enable management plugin from command prompt by using
rabbitmq-plugins enable rabbitmq_management
then I am getting a error.
Error: {cannot_write_enabled_plugins_file}
"C:\Users\vikas.mandeliya\AppData\Roaming\RabbitMQ\enabled_plugins"
So can anyone tell me what's going wrong ????
Thanks

I'll reply in case someone else stumbles upon it. You need to call
set RABBITMQ_BASE=C:\RabbitMQ\data
before calling the enable_plugin, point it to your config file dir. RabbitMQ on windows likes to lose its env vars.
Or set those in Computer settings and restart your cmd terminal

Related

Not able to login via SSH to GCP Compute Engine VM instance

My GCP VM instance was setup sometime back and all the services were working fine. However, suddenly from today I am not able to login via SSH and even an instance restart did not fix the issue. When checked the serial log, it seems to have stopped in this line,
[ 8.686861] intel_powerclamp: No package C-state
availableintel_powerclamp: No package C-state available[ 8.705723]
attempt to access beyond end of device [ 8.706721] sda1: rw=0,
want=41927608, limit=41927602 [[32m OK [0m] Started Security
Auditing Service.
Starting Update UTMP about System Boot/Shutdown...
32m OK [0m] Started Update UTMP about System Boot/Shutdown.
Starting Update UTMP about System Runlevel Changes...
32m OK [0m] Started Update UTMP about System Runlevel
ChanWelcome to emergency mode! AfterGive root password for maintenance
(or type Control-D to continue):
It won't proceed further to start SSH and other services, hence I am not able to login to the instance. Any help would be greatly appreciated.
Thanks in advance.
The error
No package C-state available
points to problems to mount the filesystem.
Did you try to follow the steps written in this other post ?
When you see Ctrl+D enter root password. Then enter mount -a to see in what line is the error.
Enter vi /etc/fstab and correct whatever is missing, save and reboot.
What you can do is logon to the serial console so you can interact with it. It will probably ask you for a root password and if you have not set that up, you can set that up through startup scripts.

MobileFirst Platform : Can't launch mfp server

I actually try MobileFirst Platform Foundation for developer, I want to use it with the CLI but after installation when I want to start the server with: -mfp start
I have this message :
Initializing MobileFirst Console.
CWWKE0054E: Unable to open file C:\Users\bdupont.ibm\mobilefirst\7.1.0.00.20151012-1525\server\wlp\usr\servers\worklight\logs\C:\Users\MVENTU~1\AppData\Local\Temp\ihp_custom_batches.log.
The server is listening on port 10080.
Server Directory: C:/Users/bdupont/.ibm/mobilefirst/7.1.0.00.20151012-1525/server/
URL: http://localhost:10080/
If i try to see server status with mfp status it said that the worklight server is not running.
I tried to see log with mfp -d start but it doesn't seem to have issue.
If anyone have an idea?
Thank you.
Solution : websphere - CWWKE0054E error unable to open file
Look at Gas post, it was a problem of environment variable.
Try deleting all the contents in mobilefirst/
In command prompt run
lsof -i :10800
kill -9 <port_number>
Then do mfp start again to restart the server

Openshift connection error

I don't know if I'm on the right place but if not sorry in advance!
I have an app in openshift with tomcat running and since a couple days ago my app gives me "Not found" in the browser. I did restart the app in the webconsole and nothing.
So I thought that mybe the problem is in the tomcat so I tryed to check the log but I couldn't connect over ssh to the app. Then I runned again the setup to generate a new keypair but when the command rhc setup runs gives me:
Your private SSH key file should be set as readable only to yourself. Please
run 'chmod 600 C:\Users\Artur\.ssh\id_rsa'
An SSH connection could not be established to
standard-projectxserver.rhcloud.com. Your SSH configuration may not be correct,
or the application may not be responding. Authentication failed for user
XXXXX#standard-projectxserver.rhcloud.com
(Net::SSH::AuthenticationFailed)
Checking for a domain ... projectxserver
Checking for applications ... found 1
app http://app-projectxserver.rhcloud.com/
I search over the net I already set the keys manualy and in the ssh console gives me error and I cannot connect:
"Permission denied (publickey, gssapi-keyex,gssapi-with-mic)"
What I'm doing wrong? Or even better, what I can do to connect?
(I cannot recreate this app because the war I use I don't have anymore, so I need this working to save everything again!)
Thanks
Could you change permission on private key file via change mode command(chmod 600) as it is showing in error.
Your private SSH key file should be set as readable only to yourself.
Please run 'chmod 600 C:\Users\Artur.ssh\id_rsa'
otherwise you delete the existing public key from settings panel on openshift web console and create your keys with rhc setup command.
The problem was afterall in the openshift DNS!! they fixed that for me
Thanks for the effort

Vagrant starts but cannot connect until I do a 'force provision'

I've got a Windows 7 machine setup with vagrant/virtualBox - each morning when I try to access my development site it always a 'Unable to connect' error message in my Firefox browser.
Even though I have booted the machine using the 'vagrant up' command for some reason it only seems to be accessible via the browser once I have done the 'vagrant provision' command. This is obviously annoying as it starts doing stuff from scratch.. eg installing my mysql database again.
Can anyone provide any light into this, and why it seems to fail to connect all the time - as this provision command is only a temporary fix as i'll need to amend the DB everytime which is only feasible in the short term.
Might just be my own setup - but I noticed nginx was restarting so have to restart this each time

ZendServer 6 enable to open administration Console

I work on MacOS X.8 and since a couple of days each time I try to open administration console, this message display
Unable to connect to
http://localhost:10081
I can access the websites at 10088 just fine.. and all local test sites are working.
Do you know why?
Thanks for helping
There are few possible reasons to have that error:
You turned on your firewall on your mac? - Just disable and try again if this is the case...
Zend admin console's web server process is down/ not starting up. - In this case just open your terminal and type cd /usr/local/zend/bin/ and sudo ./zendctl.sh restart and watch for any errors if you get any.
Good luck.