Hello,
What version is/was your old alfresco? Was it actually also 4.2.c (i.e., 4.2.c -> 4.2.c migration) or was it something older, e.g., 4.0.d or even 3.4.something which you now want to upgrade to 4.2.c?
What OS was the old alfresco running on? The new alfresco looks like linux. Was the old alfresco also linux? Which linux distribution and version?
Was your old alfresco installed with the bundle? did you use java, postgresql, tomcat, openoffice from the installer? Or did you use some distribution resources (e.g., java, postgresql) and also some bundle/installer resources (alfresco, openoffice)?
How did you install the new (migration destination) 4.2.c? Did you use Easy or Advanced? Are you planning to use the bundled postgresql or your own postgresql server?
At a first guess, the postgres errors you mention above (first of all, indicating that on your destination 4.2.c installation at least you're using the bundled postgresql) will happen if you installed postgresql as one user (e.g., root, via sudo alfresco-community-4.2.c-installer-linux-x64.bin) and then start alfresco as another user (e.g., just as yourself, without sudo).
Another common case is where you install via the bundled installer (e.g., alfresco-community-4.2.c-installer-linux-x64.bin) and at the end of the installation you say Y to "Install alfresco as a service". At that point, alfresco will be started. If you then go to /opt/alfresco-4.2.c and try to start alfresco again tomcat will tell you that it's already running and postgres will tell you that it's already running.
Let's go through these basic questions first, then tackle further questions around the upgrade.
Gerald