LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-13-2011, 03:27 AM   #1
rapha
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Rep: Reputation: Disabled
Angry Urgent


Hi Folks

I have this error after i have updated package manager in ubuntu 11.04
Can't connect to local MySQL server through socket '/var/lib/mysqld/mysqld.sock' (2)

I have read and tried several commands but i had no luck simple that iam new in linux and this error had stoped me completely becuase all my ports are desabled. I cant listen to any thing no sound any more..and my laptop cant take USB anymore. and my sudo doesnt work It get this error
rapha_patop#sudo su -
sudo: must be setuid root

I need a serious help from ubuntu expert Please
 
Old 10-13-2011, 03:33 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

First of all, please refrain from using words like "urgent" on these forums; We are here on a volunteer basis, and nothing at all is urgent. Also, please use a more descriptive subject title next time.

Now as far as your problem, you said you have "updated package manager in ubuntu 11.04." Do you mean that you updated the actual package manager, or you used your package manager to update certain software? What software packages did you update? Also, what program is giving you this error?

Cheers,

Josh
 
1 members found this post helpful.
Old 10-13-2011, 03:42 AM   #3
rapha
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Iam sorry for the Urgent subject

I dont know which software i have updated, Package manager just poped out with list of softwares to be updated, I just clicked update, and it updated soo many packages. I realized that I dont have mysqld.sock in mysqld folder, it must have been deleted during the updates, I would like to know if I can be able to re-create one. and How?

when I try sudo it tell's me that sudo must be setuid root and I dont know what that does this mean. Do I have to use recovery console to perform some magic or normal ternimal? and how do i go about it! any steps? :-(
 
Old 10-13-2011, 03:43 AM   #4
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
Quote:
Originally Posted by rapha View Post
my sudo doesnt work It get this error
rapha_patop#sudo su -
sudo: must be setuid root
Since the prompt was # before the sudo command, it looks like you were already running as root. So no need for sudo here.
besides, use either
Code:
sudo my-command my-options
or on redhat / fedora / centos etc ...
Code:
su -
my command my-options
Now since your post title is "urgent" and you have lots of different problems that you don't know how to repair, your best bet is to install Linux from scratch on your machine, and put your backups back on it.
You can be happily running before the end of October 13 2011
 
Old 10-13-2011, 03:51 AM   #5
rapha
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 16pide View Post
Since the prompt was # before the sudo command, it looks like you were already running as root. So no need for sudo here.
besides, use either
Code:
sudo my-command my-options
or on redhat / fedora / centos etc ...
Code:
su -
my command my-options
Now since your post title is "urgent" and you have lots of different problems that you don't know how to repair, your best bet is to install Linux from scratch on your machine, and put your backups back on it.
You can be happily running before the end of October 13 2011
Problem with this laptop when I insert my ubuntu CD Software to boot it doesnt pick it up..Iam not experianced i admint, any key I should press to boot it? or it wil pick it up when I restart the machine with the CD of installation inside? Thanx your post is helpful, I need to re-install but I tried it doesnt pickup the CD! :-(((
 
Old 10-13-2011, 03:58 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Or, we can help troubleshoot, and get everything back up and running. What is causing that error message, and how is it coming up on your computer?
 
Old 10-13-2011, 04:25 AM   #7
rapha
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by corp769 View Post
Or, we can help troubleshoot, and get everything back up and running. What is causing that error message, and how is it coming up on your computer?
Please do, I have inserted Ubutu 11.04 CD to re-boot but when I start the laptop it doesnt recognize the CD instead it skips and pop's login screen. Problem is that I have done updates thru package manager, and that is where the error started. I will post all the errors iam getting ASAP thanx for your response's much appreciated
 
Old 10-13-2011, 04:39 AM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Have you double checked your BIOS settings to allow booting from your CD drive?
 
Old 10-13-2011, 04:53 AM   #9
rapha
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by corp769 View Post
Have you double checked your BIOS settings to allow booting from your CD drive?
Corp remember I said iam not experianced, I dont even know how to check the BIOS settings, but BEFORE I did updates it used to pickup the installation CD
 
Old 10-13-2011, 05:44 AM   #10
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Ok... Are you using the same CD? And for your BIOS settings, on your computer when you first turn it on, you will see a screen that asks for keyboard input to access system settings, show boot menu, etc, you want to enter into your BIOS settings. Note that this is when you first turn your computer on.
 
Old 10-14-2011, 02:23 AM   #11
rapha
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi Folks

Iam still stuck I have tried the BIOS setting on a startup, I pressed F2, BUT, I dont know what to change...I just see bunch of many things that I dont even undertand.

please any one to explain to me what to do exatly, I need to format the Laptop I dont care now about backuping information, I just need it to be working now. :-(

what worries me, it skips the booting part, it doesnt recognise my CD installation nor USB!.. WHAT CAN I DO IN THE SETTINGS FOR THE MACHINE TO PICKUP THE CD INSTALLATION. Please if one can say set this to that it will be helpful for me, since I dont know what to change in BIOS settings
 
Old 10-14-2011, 02:45 AM   #12
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Look for something that deals with your boot order, you need to set your CD drive and USB devices BEFORE your hard drive, that way they will be read first.
 
Old 10-14-2011, 03:51 AM   #13
rapha
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by corp769 View Post
Look for something that deals with your boot order, you need to set your CD drive and USB devices BEFORE your hard drive, that way they will be read first.
USB ports is set to enabled and there's only enabled and disabled, setting it first i have no idea where
 
Old 10-26-2011, 06:25 AM   #14
rapha
LQ Newbie
 
Registered: Oct 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
thanx guys I have namaged to reboot and start afresh!! You have halped me with your answeres.. God bless you all
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 08:07 PM
Urgent..Im Having A Nightmare..Urgent!!!! midgcool Linux - Software 41 11-30-2004 10:19 AM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration