What are some helpful Linux commands to use, monitor, and troubleshoot with, when running Reporter on Linux?
1: To start and stop Reporter:
Navigate to the /etc/init.d folder and type
2: To start Reporter from within a terminal window, navigate to the /op/bc/reporter directory and type
NOTE: If you want reporter to remain running after you terminate your SSH session, insert the nohup command in front like this:
3: To find out if Reporter is running on the server:
Navigate to the /etc/init.d folder and type
4: To find out if Reporter is installed on the server.
Navigate to the /opt/bc/reporter folder and look for the binary of reporter.
From any folder type in "RPM -qa | grep reporter"
5: To display a journal file on the terminal screen.
Navigate to /opt/bc/reporter/journal/ and type. In some versions, this journal file is found in the installed root folder.
6: To navigate around the file system:
For a directory listing type "ls -l "
7: To find out what version of Linux is running:
8: To find out if Reporter has somehow been running in the background or the foreground:
The result of this command may show bcreporter running in the background but stopped:
 + Stopped (user) /opt/bc/reporter/bcreporter
Note: If you start Reporter in a terminal window (you used SSH to connect to the Linux server, and started it that way) and your terminate the connection, Reporter will stop as indicated in item #2 above.
9: To place Reporter in the foreground ( to fix the issue mentioned in item #8) type.
This will immediately start reporter and display the logging to the same screen you are on.
NOTE: You need to use the number of the process that the command "jobs" showed was stopped- see item #8 above.
10: To place reporter in the background (to fix the issue mentioned in item #8) type.
This will restart Reporter in background.
NOTE: If you start Reporter in a terminal window ( You used SSH to connect to the linux server, and started it that way) and you terminate the connection, Reporter will stop as per the above.
11: To find out how long this LINUX server has been up:
12: To collect the amount of memory available to the system:
13: To find out how much disk space is available to reporter:
14: To find out what binary dependencies there are for a LINUX program you use this command.
You should see an output such as this:
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ba56fc38000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002ba56fe52000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002ba570056000)
libm.so.6 => /lib64/libm.so.6 (0x00002ba570357000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ba5705da000)
libc.so.6 => /lib64/libc.so.6 (0x00002ba5707e8000)
14: To find out if any other reporter service is running on your linux server do this.
15: If you don't have access to the User interface of the LINUX server, and need to download the latest version of Reporter , you can use the wget command. Here's a step by step guide on how to do this.
16: To install and/or upgrade Bluecoat reporter type this command from any location.
Note: This will result in it being installed to /opt/bc/reporter.
After the install , you need to run the do-startup.sh script to configure the admin password, license and start reporter. The upgrade will start the process automaticly.
17: To un-install Reporter type this command from any location.
After this, navigate to the /opt/bc/reporter and type
Note: this will remove all the remaining folders left.
18: to find out more information about a particular library, such as the LDAP library type
NOTE: Whenever you run a executable in Linux, you need to prefix it with a './' This is so it will find the executable in that same folder you are currently in, and run it.
19: To find out the ip address(s) that the LINUX server is configured for type.
20: To find out what TCP/UDP ports are listening on the server type.
NOTE: you can pipe this to the 'grep' comand to find reporter.
21: How can I tell if my Red Hat Linux server is 32 bit or 64 bit?
Here's an example:
22: If you need to find out where reporter is installed on LINUX, without using an RPM command, because it was not installed by RPMS, here's a usefull find command.
Nagivate to the root of the filesystem, and execute the below command.
NOTE: Another artilce that focuses on the downlading of the RPM, and the install and upgrade of Reporter, can be found here FAQ240
Rate this Page
Please take a moment to complete this form to help us better serve you.