germany migrant crisis cnni mann _00000917.jpg
PHOTO: Reuters
germany migrant crisis cnni mann _00000917.jpg
Now playing
01:19
Germany halts train traffic in Austria
Photos from the Sarost 5, a ship currently stuck at sea with 40 migrants on board, including 2 pregnant women. According to the ship's second captain Amman Ourari, it has been refused entry by Malta, Italy, France and Tunisia. Photos are from the ship's second captain Amman Ourari.
PHOTO: Ayman Ourari
Photos from the Sarost 5, a ship currently stuck at sea with 40 migrants on board, including 2 pregnant women. According to the ship's second captain Amman Ourari, it has been refused entry by Malta, Italy, France and Tunisia. Photos are from the ship's second captain Amman Ourari.
Now playing
00:50
Migrant ship stranded for two weeks at sea
Rescue boat carrying migrants from off the coast of Libya.
PHOTO: Karpov/SOS Mediterranee/MSF/Twitter
Rescue boat carrying migrants from off the coast of Libya.
Now playing
02:31
The journey of a ship carrying 600 migrants
Now playing
03:57
Migrant returns home to brutal reality
A young boy wrapped in a blanket to protect him from the rain gestures as migrants and refugees protest to call for the opening of the borders near the village of Idomeni where thousands of refugees and migrants are stranded on March 7, 2016. 
EU leaders held a summit with Turkey's prime minister on March 7 in order to back closing the Balkans migrant route and urge Ankara to accept deportations of large numbers of economic migrants from overstretched Greece. / AFP / LOUISA GOULIAMAKI        (Photo credit should read LOUISA GOULIAMAKI/AFP/Getty Images)
PHOTO: LOUISA GOULIAMAKI/AFP/AFP/Getty Images
A young boy wrapped in a blanket to protect him from the rain gestures as migrants and refugees protest to call for the opening of the borders near the village of Idomeni where thousands of refugees and migrants are stranded on March 7, 2016. EU leaders held a summit with Turkey's prime minister on March 7 in order to back closing the Balkans migrant route and urge Ankara to accept deportations of large numbers of economic migrants from overstretched Greece. / AFP / LOUISA GOULIAMAKI (Photo credit should read LOUISA GOULIAMAKI/AFP/Getty Images)
Now playing
01:47
A year in the life of migrants
PHOTO: Portuguese Air Force
Now playing
00:43
Dramatic escape as migrant boat catches fire
PHOTO: MOAS
Now playing
00:49
Massive rescue effort in the Mediterranean
PHOTO: Jaime Moreno
Now playing
00:57
Migrant boat lands on Spanish beach
A group of migrants off an incoming train walk down a platform as they are accompanied by the police at the Swedish end of the bridge between Sweden and Denmark near Malmoe on November 12, 2015. The Swedish government on November 11, 2015 said it would temporarily reinstate border checks to deal with an unprecedented influx of migrants, making it the latest country in Europe's passport-free Schengen zone to tighten its borders over the crisis. AFP PHOTO / TT NEWS AGENCY / STIG-AKE JONSSON +++ SWEDEN OUT +++        (Photo credit should read STIG-AKE JONSSON/AFP/Getty Images)
PHOTO: AFP/AFP/AFP/Getty Images
A group of migrants off an incoming train walk down a platform as they are accompanied by the police at the Swedish end of the bridge between Sweden and Denmark near Malmoe on November 12, 2015. The Swedish government on November 11, 2015 said it would temporarily reinstate border checks to deal with an unprecedented influx of migrants, making it the latest country in Europe's passport-free Schengen zone to tighten its borders over the crisis. AFP PHOTO / TT NEWS AGENCY / STIG-AKE JONSSON +++ SWEDEN OUT +++ (Photo credit should read STIG-AKE JONSSON/AFP/Getty Images)
Now playing
01:10
Sweden's refugees by the numbers
Now playing
01:41
Migrants in Serbia: A grim life
heroic crews rescue refugees at sea orig_00000206.jpg
PHOTO: www.globaldirt.org/Global Dirt
heroic crews rescue refugees at sea orig_00000206.jpg
Now playing
03:29
Heroic crews rescue refugees lost at sea
A protester holds up a Turkish flag as others raise their hands during a demonstration in Taksim square in Istanbul on June 8, 2013. Thousands of angry Turks took to the streets on June 8 to join mass anti-government protests, defying Prime Minister Recep Tayyip Erdogan's call to end the worst civil unrest of his decade-long rule. Erdogan, meanwhile, was meeting in Istanbul with top officials of his Justice and Development Party (AKP) to discuss the crisis, and a deputy prime minister was due to make a speech later on June 8. AFP PHOTO/BULENT KILIC (Photo credit should read BULENT KILIC/AFP/Getty Images)
PHOTO: BULENT KILIC/AFP/Getty Image
A protester holds up a Turkish flag as others raise their hands during a demonstration in Taksim square in Istanbul on June 8, 2013. Thousands of angry Turks took to the streets on June 8 to join mass anti-government protests, defying Prime Minister Recep Tayyip Erdogan's call to end the worst civil unrest of his decade-long rule. Erdogan, meanwhile, was meeting in Istanbul with top officials of his Justice and Development Party (AKP) to discuss the crisis, and a deputy prime minister was due to make a speech later on June 8. AFP PHOTO/BULENT KILIC (Photo credit should read BULENT KILIC/AFP/Getty Images)
Now playing
01:09
Turkey: A country in turmoil
A photo released by the Italian coast guard shows babies born in a migrant rescue ship off the Sicilian coast.
PHOTO: Italian Coast Guard
A photo released by the Italian coast guard shows babies born in a migrant rescue ship off the Sicilian coast.
Now playing
00:50
Migrant mothers give birth on Italian rescue ship
Survivors from a boat that capsized, off Egypt's north coast, sit in a police station in Rashid in northern Egypt, on September 21, 2016.

