Re: [sipx-dev] How to access User Group Permissions (Settings) forediting?

2012-04-13 Thread Dan Chang
Thanks for the tip!  That definitely helps fill in the missing pieces ^_^

D Chang


-Original Message-
From: sipx-dev-boun...@list.sipfoundry.org 
[mailto:sipx-dev-boun...@list.sipfoundry.org] On Behalf Of George Niculae
Sent: Friday, April 13, 2012 12:40 PM
To: sipXecs developer discussions
Subject: Re: [sipx-dev] How to access User Group Permissions (Settings) 
forediting?

On Fri, Apr 13, 2012 at 6:44 PM, Dan Chang  wrote:
> I am trying to read and update the Permissions for a User Group, which I
> believe are "Settings", within a REST API.  The only example I have seen
> uses
>
>    group.inherhitSettingsForEditing(BeanWithSettings bean); (sic)
>
> to get a copy of all the settings, but this was in some web page code
> that had a getBean() available.  Does anyone know how I can get access
> to a bean within a Restlet resource?  (I admit I know beans about
> beans).

For getting that bean just do a User user = CoreContext.newUser();
That's because Permissions are more user related
Then use the method you mentioned getSettingValue /
getSettingTypedValue, they should return what you need

George
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] How to access User Group Permissions (Settings) for editing?

2012-04-13 Thread George Niculae
On Fri, Apr 13, 2012 at 6:44 PM, Dan Chang  wrote:
> I am trying to read and update the Permissions for a User Group, which I
> believe are "Settings", within a REST API.  The only example I have seen
> uses
>
>    group.inherhitSettingsForEditing(BeanWithSettings bean); (sic)
>
> to get a copy of all the settings, but this was in some web page code
> that had a getBean() available.  Does anyone know how I can get access
> to a bean within a Restlet resource?  (I admit I know beans about
> beans).

For getting that bean just do a User user = CoreContext.newUser();
That's because Permissions are more user related
Then use the method you mentioned getSettingValue /
getSettingTypedValue, they should return what you need

George
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


[sipx-dev] How to access User Group Permissions (Settings) for editing?

2012-04-13 Thread Dan Chang
I am trying to read and update the Permissions for a User Group, which I
believe are "Settings", within a REST API.  The only example I have seen
uses

group.inherhitSettingsForEditing(BeanWithSettings bean); (sic)

to get a copy of all the settings, but this was in some web page code
that had a getBean() available.  Does anyone know how I can get access
to a bean within a Restlet resource?  (I admit I know beans about
beans).

I have also tried accessing a single permission with the only settings
path I could find

 
group.getSettingValue(PermissionName.SUBSCRIBE_TO_PRESENCE.getPath());

but that seemed to return an empty string (same with using
getSettingTypedValue(), which was always false).  In the end I need to
be able to get every setting, so unless I can get the paths from
somewhere (do not seem to be in the Permissions themselves) I figure I
will still need to get inherhitSettingsForEditing working.  Or maybe
someone can suggest a different way to edit permissions on a Group?

Thanks

D. Chang

___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] 4.5.2 .. adding alias stops apache

2012-04-13 Thread Tony Graziano
error_log shows

[Fri Apr 13 09:07:02 2012] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Fri Apr 13 09:07:02 2012] [notice] Digest: generating secret for
digest authentication ...
[Fri Apr 13 09:07:02 2012] [notice] Digest: done
[Fri Apr 13 09:07:02 2012] [notice] Apache/2.2.15 (Unix) DAV/2
mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal
operations
[Fri Apr 13 09:07:11 2012] [error] [client 127.0.0.1] Client sent
malformed Host header
[Fri Apr 13 09:07:29 2012] [notice] caught SIGTERM, shutting down

ssl_error_log shows:

[Fri Apr 13 09:07:02 2012] [warn] RSA server certificate is a CA
certificate (BasicConstraints: CA == TRUE !?)
[Fri Apr 13 09:07:02 2012] [warn] RSA server certificate is a CA
certificate (BasicConstraints: CA == TRUE !?)

The error log showing a malformed request from 127.0.0.1, is not
suspicious, it's not running. I will open a JIRA. Any last comments?

