Software :: Cannot Get Docroot Information (/home/andrew1)

May 25, 2011

Am close I think to having suexec working with mod_userdir but just struggling with a couple of config things.

Am getting this in the suexec log file:

[2011-05-26 11:25:00]: uid: (1001/andrew1) gid: (1001/andrew1) cmd: php-cgi
[2011-05-26 11:25:00]: cannot get docroot information (/home/andrew1)

This getting generated when I go to [URL]

View 11 Replies


ADVERTISEMENT

Fedora Servers :: Can't Get Docroot Information / Resolve This?

Aug 26, 2009

I set up a website in my home directory, which works fine except running some .cgi scripts. the suexec.log shows this error message :

"cannot get docroot information (/home/weixi)"

does anybody have any suggestion what's wrong with it? I use Fedora 11.

View 5 Replies View Related

Ubuntu Servers :: Setting Apache DocRoot To Folder In Home Directory

Jan 9, 2010

Vanilla install of Karmic (64 bit) - would like to change the Apache doc root to point to /home/sam/www as it's my web development machine. (Default install is working fine)
Created copy of 'default' to 'mylocal' in '/etc/apache2/sites-available'

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/sam/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/sam/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
...

The permissions on the folder in my home dir:
Code:
sam@rocket:~$ ls -la ww*
total 16
drwxrwxrwx 2 sam sam 4096 2010-01-09 22:26 .
drwx------ 35 sam sam 12288 2010-01-09 22:11 ..
-rwxrwxrwx 1 sam sam 100 2010-01-09 22:27 index.html
sam@rocket:~$ pwd
/home/sam
sam@rocket:~$
The sites enabled set up:

Code:
root@rocket:/etc/apache2# ls -la sites-enabled/
total 8
drwxr-xr-x 2 root root 4096 2010-01-09 22:24 .
drwxr-xr-x 7 root root 4096 2009-12-20 00:22 ..
lrwxrwxrwx 1 root root 26 2010-01-09 22:24 mylocal -> ../sites-available/mylocal
But I still get:
"Forbidden
You don't have permission to access / on this server".

View 8 Replies View Related

Ubuntu Networking :: Basic Information On Setting Up A Home Vpn?

Mar 20, 2011

I'm trying to set up a VPN for my home so I can ssh from my Mac to the linux desktop on my LAN remotely, but I have no idea what to do. The internet seems to suggest using a VPN, but I have no idea what's involved with setting something like that up, and I'm not even sure that's what I need to do. The linux desktop is on my LAN along with a few windows xp computers, if that matters. Does anyone care to either help or point me in the direction of good information (preferably suited for networking beginners)?

View 4 Replies View Related

General :: Write A Script To Report Useful Information On Disk Utilization For Each User's Home Directory

Feb 27, 2010

I need to write a script to report useful information on disk utilization for each user's home directory.For each directory I need to show: 1. the long listing of that directory entry (but not the files in the directory), so that I can see the rights and owners of the directory.2. The amount of disk used by that directory, in human-readable format, including subdirectories. I need to have two lines for each user one after the other. For example:

/home/user1 directory info
/home/user1 disk usage
/home/user2 directory info
/home/user2 disk usage

The script will assume that all users, except user root, have their home directories in the /home directory (no need to do anything with the /etc/passwd file). And if the administrator adds or removes users, the script should still work correctly (so the script shows the information for all current users).

Here's what I do know. The command "ls -ld /home/user's_name" will give me the info I need for #1. And the command "du -hs" will give me the info I need for #2. What I don't know is how to grab each individual directory in order to apply the above commands to each of them in order. ???

View 14 Replies View Related

Server :: Apache2 - Suexec Error: Command Not In Docroot (/usr/bin/php-cgi)

Jul 7, 2010

Basically when I try execute a PHP script with SuexecUserGroup set, I get the following error:

uid: (501/uname) gid: (501/501) cmd: php-cgi
command not in docroot (/usr/bin/php-cgi)

Without SuexecUserGroup set, they work fine, but obviously aren't executed as the script's owner.

Here's one of the domain's configs:

Code:

<VirtualHost *:80>
ServerName www.domain
ServerAlias domain

[code]...

For a bit of background info, the end result i'm trying to achieve is for files that get uploaded via a php script to be owned by the user account that owns the script rather than by the apache user.

View 1 Replies View Related

Fedora Servers :: Changing Docroot Apache - Syntax Error

