My bad. I just noticed you did the restart command.
The (currently) most reasonable explanation is that rsyslog cannot
create the file, since it runs as "syslog" IIRC. Can you manually ensure
"/export/opensips/log/opensips.log" exists, and have the same
permissions as "/var/log/opensips.log" ?
Maybe you forgot to reload/restart the rsyslog daemon?
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 22.09.2016 15:15, 龙 wrote:
Hi Liviu:
thanks for your suggestion。
I‘m sure the file and the directory has -rwxrwxrwx permissions andI
use root did it with opensips2.2.1 an