On Fri, Apr 13, 2012 at 9:03 AM, Douglas Hubler  wrote:
> On Fri, Apr 13, 2012 at 8:59 AM, Kumaran
>  wrote:
>>  Already httpd service is shutdown was discussed with Douglas..He told
>> that fix will ready...So still there issue regarding it...
>
> we run
>  chkconfig --add httpd
> so
>  chkconfig --list httpd
>
> should show that it should start w/system.
>
> If that's not what you see, then the bug is that apache has a failure
> starting w/system for some reason we'd need to investigate.  I would
> urge you to do a fresh install as there were a number of fixes in this
> area that a yum update might not fix.
>
>
>> Either we can
>> add our comments in the issue I created or open a new issue that apache
>> stops after 30secs and doesn't restart...
>
> check logs in /var/log/httpd make sure it's not your system, otherwise
> it's fine to append to open issue
> ___
> sipx-dev mailing list
> sipx-dev@list.sipfoundry.org
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/



-- 
~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: tgrazi...@voice.myitdepartment.net
Fax: 434.465.6833
~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~

-- 
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: helpd...@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] Unknown Test Result -2147483648 for all tests in 4.5.2

2012-04-13 Thread Douglas Hubler
On Fri, Apr 13, 2012 at 8:46 AM, Tony Graziano
 wrote:
> Are these slated to be different in 4.6 or were they just not made
> available so they could be changed to reflect the changes in sipx
> overall?

preflight didn't make it off the 4.6 runway.  Same with mrtg.  Each of
these can be worked on post 4.6 release though.  Sorry, i tried really
hard to keep everything and we kept a lot, but these 2 things were
implemented to radically different we had to put them to the side
until after the release.
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] 4.5.2 .. adding alias stops apache

2012-04-13 Thread Dave May

Monit works well for this type of need.  I use it (and the distributed mgmt in 
m/monit) with great success, and would be happy to contribute configs if you 
are interested.

Sent from my HTC smartphone on the Now Network from Sprint!

- Reply message -
From: "Douglas Hubler" 
To: "sipXecs developer discussions" 
Subject: [sipx-dev] 4.5.2 .. adding alias stops apache
Date: Fri, Apr 13, 2012 8:23 am




On Fri, Apr 13, 2012 at 8:17 AM, Tony Graziano
 wrote:
> I added a domain alias and then found sipxconfig to be running. All
> web queries were rejected. I had to manually start apache in order to
> regain connectivity with sipxconfig interface. Is there, or will there
> be, any type of watchdog made available in 4.6 so apache stays up?

there will be. I was planning on using the snmpd service is manage
this, but haven't set it up yet.  It has a config parameter to manage
this for each service.  What i don't know is how often it checks.
cf-execd could also, but I'd rather use snmpd if i can.
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] 4.5.2 .. adding alias stops apache

2012-04-13 Thread Douglas Hubler
On Fri, Apr 13, 2012 at 8:59 AM, Kumaran
 wrote:
>  Already httpd service is shutdown was discussed with Douglas..He told
> that fix will ready...So still there issue regarding it...

we run
  chkconfig --add httpd
so
  chkconfig --list httpd

should show that it should start w/system.

If that's not what you see, then the bug is that apache has a failure
starting w/system for some reason we'd need to investigate.  I would
urge you to do a fresh install as there were a number of fixes in this
area that a yum update might not fix.


> Either we can
> add our comments in the issue I created or open a new issue that apache
> stops after 30secs and doesn't restart...

check logs in /var/log/httpd make sure it's not your system, otherwise
it's fine to append to open issue
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] 4.5.2 .. adding alias stops apache

2012-04-13 Thread Kumaran
 Already httpd service is shutdown was discussed with Douglas..He told 
that fix will ready...So still there issue regarding it...Either we can 
add our comments in the issue I created or open a new issue that apache 
stops after 30secs and doesn't restart...

Regards,
Kumaran T

