I'm using survreg function in R and
survreg(Surv(time,status) ~ variables, rain,dist="lognormal")
gives me Invalid survival times for this distribution. The name of variable is indeed time and it doesn't contain negative values.
survreg function in R does not allow
time = 0. This is because for several of the distributions, including the lognormal distribution, having events occur at time = 0 will result in an undefined estimator.
You can think that having
time = 0 for a lognormal would be similar to having
y = -Inf for a normal distribution.