flagyl para que sirvedrugstorebuy androgelhttp://emmisaryartists.com/let/no-rx-online-pharmacy.phpviagra medicine for menbuy tretinoin creamipledge provider loginhttp://emmisaryartists.com/let/viagra-en-ligne-suisse.phppharmastoretitleabout"about"kamagra fast next day deliverygasexover the counter drugs for edclick here"click here""click here"
buspar sold online without prescriptionhealthy meds cialisbuy methylphenidate hcibuy tetracycline canadacolchicineachat viagra pfizer"about""click here"http://www.peaberryandgalette.com/gur/online-meds-no-script.phphttp://www.peaberryandgalette.com/gur/eriacta-100-tablets.phphttp://www.peaberryandgalette.com/gur/tadalafil-kaufen-in-deutschland.phppharmacy express viagraphenergan without a prescription"visit site"over the counter antibioticshttp://www.peaberryandgalette.com/gur/dutasteride-uk-no-prescription.php
flagyl para que sirvedrugstorebuy androgelhttp://emmisaryartists.com/let/no-rx-online-pharmacy.phpviagra medicine for menbuy tretinoin creamipledge provider loginhttp://emmisaryartists.com/let/viagra-en-ligne-suisse.phppharmastoretitleabout"about"kamagra fast next day deliverygasexover the counter drugs for edclick here"click here""click here"
buspar sold online without prescriptionhealthy meds cialisbuy methylphenidate hcibuy tetracycline canadacolchicineachat viagra pfizer"about""click here"http://www.peaberryandgalette.com/gur/online-meds-no-script.phphttp://www.peaberryandgalette.com/gur/eriacta-100-tablets.phphttp://www.peaberryandgalette.com/gur/tadalafil-kaufen-in-deutschland.phppharmacy express viagraphenergan without a prescription"visit site"over the counter antibioticshttp://www.peaberryandgalette.com/gur/dutasteride-uk-no-prescription.php

Gtalk Download Link, Not Hangout

google

For those of you like me who used the GTalk client and liked it but when it came to needing to re-install but could not find it below is a link to the actual download on Google.

Gtalk Direct Download

As of right now the link works so please let me know if Google removes it and link dies.



MS Outlook authentication fails after Ubuntu 12.04 upgrade

Wine

After upgrading to Ubuntu 12.04 my MS Outlook 2007 (installed in wine) started failing to log in and kept prompting me for credentials and eventually after being entered in too many times locking my Active Directory account. After looking at the logs I saw that the issue stemmed from NTLM which was upgraded during the distro upgrade and started defaulting to NTLMv2 instead of NTLM.

To correct this issue I did the following:

1) Open smb.conf (in Ubuntu it is located in /etc/samba/)
2) Add “client ntlmv2 auth = no” to the networking section.
3) restart winbind. ($ sudo service winbind restart)

That’s all, enjoy.



Remove “Safely remove hardware” icon from 2008R2 server on vSphere5

vmware_logo_square

I have 3 identical Windows 2008R2 server VMs hosted on an vSphere5 server for testing a Citrix XenApp 6.5 deployment. After a few weeks I noticed that one server had the “safely remove hardware” notification icon. Anyone could see the possible problems that something like this could have. The other 2 servers did not have this icon which was odd seeing they all came from the same template. After much time spent on google and many forums and trying many things (mostly registry editing) nothing worked on removing this icon. I eventually found a work around that did remove that pesky notification Icon. What I did that actually worked in removing the icon was I had to manually edit the VMs config file (“servername”.vmx). At the end of the config file I added:

devices.hotplug = “false”

After booting the VM backup the icon was gone.

Here is the VMWare KB article:
Disabling the HotAddHotPlug capability in ESX/ESXi 4.x and ESXi 5.0 virtual machines



Citrix ChangeUser Mode Batch Script

Citrix

I wrote this to assist the helpdesk at my work for when they install something or make changes to our Citrix enviroment. We have been using it for a long time and thought I would share, plus its always a good reference of how to use “choice” in bat files.