A boat carrying up to 450 migrants capsized in the Mediterranean off Egypt's north coast on, drowning 42 people and prompting a search operation that rescued 163 passengers, officials said. / AFP / MOHAMED EL-SHAHED        (Photo credit should read MOHAMED EL-SHAHED/AFP/Getty Images)
PHOTO: MOHAMED EL-SHAHED/AFP/AFP/Getty Images
Survivors from a boat that capsized, off Egypt's north coast, sit in a police station in Rashid in northern Egypt, on September 21, 2016. A boat carrying up to 450 migrants capsized in the Mediterranean off Egypt's north coast on, drowning 42 people and prompting a search operation that rescued 163 passengers, officials said. / AFP / MOHAMED EL-SHAHED (Photo credit should read MOHAMED EL-SHAHED/AFP/Getty Images)
Now playing
01:02
Migrant boat capsizes near Egypt
In this Friday, May 20, 2016 image made from video a group of Cubans stand atop American Shoal Lighthouse off Sugarloaf Key in a standoff with Coast Guard, in the Florida Keys. The group of migrants who fled Cuba in a homemade boat and climbed onto the 136-year-old lighthouse off the Florida Keys should be allowed to stay in the U.S., according to a federal lawsuit filed on their behalf.
PHOTO: WSVN-TV/AP
In this Friday, May 20, 2016 image made from video a group of Cubans stand atop American Shoal Lighthouse off Sugarloaf Key in a standoff with Coast Guard, in the Florida Keys. The group of migrants who fled Cuba in a homemade boat and climbed onto the 136-year-old lighthouse off the Florida Keys should be allowed to stay in the U.S., according to a federal lawsuit filed on their behalf.
Now playing
00:46
Cubans who climbed lighthouse to be sent home
An Italian Navy ship spotted a boat with migrants off the Libyan coast and shortly after the migrant ship flipped for the precarious floating conditions given the hi number of migrants on board. Rescue operations are still ongoing also with the help of an helicopter and of a second Navy vessel. At the moment 500 people have been saved and seven are dead.
PHOTO: Italian Navy
An Italian Navy ship spotted a boat with migrants off the Libyan coast and shortly after the migrant ship flipped for the precarious floating conditions given the hi number of migrants on board. Rescue operations are still ongoing also with the help of an helicopter and of a second Navy vessel. At the moment 500 people have been saved and seven are dead.
Now playing
00:55
Ship flips, throws 500+ overboard
German Navy sailors surround a boat with more than 100 migrants near the German combat supply ship 'Frankfurt am Main' during EUNAVFOR Med, also known as Operation Sophia, in the Mediterranean Sea off the coast of Libya, Tuesday, March 29, 2016. (AP Photo/Matthias Schrader)
PHOTO: Matthias Schrader/AP
German Navy sailors surround a boat with more than 100 migrants near the German combat supply ship 'Frankfurt am Main' during EUNAVFOR Med, also known as Operation Sophia, in the Mediterranean Sea off the coast of Libya, Tuesday, March 29, 2016. (AP Photo/Matthias Schrader)
Now playing
01:48
ISIS infiltrates the migrant route in Libya