Tony Graziano wrote:
> (added apachectl start to startup routine manually), rebooted system,
> apache is up.
>
> add alias, within 30 seconds apache stops and does not restart...
>
> It appears there still should be a watchdog or monitor on apache
> (httpd) that calls apachectl to start if it is down...
>
> I do not see that on the issues list for 4.6.
>
>
> On Fri, Apr 13, 2012 at 8:30 AM, Kumaran
>  wrote:
>   
>> I had created a issue  "XX-10109"
>>  (Httpd service is shutdown
>> after reboot)So please add the comments in the issue if its related
>> to it...So it will be easy to track it down.
>>
>> Regards,
>> Kumaran T
>>
>> Douglas Hubler wrote:
>> 
>>> On Fri, Apr 13, 2012 at 8:17 AM, Tony Graziano
>>>  wrote:
>>>
>>>   
 I added a domain alias and then found sipxconfig to be running. All
 web queries were rejected. I had to manually start apache in order to
 regain connectivity with sipxconfig interface. Is there, or will there
 be, any type of watchdog made available in 4.6 so apache stays up?

 
>>> there will be. I was planning on using the snmpd service is manage
>>> this, but haven't set it up yet.  It has a config parameter to manage
>>> this for each service.  What i don't know is how often it checks.
>>> cf-execd could also, but I'd rather use snmpd if i can.
>>> ___
>>> sipx-dev mailing list
>>> sipx-dev@list.sipfoundry.org
>>> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>>>
>>>   
>> ___
>> sipx-dev mailing list
>> sipx-dev@list.sipfoundry.org
>> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>> 
>
>
>
>   

___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] 4.5.2 .. adding alias stops apache

2012-04-13 Thread Tony Graziano
(added apachectl start to startup routine manually), rebooted system,
apache is up.

add alias, within 30 seconds apache stops and does not restart...

It appears there still should be a watchdog or monitor on apache
(httpd) that calls apachectl to start if it is down...

I do not see that on the issues list for 4.6.


On Fri, Apr 13, 2012 at 8:30 AM, Kumaran
 wrote:
> I had created a issue  "XX-10109"
>  (Httpd service is shutdown
> after reboot)So please add the comments in the issue if its related
> to it...So it will be easy to track it down.
>
> Regards,
> Kumaran T
>
> Douglas Hubler wrote:
>> On Fri, Apr 13, 2012 at 8:17 AM, Tony Graziano
>>  wrote:
>>
>>> I added a domain alias and then found sipxconfig to be running. All
>>> web queries were rejected. I had to manually start apache in order to
>>> regain connectivity with sipxconfig interface. Is there, or will there
>>> be, any type of watchdog made available in 4.6 so apache stays up?
>>>
>>
>> there will be. I was planning on using the snmpd service is manage
>> this, but haven't set it up yet.  It has a config parameter to manage
>> this for each service.  What i don't know is how often it checks.
>> cf-execd could also, but I'd rather use snmpd if i can.
>> ___
>> sipx-dev mailing list
>> sipx-dev@list.sipfoundry.org
>> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>>
>
> ___
> sipx-dev mailing list
> sipx-dev@list.sipfoundry.org
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/



-- 
~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: tgrazi...@voice.myitdepartment.net
Fax: 434.465.6833
~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~

-- 
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: helpd...@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] Unknown Test Result -2147483648 for all tests in 4.5.2

2012-04-13 Thread Tony Graziano
OK, thanks!

On Fri, Apr 13, 2012 at 8:42 AM, George Niculae  wrote:
> On Fri, Apr 13, 2012 at 3:36 PM, Tony Graziano
>  wrote:
>> All tests are failing.
>>
>>
>>
>> Is this a known issue? Is there any other information I can provide?
>> Is a JIRA warranted?
>>
>
> Yep, recorded already: http://track.sipfoundry.org/browse/XX-10069
> There are some scripts in old tools package that were not ported yet,
> I moved just the one used in getting snapshots.
> That's the filter I created for 4.6:
> http://track.sipfoundry.org/secure/IssueNavigator.jspa?mode=hide&requestId=11011
>
> George
> ___
> sipx-dev mailing list
> sipx-dev@list.sipfoundry.org
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/



-- 
~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: tgrazi...@voice.myitdepartment.net
Fax: 434.465.6833
~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~

-- 
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: helpd...@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] Unknown Test Result -2147483648 for all tests in 4.5.2

2012-04-13 Thread Tony Graziano
I failed to mention that /usr/bin/preflight was not present and I used
the 4.4 binary for that also to see what else was missing...