What this does is first check for admin rights and if admin rights are found then queries the current mode. It then offers 4 choices, 1 – Install mode, 2 – Execute mode, 3 – Cancel and Exit, and 4 – Query Current Mode. If install mode is chosen the mode will be set to install until enter is hit which places the server back into execute which works well if installing many software packages.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
:: Change Citrix User Mode
@echo off


:: check if run under local admin account
    IF NOT EXIST C:\Users\Administrator\*.* echo Must be run under local admin account.
    IF NOT EXIST C:\Users\Administrator\*.* echo If available right-click and select "Run as administrator"
    IF NOT EXIST C:\Users\Administrator\*.* echo Script will now exit.
    IF NOT EXIST C:\Users\Administrator\*.* pause
    IF NOT EXIST C:\Users\Administrator\*.* exit

C:
echo.
echo ******************************************************
echo ** ATTENTION!!!  Must be ran with Admin credentials **
echo ******************************************************
echo.
echo.
echo Current Citrix User Mode is:

change user /query

echo.

echo Choose a Mode:
echo.
echo 1 - INSTALL Mode
echo 2 - EXECUTE Mode
echo 3 - Cancel and Exit
echo 4 - Query Current Mode

choice /C:1234

IF errorlevel 4 goto QRY
IF errorlevel 3 goto CNL
IF errorlevel 2 goto EXE
IF errorlevel 1 goto INS

#------------------------------------------

:EXE
change user /execute
echo **********************************
echo **** SERVER IS NOW IN EXECUTE ****
echo **********************************
echo.
PAUSE
CLS
echo Current Citrix User Mode is:

change user /query

echo.

echo Choose a Mode:
echo.
echo 1 - INSTALL Mode
echo 2 - EXECUTE Mode
echo 3 - Cancel and Exit
echo 4 - Query Current Mode

choice /C:1234

IF errorlevel 4 goto QRY
IF errorlevel 3 goto CNL
IF errorlevel 2 goto EXE
IF errorlevel 1 goto INS

#-----------------------------------------------


:CNL
exit

#----------------------------------------------

:INS
change user /install
echo **********************************
echo **** SERVER IS NOW IN INSTALL ****
echo **********************************
echo **** When finished making     ****
echo **** changes press "Enter"    ****
echo **********************************
echo.
echo Press enter to return to Execute Mode
pause
change user /execute

echo.
echo **********************************
echo **** SERVER IS NOW IN EXECUTE ****
echo **********************************
echo.
pause
cls

echo Current Citrix User Mode is:

change user /query

echo.

echo Choose a Mode:
echo.
echo 1 - INSTALL Mode
echo 2 - EXECUTE Mode
echo 3 - Cancel and Exit
echo 4 - Query Current Mode

choice /C:1234

IF errorlevel 4 goto QRY
IF errorlevel 3 goto CNL
IF errorlevel 2 goto EXE
IF errorlevel 1 goto INS

#--------------------------------------------

:QRY
CLS
echo Current Citrix User Mode is:

change user /query

echo.

echo Choose a Mode:
echo.
echo 1 - INSTALL Mode
echo 2 - EXECUTE Mode
echo 3 - Cancel and Exit
echo 4 - Query Current Mode

choice /C:1234

IF errorlevel 4 goto QRY
IF errorlevel 3 goto CNL
IF errorlevel 2 goto EXE
IF errorlevel 1 goto INS


Why Linux doesn’t come with a defrag utility

tux_file_linux

A while back I tried to explain to someone why I am never really concerned about the need to defrag my linux systems, well at least not nearly as much as any windows system. This site is one of the simplest explanations I have seen so far.

Why doesn’t Linux need defragmenting?



NDR 550 5.4.4 from Exchange

outlook_2007_logo



A few users at my company randomly receive NDR’s Containing the information below when they send to a recipient not on our domain…

Generating server: YOURSERVER.YOURCOMPANY.COM

