LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to check weblogic is installed or not? (https://www.linuxquestions.org/questions/linux-software-2/how-to-check-weblogic-is-installed-or-not-843182/)

LINUXQueAns 11-09-2010 04:52 AM

How to check weblogic is installed or not?
 
Hi All,

How to check weblogic is installed or not? and status weblogic services

DavidMcCann 11-09-2010 12:40 PM

The program probably uses its name in its files, so the command "whereis weblogic" will show it.

If the program came as a package, try
for .deb: dpkg -l | grep weblogic
for .rpm: rpm -q weblogic

You could also run your distro's program for adding and removing software, and see if it's listed, but I suspect it generally comes from Oracle or whoever it is.

For working out what it's up to, try reading the documentation.

By the way, it's a good idea to show your distro in your profile, so that we know what tools you have.

sidewinder01 05-02-2017 03:13 AM

Admins/moderators,

Please delete this thread completely. The second post in this topic has absolutely incorrect answer but link to this answer appears on 3rd place in Google. Weblogic is complicated application server which cannot be verified by commands above, however, when you have to check thousands of servers for audit purposes, you need to find a way to do this faster. And there's no answer here.

TB0ne 05-02-2017 08:05 AM

Quote:

Originally Posted by sidewinder01 (Post 5704969)
Admins/moderators,

Please delete this thread completely. The second post in this topic has absolutely incorrect answer but link to this answer appears on 3rd place in Google. Weblogic is complicated application server which cannot be verified by commands above, however, when you have to check thousands of servers for audit purposes, you need to find a way to do this faster. And there's no answer here.

...especially since this thread has been closed for SEVEN YEARS, before you posted in it.

Habitual 05-02-2017 08:29 AM

The necros are coming.

sidewinder01 05-02-2017 08:52 AM

Quote:

Originally Posted by TB0ne (Post 5705054)
...especially since this thread has been closed for SEVEN YEARS, before you posted in it.

This does not matter. I was searching for answer in Google and found this topic. In very top of search results. Regardless it wasn't answered for 7 years.

hydrurga 05-02-2017 08:56 AM

Quote:

Originally Posted by sidewinder01 (Post 5705085)
This does not matter. I was searching for answer in Google and found this topic. In very top of search results. Regardless it wasn't answered for 7 years.

So what's the answer then?

TB0ne 05-02-2017 09:57 AM

Quote:

Originally Posted by hydrurga (Post 5705092)
So what's the answer then?

Was wondering that too. Not much point in joining to re-open a seven year old thread to complain about the lack of answer, then not bother to give one. sidewinder01, if you don't like the answers, provide your own. Otherwise, not much point in complaining...go read another Google result.

sidewinder01 05-02-2017 11:22 AM

Yes, finally I found it.
sudo lsof | grep server/lib/weblogic.jar

This shows whether Weblogic is running on server and also you can guess Weblogic version from this result and all the directories where the running software is installed.

Thanks everyone.

hydrurga 05-02-2017 11:35 AM

Quote:

Originally Posted by sidewinder01 (Post 5705166)
Yes, finally I found it.
sudo lsof | grep server/lib/weblogic.jar

This shows whether Weblogic is running on server and also you can guess Weblogic version from this result and all the directories where the running software is installed.

Thanks everyone.

That's great. Thanks for posting this. Except that it doesn't answer the original question. ;)

The OP asked two questions:

(i) How to check whether weblogic is installed or not. - This doesn't mean whether it is running, just whether it is installed.

(ii) How to check the status of weblogic services. An answer to that would be found here: http://middlewareprimer.blogspot.co....er-status.html

But, all in all, given that post #2 answered the first question, and the link above answers the second question, along with the additional question that you've asked and answered yourself, we're getting somewhere...

sidewinder01 05-02-2017 11:54 AM

Quote:

Originally Posted by hydrurga (Post 5705170)
That's great. Thanks for posting this. Except that it doesn't answer the original question. ;)

The OP asked two questions:

(i) How to check whether weblogic is installed or not. - This doesn't mean whether it is running, just whether it is installed.

(ii) How to check the status of weblogic services. An answer to that would be found here: http://middlewareprimer.blogspot.co....er-status.html

But, all in all, given that post #2 answered the first question, and the link above answers the second question, along with the additional question that you've asked and answered yourself, we're getting somewhere...

Post #2 doesn't have an answer how to check whether Weblogic is installed (unless you consider "this is something from Oracle" as correct one), rpm won't tell you about it too.

And,if you are making internal audit of software used, then you are interested in running software first. My answer helps to know whether is it running and where can I find it installed.

hydrurga 05-02-2017 12:14 PM

Quote:

Originally Posted by sidewinder01 (Post 5705183)
Post #2 doesn't have an answer how to check whether Weblogic is installed (unless you consider "this is something from Oracle" as correct one), rpm won't tell you about it too.

Ok. I now see that Weblogic is installed through an executed .jar file, and that it doesn't seem to be packaged conventionally, for deb at least. So yes, acknowledged.

Out of interest, do you use Weblogic?

sidewinder01 05-02-2017 12:45 PM

Quote:

Out of interest, do you use Weblogic?
Yes, I do. And, luckily or unfortunately, I have a task to get report of all Weblogic installations across 2000+ servers in the company as there's no inventory here. This somehow helped me to appear on this forum:)

hydrurga 05-02-2017 12:55 PM

Quote:

Originally Posted by sidewinder01 (Post 5705208)
Yes, I do. And, luckily or unfortunately, I have a task to get report of all Weblogic installations across 2000+ servers in the company as there's no inventory here. This somehow helped me to appear on this forum:)

:D Welcome!


All times are GMT -5. The time now is 01:24 AM.