Hi Shrinivasan, On Tue, Oct 19, 2010 at 11:04 AM, Shrinivasan T <[email protected]>wrote:
> Friends. > > As I know, all the services in the linux are in /etc/init.d > > To start any service, we can do > /etc/init.d/<servie name> start > > But, in recent days, it seems like ubuntu is changing this. > > see the results here. > > > starting apache: > > shriniva...@shrinivasan-laptop:~$ sudo /etc/init.d/apache2 start > [sudo] password for shrinivasan: > * Starting web server apache2 > httpd (pid 3529) already running > > > starting mysql : > > shriniva...@shrinivasan-laptop:~$ sudo /etc/init.d/mysql start > Rather than invoking init scripts through /etc/init.d, use the service(8) > utility, e.g. service mysql start > > Since the script you are attempting to invoke has been converted to an > Upstart job, you may also use the start(8) utility, e.g. start mysql > shriniva...@shrinivasan-laptop:~$ sudo start mysql > start: Job is already running: mysql > > > Why is there a different in starting apahe and mysql in the same machine? > Ubuntu guys are giving that for backward compatibility and for some of the services, if you start with /etc/init.d/<service name> start, you will get a warning, start it with service. I don't remember the service name, right now. Thanks Nagappan > > > > > > -- > Regards, > T.Shrinivasan > > > My Life with GNU/Linux : http://goinggnu.wordpress.com > Free/Open Source Jobs : http://fossjobs.in > _______________________________________________ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
