On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
hi again, I have to restart as soon as possible mysql and apache on our web server (mandrake cooker 10) - since our admin is "out of office" for today.
Are you sure you MUST restart those services? AFAIK you run Linux exactly because you don't wanna do that ;)
if someone can ive me some instructions, please? 1. what I have to restart first apaceh or mysql - or desn't matter?
Anyway: /etc/init.d/mysql restart /etc/init.d/apache2 restart (or apache, depends on your version)
2. I have sudo access (if I understand it correct, I have root privilages even I loged in as "regular" user) to web server - enough or I have to have root access to do restart?
If you have enough privileges using sudo (all privileges to be exact), you can run sudo su and "become root", but that's just a security flaw and you should blame your admin for that! Try it: sudo su -c "/etc/init.d/mysql restart" or simply sudo su and performe the commands listed for your first question. If it succeed, you restart the server, but then you have an insecure and bad configured system.
Thanks for any help. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
-- Daniel da Veiga Computer Operator - RS - Brazil -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ ------END GEEK CODE BLOCK------ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]