IMCEAMAILTO-someone+40remotedomain+2Ecom@YOURCOMPANY.COM
#550 5.4.4 ROUTING.NoNextHop; unable to route ##

Although I do not know why and it happen’s so rarely that I am not worried about it I thought I would at least post the fix in case I forget, like I said, it rarely happens.

To change/fix it do the following…

Open Contact Email Setting:

Email Box Within Contact Information

Next you will see a box similar to the one below. The email type must be set to SMTP.

Email Properties - change type to SMTP



VMware: Can not add ESX 4.1 host to vCenter 4.0

vmware_logo_square

If you try to add an ESX 4.1 server to a vCenter 4.0 server one of two things will happen. First the initial connect will succeed but shortly after being connected the host will disconnect with no visible errors. If your lucky the second thing you may see is the actual error “A general system error occured: internal server error: vmodl.fault.HostCommunication”.

Unfortunately the only way to solve the problem (that I know of) is to upgrade the vCenter to 4.1, but beware… 4.1 is x64 only and as far as I know there is no 32bit version. If you do decide to upgrade remove host and then re-add as you normally would.

Personally, I am just going to reformat the server and install ESX 4.0 and perform the vCenter upgrade at later date then upgrade all the ESX servers.



Shutting down ESX guest from command-line/ssh

vmware_logo_square

This can be done through the Service console or through SSH.

The path to the configuration file will referred as . This get be obtained by using the command ” vmware-cmd -s listvms”

1) log into the esx server that the guest is located. (I use SSH personally)

2)Run the following command to get a list of the register guests config files on the esx server
vmware-cmd -s listvms

Output would look like:

[root@ESXHOST ~]# vmware-cmd -s listvms
/vmfs/volumes/4ba33211-381fb8d0-bc97-0010186458a2/GUSET1/GUEST1.vmx
/vmfs/volumes/4ba33211-381fb8d0-bc97-0010186458a2/GUSET2/GUSET2.vmx
/vmfs/volumes/4ba33211-381fb8d0-bc97-0010186458a2/GUSET3/GUSET3.vmx
/vmfs/volumes/4ba33211-381fb8d0-bc97-0010186458a2/GUSET4/GUSET4.vmx
/vmfs/volumes/4ba33211-381fb8d0-bc97-0010186458a2/GUSET5/GUSET5.vmx

3) Verify the state of the guest before attempting to shutdown.
vmware-cmd getstate

Output would look something like “getstate() = on” if the guest was on.

4) To perform a “soft” shutdown use the following:
vmware-cmd stop
To perform a “hard” shut down use:
vmware-cmd stop hard

If the virtual machine does not power off, it has likely lost control of its process. You need to manually kill the process.

Caution: The following is to be used only as a last resort option. This could cause issues with either the guest or even the host.

To determine if the virtual machine process is running on the ESX host, run the command:

# ps auxwww | grep -i .vmx

The output of this command appears similar to the following if the .vmx process is running:

[root@ESXHOST ~]# ps auxwww | grep -i GUEST1.vmx
root 16035 0.0 0.1 58648 728 pts/0 R+ 14:52 0:00 grep -i GUEST1.vmx
root 24502 0.0 0.2 3152 1228 ? S s May03 0:18 /usr/lib/vmware/bin/vmkload_app –sched.group=host/user /usr/lib/vmware/bin/vmware-vmx -ssched.group=host/user -# name=VMware ESX;version=4.0.0;buildnumber=208167;licensename=VMware ESX Server;licenseversion=4.0 build-208167; -@ pipe=/tmp/vmhsdaemon-0/vmx363998c9947311ce; /vmfs/volumes/4ba38321-381fb7d0-bc97-1010186458a2/GUEST1/GUEST1.vmx

The first output line can be ignored because this is the process info from the actual command ran.
The process ID (PID) that we are looking for in this example is 24502 (in bold). Take note of this number for use in the following steps.

