You’re using the “–read-pgsql” argument, but then feeding it a PBF file, which will certainly lead to an error. Did you maybe mean to use “–rb” or “–read-pbf”?