WFLYSRV0220: Server shutdown has been requested in jboss , Not able to start? - jboss7.x

Jboss Not able to start ! Can someone help me ?

It seems that you have deleted data directory. The error clearly says :
To correct the problem, either restart with the --admin-only switch set and use the CLI to install the missing content or remove it from the configuration, or remove the deployment from the xml configuration file and restart.

Related

How to resolve opernerp_background_worker and openerp_gevent could not be started in Odoo 9?

I am using Bitnami Odoo 9 stack and it is under root control in hosting server. I edited openerp-server.conf file through gedit, after that 'opernerp_background_worker and openerp_gevent could not be started' errors are occuring while re-starting Odoo stack services.
Anyone having any idea on how to deal with this, would be really helpful.
Solution:
Edited the configuration files through command line with sudo nano.No problems of permission conflicts occured from this.
You mentioned:
I edited openerp-server.conf file through gedit
What did you change on that configuration file? There could be some miss-configuration.
I recommend you to take a look the the Odoo Log file and the Apache Log files in order to identify the issue. Take a look to the documentation below:
https://docs.bitnami.com/?page=apps&name=odoo&section=odoo-log
https://docs.bitnami.com/?page=apps&name=odoo&section=how-to-debug-apache-errors

epmd error for host myhost: address (cannot connect to host/port) on windows 10

I am trying to install rabbitmq. The installation of both erlang i.e OTP 18.1 file was done successfulyl and also rabbitmq installation completed successfully. But when I try to connect rabbitmq, I get the following error:
C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.5.6\sbin>rabbitmq-plugins.bat enable rabbitmq_management
Plugin configuration unchanged.
Applying plugin configuration to rabbit#INLN50899724A... failed.
* Could not contact node rabbit#INLN50899724A.
Changes will take effect at broker restart.
* Options: --online - fail if broker cannot be contacted.
--offline - do not try to contact broker.
C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.5.6\sbin>rabbitmq-server restart
ERROR: epmd error for host INLN50899724A: address (cannot connect to host/port)
Click below to see the image containing error
Error Empd Rabbitmq
I may be replying really late, but still I'm facing this issue. So it may help somebody event while installing rabbitmq version 3.6.5. To change the node name, open "rabbitmq-env.bat" under "installation dir\sbin" and change RABBITMQ_NODENAME to "rabbit#localhost" (line number 90 in rabbitmq 3.6.5). But make sure you remove the windows service, do change the nodename, install service and start it. This worked for me.
No other options worked for me which were marked as right answer in stackoverflow!
Remove the RabbitMQ service. Uninstall RabbitMQ. Kill the epmd.exe process. Delete your c:\users\\AppData\Roaming\RabbitMQ Directory.
Go to Control Panels -> System -> Advanced -> Environment Variables
Add a variable named RABBITMQ_NODENAME and set it to rabbit#localhost
Reinstall RabbitMQ.
Navigate to the RabbitMQ sbin directory (or run the command from the start menu) and run rabbitmqctl status.
You should no longer see the (cannot connect to host/port) error.
And yes, this will fix your Cisco AnyConnect VPN related installation issues.
open C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.15\sbin\rabbitmq-server.bat
Add the below command as the first line in
set RABBITMQ_NODENAME=rabbit#localhost
refer attached image
For Windows Machine:
Go in C:\Users\<YourUserName>\AppData\Roaming\RabbitMQ
Create a file rabbitmq-env.conf
Add the following:
CONFIG_FILE=C:\Users\<YourUserName>\AppData\Roaming\RabbitMQ\rabbitmq
NODE_IP_ADDRESS=127.0.0.1
NODENAME=rabbit#localhost
The above is my env-config, for this particular issue setting
the nodename will be sufficient.
Turn off you firewall & start the rabbitmq, it will work. After running it one time, even if you turn on the firewall, it will work.
This works for me in Windows 10 machine.
in your shell
$ export RABBITMQ_NODENAME=rabbit#localhost
$ /sbin/rabbitmq-server -detached
change rabbit#INLN50899724A
to rabbit#localhost and try again.
Or, edits your hosts file so that INLN50899724A points to 127.0.0.1
For using rabbit mq on windows 10 for similar error I did below
set RABBITMQ_NODENAME=rabbit#localhost
in the path where rabbit MQ is installed i.e for me it was in C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.5\sbin>
and then started
.\rabbitmq-server start
Also, I had changed the host to point to my computer name in c:\Windows\System32\Drivers\etc
127.0.0.1 yourhostnamehere

XDEBUG Not working on netbeans

I know this is repeated question. But I am not able to fix my problem even after going through all the posts. I am trying to debug the php on net beans. But it does not stop on first line or not even on break point. Below is the configuration I am using.
[xdebug]
zend_extension="g:/php/ext/php_xdebug-2.0.4-5.2.8-nts.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port="9002"
xdebug.remote_mode=req
xdebug.idekey="netbeans-xdebug"
I also set the 9002 port in netbeans. It keeps on waiting to connect to xdebug and when I click on finish debugger session, it gives me below error.
I tried all possible solutions. But could not resolve the issue.
Please help me to fix this. I am trying for last 3 days. :( :(
If you're using Zend Server, you need to make sure you load xDebug before zend extension manager.
extension_dir="C:\Program Files (x86)\Zend\ZendServer\lib\phpext"
zend_extension="C:\Program Files (x86)\Zend\ZendServer\lib\phpext\php_xdebug.dll"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
zend_extension="C:\Program Files (x86)\Zend\ZendServer\lib\ZendExtensionManager.dll"
Please check this. In your php.ini make sure all this options are enabled. Otherwise add it in the end of your php.ini file.
[xdebug]
zend_extension="/usr/lib/php5/20121212/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.default_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
Check the path(/usr/lib/php5/20121212/) for xdebug.so in your file system accordingly change zend_extension value. Then restart your apache.
1st line zend_extension value is here for ubuntu users. I think that variable no need to change. Please uncheck the stop at First line(tools->options->php->Debugging).

How to fix java IOException: Can't find resource 'solrconfig.xml' in classpath?

I was trying to install Apache Solr 4.0.0 with apache Tomcat, but it is giving an error like this:
SolrCore Initialization Failures
collection1: java.io.IOException:java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or 'solr\collection1\conf/', cwd=C:\apps\tomcat-solr\apache-tomcat-7.0.35\bin
There are no SolrCores running.
Using the Solr Admin UI currently requires at least one SolrCore.
After this I have installed apache solr 3.6.2 and it working perfectly well. I still cannot understand why i am not able to use solr 4.0.0 with the same server configuration.
I hope you will be able to tell me the mistake i have committed.
The directory structure changed in Solr 4.0. Have a look at the one in the example/solr directory. You will see that Solr 4 now has collection1 directory inside that and conf directory is now one level lower inside that. That's basically what the error message said.
If you don't like that, I think you can change it by putting solr.xml with the single core definition in it and directory paths setup the way you like it.

ERROR installing apache archiva on my sytem

Can anyone help regarding this... i'm stuck :(
Goto the folder apache-archiva-1.3.3 and the following:
.\bin\archiva.bat install
As khmarbaise says above, you probably need to log in with administrative rights.
Another alternative is to run:
archiva console
This will start it within that console - however you'll then need to keep it open and restart manually after a reboot, where a service can run in the background and start automatically.