  We describe the non-Gorenstein loci of normal toric varieties. In the case of
Hibi rings a combinatorial description is provided in terms of the underlying
partially ordered set. As a non-toric application we compute the dimensions of
the non-Gorenstein loci of the first secant variety of Segre varieties.
