#1  
Old 6th May 2009, 03:04
mbascombe mbascombe is offline
Member
 
Join Date: Oct 2007
Location: Brooklyn, NY 11226
Posts: 44
Thanks: 6
Thanked 0 Times in 0 Posts
Send a message via MSN to mbascombe Send a message via Yahoo to mbascombe
Default update and root problems

I recently ran into a couple problems.
When I try to do a upgrade by running the following command "aptitude full-upgrade". I get the following error.
Quote:
Last login: Tue May 5 18:43:37 2009

matthew@server1:~$ aptitude full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
matthew@server1:~$
To correct that I tried giving myself root access and got the following error after issuing the following command
Quote:
matthew@server1:~$ sudo passwd root
[sudo] password for matthew:
matthew is not in the sudoers file. This incident will be reported.
matthew@server1:~$ sudo su
[sudo] password for matthew:
matthew is not in the sudoers file. This incident will be reported.
matthew@server1:~$

Can someone please help me with this problem.
I'm using Ubuntu 9.04 with ISPConfig 3.
This problem only started recently and I had been running with no problems for the last 3 wks
__________________
Dell Poweredge SC440
Ubuntu 8.10
ISPConfig 2.2.27
Joomla! 1.5
Drupal
Reply With Quote
Sponsored Links
  #2  
Old 7th May 2009, 00:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Did you somehow modify the /etc/sudoers file?
Do you have another user that you can log in with?
Did you set a root password before? Then you can log in as root directly.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 7th May 2009, 03:16
mbascombe mbascombe is offline
Member
 
Join Date: Oct 2007
Location: Brooklyn, NY 11226
Posts: 44
Thanks: 6
Thanked 0 Times in 0 Posts
Send a message via MSN to mbascombe Send a message via Yahoo to mbascombe
Default

there was no changes to the /etc/sudoers file. I followed the how to set up and and only created one user. As I said had no problem until recently. I checked the /etc/sudoers file but can't make any changes since I don't seem to have root access. For security purpose I can't log in as root
__________________
Dell Poweredge SC440
Ubuntu 8.10
ISPConfig 2.2.27
Joomla! 1.5
Drupal
Reply With Quote
  #4  
Old 7th May 2009, 18:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
 
Default

I guess there's something wrong with the sudoers file. Since you cannot access it, the only way to repair the system is to use a Live CD such as Knoppix. This tutorial should give you the idea: http://www.howtoforge.com/how-to-res...d-with-knoppix
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Step 11 Error:rpmbuild -ba postfix.spec tgxg00 Installation/Configuration 7 22nd April 2009 16:16
postfix does not authenticate through saslauthd openman Server Operation 32 21st November 2008 11:29
ISPConfig 2.2.10 released till General 70 7th March 2007 19:25
Help With Quad CPU's FallenDevil Kernel Questions 11 25th November 2006 19:36
Web Site Permission linuxuser1 General 2 15th September 2006 22:51


All times are GMT +2. The time now is 09:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.