[Spce-user] Unable to start ngcp-panel web application
prashant Tiwari
prashant3784 at gmail.com
Mon Feb 3 14:35:44 EST 2014
One thing I noticed is that the owner of .pid and .sock files are root for
ngcp-panel application, whereas owner of these files for ngcp-www-csc
application is www-data.
/var/run/fastcgi# ls -lrt
srwxrwxrwx 1 www-data www-data 0 Feb 2 15:13 ngcp-www-csc.sock
-rw-r--r-- 1 www-data www-data 6 Feb 2 15:13 ngcp-www-csc.pid
srwxrwxrwx 1 root root 0 Feb 3 19:28 ngcp-panel.sock
-rw-r--r-- 1 root root 5 Feb 3 19:28 ngcp-panel.pid
I am able to load and start ngcp-www-csc however ngcp-panel application is
> not loading application, so can this be the root cause of not starting up
> of ngcp-panel application?
>
If yes then how should I change permission of .pid and .sock files from
root to www-data?
Regards,
Pras
On Mon, Feb 3, 2014 at 5:34 PM, prashant Tiwari <prashant3784 at gmail.com>wrote:
> Hi Victor
>
> The error.log has below entries -
>
> 2014/02/02 17:03:23 [error] 29656#0: *1 connect() to
> unix:/var/run/fastcgi/ngcp-panel.sock failed (111: Connection refused)
> while connecting to upstream, client: ::ffff:81.20.178.180, server: ,
> request: "GET / HTTP/1.1", upstream:
> "fastcgi://unix:/var/run/fastcgi/ngcp-panel.sock:", host: "
> 46.20.114.85:1443"
> 2014/02/02 17:03:42 [error] 29656#0: *12 connect() to
> unix:/var/run/fastcgi/ngcp-panel.sock failed (111: Connection refused)
> while connecting to upstream, client: ::ffff:81.20.178.180, server: ,
> request: "GET / HTTP/1.1", upstream:
> "fastcgi://unix:/var/run/fastcgi/ngcp-panel.sock:", host: "
> 46.20.114.85:1443"
> 2014/02/02 17:04:11 [error] 29656#0: *22 connect() to
> unix:/var/run/fastcgi/ngcp-panel.sock failed (111: Connection refused)
> while connecting to upstream, client: ::ffff:81.20.178.180, server: ,
> request: "GET /handbook HTTP/1.1", upstream:
> "fastcgi://unix:/var/run/fastcgi/ngcp-panel.sock:", host: "
> 46.20.114.85:1443"
>
> And there is no ossbss.log, however there is /var/log/ngcp/oss.log file
> with below entries -
>
> Feb 3 17:30:03 debian provisioning: Sipwise::Provisioning::Config::new:
> using config file "/etc/ngcp-ossbss/provisioning.conf"
> Feb 3 17:30:03 debian provisioning: Sipwise::Provisioning::new:
> Sipwise::Provisioning::Billing object initialized
> Feb 3 17:30:03 debian provisioning: Sipwise::Provisioning::Config::new:
> using config file "/etc/ngcp-ossbss/provisioning.conf"
> Feb 3 17:30:03 debian provisioning: Sipwise::Provisioning::new:
> Sipwise::Provisioning::Voip object initialized
>
> Regards,
> Pras
>
> Feb 3 16:30:03 debian provisioning: Sipwise::Provisioning::new:
> Sipwise::Provisioning::Voip object initialized
> Feb 3 17:00:02 debian provisioning: Sipwise::Provisioning::Config::new:
> using config file "/etc/ngcp-ossbss/provisioning.conf"
> Feb 3 17:00:02 debian provisioning: Sipwise::Provisioning::Config::new:
> using config file "/etc/ngcp-ossbss/provisioning.conf"
> Feb 3 17:00:02 debian provisioning: Sipwise::Provisioning::new:
> Sipwise::Provisioning::Billing object initialized
> Feb 3 17:00:02 debian provisioning: Sipwise::Provisioning::Config::new:
> using config file "/etc/ngcp-ossbss/provisioning.conf"
> Feb 3 17:00:02 debian provisioning: Sipwise::Provisioning::new:
> Sipwise::Provisioning::Voip object initialized
>
>
>
> On Mon, Feb 3, 2014 at 10:35 AM, Victor Seva <vseva at sipwise.com> wrote:
>
>> Hi,
>>
>> On Sat, 2014-02-01 at 23:52 +0000, prashant Tiwari wrote:
>> >
>> > When I try to manually start ngcp-panel application using below
>> > command it shows error message -
>> >
>> > $ /etc/init.d/ngcp-panel start || true
>> >
>> > FastCGI daemon started (pid 4696)
>> > [FAIL] error ... failed!
>> > failed!
>> >
>>
>> Please, take a look over the log files:
>> - /var/log/ngcp/ossbss.log
>> - /var/log/ngcp/nginx/error.log
>>
>> Is there any error?
>>
>> > However I am able to start and stop other ngcp web applications (eg -
>> > csc)using this command -
>> >
>> > $ /etc/init.d/ngcp-www-csc start || true
>> > FastCGI daemon started (pid 20099)
>> > . ok
>> >
>> >
>> > Can someone explain why the ngcp-panel web application is not getting
>> > started by default as well as manually using above command?
>>
>>
>>
>>
>
>
> --
> "DESERVE BEFORE YOU DESIRE"
>
--
"DESERVE BEFORE YOU DESIRE"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20140203/0ad19480/attachment.html>
More information about the Spce-user
mailing list