Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] FreeSWITCH Windows Service does not Start


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ravriel_1 at yahoo.com
Guest





PostPosted: Tue Jan 20, 2009 9:54 am    Post subject: [Freeswitch-users] FreeSWITCH Windows Service does not Start Reply with quote

Hi,

If I try starting FreeSWITCH Windows service it immediately fails with a messagebox:

"The FreeSWITCH service on local computer started and then stopped. Some services stop automatically...etc."

I noticed that the service is installed to log on as "NT AUTHORITY\NetworkService".
If I change this to "Local System account" then FreeSWITCH starts and runs OK.

This failure occurred on multiple Windows XP servers.

Why does it fail and why does it not use the local system account like almost all services?

Thanks,
Ron





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Jan 20, 2009 10:46 am    Post subject: [Freeswitch-users] FreeSWITCH Windows Service does not Start Reply with quote

Ron,

Thanks, I'll ask Mike J to take a quick look.
-MC

On Tue, Jan 20, 2009 at 5:52 AM, Ron Avriel <ravriel_1@yahoo.com> wrote:
Quote:
Hi,

If I try starting FreeSWITCH Windows service it immediately fails with a messagebox:

"The FreeSWITCH service on local computer started and then stopped. Some services stop automatically...etc."

I noticed that the service is installed to log on as "NT AUTHORITY\NetworkService".
If I change this to "Local System account" then FreeSWITCH starts and runs OK.

This failure occurred on multiple Windows XP servers.

Why does it fail and why does it not use the local system account like almost all services?

Thanks,
Ron





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
mike at jerris.com
Guest





PostPosted: Tue Jan 20, 2009 11:23 am    Post subject: [Freeswitch-users] FreeSWITCH Windows Service does not Start Reply with quote

One issue with the service is we have no console to dump errors too,
it sounds like it is failing one of the startup requirements like
config files being there. Are you able to start it in non service
mode? If so, check permissions on the freeswitch dir that the user
running the service has permissions to that dir.

Mike

On Jan 20, 2009, at 8:52 AM, Ron Avriel wrote:

Quote:
Hi,

If I try starting FreeSWITCH Windows service it immediately fails
with a messagebox:

"The FreeSWITCH service on local computer started and then stopped.
Some services stop automatically...etc."

I noticed that the service is installed to log on as "NT AUTHORITY
\NetworkService".
If I change this to "Local System account" then FreeSWITCH starts
and runs OK.

This failure occurred on multiple Windows XP servers.

Why does it fail and why does it not use the local system account
like almost all services?


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
mgg at giagnocavo.net
Guest





PostPosted: Tue Jan 20, 2009 12:11 pm    Post subject: [Freeswitch-users] FreeSWITCH Windows Service does not Start Reply with quote

You should run things with as little permission as possible. In the case of FreeSWITCH, there's no need for it to run as LocalSystem (which is like a root account). NetworkService is much more restricted, which is good in the case of a security failure, such as a buffer overrun or a misconfigured module/application.

Maybe it's not loading because NetworkService doesn't have permissions to the FS directory.

-Michael

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ron Avriel
Sent: Tuesday, January 20, 2009 6:52 AM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] FreeSWITCH Windows Service does not Start

Hi,

If I try starting FreeSWITCH Windows service it immediately fails with a messagebox:

"The FreeSWITCH service on local computer started and then stopped. Some services stop automatically...etc."

I noticed that the service is installed to log on as "NT AUTHORITY\NetworkService".
If I change this to "Local System account" then FreeSWITCH starts and runs OK.

This failure occurred on multiple Windows XP servers.

Why does it fail and why does it not use the local system account like almost all services?

Thanks,
Ron





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
ravriel_1 at yahoo.com
Guest





PostPosted: Wed Jan 21, 2009 1:29 am    Post subject: [Freeswitch-users] FreeSWITCH Windows Service does not Start Reply with quote

Thanks for answer.
The problem is missing permission for the network service account to FreeSWITCH directory.
Once permission is granted FreeSWITCH service starts OK.

However, I think that unless there's a way to grant that permission inside the service
installation code ("freeswitch -install") then the service should be configured to run as local system account.
Otherwise, I think it will cause a lot of trouble to all.

Ron




----- Original Message ----
Quote:
From: Michael Jerris <mike@jerris.com>
To: freeswitch-users@lists.freeswitch.org
Sent: Tuesday, January 20, 2009 6:08:25 PM
Subject: Re: [Freeswitch-users] FreeSWITCH Windows Service does not Start

