Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

could not open tablespace directory on hot standby #15

Closed
Labels
@killua001

Description

I apply the ptrack patch to Pg9.6.2. When I try to start the hot standby server , some error raise :

2017年04月06日 11:49:44.723 CST,,,1326,,58e5bad8.52e,1,,2017年04月06日 11:49:44 CST,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,""
2017年04月06日 11:49:44.724 CST,,,1329,,58e5bad8.531,1,,2017年04月06日 11:49:44 CST,,0,LOG,00000,"database system was interrupted while in recovery at log time 2017年04月05日 23:59:30 CST",,"If this has occurred more than once some data might be corrupted and you might need to choose an earlier recovery target.",,,,,,,""
2017年04月06日 11:49:44.779 CST,,,1329,,58e5bad8.531,2,,2017年04月06日 11:49:44 CST,,0,LOG,00000,"entering standby mode",,,,,,,,,""
2017年04月06日 11:49:44.779 CST,,,1329,,58e5bad8.531,3,,2017年04月06日 11:49:44 CST,,0,LOG,00000,"could not open tablespace directory ""pg_tblspc/0/PG_9.6_201608131"": No such file or directory",,,,,,,,,""
2017年04月06日 11:49:44.781 CST,,,1329,,58e5bad8.531,4,,2017年04月06日 11:49:44 CST,1/0,0,LOG,00000,"redo starts at 0/18000060",,,,,,,,,""
2017年04月06日 11:49:44.781 CST,,,1329,,58e5bad8.531,5,,2017年04月06日 11:49:44 CST,1/0,0,LOG,00000,"consistent recovery state reached at 0/1C000060",,,,,,,,,""
2017年04月06日 11:49:44.782 CST,,,1326,,58e5bad8.52e,2,,2017年04月06日 11:49:44 CST,,0,LOG,00000,"database system is ready to accept read only connections",,,,,,,,,""
2017年04月06日 11:49:44.782 CST,,,1329,,58e5bad8.531,6,,2017年04月06日 11:49:44 CST,1/0,0,FATAL,58P01,"could not create directory ""pg_tblspc/0/PG_9.6_201608131/0"": No such file or directory",,,,,,,,,""
2017年04月06日 11:49:44.782 CST,,,1326,,58e5bad8.52e,3,,2017年04月06日 11:49:44 CST,,0,LOG,00000,"startup process (PID 1329) exited with exit code 1",,,,,,,,,""
2017年04月06日 11:49:44.782 CST,,,1326,,58e5bad8.52e,4,,2017年04月06日 11:49:44 CST,,0,LOG,00000,"terminating any other active server processes",,,,,,,,,""
2017年04月06日 11:49:44.815 CST,,,1326,,58e5bad8.52e,5,,2017年04月06日 11:49:44 CST,,0,LOG,00000,"database system is shut down",,,,,,,,,""

after I manuly create this directory, the server started, and only one file in this directory:

-rw------- 1 postgres postgres 8192 Apr 6 11:51 0_ptrack

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /