Hi Linux Guru's
I made a logging on my restart script for jboss but I keep on getting these characters
Quote:
ESC[60G[ESC[0;32mESC[0;39m]
like the logging shows below:
Quote:
Apr 30 11:32:20 pogiako JBOSS IS RUNNING (JBOSS7_PID: 1234)
Stopping poging-jboss-as: ..............ESC[60G[ESC[0;32m OK ESC[0;39m]
The above result should only shows "[OK]" I remember I made some colorization on the logging but later on I reverted it back. I already looked at my script and found no more traces of colorization tags.please help
Hi Linux Guru's
We have a running jboss7 app from our servers, I am just wondering although our dev people has a strong stop-start jboss script, we still got an output of two PID's after the start of jboss7. So we just assumed the old PID becomes on stale state but we are still not sure. May I know is there anyone encounter this same situataion? Does the "what-we-so-called stale PID" still eat memory resources of the server?
[pogi@gorgeous_server log]$ ps -ef | grep standalone
pogi 10664 6724 0 22:27 pts/1 00:00:00 grep standalone
pogi 14114 1 0 Mar10 ? 00:00:00 /bin/sh /opt/pogi/pkg/jboss-pogi/bin/standalone.sh -c=standalone.xml -b=0.0.0.0
pogi 14207 14114 99 Mar10 ? 4-21:59:53 /opt/pogi/pkg/sunjdk6_25/bin/java -D[Standalone] -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms12G -Xmx12G -XX:MaxPermSize=256m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/pogi/log -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml -Djava.io.tmpdir=/opt/pogi/.cache -Xloggc:/opt/pogi/log/gc.log -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -Dorg.jboss.boot.log.file=/opt/pogi/pkg/jboss-pogi/standalone/log/boot.log -Dlogging.configuration=file:/opt/pogi/pkg/jboss-pogi/standalone/configuration/logging.properties -jar /opt/pogi/pogi/jboss-pogi/jboss-modules.jar -mp /opt/pogi/pkg/jboss-pogi/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/opt/pogi/pkg/jboss-pogi -c=standalone.xml -b=0.0.0.0
pogi 10664 6724 0 22:27 pts/1 00:00:00 grep standalone
pogi 14344 1 0 Mar8 ? 00:00:00 /bin/sh /opt/pogi/pkg/jboss-pogi/bin/standalone.sh -c=standalone.xml -b=0.0.0.0
pogi 23421 14114 99 Mar8 ? 4-21:59:53 /opt/pogi/pkg/sunjdk6_25/bin/java -D[Standalone] -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms12G -Xmx12G -XX:MaxPermSize=256m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/pogi/log -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml -Djava.io.tmpdir=/opt/pogi/.cache -Xloggc:/opt/pogi/log/gc.log -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -Dorg.jboss.boot.log.file=/opt/pogi/pkg/jboss-pogi/standalone/log/boot.log -Dlogging.configuration=file:/opt/pogi/pkg/jboss-pogi/standalone/configuration/logging.properties -jar /opt/pogi/pogi/jboss-pogi/jboss-modules.jar -mp /opt/pogi/pkg/jboss-pogi/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/opt/pogi/pkg/jboss-pogi -c=standalone.xml -b=0.0.0.0
Hi Linux Guru's
need some a little help regarding on the jboss command that will validate. The command should only echo either "jboss7" or "jboss4"
however in our jboss7 we got also jboss7modules running and it should not be there from the output
[pogi.ako@server2 ~]$ rpm -qa | grep jboss | grep -v config | awk -F'-' '{print $3}'
jboss7
jbossmodules
using with |tail -1 | head -1
[lemuel.luna@server2 ~]$ rpm -qa | grep jboss | grep -v config | awk -F'-' '{print $3}' |tail -1 | head -1
jbossmodules
but from other servers I see it has different approach
[pogi.ako@server1 bin]$ rpm -qa | grep jboss | grep -v config | awk -F'-' '{print $3}'
jbossmodules
jboss7
[pogi.ako@server1 bin]$ rpm -qa | grep jboss | grep -v config | awk -F'-' '{print $3}' |tail -1 | head -1
jboss7
I'm trying to achieve here on on not to include jbossmodules from the output
Over the past few months, I have been noticing a lot of people asking this same very question. As I was doing some research work the other day, I came across a Linux logging guide and wanted to make sure I shared it here, for others to use as a tool to learn more about Linux logging.
I have read through it and I think it's well written and pretty comprehensive, but I would like to hear others opinion too. Let me know.
http://www.loggly.com/ultimate-guide...logging-basics
Hi Linux Guru's
I would like to ask on what might be the best move to have our jboss and applications run automatically every time our centos will be turned on.
I'm not yet fully knowledgeable the on how to put the start scripts on chkconfig feature
I have a running jboss application server 5 on RHEL 6.After few days it is noticed that the memory usage is at maximum.When the services of jboss are restared all of the memory is left free?I am unable to diagnose the issue?
Memory assigned is 24GB heap size is 16 GB.
Since this morning i have a problem with logging in on my user account in Linux Mint 17.1 Mate. After entering the password I get a black screen. Logging in as guest (without password) works fine.
How can I get back to my user account.
logging into citrix cloud using firefox I get the msg verisign class 3 public primary certification authority-G5 security ssl error 61
Hi guys
I have installed Linux in a virtualbox on a windows 8 laptop. I found the screen size in the vrtualbox running ubuntu to be too small so I looked around for a solution.
I came across this
'Use Xdiagnose From the Dash, search for and launch Xdiagnose, then enable all the options under the Debug section. Click the Apply button, then close the window and restart the system. You’ll have to restart. Logging out, then in won’t do.'
After doing so my screen went from bad to worse and now I can only see a pixelated view of my screen.
Does anyone know how to work around this problem and get a bigger screen in virtualbox ?
Hello.
How can I write an Script that enter my password for "sudo" command automatically?
for example, I want to run a command that need root permission and when I write it in a bash script, it ask me "sudo" password for user but how can I automate it?
Can it possible for other program like logging via SSH too?
Thank you.
Hi Folks,
Installed Mint-mate 17.
It gives message:You are now disconnected" after logging in.
I restart, the network connection comes.
It is not "networking restart", but system restart.
Tried five more times. The behaviour is every time the same.
After booting the system, no network connection. But from there I restart the system, then network connection is on.
Very irritating to always boot it second time to get the network connection up.
The computer is a desktop Dell Optiplex 9010.
On the same computer, Windows 7 runs without any problem.
Any idea how to fix it?
Thanks