One issue with the service is we have no console to dump errors too,
it sounds like it is failing one of the startup requirements like
config files being there. Are you able to start it in non service
mode? If so, check permissions on the freeswitch dir that the user
running the service has permissions to that dir.

Mike

On Jan 20, 2009, at 8:52 AM, Ron Avriel wrote:

Quote:
Hi,

If I try starting FreeSWITCH Windows service it immediately fails
with a messagebox:

"The FreeSWITCH service on local computer started and then stopped.
Some services stop automatically...etc."

I noticed that the service is installed to log on as "NT AUTHORITY
\NetworkService".
If I change this to "Local System account" then FreeSWITCH starts
and runs OK.

This failure occurred on multiple Windows XP servers.

Why does it fail and why does it not use the local system account
like almost all services?


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
mgg at giagnocavo.net
Guest





PostPosted: Wed Jan 21, 2009 7:46 am    Post subject: [Freeswitch-users] FreeSWITCH Windows Service does not Start Reply with quote

You're right, there should be a full installer system that'll ask what account you want to use, check permissions, etc.
-Michael

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ron Avriel
Sent: Tuesday, January 20, 2009 11:22 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] FreeSWITCH Windows Service does not Start

Thanks for answer.
The problem is missing permission for the network service account to FreeSWITCH directory.
Once permission is granted FreeSWITCH service starts OK.

However, I think that unless there's a way to grant that permission inside the service
installation code ("freeswitch -install") then the service should be configured to run as local system account.
Otherwise, I think it will cause a lot of trouble to all.

Ron




----- Original Message ----
Quote:
From: Michael Jerris <mike@jerris.com>
To: freeswitch-users@lists.freeswitch.org
Sent: Tuesday, January 20, 2009 6:08:25 PM
Subject: Re: [Freeswitch-users] FreeSWITCH Windows Service does not Start

One issue with the service is we have no console to dump errors too,
it sounds like it is failing one of the startup requirements like
config files being there. Are you able to start it in non service
mode? If so, check permissions on the freeswitch dir that the user
running the service has permissions to that dir.

Mike

On Jan 20, 2009, at 8:52 AM, Ron Avriel wrote:

Quote:
Hi,

If I try starting FreeSWITCH Windows service it immediately fails
with a messagebox:

"The FreeSWITCH service on local computer started and then stopped.
Some services stop automatically...etc."

I noticed that the service is installed to log on as "NT AUTHORITY
\NetworkService".
If I change this to "Local System account" then FreeSWITCH starts
and runs OK.

This failure occurred on multiple Windows XP servers.

Why does it fail and why does it not use the local system account
like almost all services?


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
msc at freeswitch.org
Guest





PostPosted: Wed Jan 21, 2009 8:55 am    Post subject: [Freeswitch-users] FreeSWITCH Windows Service does not Start Reply with quote

On Wed, Jan 21, 2009 at 4:38 AM, Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Quote:
You're right, there should be a full installer system that'll ask what account you want to use, check permissions, etc.
-Michael

Has somone opened a feature request issue on jira yet? If not, I
highly recommend that you do so
-MC

Quote:

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ron Avriel
Sent: Tuesday, January 20, 2009 11:22 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] FreeSWITCH Windows Service does not Start

Thanks for answer.
The problem is missing permission for the network service account to FreeSWITCH directory.
Once permission is granted FreeSWITCH service starts OK.

However, I think that unless there's a way to grant that permission inside the service
installation code ("freeswitch -install") then the service should be configured to run as local system account.
Otherwise, I think it will cause a lot of trouble to all.

Ron




----- Original Message ----
Quote:
From: Michael Jerris <mike@jerris.com>
To: freeswitch-users@lists.freeswitch.org
Sent: Tuesday, January 20, 2009 6:08:25 PM
Subject: Re: [Freeswitch-users] FreeSWITCH Windows Service does not Start

One issue with the service is we have no console to dump errors too,
it sounds like it is failing one of the startup requirements like
config files being there. Are you able to start it in non service
mode? If so, check permissions on the freeswitch dir that the user
running the service has permissions to that dir.

Mike

On Jan 20, 2009, at 8:52 AM, Ron Avriel wrote:

Quote:
Hi,

If I try starting FreeSWITCH Windows service it immediately fails
with a messagebox:

"The FreeSWITCH service on local computer started and then stopped.
Some services stop automatically...etc."

I noticed that the service is installed to log on as "NT AUTHORITY
\NetworkService".
If I change this to "Local System account" then FreeSWITCH starts
and runs OK.

This failure occurred on multiple Windows XP servers.

Why does it fail and why does it not use the local system account
like almost all services?


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services