My ceiling light went out in my bedroom. At first I thought it was just a bad bulb, but then it would turn on and off on its own. I tried replacing the bulb and nothing worked. I tried replacing the switch. The first couple of times I tried it the light didn't go on, then it blinked like it did before, then it would turn on whenever I turned the switch. The next day it wouldn't come on, but after a few tries it eventually did.
Here's some information. Other lights and receptacles are on the same circuit and I don't have any problems. Is it safe to assume it's not a problem with my circuit breaker?
If the light comes on, even if intermittently, is it safe to assume the wire between the switch and the light is alright? If there was a short, the light shouldn't work at all right?
The light fixture is about 7 years old. I read somewhere that the socket may be bad (something about the center pin getting pushed in too much from overtightening lightbulbs), but there are two sockets and I think it's unlikely that both sockets are bad. Another suggested that the wiring to the sockets could have come lose, but again it wouldn't likely be to both. I can't imagine how the wiring could come lose on a ceiling fixture, but I suppose it's possible.
I'd appreciate any advice or things to try short of hiring an electrician or destroying my walls.
Thanks.