Asterisk startet nicht...

N

netgoblin

Grünschnabel
Hallo zusammen,


langsam habe ich keine Idee mehr warum bei mir Asterisk nicht starten will.
Ich bekomme immer diese Aussage:

$ sudo asterisk -vvvnc /opt/local/etc/asterisk/asterisk.conf
Asterisk 1.4.20.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Unable to open logger.conf: No such file or directory; default settings will be used.
[Nov 23 18:39:05] ERROR[1152]: logger.c:615 init_logger: Unable to create event log: No such file or directory


Ob als User mit sudo oder gar als root.

Ich verwende die MacPorts 1.60 MacOSX ist das
Darwin Kernel Version 9.5.0: Wed Sep 3 11:31:44 PDT 2008; root:xnu-1228.7.58~1/RELEASE_PPC Power Macintosh

danke schon mal

netgoblin
 
Hallo foexle,

meine conf sieht so aus..

[directories]
astetcdir => /opt/local/etc/asterisk
astmoddir => /opt/local/lib/asterisk/modules
astvarlibdir => /opt/local/lib/asterisk
astdatadir => /opt/local/lib/asterisk
astagidir => /opt/local/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run
astlogdir => /tmp

[options]
verbose = 3
dumpcore = no
internal_timing = yes
highpriority = yes
languageprefix = yes

Wobei ich auch den Fehler ohne config bekomme...

danke netgoblin
 
Falls Du Deine Festplatte partitioniert hast, wuerde ich mal vorschlagen, dass Du nachsiehst, ob nicht z.B. /tmp voll ist und temporaere (oder eben jene log-Datei) nicht mehr geschrieben werden koennen.
 
Hi rikola,

nee daran kann's nicht liegen /tmp hat genug platz 16G...

trotzdem danke
 
Kopier mal die Standard logger.conf rein und prüfe die
 
Hallo saeckereier,

nee hat auch nicht geholfen. logger.conf.sample to logger.conf..

pb12-netgoblin-de:asterisk goblin$ sudo asterisk -nfc ../asterisk/asterisk.conf
Asterisk 1.4.20.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
[ Booting...
[ Reading Master Configuration ]
[ Initializing Custom Configuration Options ]
Unable to open logger.conf: No such file or directory; default settings will be used.
[Nov 24 13:07:09] ERROR[1598]: logger.c:615 init_logger: Unable to create event log: No such file or directory
pb12-netgoblin-de:asterisk goblin$ cat logger.conf
;
; Logging Configuration
;
; In this file, you configure logging to files or to
; the syslog system.
;
; "logger reload" at the CLI will reload configuration
; of the logging system.

[general]
; Customize the display of debug message time stamps
; this example is the ISO 8601 date format (yyyy-mm-dd HH:MM:SS)
; see strftime(3) Linux manual for format specifiers
;dateformat=%F %T
;
; This appends the hostname to the name of the log files.
;appendhostname = yes
;
; This determines whether or not we log queue events to a file
; (defaults to yes).
;queue_log = no
;
; This determines whether or not we log generic events to a file
; (defaults to yes).
;event_log = no
;
;
; For each file, specify what to log.
;
; For console logging, you set options at start of
; Asterisk with -v for verbose and -d for debug
; See 'asterisk -h' for more information.
;
; Directory for log files is configures in asterisk.conf
; option astlogdir
;
[logfiles]
;
; Format is "filename" and then "levels" of debugging to be included:
; debug
; notice
; warning
; error
; verbose
; dtmf
;
; Special filename "console" represents the system console
;
; We highly recommend that you DO NOT turn on debug mode if you are simply
; running a production system. Debug mode turns on a LOT of extra messages,
; most of which you are unlikely to understand without an understanding of
; the underlying code. Do NOT report debug messages as code issues, unless
; you have a specific issue that you are attempting to debug. They are
; messages for just that -- debugging -- and do not rise to the level of
; something that merit your attention as an Asterisk administrator. Debug
; messages are also very verbose and can and do fill up logfiles quickly;
; this is another reason not to have debug mode on a production system unless
; you are in the process of debugging a specific issue.
;
;debug => debug
console => notice,warning,error
;console => notice,warning,error,debug
messages => notice,warning,error
;full => notice,warning,error,debug,verbose

;syslog keyword : This special keyword logs to syslog facility
;
;syslog.local0 => notice,warning,error

;
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

Sorry, ich glaub ich war einfach nur bloed... Jaja, wer lesen kann ist klar im Vorteil..

Config mit -C nicht -c...

wo ist mein Hintern zum reinbeissen...

netgoblin
 
Zuletzt bearbeitet:

Ähnliche Themen

Nginx als Reverse Proxy für Nextcloud und Emby

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Verständnisfrage zu RegExps

Ich mag Dovecot nicht ...

X startet nichtmehr

Zurück
Oben