You really should discuss this at the Asterfax forums:
http://forums.asteriskit.com.au/
later,
PaulH
On Wed, 2008-06-04 at 14:17 +0530, Sukhbir Singh wrote:> Hi All,
>
> I am getting following error when i start AsterFax:
>
> Please help me to solve this issue:
>
> [root at prefroam asterfax]# ./asterfax.sh
> log4j: Threshold ="null".
> log4j: Retreiving an instance of org.apache.log4j.Logger.
> log4j: Setting [au.com.noojee.asterfax] additivity to [false].
> log4j: Level value for au.com.noojee.asterfax is [DEBUG].
> log4j: au.com.noojee.asterfax level set to DEBUG
> log4j: Class name: [org.apache.log4j.ConsoleAppender]
> log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
> log4j: Setting property [conversionPattern] to [%d{ABSOLUTE} %p %m%n].
> log4j: Adding appender named [STDOUT] to category
> [au.com.noojee.asterfax].
> log4j: Class name: [org.apache.log4j.DailyRollingFileAppender]
> log4j: Setting property [file] to [logs/asterfax.log].
> log4j: Setting property [append] to [true].
> log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
> log4j: Setting property [conversionPattern] to [%d{DATE} %p %m%n].
> log4j: setFile called: logs/asterfax.log, true
> log4j: setFile ended
> log4j: Appender [FILE] to be rolled at midnight.
> log4j: Adding appender named [FILE] to category
> [au.com.noojee.asterfax].
> log4j: Retreiving an instance of org.apache.log4j.Logger.
> log4j: Setting [au.com.noojee.asterfax.outbound.SubmitFax] additivity
> to [false].
> log4j: Level value for au.com.noojee.asterfax.outbound.SubmitFax is
> [DEBUG].
> log4j: au.com.noojee.asterfax.outbound.SubmitFax level set to DEBUG
> log4j: Adding appender named [STDOUT] to category
> [au.com.noojee.asterfax.outbound.SubmitFax].
> log4j: Adding appender named [FILE] to category
> [au.com.noojee.asterfax.outbound.SubmitFax].
> log4j: Retreiving an instance of org.apache.log4j.Logger.
> log4j: Setting [Audit] additivity to [false].
> log4j: Level value for Audit is [INFO].
> log4j: Audit level set to INFO
> log4j: Class name: [org.apache.log4j.DailyRollingFileAppender]
> log4j: Setting property [file] to [logs/audit.log].
> log4j: Setting property [append] to [true].
> log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
> log4j: Setting property [conversionPattern] to [%d{DATE}, %m%n].
> log4j: setFile called: logs/audit.log, true
> log4j: setFile ended
> log4j: Appender [AUDIT] to be rolled at midnight.
> log4j: Adding appender named [AUDIT] to category [Audit].
> log4j: Level value for root is [WARN].
> log4j: root level set to WARN
> log4j: Adding appender named [STDOUT] to category [root].
> log4j: Adding appender named [FILE] to category [root].
> 14:10:42,419 INFO AsterFax version 1.0-beta9 starting.
> 14:10:42,509 INFO Debugging Enabled
> 14:10:42,509 INFO Debug Preserve Temp Files enabled
> 14:10:42,509 INFO Debug TxFax enabled
> 14:10:42,510 INFO Debug Converter enabled
> 14:10:42,512 INFO Loading TX handler
> au.com.noojee.asterfax.handler.DefaultFaxHandler
> 14:10:42,514 INFO Loading RX handler
> au.com.noojee.asterfax.handler.DefaultFaxHandler
> 14:10:42,518 INFO Loaded Channel Zap/g0 Both from-internal priority(1)
> count(1)
> 14:10:42,521 INFO Loaded converter for image/pdf pdf
> 14:10:42,522 INFO Loaded converter for application/pdf pdf
> 14:10:42,523 INFO Loaded converter for application/msword doc;dot
> 14:10:42,523 INFO Loaded converter for application/rtf rtf
> 14:10:42,524 INFO Loaded converter for text/rtf rtf
> 14:10:42,524 INFO Loaded converter for
> application/vnd.oasis.opendocument.text odt;ott
> 14:10:42,525 INFO Loaded converter for application/vnd.sun.xml.writer
> sxw;stw
> 14:10:42,526 INFO Loaded converter for
> application/vnd.stardivision.writer sdw
> 14:10:42,526 INFO Loaded converter for application/msexcel xls
> 14:10:42,527 INFO Loaded converter for image/postscript ps
> 14:10:42,527 INFO Loaded converter for application/postscript
> 14:10:42,530 INFO Loaded converter (built-in) for text/plain
> 14:10:42,531 INFO Loaded converter (built-in) for text/html
> 14:10:42,532 INFO Loaded converter (built-in) for image/tiff
> 14:10:42,532 DEBUG Working Directory: /usr/lib/asterfax
> 14:10:42,532 DEBUG class path: AsterFax.jar
> 14:10:42,746 DEBUG OutBound FaxManager starting.
> 14:10:42,771 ERROR /var/spool/asterfax/tmp (Is a directory)
> java.io.FileNotFoundException: /var/spool/asterfax/tmp (Is a
> directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at
>
au.com.noojee.asterfax.messagestore.FileMimeMessage.<init>(FileMimeMessage.java:116)
> at
>
au.com.noojee.asterfax.outbound.FaxManagerOutBound.load(FaxManagerOutBound.java:242)
> at
>
au.com.noojee.asterfax.outbound.FaxManagerOutBound.loadAndstart(FaxManagerOutBound.java:83)
> at
> au.com.noojee.asterfax.AsterFax.startThreads(AsterFax.java:187)
> at au.com.noojee.asterfax.AsterFax.<init>(AsterFax.java:114)
> at au.com.noojee.asterfax.AsterFax.main(AsterFax.java:297)
> 14:10:42,772 INFO Shutting down AsterFax due to IOException.
> 14:10:42,773 INFO AsterFax has shutdown.
>
> Thanks in Advance,
> Sukhbir
>
>
>
>
>
> ______________________________________________________________________
> This message and its attachments contain confidential information and
> may also contain legally privileged information. This message is
> intended solely for the named addressee. If you are not the addressee
> indicated in this message (or authorized to receive for addressee),
> you may not copy or deliver any part of this message or its
> attachments to anyone or use any part of this message or its
> attachments. Rather, you should permanently delete this message and
> its attachments (and all copies) from your system and kindly notify
> the sender by reply e-mail. Any content of this message and its
> attachments that does not relate to the official business of
> Cellebrum.com Pvt Ltd or its affiliates and/or subsidiaries must be
> taken not to have been sent or endorsed by any of them. Opinions and
> information in this email that do not relate to the official business
> of Cellebrum.com Pvt Ltd, shall be understood as neither given nor
> endorsed by Cellebrum.com Pvt Ltd. Any action/proceeding/opportunity
> upon the contents of this email taken by not intended addressee shall
> attract liabilities both criminal and civil against such addressee.
>
> Email communications are not private and no warranty is made that
> e-mail communications are timely, secure or free from computer virus
> or other defect.
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users