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?





-- 
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

Reply via email to