I am running WHM and CPANEL on centos.I would like to upload a file to the root user directory. To be honest, my only experience uploading and downloading files with FTP has been with domain related accounts that were set up under WHM to be managed under CPANEL. This is quite simple, because all you do is set FileZilla or Dreamweaver up with the FTP address of the domain account and the username and password.How can I do something similar to FTP a file into the root or home directory?
I have iMac 2.4GHz with rEFIT installed. I installed Unity on one of the partition. Kernel is still 18.104.22.168. I am getting error message when I run the command sudo gedit /etc/x11/xorg.conf
The error message is
(gedit:2139): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.AC7YXV': No such file or directory
(gedit:2139): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
On a new installation of Linux Red Hat server, I was adding new users from the list using "newusers" command. I did not realize that one of the users was "root" so this is what line I loaded by error (among other users) : root:root:1176:501::/home/circuser:/bin/bash all other users from the list (160 of them) got loaded properly. I still have valid root login that I could use, but I'm not able to log in as root anymore. If I log in as user and then try "su" or "su -" I get error: ": No such file or directory".
I compared /etc/passwd, group and shadow on this server with old one I'm replacing and entry for root looks the same:
root:x:0:0:root:/root:/bin/bash ( in passwd) root:x:0: (in /etc/group) root:$1$OILC.ETm$LkoGprgqqgv6v8oLRUBnf.:15153:0:99999:7::: (in /etc/shadow) - similar to my old server
I'm using CentOS 5.3. After booting up, where can I find the log file that contains if all services where successfully loaded or not? For example when computer boots you get a list of start services and they can be OK or FAILED. Is there a log file where this information is kept? I had a look in the following directory /var/log/ but not sure which one will contain the informaiton that I need.
I have recently experienced a problem that occurred after an automatic update. After the update it said restart system. So I did and proceeded as normal. when after the reboot Firefox suddenly stopped working, crashed and upon clicking it again only a blank box appeared. Then my other apps followed and i soon couldn't do anything so i shut down my computer. Upon restart I got a black screen with tons of text and something around the lines of
mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting / sys/ on root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or dirctory
So I rebooted and pressed shift to open that grub thing and booted from an earlier kernel. This time it said checking HD for errors and after booted normally. Everything seemed fine but next day it did it again. Starting with Firefox crashing and then everything else. I again booted from a previous kernel and it worked but upon checking with uname -a it did not list the kernel i chose to boot from. So I decided to upgrade 10.04 to 10.10. This upgraded my kernel and deleted the old ones so i am hoping i am good now.
Ubuntu(10.04) was working fine, then some program crashed or something, and I just switched off (power offed) the computer. When I restarted it, this sort of stuff comes:
mount /dev on /root/dev failed : No such file or directory
and some more lines like that, and then 'Busybox' starts with [intramfs].I booted Ubuntu from a pen drive and ran fsck on the main partition. I just pressed 'y' for a long time (it asks stuff like should it continue repairing or something), and then it was done. I restarted the pc and it booted normally - it looked as if everything was fine.I started google chrome, and it said it couldn't find a personal config file .. ok. Then I tried opening a folder - nothing happens. The system monitor doesn't open, and windows that do open eventually are completely blank. I restarted the pc (this time by doing the normal restart), and it gave me the same 'Busybox' thing.I did the same procedure again, and got the same results. (ubuntu boots, programs dont work, then I restart and the Busybox thing comes again)One More Thing : The Ubuntu installed on the hard disk had all the recent updates (including the latest linux kernel) while the pen drive thing was around 2 months old I think. So maybe that's the cause?
After upgrading from 10.04 to 10.10 I have had some problems booting my Ubuntu. It all started when restarting after the upgrade, and I got the error;
mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting / sys/ on root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or dirctory Target filesystem doesn't have /sbin/init. No init found. Try passing init= boot arg
BusyBox v1.13.3 (Ubuntu 1:22.214.171.124ubuntu11) built-in shell (ash)(initramfs) After searching the Internet, I found a "solution". I just had to boot with a USB stick with the Ubuntu Rescue Remix (the normal Ubuntu USB won't boot either), and i wrote;
sudo fsck /dev/sdb5
Now I could start my Ubuntu again. So whats the problem? If I turn off my computer the normal way, there is no problem, but if I log off, put it into sleep mode, if something happens and I have to turn it off with the button it goes back to the first problem, and I have to reboot it with the USB stick and fix it all over again! If I don't have the USB stick with me, I probably wont be able to use my laptop!
since running update manager on my daughters net running 10.04 netbook on boot up I get the following on the screen
mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn�t have /sbin/init.
Doesn't seem to matter which version, every time I try to install Software raid on an Ubuntu server system, it blows up with this error. Seems I've had trouble for several versions.
mount: mounting /dev/disk/by-uuid/f35415ee-4c14-4eb1-995f-f19fbcd760c7 on /root failed: Invalid argument mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory
I've done it on Centos Fine, and followed the many different instructions I've seen for Ubuntu. The only luck I've had was with bios raid, but I would much rather let Mdadm handle things.
ubuntu-10.04.2-server-amd64 CD install AMD 1055T 6Core 4GB ram Asus M4A88TD-MUSB3
I install both as letting Ubuntu decide partitions for one drive, do the same for the other, and create a raid, and do them from scratch. No dice, same problem. I've tried that one as logical and as primary too. No difference. Something just doesn't like booting from a raid 1 Mirror. I've tried installing grub on both HDDs (sda1 + sdb1)I've tried several CDs, burned from several machines. Re-downloaded from Torrent and from the website. The DVD drives work since I purchased new DVD drives for both one workstation and the server. Things install fine under CentOS, software raid comes up.
I can use the accents (tilde, acute, ...) normally when I am the root, but when I log into my user account they re not recognized in most applications (opera, emacs, amsn, python idle,...) although they work in other applications (terminal, vim, iceweasel...). I guess that would have a simple solution. Something is right in the root account and wrong in my user account, but I cant figure it out. My layout is USA International (with dead keys).
I am using Fedora 10 .Generally to update I open a virtual console by pressing Ctrl-Alt-F2,login as root and give the "yum update" command.Then I continue using my graphical terminal for other tasks from the 'non-root' account..Now my room-mate comes uses my 'non-root' account to browse web for few minutes and then opens a terminal types "halt", ENTER and viola...! My root account seems to be insulted by a 'non-root' user!.When I am doing updates or other important work as root any silly user can just 'halt' my computer. Can somebody tell me how to set up my computer so that when root is logged in no other user can simply halt the computer.
Fedora 9 and a maxtor 500gb external It seems i cant get the hd to initialize (not sure if thats the correct word for it) until I log in as root. I can see the icon on the desktop for it and everything, but when i double click on the icon nothing happens. It also doesnt appear in /media/. If I log out of the user account and log into root, all of the sudden i can open the icon in both root AND the user account. It also shows up in /media/. I'm not sure if its a permissions issue or something else.
ps: using ssh to log into root from another machine makes no difference though, only using X or whatever its called from the physical machine.
on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.
Okay, so on occasion when I boot into ubuntu I get this error
[mount: mounting /dev /root/dev failed: no such file or directory] [mount: mounting /dev /root/sys failed: no such file or directory] [mount: mounting /dev /root/proc failed: no such file or directory]
I get the error when I open any of the kernel versions or any recovery mode. Ubuntu 10.10 Desktop is the only OS installed on the computer, which is a Lenovo S10-3. I can eventually get it to go away, sometimes by repeatedly unplugging it and plugging it back in, and sometimes I will boot into GParted, do nothing, then restart and it will work.I have found some solutions online, but all of them involve the error happening as a result of dual booting with Windows.I have made no major system changes recently, so I can't see anything like that being the problem.
I have updated the gdm file to be able to log in as root in Fedora 10.Nevertheless after I had selected package updates to be installed logged in as root I still get an error message that I do not have enough privileges.The terminal installation method is a bit of a problem since I do not think it will search for dependencies and therefore it can be excessively long to figure out what is missing for a package installation. In simple cases it works OK, but in more difficult cases it is a bear.
how the kernel knows the root directory. For example, in grub menu.lst file we specify root=/dev/hda1. This tells the kernel to find mount the root directory from /dev/hda1. But to read /dev/had1 it should first know where is '/' . I couldn't understand how this is being done.
How the kernel knows the root directory. For example, in grub menu.lst file we specify root=/dev/hda1. This tells the kernel to find mount the root directory from /dev/hda1. But to read /dev/had1 it should first know where is '/' . I couldn't understand how this is being done.