Apr 13, 2010

When I want to change my docroot in /home/Vincent/www or /home/Vincent/www/ it gaves me an.
:Syntax error on line 278 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory

I googled it already and they sad that you have to type in:
chcon -R -h -t httpd_sys_content_t /home/Vincent/www << doesn't work so I tried also chcon -R -h -t httpd_sys_content_t /home/Vincent/www/ But nothing seems to work?

View 1 Replies View Related

Fedora :: Write A Program Which Would Get Information From A Webpage And Display The Information On Desktop Sort Of Like A Widget?

Sep 3, 2009

I'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?

View 1 Replies View Related

General :: Make NIS User Information Override Local User Information On Client Systems?

Jul 30, 2011

How would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?

View 1 Replies View Related

Fedora :: Using SSH - Could Not Chdir To Home Directory /home/adahaj: Permission Denied

Jul 21, 2009

I have a strange problem when I do SSH to a FEDORA9 based Linux Server.

[Code]....

When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied

View 7 Replies View Related

Ubuntu :: Home Folder Icons Don't Update When Change The Home Directory

Sep 22, 2010

I have a dual-boot macbook with an OS X partition and an ubuntu partition. When I first installed ubuntu, I changed my home folder to my OS X home directory to synchronize all my files from both. My home directory is now /media/sda2/Users/username/. In a regular home folder, the icons for Documents, Music, Pictures, Movies, etc. are different (not just with emblems, but actually different icons). But when I changed my home folder, these subfolders' icons stayed the same as regular folder icons and I can't figure out a way to change that default setting. I know how to change the icons for each folder manually, but these changes don't appear everywhere (i.e. nautilus, places, etc). Furthermore, every time I change my icon theme, I would have to manually reassign icons for these folders. Is there a way to globally change the folder icons for these folders?

View 2 Replies View Related

General :: 'Could Not Chdir To Home Directory /home/[user]: Permission Denied'

Jan 6, 2010

I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -

Code:

login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$

Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.

View 14 Replies View Related

General ::anything Special About Home Directory Before Users' Home Directories Are Stored There

Jun 19, 2010

Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.

Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?

View 10 Replies View Related

Ubuntu :: Install 64bit Home Over Previous 32bit /home?

Sep 26, 2010

I was previously running 10.04 32bit. Recently upgraded my cpu/ram, so figured I'd try 64 bit. On my previous setup, I had / in one partition, /home in another, plus a few other partitions (/backup, etc).

I did the install of 64 bit, but was too scared to point /home in 64bit to the previous /home. After the install, now all those previous partitions/mounts are on /media. I'd like to just point /home at the previous partition. Should I mess with /etc/fstab to do this or will it cause problems? Is the easiest thing to do reinstall, then point the new install to use the pre-existing /home? Wasn't sure if that would cause problems or not. I've backed up most of the previous /home area, so worst case, if it gets blown away, I should be alright.

View 2 Replies View Related

Ubuntu Servers :: Set Home Directory Path Different From LDAP's Home?

May 24, 2011

I need to specify a different path to home directories on a particular server than what LDAP contains for the users, besides using a symlink. E.g. "/Users/jdoe" vs "/home/jdoe" I don't want to change the actual LDAP attributes, just want a particular server to point them in the right direction (Ubuntu 10.04).

I'm assuming it's something I could probably set in pam configurations?

View 1 Replies View Related

Fedora :: Folding At Home - Home To Install As A Service?

Mar 7, 2011

I am running Folding with the multi-core High performance client and would like to set this to be a service rather than have to run it by hand, so to speak, when the machine is booted.

How do I go about setting a service up for this.

View 2 Replies View Related

Ubuntu :: Using Old Home Backup In Separate Home Partition

Mar 28, 2011

recently i made a backup of my home directory in 10.10 before reinstalling 10.10. again.This time I chose to manually define the partitions (50GB Root, 25GB Swap, 325GB Home)Now i wish to migrate the old home into the newly installed home, which is on a separate partition.I have found the following documentation URL...Still, as a beginner I am not quite sure about the necessary steps to perform.As the new home is located on a separate partition is it possible to simple delete all directories there and copy all directories from old home to new home with rsync?

Do I have to install all the software that corresponds to the old home first followed by migrating home or first migrating home followed by installing the software such as thunderbird, Texlive2010 etc.Guess that migration should take place at a later stage. Otherwise my old profile files from firefox and thunderbird will be overwriten by new ones?

