On Monday, August 04, 2014 09:01:44 AM Gilbert T. Gutierrez, Jr. wrote:
This is a new machine that going to be used for
testing. This is the
only instance, compiled from GIT. I can try recompiling it but I believe
I compiled it with the cfg option as listed.
[root@localhost ~]# kamailio -I
Print out of kamailio internals
Version: kamailio 4.1.4 (x86_64/linux) 4eb7b5
Default config: /usr/local/etc/kamailio/kamailio.cfg
Default paths to modules: /usr/local/lib64/kamailio/modules
Compile flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS,
USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP,
PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES
MAX_RECV_BUFFER_SIZE=262144
MAX_LISTEN=16
MAX_URI_SIZE=1024
BUF_SIZE=65535
DEFAULT PKG_SIZE=4MB
DEFAULT SHM_SIZE=32MB
ADAPTIVE_WAIT_LOOPS=1024
TCP poll methods: poll, epoll_lt, epoll_et, sigio_rt, select
Source code revision ID: 4eb7b5
Compiled with: gcc 4.4.7
Compiled on: 16:27:56 Jul 31 2014
Thank you for flying kamailio!
Gilbert
On 8/4/2014 2:46 AM, Daniel-Constantin Mierla wrote:
> Hello,
>
> do you have any other kamailio instance installed before?
>
> Can you give the output of 'kamailio -I'? (that's an upper case i).
>
> Cheers,
> Daniel
>
> On 03/08/14 20:28, Gilbert T. Gutierrez, Jr. wrote:
>> CentOS6.5
>> Kamailio 4.1
>>
>> I compiled Kamailio as follows so that the configuration file would
>> be in "/etc/kamailio" rather than
"/usr/local/etc/kamailio/"...
>>
>> make cfg_prefix=/ all
>> make cfg_prefix=/ install
>>
>> When I try to start kamailio I get the following error...
>>
>> Not starting : invalid configuration file!
>>
>> ERROR: loading config file(/usr/local/etc/kamailio/kamailio.cfg): No
>> such file or directory
>>
>> I can find no reference in the init file to that location (which does
>> not exist). Did I use the wrong options in make?
Gilbert, I just started building Kamailio for Fedora 20, 21 & EL 7. You can
take a look at my RPM spec file and patches here:
https://messinet.com/rpms/browser/kamailio
The notable difference with EL6 will be the lack of systemd support. You can
probably use a similar spec file without my patches, which were mainly
implemented to move the sockets and FIFOs to /run/kamailio instead of /tmp,
which would allow for running Kamailio with systemd and PrivateTmp=True while
still allowing access to FIFO and/or socket commands.
-A
--
Anthony -
https://messinet.com/ -
https://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E