Wednesday, November 13, 2013
How to create Splunk / Citrix Netscaler log integration ?
It's not so easy to link a Citrix Netscaler WAF / LB to Splunk log management system and display the logs as mentioned in Splunk documentation. I spent more time than I thought. There is no explanation for this procedure in the documentation.
I will talk about my own way.
If you think that will be enough to apply the whole procedure in the link, you are completly wrong. No logs, no definitons.
http://support.citrix.com/article/CTX132533
Here is my procedure ;
- Splunk 5.0.4, build 172409
- Citrix Netscaler NS9.3: Build 50.3.nc
1- Create the correct rule in Netscaler. Please pay attention to the port is 8514.
2- You should create the Audit policy and link with the server that we recently created. After that, you should link it with the Global Policy which is not appearing the screen capture.
3- You should create an Index in Splunk.
4- You should create a "Data Input" in Splunk.
5- You should enter the same information below.
6- You should download the Splunk App for Netscaler and install in Splunk.
7- Now you should the the first logs.
The path "" is not a valid path to the X.X.X generic kernel headers
I was trying to install VMware tools for Vsphere 4.1 to an Ubuntu 12.04 LTS server (right here I should say that I hate the VMware Tools Gcc and Make needs.)
During the installation it stopped with the error below.
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Searching for a valid kernel header path...
The path "" is not a valid path to the 3.8.0-29-generic kernel headers.
Would you like to change it? [yes]
The solution is right here :
http://askubuntu.com/questions/131351/how-to-install-vmware-tools
Simple but boring.
During the installation it stopped with the error below.
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Searching for a valid kernel header path...
The path "" is not a valid path to the 3.8.0-29-generic kernel headers.
Would you like to change it? [yes]
The solution is right here :
http://askubuntu.com/questions/131351/how-to-install-vmware-tools
sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h
Simple but boring.
Event ID : 6398. The Execute method of job definition. Microsoft.SharePoint.Search.Administration.SPSearchJobDefinition threw an exception. More information is included below.
Last weekend I added a Sharepoint 2010 Foundation server to my SCOM 2012 environment and also I installed SCOM reporting tools on it. It ran successfully a couple of days. By the way, the system was using Windows 2008 std operating system and SQL 2008 Express edition (bundled with Sharepoint).
One day, I started to receive several critical messages after creating a dozen of dashboards.
Event ID : 6398. The Execute method of job definition Microsoft.SharePoint.Search.Administration.SPSearchJobDefinition (ID 03892b58-25da-42ac-83dc-a0fc845d3322) threw an exception. More information is included below.
The device is not ready.
First action : I downgraded my Sharepoint 2010 to SP2 level. But the messages came back after restarting the server.
Second action : I upgraded SQL Express to SP3 level. This time, I had another messages ( but I dont think they are related with SP3,but they are here.)
Event ID 70 : The mount operation for the gatherer application d4236074-0931-4a56-866e-0d9592fe61ae has failed because the schema version of the search administration database is less than the minimum backwards compatibility schema version supported for this gatherer application. The database might not have been upgraded.
I spend a couple of hours and found the solution. After the Sharepoint upgrade, there are some manual commands to execute. The blog belowed suggests these actions for SP1 but I applied all at SP2 level and it was ok. In my test environment it took 3 minutes.
http://blogs.technet.com/b/sbs/archive/2011/07/06/potential-issues-after-installing-sharepoint-foundation-2010-sp1.aspx
"1. Open an Administrative command prompt.
2. Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
3. Run PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures"
MySQL Workbench 5.2.38 install fails "MSVCR100.dll not found"
I dont remember how and why, but I needed to install MySQL Workbench on my Windows 2008 standart server. It was a clean an fully updated server but I received the error and the installation failed :
MySQL Workbench 5.2.38 install fails "MSVCR100.dll not found"
After a quick research in MySQL forums I got the solution. You should install the Microsoft tools before Workbench. Here is the link ;
MySQL link
http://bugs.mysql.com/bug.php?id=64907
Microsoft tool page link
http://www.microsoft.com/download/en/details.aspx?id=5555
After installing this tool, the MySQL Workbench was installed correctly.
How to follow AlienVault OSSIM with Zabbix ?
During Zabbix games, one of the things that I learned was how to monitor my AlienVault OSSIM system.
By default OSSIM is tracing and auditing all the traffic by its own firewall. You should open the correct port on the firewall.
# vi /etc/ossim/firewall_include
-A INPUT -p tcp -m state --state NEW -m tcp --dport 10050 -j ACCEPT
# ossim-reconfig
Sunday, September 15, 2013
Zabbix agent : Error 1053: The service did not respond to the start or control request in a timely fashion"
I got this error message while installing Zabbix 2.0 agent to one of my Windows 2008 servers.
"Error 1053: The service did not respond to the start or control request in a timely fashion"
My first reaction was thinking about the wrong timing of this. Then I remarked the .conf file which was inside the Windows agent package that I downloaded has been named as zabbix_agentd.win.conf , but the zabbix process was searching the zabbix_agentd.conf file.
I was registered the zabbix service with the zabbix_agentd.win.conf file. That was making this shit. After using the correct conf file ( zabbix_agentd.win.conf ), the problem has been solved.
Microsoft has also published a KB file, about this kind of service problems. Here is the link :
http://support.microsoft.com/kb/839174

"Error 1053: The service did not respond to the start or control request in a timely fashion"
My first reaction was thinking about the wrong timing of this. Then I remarked the .conf file which was inside the Windows agent package that I downloaded has been named as zabbix_agentd.win.conf , but the zabbix process was searching the zabbix_agentd.conf file.
I was registered the zabbix service with the zabbix_agentd.win.conf file. That was making this shit. After using the correct conf file ( zabbix_agentd.win.conf ), the problem has been solved.
Microsoft has also published a KB file, about this kind of service problems. Here is the link :
http://support.microsoft.com/kb/839174
Subscribe to:
Posts (Atom)



