David McGoldrick reacts to a missed chance on a frustrating evening for the Republic of Ireland
Mick McCarthy's second spell as Republic of Ireland manager began with a laboured victory against Gibraltar in their opening Euro 2020 qualifier.
Jeff Hendrick's low 49th-minute shot secured victory at the Victoria Stadium, but the visitors struggled to convert dominance into goals.
It was the Republic's first competitive win in almost 18 months but it was hard work against a side ranked 194th.
And the score will do little to instil belief that the Republic can qualify.
A winning start for McCarthy - but not a dream one
One victory in 11 matches and a perceived negative playing style led to Martin O'Neill leaving his job as manager in November.
The Republic endured a winless Nations League campaign and again turned to McCarthy, who led them to the 2002 World Cup during a six-year spell as manager, to transform their fortunes.
A European Championship qualifying draw which offered up opening fixtures against Gibraltar and Georgia presented the former Ipswich boss with the ideal opportunity to start his second tenure on a positive note, but the performance in Gibraltar highlighted the difficulties he is likely to endure as he attempts to reach next summer's finals.
Gibraltar have never won a major tournament qualifier, having lost all 20 European Championship and World Cup matches they have played, but they had their chances.
They are an improved side - they earned their first competitive victories during their recent Nations League campaign.
But the fact the Republic were still at risk of dropping points in the closing stages is bound to be a concern for McCarthy, whose side host Georgia in Dublin on Tuesday.
Where are the goals going to come from?Hendrick's strike ended the Republic's drought of 446 minutes without a goal in all competitions
A major part of O'Neill's downfall was the lack of goals his team scored.
The Republic managed just four across their nine matches in 2018 and their lack of cutting edge in attack could easily have cost them in Gibraltar.
Hendrick's goal, placing his finish into the far corner after a bustling run by David McGoldrick down the left, was Ireland's first in all competitions since Aiden O'Brien's strike in a friendly draw with Poland in September 2018.
And the introduction of midfielder Harry Arter for ineffective forward Sean Maguire in the 72nd minute suggested that the new manager had little faith in the other striking options he had available.
That lack of a goal threat will be a worry for McCarthy and his assistant Robbie Keane, the country's record goalscorer who scored five times in two games against Gibraltar in the Euro 2016 qualifiers as the Republic racked up an 11-0 tally over the teams' two matches
McCarthy must hope Keane can impart some of his knowledge over the coming months or his side could struggle to make it out of Group D, which also contains Switzerland and Denmark. The top two qualify.
Did McCarthy's changes work?Ireland assistant coach Robbie Keane scored five goals in two appearances against Gibraltar
Wolves' Matt Doherty had struggled to force his way into the Republic side under O'Neill but the in-form wing-back was deployed on the right wing as part of a 4-4-2 formation that also allowed McCarthy to accommodate captain Seamus Coleman in his customary full-back role.
The two right-sided defenders struggled to connect and Doherty was substituted with over 30 minutes remaining as the Republic's attacks were repeatedly hampered by the swirling conditions.
The unpredictable wind and the artificial pitch meant the visitors' strike force of Maguire and McGoldrick were often left frustrated in their attempts to find space in a crowded Gibraltar defence.
McGoldrick frequently had to drop deep to gain possession, while Maguire struggled to read the crosses as they came into the area.
The Irish midfield pair of Conor Hourihane and Harry Arter gradually began to dictate the tempo and dominate possession.
And it was a Hourihane corner which resulted in the opening chance for his side, but Richard Keogh spooned a weak shot straight into the arms of Kyle Goldwin and the Gibraltar goalkeeper also had to be alert to prevent an own goal by his captain Roy Chipolina.
Gibraltar might have scored themselves but keeper Darren Randolph produced a superb reflex save to deny Chipolina as the veteran defender out-jumped Doherty to connect with a powerful header early in the second half.
A Gibraltar goal would have caused embarrassment for the visitors. But as it is they finished with a battling win which will be long forgotten if improved performances throughout the campaign take them to Euro 2020.