Monday, November 25, 2013

Oracle Linux Kickstart Install : failed to open /tmp/ks.cfg


While booting your Oracle Linux installation from an Kickstart NFS server, if you receive this error message below, all you you have to is granting permission to read the file to 'others' group.

# chmod 644 /kickstart/ks.cfg


Thursday, November 14, 2013

Splunk universal forwarder agent, Windows 2008 + Active Directory installation problem


I just wanted to try Universal Forwarder agent of Splunk v5 on my test Active Directory domain controller which is running on Windows 2008.

The service accounts privileges were Ok and I applied the whole procedure. By the way the service account had Domain Admin privileges but each time I tried to install the agent, I had the same error message.

"splunk installer was unable to start splunk services exit code '4'"

The resolution is weird, pointless but simple.

Try to type the service account as "account@domain" instead of "domain\account".


Symantec SSIM : End of sale.

http://www.symantec.com/connect/forums/symantec-security-information-manager-ssim-being-discontinued-new-customer-sales-september-5-?utm_content=buffere4d01&utm_source=buffer&utm_medium=twitter&utm_campaign=Buffer


Wednesday, November 13, 2013

Link : Case Study: Analyzing a WordPress Attack – Dissecting the webr00t cgi shell – Part I


http://blog.sucuri.net/2013/11/case-study-analyzing-a-wordpress-attack-dissecting-the-webr00t-cgi-shell-part-i.html

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

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








Wednesday, July 24, 2013

Update Rollup 3 for System Center 2012 Service Pack 1

Microsoft has just published a new cumulative update for SCOM and other System Center products.
You can find the details in this page :

http://support.microsoft.com/kb/2836751


Friday, July 19, 2013

AlienVault OSSIM 4.3 has been published.

I'm not completly sure who are using and loving the AlienVault OSSIM community edition but I'm always a fan of this open source software.

Today a new major release V4.3 has been published.

It contains many great changes. First of all, the GUI has a new view. I'm using it since 2 days , I upgraded from an old release and I didnt received any error message during the installation. Completly silent and on-the-fly upgrade.


Tuesday, July 16, 2013

Link : Solaris 11 vs IBM AIX

Oracle has just published a comparison between Solaris 11 and IBM AIX. I think it's important to have a comparison like this. I beleive IBM will publish soon another one which will tell about it's stronger features.

http://www.oracle.com/technetwork/server-storage/solaris11/overview/aix-mapping-guide-1566108.html


Monday, July 15, 2013

Release file expired, ignoring http://data.alienvault.com/mirror/squeeze_security/dists/squeeze/updates/Release (invalid since 242d 14h 31min 53s)

I just finished the installation of AlienVault v4.2.0 Community edition and I was trying to update the OS. When I sent the classic Debian update command " #apt-get update" , it sent me back this message :)

Release file expired, ignoring http://data.alienvault.com/mirror/squeeze_security/dists/squeeze/updates/Release (invalid since 242d 14h 31min 53s)


It's very easy to solve this. Just a misreading. All you have to do is using the Alienvault's update command instead of classic Ubuntu command.

#alienvault-update

Monday, May 27, 2013

SCOM 2012 SP1 console crashes continously

After installing SCOM 2012 test environment, I tried to install SCOM console to my Windows 7 x64 PC. At first run, the console started to crash and continously crashed till I find the root cause.

I installed the SCOM console MSI package from the DVD following this path : \\scomtest2\c$\Yedek\SCOM2012\Setup\AMD64\Console

But obviously it was a mistake :) I forgot to install Report viewer redistrutable package before the console MSI package and the system gave me this error.




Friday, May 24, 2013

Mounting an ISO file via vSphere client displays the error message : "Please specify a valid image file."


I never saw this. I was trying to mount an ISO file located at my Windows 7 PC to a virtual host via vSphere client. It's contuniously displaying the same error message.

"Please specify a valid image file.  ".

It's very funny and simple to solve it. I never experienced that.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004611

All you have to do is to change the .ISO extension to lovercases.



Wednesday, March 20, 2013

Link : SCOM unsealed MP backup


(This article was first published in Turkish at 17.01.2012)

http://scug.be/blogs/dieter/archive/2011/07/07/scom-2007-automated-backup-of-unsealed-management-packs.aspx

After creating a scheduling job, it worked perfectly for me.

Backup Exec SCOM 2007 MP doesnt recognize Backup Exec Server


(This article was first published in Turkish at 14.01.2012)

I just learned. There is a bug in Symantec Backup Exec management pack in SCOM 2007 for all the systems except the ones who have localization as English. That's why I had never able to use this MP.

Otherwise, Symantec had some delays to improve this MP.

Anyway :) A new one was published. It worked for me on SCOM 2007 R5. Finally I can display the status of my BE servers.


Tuesday, March 19, 2013

Vodafone Smarttab 10 Android ICS upgrade

(This article was first published in Turkish at 30.10.2012)

I was waiting this since long time.

Since I bought my Vodafone ZTE tablet, I couldn't upgrade it to Android 4.1 because Vodafone has never published an upgrade.

Yesterday I was taking a look to new tablets in a technology market then I saw new ASUS tablets with 4 cores. It was working at lightning speed and this made me crazy. So I decided to this upgrade myself using a custom ROM.

http://smarttab10.com/smarttab-10-twrp-jelly-bean-kurulumu-ve-otomatik-guncelleme/

This page helped me a lot. I never needed to become root, just a Windows 7 OS PC. I completed all the proceses succesfully.

The only thing that you should pay attention is to never forget to complete the wiping process. At my first try I forgot wiping the tablet and after restarting it, the splash screen spinned a couple of hours. Then I was expecting the logon screen.

Joe is a great man !

So we start today !


Greetings,

Today I start to expand my blog with an English web site. Until today I was publishing all at sistemyonetimi.blogspot.com in Turkish.

I hope that I will reach more people and will have the chance of sharing my knowledge with this blog. 

You will find any kind of system management articles here, but especially about Unix, System monitoring, open source softwares, security and other operating systems.

Anytime you can write me your thougts about my blog. Feel free to contact me.

Mehmet