By FRANK JORDANS

BERLIN — A comet-chasing space probe that has been in hibernation for almost three years has woken up and sent its first signal back to Earth.

The European Space Agency received the all-clear message “Hello World!” from its Rosetta spacecraft some 500 million miles away shortly after 7 p.m. (1 p.m. EST).

Rosetta was put into hibernation in 2011 to conserve energy for its long journey to meet with comet 67P/Churyumov-Gerasimenko.

If all goes as planned, Rosetta will reach 67P in the coming months and fly a series of complicated maneuvers to observe the comet — a lump of rock and ice about 2.5 miles in diameter — before dropping a lander onto its icy surface in November.

Rosetta is named after a block of stone that allowed archeologists to decipher ancient Egyptian hieroglyphs. Scientists hope the probe’s findings will help them understand the composition of comets and thereby discover more about the origins and evolution of our solar system.

The Philae lander will dig up samples and analyze them with its on-board instruments.

The probe and its lander will keep sending back data until their batteries die or the debris streaming off the comet irreparably damages their sensitive instruments.

Comets are regarded as flying time capsules because they are essentially unchanged for 4.6 billion years. Scientists have speculated that comets — which are essentially giant, dirty snowballs — may be responsible for the water found on some planets. And like asteroids, comets also pose a theoretical threat to life on Earth.

The mission is different from NASA’s Deep Impact probe that fired a projectile into a comet in 2005 so scientists could study the resulting plume of matter. NASA also managed to land a probe on an asteroid in 2001, but comets are much more volatile places because they constantly release dust and gas that can harm a spacecraft.

NASA is planning another space rock mission between 2019 and 2021. The agency is looking into sending a robotic spaceship to lasso a small asteroid and haul it close to the moon, where spacewalking astronauts would explore it.