Opened 10 years ago

Closed 9 years ago

#326 closed defect (fixed)

libmondo-tools.c->setup_tmpdir#840: Failed to create global tmp directory

Reported by: Elodie Owned by: bruno
Priority: normal Milestone: 2.2.9
Component: mondo Version: 2.2.9
Severity: critical Keywords:
Cc:

Description

bonjour,

Lorsque je lance mondoarchive j'obtient: [root@H051 mondo]# mondoarchive Initializing... Execution run ended; result=-1 Type 'less /var/log/mondoarchive.log' to see the output log

Voici les logs: [TH=32637] libmondo-tools.c->reset_bkpinfo#856: Hi root is mounted at /dev/mapper/VolGroup-LV02

No, Schlomo, that doesn't mean /dev/mapper/VolGroup-LV02 is the root partition. It's just a debugging message.

Relax. It's part of am_I_in_disaster_recovery_mode().

[TH=32637] libmondo-devices.c->am_I_in_disaster_recovery_mode#147: Is this a ramdisk? result = 0

[TH=32637] libmondo-tools.c->setup_tmpdir#840: Failed to create global tmp directory /bases/EPBPAT1_ma

j/mondo.tmp.7Rk8mK for Mondo.

[TH=32637] libmondo-files.c->register_pid#815: Unregistering PID [TH=32637] libmondo-files.c->register_pid#817: Error unregistering PID

running: umount /mnt/cdrom > /mondo-run-prog-thing.tmp 2> /mondo-run-prog-thing.err


umount: /mnt/cdrom: not mounted


...ran with res=256

Merci de votre aide

Attachments (1)

mondoarchive.log (20.6 KB) - added by Elodie 10 years ago.
mondoarchive.log

Download all attachments as: .zip

Change History (11)

comment:1 follow-up: Changed 10 years ago by bruno

  • Resolution set to fixed
  • Status changed from new to closed

Advise: Use latest mondo version Mandatory: Provide logs Advise: Use -T and -S (man mondoarchive) if it's not sufficient.

comment:2 in reply to: ↑ 1 Changed 10 years ago by Elodie

  • Resolution fixed deleted
  • Status changed from closed to reopened

Replying to bruno:

Advise: Use latest mondo version Mandatory: Provide logs Advise: Use -T and -S (man mondoarchive) if it's not sufficient.

Meme erreur

[root@H051 x86_64]# rpm -ivh mondo-2.2.8-1.rhel4.x86_64.rpm [root@H051 x86_64]# mondoarchive Initializing... Execution run ended; result=-1 Type 'less /var/log/mondoarchive.log' to see the output log [root@H051 x86_64]# more /var/log/mondoarchive.log [TH=23005] libmondo-tools.c->reset_bkpinfo#856: Hi root is mounted at /dev/mapper/VolGroup-LV02

No, Schlomo, that doesn't mean /dev/mapper/VolGroup-LV02 is the root partition. It's just a debugging message. Relax. It's part of am_ I_in_disaster_recovery_mode(). [TH=23005] libmondo-devices.c->am_I_in_disaster_recovery_mode#147: Is this a ramdisk? result = 0

[TH=23005] libmondo-tools.c->setup_tmpdir#840: Failed to create global tmp directory /bases/EPBPAT1_maj/mondo.tmp.w6INN1 for M

ondo. running: umount /mnt/cdrom > /mondo-run-prog-thing.tmp 2> /mondo-run-prog-thing.err


umount: /mnt/cdrom: not mounted


...ran with res=256

comment:3 Changed 10 years ago by bruno

  • Resolution set to fixed
  • Status changed from reopened to closed

You also need mindi 2.0.6 And if you want help, you *need* to provide your /var/log/mondoarchive.log.

You may also want to read the archive of the ML and read support instrcutions at http://www.mondorescue.org/support.shtml

comment:4 follow-up: Changed 10 years ago by Elodie

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 2.2.8 to 2.2.9

I have upgrade in mondo-2.2.9-1.rhel4, mindi-2.0.6-1.rhel4 mindi-busybox-1.7.3-1.rhel

But the problem not disapear.

Changed 10 years ago by Elodie

mondoarchive.log

comment:5 in reply to: ↑ 4 Changed 10 years ago by bruno

  • Resolution set to fixed
  • Status changed from reopened to closed

Replying to Elodie:

I have upgrade in mondo-2.2.9-1.rhel4, mindi-2.0.6-1.rhel4 mindi-busybox-1.7.3-1.rhel

But the problem not disapear.

I already said earlier: Advise: Use -T and -S (man mondoarchive) if it's not sufficient. (and your log is incomplete)

comment:6 follow-up: Changed 10 years ago by Elodie

  • Resolution fixed deleted
  • Status changed from closed to reopened

I have 2 servers with mondo-2.2.9-1.rhel4, mindi-2.0.6-1.rhel4 mindi-busybox-1.7.3-1.rhel4.

On one i type mondoarchive and the application is launch. On the other i type mondoarchive and i have imediately an error.

I read many doc on Mondo and you can launch the soft by typing mondoarchive without options.

I would like to know you say that "your log is incomplete" because I have join the file (in /var/log/)

comment:7 in reply to: ↑ 6 Changed 10 years ago by bruno

Bonjour Elodie,

Replying to Elodie:

I have 2 servers with mondo-2.2.9-1.rhel4, mindi-2.0.6-1.rhel4 mindi-busybox-1.7.3-1.rhel4.

On one i type mondoarchive and the application is launch. On the other i type mondoarchive and i have imediately an error.

Which one ? If it's the tmp issue, you hae to use command line parameters to solve it for now. (MondoRescue? chooses the largest FileSystem? available as temp)

I read many doc on Mondo and you can launch the soft by typing mondoarchive without options.

True.

I would like to know you say that "your log is incomplete" because I have join the file (in /var/log/)

I had the impression that the log was really short, so truncated, but I may be wrong. The main issue is mentioned here: Failed to create global tmp directory /bases/EPBPAT1_maj/mondo.tmp.KTSmkH

Can you do that manually and check whether it works or not ?

comment:8 follow-up: Changed 10 years ago by Elodie

It doesn't work because /bases/EPBPAT1_maj is a NFS mount in read only. But I can't change permission on this filesystem.

You said "MondoRescue? chooses the largest FileSystem? available as temp" can I choise an other temp ?

Thanks for help

comment:9 in reply to: ↑ 8 Changed 10 years ago by bruno

Replying to Elodie:

It doesn't work because /bases/EPBPAT1_maj is a NFS mount in read only. But I can't change permission on this filesystem.

That explain stuff.

You said "MondoRescue? chooses the largest FileSystem? available as temp" can I choise an other temp ?

THe only way at the moent is to use the -T (and potentially -S) options on the CLI with all the other options you need as a consequence.

I may propose to add an input box in the curses in order to make it easier, but it's not available yet.

Thanks for help

comment:10 Changed 9 years ago by bruno

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in rev [2220]. Will be in 2.2.9

Note: See TracTickets for help on using tickets.