View 1 Replies View Related

Ubuntu :: Move / Home To Existing / Home Partition?

Jul 1, 2011

Been digging around and not finding anything that quite works.

Background: I had an existing 10.10 install and 10.04 on another partition. When I installed the 10.04 I told it to use the existing /home partition which is also being used by the 10.10 install. All good, both users have directories with all their data in the same /home partition.

Issue: So, as the 10.04 was 32bit (experimenting but another story) I decided I would replace with 10.04 64bit. All went well except when I did the manual partitioning I screwed up and instead of setting the existing /home partition to 'use but don't format' - which I think is what I must have done last time - I left it as 'don't use and don't format'. So, obviously, now the new 10.04 install has its /home inside /, which I don't want. I want it on the existing /home partition as it was with the previous 10.04 install.

Question(s): Is there any simple(ish) way of doing this without a reinstall? Not a major problem as I have only just installed and can do it again without losing anything but time, but I would like to figure out a way to do it without if possible.I want to essentially move the /home/user directory (rather than the /home) and make it /media/home/user inside the existing partition. Seems easy enough on the surface but becomes involved as I investigate.Ubuntu 10.04 minimal install with Xfce DE.

View 8 Replies View Related

Ubuntu Installation :: Using SD Card As /Home - Or An Extension Of /Home?

Jul 1, 2011

I have installed Ubuntu Lucid Lynx to dual boot with Vista Business on a Toshiba Port�g� R500. Everything seems to be working great out of the box, but I have a problem with available space on the rather modest (but spectacular performance) 64GB SSD.

1) Current Partitions:

Toshiba includes three partitions on the new 64GB system, to which I have added one primary Linux container partition, enclosing two logical partitions.

- /dev/sda1 TOSHIBA SYSTEM VOLUME: 1.6GB, Partition type "Unknown (0x27)
- /dev/sda2 Windows Vista Business: 49GB, NTFS
- /dev/sda3 HDDRECOVERY: 6.5GB, Hidden HPFS/NTFS (0x17)
- /dev/sda4 Linux Container for sda5 & sda6: 7.6GB, Extended
- /dev/sda5 Ubuntu Filesystem: 6.6GB, ext4
- /dev/sda6 Swap Space: 1.0GB, Linux swap

I'm sure I'll remove Vista eventually, but in the meantime, (along with MS Office) it requires a whopping 32GB just to admire itself, after all the updates and security upgrades have been applied. I shrunk the partition to 49GB to leave space for future updates and upgrades.

Right now, Ubuntu only occupies 2.4GB of it's allocated partition, leaving 3.6GB free (I know, that doesn't add up to 6.6GB, but that must be something to do with GiB vs. GB, ... or magic, maybe). Swap is only 1.0GB, with 2.0GB of RAM, but I don't use Hibernate.

2) Installing /Home on SD Card

Well, I tried this first, since I have a nice 8GB, Class 10 SD Card, and a built in SD Card reader. With the SD Card inserted during installation, I was able to select it and designate it as /Home, but when I tried to restart after insallation was complete, I got an error message before the Ubuntu login screen could appear.

I think what is happening is that it doesn't mount normally when booting. It's not listed as a bootable device in BIOS, but there is a Toshiba Bootable SD Card utility included with Windows, which needs a bootable floppy or something to work. There must be something that allows the BIOS to recognize it as a floppy during boot, or whatever, but any Toshiba Utility isn't going to work with a Linux file system. Puppy doesn't like it either for the Puppy sfs saved user file (although it will usually work if I copy them there manually, rather than allow them to save automatically).

3) Extending /Home to the SD Card

I thought I'd just have to copy stuff to the SD Card manually, as extra storage, when /Home got too crowded and cosy. Then I noticed that as soon as I inserted the SD Card it immediately got added to the total space avaialable shown by the Disk Usage Analyser accessory (which just happened to be open at the time). So now I see 10.8GB total, which is plenty to start out with for me. I assume this is because the SD Card had been formatted to mount as /Home when I first tried that solution, and got recognized as soon as it was inserted in the slot.

Questions:

a) Will this work? Will /Home really use the extra space, or is it just "pretending"?
b) Is there anything special I might need to do?
c) What do I do with the three folders already on the SD Card, obviously put there during the failed attempt to install /Home on the card? (The third folder is hidden: ".ecryptfs".)?
d) Is it acceptable to leave swap with just 1.0GB, since I don't need to hibernate?
e) Anything else I need to consider?

