GOLETA, Calif. — A 2-mile-long oil slick mysteriously materialized off the Southern California coast on Wednesday, but unlike a disastrous spill in the same area two months ago it didn’t send any damaging crude ashore and was expected to dissipate on its own.

The Coast Guard was still attempting to determine the source of the slick, which was first observed just off the beach in the college town of Goleta on Wednesday morning.

“I’m not sure when we’ll find out,” said Petty Officer 1st Class Sondra-Kay Kneen. She added, however, that there were no reports of it coming ashore as it drifted near Santa Barbara. It isn’t thick enough to be scooped up, she said, and should dissipate on its own in the days ahead.

The Santa Barbara County Department of Public Health said the slick provided no threat to public health and safety, although officials advised people to avoid contact with the oil.

No beaches were closed and fishing was allowed to continue, including from the Goleta pier.

The oil-rich Santa Barbara Channel, where the slick materialized, is the site of frequent natural seepage.

The area was flooded with 100,000 gallons of crude on May 19, however, when an onshore oil pipeline ruptured. Miles of fishing area and beaches were closed for weeks.

Aerial photos showed Wednesday’s slick drifting near the Santa Barbara Channel’s Platform Holly oil facility, but officials with Venoco Inc., which operates the platform, said there have been no incidents at its facilities.

The platform is currently shut down and there is no oil in its pipeline, said Zach Shulman, the company’s director for corporate finance and investor relations.

“Absent another source, the sheen is most likely due to natural seepage, which can vary from day-to-day,” Shulman said in an email.