can't start ERP on ubuntu 16
moses
2018-04-11
Hi all
can someone help, we had power issues and the server shutdown. the ERP can not start giving below error

10:25: 36 last session was not properly terminated

10:25: 38 JOURNAL: error: last sequence in journal (1475721) is before the database sequence (1475722)

[2] Quit (core dumped)


any advise.
此回答正确
回答者Tomas J.11:47 12 四月 2018
Hello,


./StandardERPServer (path to backup) >> to restore backup
./StandardERPServer --apply-journal >> to apply
The StandardERPServer is executable name which can be different

More info:
http://www.hansaworld.com/en/university/booking/courses/global/HW_SYS

Hansaworld support
Tomas J.
2018-04-11
Hello,

Please check the log, if it has "this pointer is outside of..." or similar, than it might be you have a damaged database.

If the power cut was during some data writing to DB than it might be damaged. So you need to restore it from last backup.

Best regards,

Hansaworld support
Tomas J.
2018-04-11
Also you can try to move journal file to different location and try to start the server.


If the DB is not damaged, than it should start. If it fails, you need to restore Database from backup and apply journal till 1475720 record.

moses
2018-04-11
回答者Tomas J.11:57 11 四月 2018
Hello, Please check the log, if it has "this pointer is outside of..." or similar, than it might be you have a damaged database. If the power cut was during some data writing to DB than it might be damaged. So you need to restore it from last backup.
from the log cant seem to get any damage. if i move the journal i get error. Journal bad file present. attached is the log before the issue occurred and after trying to restart
Files are pending for approval
moses
2018-04-12
i had to recreate DB and import data from a txt backup. have lost data for one day.is it possible to apply previous journal to get back lost data for the day? the crash happened before end of day backup.
moses
2018-04-12
回答者Tomas J.13:38 11 四月 2018
Also you can try to move journal file to different location and try to start the server. If the DB is not damaged, than it should start. If it fails, you need to restore Database from backup and apply journal till 1475720 record.
how do i apply journal, have any documentation you can share.
此回答正确
Tomas J.
2018-04-12
Hello,


./StandardERPServer (path to backup) >> to restore backup
./StandardERPServer --apply-journal >> to apply
The StandardERPServer is executable name which can be different

More info:
http://www.hansaworld.com/en/university/booking/courses/global/HW_SYS

Hansaworld support
该话题已关闭,无法再评论。请新建话题。
返回到列表
最新留言
Hi there, There is currently no GUI client for Linux. Only a server version is available. Than...
17:35 3 九月 2025
Hi, When I add a labour service item (cost 10 per Hr) to production, the NL posting is incorrect....
08:10 19 八月 2025

我们在正常工作时间对论坛进行维护,旨在24小时内回复所有问题

您可以通过选择主题列表右上角的 "星星 "图标来订阅本论坛的任何帖子的通知。你必须登录后才能使用这一功能。