Are these slated to be different in 4.6 or were they just not made
available so they could be changed to reflect the changes in sipx
overall?

"2012-04-13T12:26:03.403000Z":171:JAVA:ERR:sipx.dev.myitdepartment.net:pool-5-thread-1::ExternalCommand:"Cannot
execute: sipx-test-hostname"
java.io.IOException: Cannot run program "/usr/bin/sipx-test-hostname":
java.io.IOException: error=2, No such file or directory

The file is there with permissions 0755 (root:root)

On Fri, Apr 13, 2012 at 8:36 AM, Tony Graziano
 wrote:
> All tests are failing.
>
> "2012-04-13T12:22:00.89Z":162:JAVA:ERR:sipx.dev.myitdepartment.net:pool-4-thread-1::ExternalCommand:"Cannot
> execute: preflight"
> java.io.IOException: Cannot run program "/usr/bin/preflight":
> java.io.IOException: error=2, No such file or directory
>
> I also realized after copying that file over all of the "sipx-test-*
> files were missing so I copied those over as well and had some mixed
> results:
>
>
> Test Name       Last Time Run   Status
> DNS IP:Name resolver     4/13/12 8:30 AM         Success
> SSL certificate  4/13/12 8:30 AM         Warning
>  Unknown test result: 127
>
> Show details
> SELinux  4/13/12 8:30 AM         Success
> Configuration files consistency  4/13/12 8:30 AM         Success
> 'localhost' configuration        4/13/12 8:30 AM         Success
> 127.0.0.1 configuration  4/13/12 8:30 AM         Error
>  Invalid mapping for 127.0.0.1
>
> The 127.0.0.1 address should map to only the names
> 'localhost.localdomain' and 'localhost'. Any other name for that
> address may cause routing or authentication errors. Remove any names
> from the 127.0.0.1 line in /etc/hosts except for
> 'localhost.localdomain' and 'localhost'.
> Show details
> Temporary directory      4/13/12 8:30 AM         Success
> Apache HTTP server       4/13/12 8:30 AM         Error
>  Apache HTTP server verification error
>
> Show details
> Hostname         4/13/12 8:30 AM         Warning
>  Unknown test result: 127
>
> Show details
> DHCP Test
> Show Detailed Help
> 4/13/12 8:30 AM  Warning
>  Unknown test result: 1
>
> Show details
> DHCP (Option 120) Test   4/13/12 8:30 AM         Warning
>  Unknown test result: 1
>
> Show details
> DNS Test         4/13/12 8:30 AM         Warning
>  Unknown test result: 1
>
> Show details
> NTP Test         4/13/12 8:30 AM         Warning
>  Unknown test result: 1
>
> Show details
> TFTP Test        4/13/12 8:30 AM         Warning
>  Unknown test result: 1
>
> Show details
> FTP Test         4/13/12 8:30 AM         Warning
>  Unknown test result: 1
>
> Show details
> HTTP Test        4/13/12 8:30 AM         Warning
>  Unknown test result: 1
> ***
>
> Disclaimer: I used the sipx-test-* binaries from a 4.4 build to get
> these results.
>
> I see the system has its certificate generated. I expect the binary
> simply doesn't know how to interpret the result since its the binary
> from 4.4 that I used.
>
> Is this a known issue? Is there any other information I can provide?
> Is a JIRA warranted?
>
>
> --
> ~~
> Tony Graziano, Manager
> Telephone: 434.984.8430
> sip: tgrazi...@voice.myitdepartment.net
> Fax: 434.465.6833
> ~~
> Linked-In Profile:
> http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
> Ask about our Internet Fax services!
> ~~



-- 
~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: tgrazi...@voice.myitdepartment.net
Fax: 434.465.6833
~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~

-- 
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: helpd...@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] Unknown Test Result -2147483648 for all tests in 4.5.2

2012-04-13 Thread George Niculae
On Fri, Apr 13, 2012 at 3:36 PM, Tony Graziano
 wrote:
> All tests are failing.
>
>
>
> Is this a known issue? Is there any other information I can provide?
> Is a JIRA warranted?
>