View 9 Replies View Related

Fedora :: Set Up User's Home Folder Away From Home?

Mar 10, 2010

Wondering if its possible to have a User's home folder that resides in a different partition (could be ntfs or ext). I don't mean mounting /home on a different partition. The home directory will still be available for adding more users but I'd like to have a specific User's folder away from /home

How can one achieve this?

View 6 Replies View Related

Debian :: Share Home Among Distributions - Store Files All In "/home" Folder Of Extended Ubuntu Partition

May 1, 2011

Installed Ubuntu along with Debian on my Notebook and use Grub Manager to choose between them on startup. Since i like Debian now a lot (in past days it was a very hard system to handle, but there has been some progress i noticed), i have to change some things (want Debian as main system now) For Ubuntu i have: (was meant to be main system on Notebook) "/", "/home" and a "swap" partition, but since i am now going to use mainly Debian, i wanted to store my files all in the "/home"-folder of my extended Ubuntu partition (has much more space available) not in the "/home" folder of the Debian system. So i want both (Debian and Ubuntu) to use the same extended partition ("/home") which i created for Ubuntu to save their files like downloads, videos, and so on.

View 14 Replies View Related

Fedora Hardware :: Resizing Home Partition But Get Message "no Space In Home Folder"

Dec 17, 2010

i installed fedora kde 32 bit and iam realy loving it. but i want to resize my home partition as i got a message there is no space in my home folder i downloaded a Disk utility application .... to try and resize .... but looks like i dont know what to do

View 3 Replies View Related

General :: Testing Home Directory Scripts By Setting $HOME To The Location Of The Test Directory

Apr 20, 2010

I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.

The easiest way to do this would seem to be to just change & export $HOME, eg

cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions

However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?

View 1 Replies View Related

OpenSUSE Install :: Create A New Home Partition, Don't Want To Preserve The Existing Home Partition?

Jan 14, 2010

Trying to clean install 11.2 dual boot with Win xp already installed. How do I create a new home partition, don't want to preserve the existing home partition from a previous attempt. DVD installation and automatic config keeps saving the thing.

View 5 Replies View Related

Ubuntu :: Partitioning (Home Folder) - Safe To Change To "home"?

Jan 3, 2011

Having been converted to using "Linux" about 8 months ago, and gaining confidence to try different distros, and figuring out how to 'keep' my Home folder, I've had great fun trying them out and learning as I go. The latest distro I'm trying is Kubuntu, which I really like and will keep for a while. However, when I was partitioning in the set-up, I omitted to create my home folder. Instead I now have is a partition the size of my "old" home folder, and to which I have to sign into to gain access. The files are all there so that is no problem.

1. What i would like to know is if this set-up is OK, or should I change it so that it is actually in the home folder (if so how?( a re-install?))

2. If I should decide to try out another distro in the future will this be safe to change to "home"?.

View 3 Replies View Related

Red Hat / Fedora :: Restrict Users To Their Home Directories And Allow Admins To Have Different Home Directories?

Jan 20, 2010

Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.

So far I have created:
chroot_list
user_list

[code]....

View 1 Replies View Related

Ubuntu :: Why Getting Different Information About CPU

Jul 8, 2011

I'm wondering why I'm getting different information about my cpu from different sources within Ubuntu? Is it giving different units of measure or something? But both say MHz.

Code:
:~$ cat /proc/cpuinfo
processor: 0
vendor_id: AuthenticAMD
cpu family: 15
model: 36
model name: AMD Turion(tm) 64 Mobile Technology ML-34 .....

View 2 Replies View Related

Red Hat :: Ip Information Not Determined?

May 31, 2010

when connection to a network the following error massage shown (unable to determine IP information for eth0. link not present)

and about the internet it said that the host not found

im using an Ethernet cable

View 5 Replies View Related

Debian :: Get Information About My System?

Apr 9, 2010

I just installed debian and I need to know where I can find information about my current installation is it x32 or x64. I an sure that my current hardware is x64 but I'd like to know the current OS type.

View 1 Replies View Related

Debian :: Can't Get Shoutcast Information On Web?

Apr 5, 2011

I have shotucast server on my debian server it works perfect, but i can't get shoutcast information on web i'm using PHP script With script everything is OK. With shoutcast to. But i don't understand, why my php script is showing server is off

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved