| View previous topic :: View next topic |
| Author |
Message |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sat Mar 17, 2007 2:11 am Post subject: [solved] asterisk 1.2.14-r1 will not start |
|
|
I just upgraded to astersik-1.2.14-r1 and I can not start it. All I get:
Starting asterisk PBX (as asterisk) ... [ !! ]
/var/log/asterisk/queue_log is the only file that is being updated and doesn't contain anything it can give me a clue:
| Code: | 1174095557|NONE|NONE|NONE|QUEUESTART|
1174095616|NONE|NONE|NONE|QUEUESTART|
1174096410|NONE|NONE|NONE|QUEUESTART|
1174096502|NONE|NONE|NONE|QUEUESTART|
1174097329|NONE|NONE|NONE|QUEUESTART| |
Last edited by Joseph_sys on Sun Mar 25, 2007 8:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sat Mar 17, 2007 2:13 am Post subject: |
|
|
| Can you post emerge --info plz ? |
|
| Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sat Mar 17, 2007 2:31 am Post subject: |
|
|
| d2_racing wrote: | | Can you post emerge --info plz ? |
| Code: | emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 AMD Athlon(tm)
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 16 Mar 2007 23:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibibio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ rsync://planetmirror.com/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 apm arts berkdb bitmap-fonts cdr cgi cli cracklib crypt cups devfs26 dri dv dvd eds emboss encode esd fam foomaticdb fortran gdbm gif gimp gimpprint gpm gstreamer gtk gtk2 iconv ieee1394 imlib ipv6 isdnlog java jpeg kde libg++ libwww mad midi mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection scanner sdl session softmmu sox spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts usb vorbis x86 xml xorg xv zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv vesa fbdev"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
With asterisk 1.2.13 I was still using mpg123, and after upgrade to 1.2.14-r1 the CPU get 99% and it was mpg123 so I kill the process and commented out in musiconhold.conf :
| Code: | #mode=mp3
#directory=/var/lib/asterisk/mohmp3/my-selection |
to deactivate music on hold. So CPU is now normal but asterisk will not start. |
|
| Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Sat Mar 17, 2007 2:44 am Post subject: |
|
|
After upgrading to Asterisk-1.2.14-r1 I can only see in /etc/asterisk essential file:
| Code: | -rw-r----- 1 root asterisk 3260 Mar 16 20:38 asterisk.adsi
-rw-r----- 1 root asterisk 791 Nov 11 14:01 cdr_mysql.conf
-rw-r----- 1 root asterisk 1083 Mar 16 20:38 extensions.ael
-rw-r----- 1 root asterisk 17683 Mar 14 19:38 extensions.conf
-rw-r----- 1 root asterisk 17683 Mar 16 18:05 extensions.conf-backup
-rw-r----- 1 root asterisk 17087 Mar 14 19:38 iax.conf
-rw-r----- 1 root asterisk 17087 Mar 16 18:06 iax.conf-backup
-rw-r----- 1 root asterisk 16907 Oct 21 21:32 iax.conf_backup
-rw-r----- 1 root asterisk 1459 Oct 21 23:23 modules.conf
-rw-r----- 1 root asterisk 1894 Mar 16 19:53 musiconhold.conf
-rw-r----- 1 root asterisk 406 Nov 11 14:01 res_mysql.conf
-rw-r----- 1 root asterisk 23798 Mar 14 19:38 sip.conf
-rw-r----- 1 root asterisk 23798 Mar 16 18:05 sip.conf-backup
-rw-r----- 1 root asterisk 1384 Mar 16 20:38 telcordia-1.adsi
-rw-r----- 1 root asterisk 10078 Dec 17 14:17 voicemail.conf |
Where did the rest of the files go? |
|
| Back to top |
|
 |
maiku Guru


Joined: 24 Mar 2004 Posts: 586 Location: Escaping from NY
|
Posted: Tue Apr 10, 2007 3:27 pm Post subject: |
|
|
Yeah, mine disappeared too when I re-emerged asterisk. Where in the world did they go? No matter how many times I delete the config and re-emerge, they won't come back. _________________ Michael |
|
| Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Tue Apr 10, 2007 4:51 pm Post subject: |
|
|
| maiku wrote: | | Yeah, mine disappeared too when I re-emerged asterisk. Where in the world did they go? No matter how many times I delete the config and re-emerge, they won't come back. |
Asterisk moved them to: //usr/share/doc/asterisk-1.2.14-r2/conf
Install / activate enotice, it will help a lot. |
|
| Back to top |
|
 |
maiku Guru


Joined: 24 Mar 2004 Posts: 586 Location: Escaping from NY
|
Posted: Sun Apr 15, 2007 7:56 am Post subject: |
|
|
Good call. I was able to take out all of the files needed from /usr/share/doc/asterisk-1.2.14-r2/conf. What I actually did was back up the files that it left there when I re-emerged it, copied over the sample config files, and then copied over what I backed up. Worked well. Thanks. _________________ Michael |
|
| Back to top |
|
 |
|