second day ever using command line so bare with me. I setup a cloud server through rackspace hosting..I installed vsFTPd and made a user and password and set the home directory to /var/www for this user When I try connecting via FileZilla, I get this error
I no expert and this was a bit of mucking around. Installed Version 5 dot something on a desktop (DELL OptiPLex) with a couple of extra HDDs, for a server to play with (samba to Windows). I used the drives as a single logical drive via LVM.
We had a power cut, now it doesn't work. In fact it's been hanging around for a couple of years and before I dump it I wonder if there is any chance of getting some of the wife's letters, pictures, etc that I promised I try and get off.
The /boot partition seems to be there and I've attached a photo of what happens at boot, and I admit....I haven't a clue what it all means. Also I did not think ahead and did not create a recovery disk. I know, I know heap damnation on me for being so reckless, but any chance I can get myself back in the wife's good books?
I'm trying to install CentOS 5.3 on a VMWare virtual machine running VMWareServe 1.0.4 build-56528. I have 8 virtual machines that are running some older kernel (RH FedoraCore 4) without any trouble. My system has an AMD Athlon XP 1800 processor and has 1G RAM. Every time during the installation after choosing skip media (I have already checked that the media is OK) I get a kernel OOPS and the capslock and scroll lock keys start blinking. My first guess was that this could be a ACPI issue, so I have disabled ACPI using the acpi=no boot option. The problem persists with the acpi=no option set. During the boot install process, I have seen some messages like this one
ACPI Exception (processor_core-xxxx): AE_NOT_FOUND, Processor Device is not present [xxxxxxxxx]
I have searched for this issue and found a RedHat Bug 435653 that reports this same issue, but this report is somewhat old, so i think that this issue as already been fixed and reflected to upstream. I have tried also to install using the text mode installation, but the same problem. To further isolate this problem, i have avoided the hardware detection and this was the first time that i have overcome the first screen (test media screen), as i have choosen with the success the language and the keybord layout. After choosing the beyboard layout, the kernel OOPS shows up again. On the screen 4 (debug screen) I don't see any relevant messages.
1. I have two domains domain1.com and domain2.com on my centos server.
2. In a file in domain1.com I am writing the php function
chdir('/var/www/vhosts/domain2.com/httpdocs'); but it is not working at the same time if I am trying to change the directory to one of the subdirectory in domain1.com than it is working means chdir('/var/www/vhosts/domain1.com/httpdocs/css'); is working.
3. The problem is I cant able to change the directory from domain1.com to domain2.com. /var/www/vhosts/domain1.com/httpdocs => /var/www/vhosts/domain2.com/httpdocs is not working
Is it some permission issue or anything else ? Is it something related to chroot jail or what?
I installed centos 5.5 Ent as host and i installed vmware server 2.2. i need to Change the location of the 'Virtual Machines' directory(/var/lib/vmware/Virtual Machines) to a directory on /home(/home/Virtual Machines) where there is more disk space.Reinstalling centos and reinstalling Vmware server is not the option for me.
I have just configured CentOS server my new office. This is the first time I am using CentOS.
Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.
To achieve this, what Do I need to do?
The second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user. What else is required to make new directories accessible by the web?
So I installed FC11 and it seemed to be working ok I was having an issue configuring sendmail so I decided to use Yum to remove it and to re-install sendmail.I type yum remove sendmail and it asked me if I wanted to remove 39 dependancies. I said yes and it removed way more than just sendmailIt even removed Yum itself HELP...I do not even have any way in the GUI for software installs, and YUM is no longer present.It even removed all but 7 items in my administration drop down. Can I fix this with the install CD of Fedora
I had a minor problem with my ubuntu install, and a person said to go to startup manager and select reset to original settings. I did this and when I restarted It asked me to boot ubuntu 9.10, which would not work as I upgraded long ago. Now all I get is the option to boot 9.10, and I really want to get back into my computer. Running ubuntu 10.04 with latest updates as if 25 september New Zealand Time.
Is there any way to setup the Centos Directory Server without an internet connection?? i tried using the command: yum install centos-ds
but this just tries to connect to the internet to to download the packages. Is there a site where i can find the package so that i can copy it to my server and install it or is there some other way to do this?
I'm using the latest Ubuntu 8.04.4 server x64 edition in my PC. I'm using a QuadCore CPU (2.4GHz) and 2GB of RAM in My PC.I have 3 HDD:- sda+sdb are in RAID1 and all partition are ext3 fs.- the third sdc is single drive with ext3 fs.While I copy files from one disk to another (I trying all cases, for example RAID1 to RAID1, sdc to sdc, sdc to RAID1, RAID1 to sdc and the results are the same) sometimes my system hangs up with message: "Oops 0000 [1] SMP" or "general protection fault: 0000 [1] SMP" when I copy large files.
I read lot of forums and some said that I must disable acpi in grub. I'm trying the acpi=off, noapic, nolapic parameters with all variants, but nothing helps.When I copy small files the system works good. But If I copy large files (400-500MB) the system randomly hangs, and sometimes the ext3 filesystem crashes too and the disk where I copied the files go back the previous state, and the files which i copied are disappears
I followed the directions here: [URL] but now I get
Code: 500 OOPS: cannot locate user entry:music Login failed. I see no errors in my auth.log, and in my vsftpd.log I see Tue Feb 1 13:01:13 2011 [pid 2] CONNECT: Client "<omitted_ip>" Tue Feb 1 13:01:20 2011 [pid 1] [<username>] OK LOGIN: Client "<omitted_ip>" so it looks like the user is able to log in, but I can't tell what the issue is beyond that.
I just upgraded to fedora core 11. I need to change the permission of the html folder. The owner is currently set to root. Since there is no longer a root user (I just found out) it will not let my user account change the permissions in that directory from. How do you change directory permissions in fedora 11?
i used to use synaptic to install packages which seems to be installed somewhere like /usr/bin or /usr/local/bin, so my question is can i change the default or pre-determined installation directory, coz my partition / is kind of short of space.
In the old days of M$-DOS, there was the NCD (Norton Change Directory) utility. Anything of the sort in Linux?Explanatory note: you typed out the name of the directory you wanted to go to, that is, last element of the dir path.And you were, ipso facto, in that dir. If that was the only one by that name, good. When not, and if that wasn't the intended dir, you typed the same command again and you were in a second dir of that name. If this was the intended dir, good. And so on. It simply maintained a data base with the whole tree, and updated it when invoked from a newly created dir o by means of an option, NCD/R.
I have 3 images made by clonezilla now I want to restore 1 of them, but when I try to use clonezilla to restore, there's no option to restore image. I can see the images in home directory and file is owned by root in my home directory. I'm trying to transfer image to usb hdd.
Did I place image in wrong directory or is it permissions problem.
I can change to a nother directory in home folder using cd command.I have several partitions in my hard drive.But i want to know ho to cheng to a directory in nother partition or flash drive using command line.how can i do that
ive started writing scripts to launch some of my programs, but am having mixed results. i am saving them all in the /bin folder (is this typical?). for about half of the scripts they run fine from the terminal home directoy, however for the other half i must " cd /bin" before i can run "sh script". im not quite sure why this is happening.
I'm often deep inside a directory tree, moving upwards and downwards to perform various tasks. Is there anything more efficient than going 'cd ../../../..'?I was thinking something along the lines of this: If I'm in /foo/bar/baz/qux/quux/corge/grault and want to go to /foo/bar/baz, I want to do something like 'cdto baz'. I can write some bash script for this, but I'd first like to know if it already exists in some form.
For a user on a Linux host, I need to make everything inaccessible besides his home directory. I have heard that this is usually done by changing the root directory for the user (and setting it to the user's home directory), however I couldn't find the way to do it.
I thought about the chroot command, but it seems it just runs the specified command, considering the specified directory as the root directory. So it seems chroot is not what i need. So my question is: what is the command which changes the user's root directory?
How can I get the last time any of the files in a directory or its subdirectories has changed? e.g
Dir - changed 1/1/1 Sub Dir 1 - changed 2/1/1 Sub Dir 2 - changed 3/1/1 File 1 - changed 10/1/1 File 2 - change 5/1/1
The output for this for Dir should be 10/1/1 (File 1 was the last modified one). Getting the last file name to be modified is a bonus but isn't necessary.
I'm running Ubuntu 9.10 with Kvm. I've used a howto to configure my network. Seems to work fine, I've installed the Virtual Machine manager, when I go to create my Virtual Machine, I see the the image is automatically created in /var/lib/libvirt/images. I have a totally separate path for my images. How to I configure a different image directory