Ubuntu Installation :: Even Root Is Denied Access?
Sep 25, 2010
I have been trying to run the following commands several times in the last coupl weeks, to no avail."su" to get to root...then while root "apt-get update" for updatesalso"sudo apt-get update"BOTH areenied even with root or user-admin pwd.States that either permission is denied and/or frequently states that the command "apt-get" does not exist
I followed this tutorial for setting up my server. Whatever I type into mysql or mysqladmin all I get back is Quote:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
I have been following this guide to install Apache, PHP & mysql - [URL]. When I get up to the step 'mysql -u root' I get given this error: Code: tom@tom-laptop:~$ mysql -u root ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) How do I overcome this?
I am not sure if this is the correct forum to post this as I have usually been able to find the answers from other peoples threads.The error I receive is below.(changed "at" as can't post links)"#1045 - Access denied for user 'root' at 'localhost' (using password: NO)" Not entirely sure what has happened here. I have had this server running for a long time and today it seems to have spat it's dummy out!I have checked the config.inc.php and the controluser and controlpass are entered correctly so the error saying a password is not being usPHP Code:Thisis needed for cookie based authentication to encrypt password incookie
I have a new CentOS server install. I am trying to connect from a windows xp box using putty ssh. I can get as far as putting in the password for root user and then it tells me access denied.
I am pulling my hair out once again after trying for over 15 months off and on to get a tv tuner working under linux. I have just received my new tuner card which I thought was supposed to be easy to run, a HVR-950Q, no luck yet. But first I am trying to use something called mysql (new to me), for mythtv and [I] keep getting
# mysqladmin -u root password ma mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)
for some reason root lost grant privileges and I can't get it back. The user got grant_priv = 'Y' in the usertable. I've tried to reset all the priviliges to the user by killing MySQL process and started up again without grant options with no luck. I've also tried lots of other things but can't seem to get it work. Here is what I get: Quote:
[root@xxxxxxxxx mysqldba]# mysql -p Enter password: Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 2 Server version: 5.0.77 Source distribution
I set up a servber on my local machine, & also PHp - Both working fine.I'm trying to load up MYSQL i have installed it, & *can* start/stop the server. however if I do anything else with it, I get this error :-
Quote:
root@gordon-desktop:~# sudo mysqladmin -u root -h localhost password MYPASSWORD mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Query :-
1) How do I know MYSQL is actually active ? (apart from the message it says that its statrted (or stopped).
2) Is there a way to
a) Find out the usernames that are recorded on the MYSQL server ? b) set / RESET the 'root' username (I know MYSQL root user is different to PC root user) c) anything else I can do on the PHP / website code to see if MYSQL is working
(as yet, no tables / databases etc have been set up - as I can't get past this error message - I get the same error when setting up a database.)
Ps I did allow my usermname (when logged in to ubuntu) to edit / create files in the /usr/www/ directory (but it is still OWNED by 'root' - that directory)
I understand that with a desktop active, shelled as root, I could get this message. Does this kind of behavior effect applications like MYSQL, PHP, Apache etc?
When login through root on HP-tru Unix server, I am trying to access a directory, it is saying "Permission Denied".. Also, an sh file is also not able to execute through same root access..I have checked the permission of the directory as well as for sh file through ls-ltr.. It is also fine.. Root System rwx-rwx-rwx--What could be the possible cause, and how to correct it..
My laptop is a STAMP, 1.6GHz, P4, RAM 1GHz, onboard Intel sound/video etc. There were two partitions, C: drive and D: drive. I had Ubuntu 10.10 and no other O/S installed.
I installed 11.04 Beta from a Live CD Alternate last week and have since upgraded a couple of times to what must now be the LTS. Lots of good stuff and it's why I'm a committed user. I have two problems:
In the install, I kept the two, almost equal partitions (each about 36GB) as well as the Swap of about 3.3GB. The previous format had been Ext4 and NTFS; I now reformatted and made them both Ext4.
The C: has of course all the system and apps, with the basic folder structure HOME, etc. In trying to set up certain programmes to 'Save to' the D: - or indeed just trying to copy/move anything into it, I get: - "Error ... Access denied. Could not write to ... etc. OR ... etc does not exist"!
I've checked under the 'System/Administration/Users & Groups/ Users Settings/Group Settings. For Root, I've entered myself - who should have anyway had Administrator privileges. Also rebooted, but still no change.
Windows clients experience an issue of being unable to create folders inside the new share I setup. I do not want any share security on this folder since its a global share that our entire office houses client information. They can view the contents but not add it.
My smb.conf has the following settings on the share [global] log file = /var/log/samba/log.%m passwd chat = *Entersnews*spassword:* %n *Retypesnews*spassword:* %n *passwordsupdatedssuccessfully* .
I'm installing Ubuntu 10.04 for a friend, dual booting it with windows vista. The installation was going just fine up until the 4th step- partitioning the drives. After designating space for vista and ubuntu and running it, it popped up the window and displayed 0%... for the next hour. After looking around on ubuntu forums for a solution, I tried manually partitioning the drives in vista. Vista wouldn't let me, saying that access was denied. I tried using gparted next, which had an error with it as well. Does anyone know what i can do to work around this?
I'm having a problem with my webdav share. I have a secure webdav folder that gets accessed via a non-standard port and requires basic authentication. I can connect and interact with it fine via cadaver. However, when I try to connect from nautilus, it says "Access was denied." To make it even stranger, sometimes I can click on the folder in nautilus (it still mounts) and access it. Sometimes not (just repeats the error message and won't show me the contents). I may not even un-mount it, but just look at other folder, then click it again and be able to access it, but again - only rarely.
I asked a friend to try connecting from his windows vista computer and it would not work. It would not work from my windows XP virtual computer either. However, it mounts and works just find from my work computer (also Windows XP).
So it seems to be a 50/50 chance that the drive will mount on any given computer/system and work. Do anyone know what the problem may be? I'm guessing user permissions, but I can't figure out what.
I've made sure the webdav folder is owned by www-data and www-data has read access to the password file as well.
When I try connecting from nautilus, I get this in the log file:
Code:
Here is one of the (many) sites I've tried looking at: [url]
i put a windows program on my ubuntu pc and it's a portable program so i had to add a shortcut to the menu myself, well, i got the shortcut added but when i click it, it says that it cannot access it and it also says Permission Denied.
I configure named and stumble upon the following problem: named is serious about user rights, every config file named uses should be named:named. I set rights to named:named as follows, but they get changed to root:named when I restart named as root. The same thing happens with SELinux context. This results in access denied type errors.
I have two external hard drives. One is a 2.5" 80GB USB HDD and the other is a Seagate 3.5" USB 500GB HDD. Both hard drives are mounted properly and I can access the data on both hard drives. I can access the small 80GB HDD via ssh from another computer and delete files, but when I try to access the 500GB drive via ssh it says access denied. When I try to access it with root, I can access it but I cannot see any files listed.
I have a linux domain (FEDORA CORE 1) and two laptop's which are part of my domain with windows xp pro service pack 2.I have given two ip's to both the laptop's being primary as global and secondary as local.I have configured printer in one laptop and shared.Till last week i was accessing that shared printer from my other laptop and every thing was working fine.Last week i formatted one laptop,(which dose not have shared printer) from then onwards i am not able to access my other laptop. I get the following message when i try to accessmy other Laptop,"you might not have permission to use this network resource. contact the administrator of this server to find out if you have access permission there are currently no logon servers available to service the logon request"P.S : If i have only local IP i am able to see both the systems and i am able to access my printer, this problem comes only when i add global IP to both the machines.And also i have stopped the firewall and other things.
I'm running PCLinuxOS with no other OS installed. Thought I'd have a go at chainloading. just for interests sake.So, I opened Konsole, entered su and entered my root password. The command line turned red so, I imagined all was well. But when I then keyed in '/boot/grub/.menu.lst' I was refused access.
I'm completely new to ubuntu and Linux for that matter, i have a TBS 6920 dvb stat car, but have no idea how to install the drivers, i have downloaded them nd had a look at the read me file and it mentions creating a directory in root/ but cant access the root folder for some reason or other, is there anyone who can help me?? also is it possible to install through terminal instead as that would be easier no?
I just upgraded to Fedora 12 on my computer. Now I can't connect to the net. Under network I show the two connections (neither working). The "connect" and "disconnect" AND the "delete" buttons are all grayed out (?). I also can't log in as root to try to gain more access. Probably just a new way of doing things. I was upgrading from F7 so it was a bit of a jump.
Does the network utility work differently from 7? Am I now rootless? It would seem that my wifi card sees the net as I can see the routers out there, but can't connect. I'm sure I'm using the correct WEP.
Just had a new VPS installed running Ubuntu Server 8.04 Getting some errors when I connect to the server and try to use apt.. only trying to install nano and after messing around I've managed to get the error to change.. but still can't get any further.
error
Code:
# sudo apt-get install nano Reading package lists... Done Building dependency tree Reading state information... Done
I am trying to install COMSOL 4a in Ubuntu 10.04 and when I try to run ./setup and I am already connected as root the command line gives me a permission denied error.
1. yum install vsftpd 2. service vsftpd start [ok] 3. nmap from outside verifies tcp 21 is open for business 4. ftp myipaddress.com results in login failed for user root.
I want to login as root and have access to '/' as my home directory. What do I have to do to get this to work?
When attempting to check my postfix install by using telnet to send an email to an address outside my local network, I get a relay access denied error.
This is how I attempted to send an email
Code: telnet my_server 25 helo my_server mail from: me@my_server rcpt to: me@gmail.com