[Home]

Summary:ASTERISK-09192: mkdir '/var/spool/asterisk/voicemail/default//' failed
Reporter:Kurtis Berger (kberger)Labels:
Date Opened:2007-04-04 18:51:31Date Closed:2007-04-05 09:15:59
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Fresh install with restored configuration files.

First call was direct to voicemail (using trixbox, 7777 + *3823, where 3823 is the extension) in an attempt to leave a message.  Got voice message saying the box could not accept any more messages, and that an error had occurred.  The log stated this: "app_voicemail.c: mkdir '/var/spool/asterisk/voicemail/default//' failed" (a larger segment of the log is below).

Problem was worked around at the shell prompt with:
   su asterisk
   mkdir /var/spool/asterisk/voicemail

I'm using Trixbox 2.0 immediately after freepbx backup & restore in test environment.

****** ADDITIONAL INFORMATION ******

Apr 4 16:17:52 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:52 DEBUG[5171] pbx.c: Oooh, got something to jump out with ('*')!
Apr 4 16:17:54 DEBUG[5171] pbx.c: Function result is 'device'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Function result is '3008'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Expression result is '0'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Not taking any branch
Apr 4 16:17:54 DEBUG[5171] pbx.c: Expression result is '0'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Not taking any branch
Apr 4 16:17:54 DEBUG[5171] pbx.c: Function result is '3008'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Function result is '3008'
Apr 4 16:17:54 DEBUG[5171] db.c: Unable to find key '3008/cidname' in family 'AMPUSER'
Apr 4 16:17:54 DEBUG[5171] func_db.c: DB: AMPUSER/3008/cidname not found in database.
Apr 4 16:17:54 DEBUG[5171] pbx.c: Function result is ''
Apr 4 16:17:54 DEBUG[5171] pbx.c: Expression result is '1'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Expression result is '1'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Function result is '"device" <3008>'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Expression result is '1'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Function result is 'g(6)'
Apr 4 16:17:54 WARNING[5171] func_db.c: DB requires an argument, DB(/)
Apr 4 16:17:54 DEBUG[5171] pbx.c: Function result is ''
Apr 4 16:17:54 DEBUG[5171] pbx.c: Expression result is '1'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Function result is 'default'
Apr 4 16:17:54 DEBUG[5171] pbx.c: Expression result is '0'
Apr 4 16:17:54 WARNING[5171] app_voicemail.c: mkdir '/var/spool/asterisk/voicemail/default//' failed: No such file or directory
Apr 4 16:17:54 WARNING[5171] app_voicemail.c: mkdir '/var/spool/asterisk/voicemail/default//' failed: No such file or directory
Apr 4 16:17:54 DEBUG[5171] app_voicemail.c: /var/spool/asterisk/voicemail/default/3823/unavail doesn't exist, doing what we can
Apr 4 16:17:54 DEBUG[5171] channel.c: Scheduling timer at 160 sample intervals
Apr 4 16:17:56 DEBUG[5171] channel.c: Scheduling timer at 2 sample intervals
Apr 4 16:17:56 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:56 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:56 DEBUG[5171] channel.c: Scheduling timer at 160 sample intervals
Apr 4 16:17:56 DEBUG[5171] channel.c: Scheduling timer at 61 sample intervals
Apr 4 16:17:56 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:56 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:56 DEBUG[5171] channel.c: Scheduling timer at 160 sample intervals
Apr 4 16:17:57 DEBUG[5171] channel.c: Scheduling timer at 82 sample intervals
Apr 4 16:17:57 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:57 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:57 DEBUG[5171] channel.c: Scheduling timer at 160 sample intervals
Apr 4 16:17:57 DEBUG[5171] channel.c: Scheduling timer at 128 sample intervals
Apr 4 16:17:57 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:57 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:57 DEBUG[5171] channel.c: Scheduling timer at 160 sample intervals
Apr 4 16:17:58 DEBUG[5171] channel.c: Scheduling timer at 61 sample intervals
Apr 4 16:17:58 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:58 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:58 DEBUG[5171] channel.c: Scheduling timer at 160 sample intervals
Apr 4 16:17:59 DEBUG[5171] channel.c: Scheduling timer at 50 sample intervals
Apr 4 16:17:59 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:59 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:17:59 DEBUG[5171] channel.c: Scheduling timer at 160 sample intervals
Apr 4 16:18:04 DEBUG[5171] channel.c: Scheduling timer at 6 sample intervals
Apr 4 16:18:04 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:18:04 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:18:04 ERROR[5171] app.c: Unable to create lock file '/var/spool/asterisk/voicemail/default//': No such file or directory
Apr 4 16:18:04 ERROR[5171] app.c: Could not unlock path '/var/spool/asterisk/voicemail/default//': No such file or directory
Apr 4 16:18:04 DEBUG[5171] channel.c: Scheduling timer at 160 sample intervals
Apr 4 16:18:08 DEBUG[5171] channel.c: Scheduling timer at 143 sample intervals
Apr 4 16:18:08 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:18:08 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Apr 4 16:18:08 ERROR[5171] app_voicemail.c: Unable to create message file: No such file or directory
Apr 4 16:18:08 DEBUG[5171] channel.c: Scheduling timer at 160 sample intervals
Apr 4 16:18:09 DEBUG[5171] channel.c: Scheduling timer at 0 sample intervals
Comments:By: Serge Vecher (serge-v) 2007-04-05 08:36:55

what about 1.2.17?

By: Jason Parker (jparker) 2007-04-05 09:15:59

This is clearly a bug in the way trixbox handles permissions after a backup.  Please report this issue to them.

Closing.