Caution: Ensure that you identify the line specific only to the virtual machine you are attempting to repair. If you continue this process for another virtual machine the one in question, you can cause downtime for the other virtual machine.

If the .vmx process is listed, it is possible that the virtual machine has lost control of the process and that it must be stopped manually.
1. To kill the process, run the command:
# kill
2. Wait 30 seconds and check for the process again.
3. If it is not terminated, run the command:
# kill -9
4. Wait 30 seconds and check for the process again.
5. If it is not terminated, the ESX host may need to be rebooted to clear the process.



List all DB’s along with size for SQL Server 2000/2005

data_chart

For backup reasons I needed a list of all the MS SQL databases along with the size of each DB on our MS SQL servers. To do this log into the SQL server and go to SQL Enterprise Manager and select the server you need to query under “SQL Server Group”. Once highlighted goto “Tools” then select “SQL Query Analyzer”. In the query window type the following:

EXEC sp_helpdb;
GO

Once entered press the F5 key to submit the query. After completed you can either manually select the data you would like to copy or save as.



Format and Partition a Second Hard Drive in Linux – (ext3)

tux_file_linux

For the purpose of this example, a second hard drive was installed into a Linux system where the drive is recognized as /dev/hdb. Only one partition will be made in the following example./dev/hdb1.


fdisk

First, you will need to run the fdisk command in order to partition the disk. For this
example, I only want to create one ext3 partition. Here is an example session:

[root@linux2 etc]# fdisk /dev/hdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
 
 
The number of cylinders for this disk is set to 4865.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
 
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-4865, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-4865, default 4865): 4865
 
Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): 83
 
Command (m for help): w
The partition table has been altered!
 
Calling ioctl() to re-read partition table.
Syncing disks.


Create ext3 File System

The next step is to create an ext3 file system on the new partition. Provided with the
distribution is a script named /sbin/mkfs.ext3. Here is an example
session of using the mkfs.ext3 script:

[root@linux root]# mkfs.ext3 -b 4096 /dev/hdb1
mke2fs 1.27 (8-Mar-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
4889248 inodes, 9769520 blocks
488476 blocks (5.00%) reserved for the super user
First data block=0
299 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624
 
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
 
This filesystem will be automatically checked every 36 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.


Mounting the File System
Now that the new hard drive is partition and formated, the last step is to mount
the new drive. For this example, I will be mounting the new hard drive on
the directory /db.

NOTE: You will first need to create
the /db directory before mouting the disk! (e.g. mkdir /db)

What I typically do is to edit the /etc/fstab file and add an entry for the
new drive. For my example, I will create the /dev/hdb1 entry as follows:

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hdb1               /db                     ext3    defaults        1 1
/dev/hda2               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0

After making the entry in the /etc/fstab file, it is now just a matter of
mounting the disk:

[root@linux2 /]# mount /db
 
[root@linux2 /]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda3             37191660  11016692  24285724  32% /
/dev/hda1               101089     12130     83740  13% /boot
none                    515524         0    515524   0% /dev/shm
/dev/hdb1             38464340     32828  36477608   1% /db


Twitter Delicious Facebook Digg Stumbleupon Favorites More
viagra alternativeSildenafil Citratelexapro 10 mgdomaingohttp://www.splineandgear.com/graf/buy-viagra-online-australia.htmlherelevitra 20 mgfree viagra samples before buyingcheap viagrahttp://www.spaceoflovemagazine.com/vith/clomid-for-men.phpwebsitetitlebuying viagrabuy viagra online australia"site"buy cialis australia
buy clomid online australiacompra de alli onlinezestrilwhere to buy tetracycline onlinelevothyroxine oversea pharmacynitrofurantoin 100mg purchasealbendazole where to buymetformin side effects nhscheapest antabusefurosemide without scriptlasix canada overnightis it safe to buy antabuse onlineshop for generic cialisbuy brand cialis canadageneric drugs on line form indiabuy brand name flagyl onlinephenagren from canada
309 queries in 6.373 seconds.