Story highlights

Germany halts train traffic to and from Austria for 13 hours

Nearly 30 people die when their boat capsizes off the Greek coast

Meanwhile, 42 migrants are found alive inside a refrigerated truck in Austria

(CNN) —  

Facing an influx of migrants and refugees from war-torn Syria and Iraq, Germany is instituting temporary border controls, German Interior Minister Thomas de Maiziere said Sunday.

“The focus will initially lie on the border with Austria,” de Maiziere said. “The goal of this measure is to restrict the present inflow of migrants into Germany and return again to an orderly process upon entry.”

Germany is stopping train traffic to and from Austria for 13 hours, the Austrian Federal Railways said in a tweet. The moratorium on train travel between the two countries will last from 5 p.m. Sunday (noon ET Sunday) until 6 a.m. Monday, the railway agency said.

The announcement of measures by Germany came hours after more than 40 migrants were discovered alive inside a refrigerated truck in northwest Austria, about 50 kilometers (30 miles) from the German border.

The rescue of those migrants may have prevented a deadly fate if something had gone awry on their covert trip, but others were not so lucky.

Nearly 30 people – almost half of them children – were found dead off the coast of the Greek island of Farmakonisi on Sunday, the Hellenic coast guard said.

At least 125 people were aboard a wooden boat that capsized in the Aegean Sea, coast guard duty officer George Tsapras said. The coast guard rescued 68 people, 29 others swam to shore, and another 28 died.

Search and rescue efforts were ongoing, Tsapras said.

It is unclear if those on the boat were refugees or migrants, as their nationalities and points of origin have not yet been identified, Tsapras said.

Europe struggles for a solution

European leaders have been struggling to cope with the massive influx of people pouring across its borders in recent weeks.

Last week, European Commission President Jean-Claude Juncker set out proposals for mandatory quotas for EU countries to take in 120,000 refugees who were already in Italy, Greece and Hungary, on top of plans made in May to relocate 40,000 from Italy and Greece.

EU member states must still agree to the European Commission’s proposals, which are backed by Germany. Their interior ministers are due to meet Monday in Brussels, Belgium, to discuss the issue.

“The German decision of today underlines the urgency to agree on the measures proposed by the European Commission in order to manage the refugee crisis,” the European Commission said in a statement Sunday.

It said that Germany’s temporary reintroduction of border controls appears to be covered by the rules in case of a crisis, but that open borders should be reinstated as soon as it is feasible.

As many as 10,000 migrants are arriving in Germany per day, according to German Interior Ministry spokesman Tobias Plate. Officials throughout the country have been asked to assist with registration and accommodation needs, he said Saturday.

The German interior minister said the border controls are for “security reasons urgently necessary.”

Rescued from a flower truck

A total of 42 people were inside the refrigerated truck found in Austria, police spokesman Bernd Innerdorfer said.

Police discovered the truck, belonging to a Finnish flower transporter, at a gas station in the city of Aistersheim. It was being driven by two Iraqi nationals, who were arrested and charged with human smuggling.

Five women and eight children were among those rescued. All of them were in good health, did not require any medical attention and were transported to a refugee detention center in the city of Linz, Innerdorfer said.

The migrants are believed to be Syrian and Iraqi, police said, but their identities were not immediately confirmed.

Full coverage: The migration crisis

CNN’s Mariano Castillo contributed to this report.