Second commonest element in the Earth's crust will be Silicon. Most of the crust is made of silicate rock (eg. SiO2 and KAlSi3O8) and the mantle is made largely of peridotite.
Hydrogen is the most abundant element in the known Universe; helium is second. However, after this, the rank of abundance does not continue to correspond to the atomic number; oxygen has abundance rank 3, but atomic number 8.