Yep, recorded already: http://track.sipfoundry.org/browse/XX-10069
There are some scripts in old tools package that were not ported yet,
I moved just the one used in getting snapshots.
That's the filter I created for 4.6:
http://track.sipfoundry.org/secure/IssueNavigator.jspa?mode=hide&requestId=11011

George
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


[sipx-dev] Unknown Test Result -2147483648 for all tests in 4.5.2

2012-04-13 Thread Tony Graziano
All tests are failing.

"2012-04-13T12:22:00.89Z":162:JAVA:ERR:sipx.dev.myitdepartment.net:pool-4-thread-1::ExternalCommand:"Cannot
execute: preflight"
java.io.IOException: Cannot run program "/usr/bin/preflight":
java.io.IOException: error=2, No such file or directory

I also realized after copying that file over all of the "sipx-test-*
files were missing so I copied those over as well and had some mixed
results:


Test Name   Last Time Run   Status
DNS IP:Name resolver 4/13/12 8:30 AM Success
SSL certificate  4/13/12 8:30 AM Warning
 Unknown test result: 127

Show details
SELinux  4/13/12 8:30 AM Success
Configuration files consistency  4/13/12 8:30 AM Success
'localhost' configuration4/13/12 8:30 AM Success
127.0.0.1 configuration  4/13/12 8:30 AM Error
 Invalid mapping for 127.0.0.1

The 127.0.0.1 address should map to only the names
'localhost.localdomain' and 'localhost'. Any other name for that
address may cause routing or authentication errors. Remove any names
from the 127.0.0.1 line in /etc/hosts except for
'localhost.localdomain' and 'localhost'.
Show details
Temporary directory  4/13/12 8:30 AM Success
Apache HTTP server   4/13/12 8:30 AM Error
 Apache HTTP server verification error

Show details
Hostname 4/13/12 8:30 AM Warning
 Unknown test result: 127

Show details
DHCP Test
Show Detailed Help
4/13/12 8:30 AM  Warning
 Unknown test result: 1

Show details
DHCP (Option 120) Test   4/13/12 8:30 AM Warning
 Unknown test result: 1

Show details
DNS Test 4/13/12 8:30 AM Warning
 Unknown test result: 1

Show details
NTP Test 4/13/12 8:30 AM Warning
 Unknown test result: 1

Show details
TFTP Test4/13/12 8:30 AM Warning
 Unknown test result: 1

Show details
FTP Test 4/13/12 8:30 AM Warning
 Unknown test result: 1

Show details
HTTP Test4/13/12 8:30 AM Warning
 Unknown test result: 1
***

Disclaimer: I used the sipx-test-* binaries from a 4.4 build to get
these results.

I see the system has its certificate generated. I expect the binary
simply doesn't know how to interpret the result since its the binary
from 4.4 that I used.

Is this a known issue? Is there any other information I can provide?
Is a JIRA warranted?


-- 
~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: tgrazi...@voice.myitdepartment.net
Fax: 434.465.6833
~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~

-- 
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: helpd...@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] 4.5.2 .. adding alias stops apache

2012-04-13 Thread Kumaran
I had created a issue  "XX-10109" 
 (Httpd service is shutdown 
after reboot)So please add the comments in the issue if its related 
to it...So it will be easy to track it down.

Regards,
Kumaran T

Douglas Hubler wrote:
> On Fri, Apr 13, 2012 at 8:17 AM, Tony Graziano
>  wrote:
>   
>> I added a domain alias and then found sipxconfig to be running. All
>> web queries were rejected. I had to manually start apache in order to
>> regain connectivity with sipxconfig interface. Is there, or will there
>> be, any type of watchdog made available in 4.6 so apache stays up?
>> 
>
> there will be. I was planning on using the snmpd service is manage
> this, but haven't set it up yet.  It has a config parameter to manage
> this for each service.  What i don't know is how often it checks.
> cf-execd could also, but I'd rather use snmpd if i can.
> ___
> sipx-dev mailing list
> sipx-dev@list.sipfoundry.org
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>   

___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] 4.5.2 .. adding alias stops apache

2012-04-13 Thread Douglas Hubler
On Fri, Apr 13, 2012 at 8:17 AM, Tony Graziano
 wrote:
> I added a domain alias and then found sipxconfig to be running. All
> web queries were rejected. I had to manually start apache in order to
> regain connectivity with sipxconfig interface. Is there, or will there
> be, any type of watchdog made available in 4.6 so apache stays up?

there will be. I was planning on using the snmpd service is manage
this, but haven't set it up yet.  It has a config parameter to manage
this for each service.  What i don't know is how often it checks.
cf-execd could also, but I'd rather use snmpd if i can.
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


[sipx-dev] 4.5.2 .. adding alias stops apache

2012-04-13 Thread Tony Graziano
I added a domain alias and then found sipxconfig to be running. All
web queries were rejected. I had to manually start apache in order to
regain connectivity with sipxconfig interface. Is there, or will there
be, any type of watchdog made available in 4.6 so apache stays up?

-- 
~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: tgrazi...@voice.myitdepartment.net
Fax: 434.465.6833
~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~

-- 
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: helpd...@voice.myitdepartment.net

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] Authorization code

2012-04-13 Thread George Niculae
On Fri, Apr 13, 2012 at 2:37 PM, Kumaran
 wrote:
> Hi All,
>   In latest 4.6 build Authorization code alias field is not getting
> updated in mongodb so can't call from alias number...Anyone seeing this
> problem?
> { "_id" : "AuthCodeSettings7", "ident" :
> "*8...@sipx-test.ttplservices.com", "vld" : true, "als" : [ { "id" :
> "*81", "cnt" : "sip:*8...@sipx-test.ttplservices.com", "rln" : "alias" } ] }
>

That's a bug, please raise a jira

George
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


[sipx-dev] Authorization code

2012-04-13 Thread Kumaran
Hi All,
   In latest 4.6 build Authorization code alias field is not getting 
updated in mongodb so can't call from alias number...Anyone seeing this 
problem?
{ "_id" : "AuthCodeSettings7", "ident" : 
"*8...@sipx-test.ttplservices.com", "vld" : true, "als" : [ { "id" : 
"*81", "cnt" : "sip:*8...@sipx-test.ttplservices.com", "rln" : "alias" } ] }

Regards,
Kumaran T
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] Service shutdown after reboot

2012-04-13 Thread George Niculae
On Fri, Apr 13, 2012 at 10:32 AM, Kumaran
 wrote:
> George Niculae wrote:
>> On Thu, Apr 12, 2012 at 3:47 PM, Kumaran
>>  wrote:
>>
>>> Hi All,
>>>   Following services are shutdown once server is up and running after
>>> reboot
>>>     1.sipxregistrar--All ready raised a Jira
>>>     2.sipxpark
>>>     3.httpd--This service should be up otherwise recorded conference
>>> will not be present in user portal
>>>
>>
>> By default httpd does not start at boot in centos, we need call
>> apachectl in startup files
>>
>> George
>>
> Hi George,
>   So needed to raise a issue? and any idea for sipxpark not starting
> after reboot
>

Yes, please raise an issue. Create one for park too and provide logs as well.

George
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] Service shutdown after reboot

2012-04-13 Thread Kumaran
George Niculae wrote:
> On Thu, Apr 12, 2012 at 3:47 PM, Kumaran
>  wrote:
>   
>> Hi All,
>>   Following services are shutdown once server is up and running after
>> reboot
>> 1.sipxregistrar--All ready raised a Jira
>> 2.sipxpark
>> 3.httpd--This service should be up otherwise recorded conference
>> will not be present in user portal
>> 
>
> By default httpd does not start at boot in centos, we need call
> apachectl in startup files
>
> George 
>   
Hi George,
   So needed to raise a issue? and any idea for sipxpark not starting 
after reboot

Regards,
Kumaran T
> ___
> sipx-dev mailing list
> sipx-dev@list.sipfoundry.org
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>   

___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/


Re: [sipx-dev] Service shutdown after reboot

2012-04-13 Thread George Niculae
On Thu, Apr 12, 2012 at 3:47 PM, Kumaran
 wrote:
> Hi All,
>   Following services are shutdown once server is up and running after
> reboot
>     1.sipxregistrar--All ready raised a Jira
>     2.sipxpark
>     3.httpd--This service should be up otherwise recorded conference
> will not be present in user portal

By default httpd does not start at boot in centos, we need call
apachectl in startup files

George
___
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/