Contents |
The first is to do what I do (as described here: #326 (comment)) and simply run vagrant provision after it fails - this completes the process successfully. Jantje View Public Profile Find all posts by Jantje #8 24th October 2005, 08:26 PM giulix Offline Registered Join Date: Oct 2005 Location: CE(S)T Posts: 3,240 NOTES The Therefore, I think it would be normal behaviour that puppet ensures that the vhosts document root folders exist before they are fetched to Apache. Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding MembersPowered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc. UNIX check over here
Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You changed the state of your machine and this fixed it. Password Home Search Forums Register Forum RulesMan PagesUnix Commands Linux Commands FAQ Members Today's Posts Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Ask questions about Fedora that do not belong in any other forum.
amirzkria View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by amirzkria 05-17-2011, 03:52 PM #5 nek LQ Newbie Registered: Dec 2006 Posts: For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. Last edited by Jantje; 24th October 2005 at 05:54 PM. Search this Thread 02-04-2006, 07:38 AM #1 amirzkria LQ Newbie Registered: Aug 2004 Posts: 3 Rep: useradd: cannot create directory /home/ I am login as root and when I
Thanks! Here is the error log: Error: Cannot create /home/vagrant/sf2.server/web; parent directory /home/vagrant/sf2.server does not exist Error: /Stage[main]//Apache::Vhost[98wkgJaRECgL]/File[/home/vagrant/sf2.server/web]/ensure: change from absent to directory failed: Cannot create /home/vagrant/sf2.server/web; parent directory /home/vagrant/sf2.server does not Thanks. Mkdir Cannot Create Directory Permission Denied Linux This is a perennial problem, see bug #853456, bug #863832, ....
CentOS The Community ENTerprise Operating System Skip to content Search Advanced search Quick links Unanswered posts Active topics Search The team FAQ Login Register Board index CentOS 5 CentOS 5 - To start viewing messages, select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now I'll try it again later and see if I can reproduce it again. Top xeugene123x Posts: 14 Joined: 2011/10/27 06:22:07 Contact: Contact xeugene123x Website Re: adduser: cannot create directory /home/user Quote Postby xeugene123x » 2011/10/27 17:33:44 got it to work!It was my directory /I
If I disable the > service (service autofs stop) then I can create folders but the > permissions are not right: > > > > mkdir testuser > > ls -l Useradd With Home Directory I do have root password. Start building on our Managed Cloud today. Join Date Jun 2012 Posts 8 Code: [[email protected] ~]# mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts
All Rights Reserved. jackperry commented Jan 23, 2014 I am experiencing this issue now as well. Useradd: Cannot Create Directory In Linux Find all posts by giulix #5 23rd October 2005, 09:53 PM Jantje Offline Registered User Join Date: Oct 2005 Location: Mechelen, Belgium Age: 36 Posts: 24 i saw Useradd: Cannot Create Directory /opt/splunk greetz Jan Jantje View Public Profile Find all posts by Jantje #2 23rd October 2005, 09:25 PM giulix Offline Registered Join Date: Oct 2005 Location: CE(S)T Posts: 3,240
I can create the subfolder before with command module. check my blog Thread Tools Search this Thread Display Modes #1 23rd October 2005, 09:06 PM Jantje Offline Registered User Join Date: Oct 2005 Location: Mechelen, Belgium Age: 36 Posts: 24 Join Date Jun 2012 Posts 8 Code: [[email protected] ~]# lsattr -d / ------------- / [[email protected] ~]# lsattr -d /home lsattr: Inappropriate ioctl for device While reading flags on /home Sorry , The time now is 08:53 PM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top Linux Useradd Home Directory Not Created
So the creation of /var/www/html was triggered too early then. @ChMat your mentioned workaround does always work for such folder problems. Code: [[email protected]/]# pwd / [[email protected]/]# ls -altr total 244 drwxrwxrwx 2 root root 4096 Dec 4 2002 ade drwxr-xr-x 28 root root 4096 Dec 6 2002 var drwxrwxrwx 14 root root This information can usually be found in the web server’s config file (like httpd.conf or apache2.conf for apache). this content I've noticed however that the fix you've linked to is for Apache - I'm using nginx.
Powered by vBulletin Version 4.2.2Copyright ©2000 - 2016, Jelsoft Enterprises Ltd. Could Not Chdir To Home Directory thanks for your help, I appreciate it! connect to your vm through ssh create the directories needed by your vhosts using mkdir -p /home/vagrant/sf2.server/web, the -p parameter ensures subdirectories are created recursively.
Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 1,510 Star 19,695 Fork 6,019 ansible/ansible Code Issues 1,135 Pull requests 465 Projects I get the below error : useradd: cannot create directory /home/ Can someone please advise? This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. Delete User In Linux Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox.
Join Date: Dec 2003 Last Activity: 12 June 2016, 11:03 PM EDT Location: /dev/ph Posts: 4,996 Thanks: 73 Thanked 475 Times in 437 Posts From the directory listing you supplied, it Story Points: --- Clone Of: Environment: Last Closed: 2013-01-22 09:34:41 EST Type: Bug Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements The OS is stock RHEL and I have added the following > packages to support some apps we're running here: > > > > compat-db-4.2.52-5.1.x86_64.rpm > > sysstat-7.0.2-3.el5.x86_64.rpm > > > have a peek at these guys Password Red Hat This forum is for the discussion of Red Hat Linux.
If the setting are not correct, it can prevent you from creating a home directory for your user. Reply With Quote 06-08-2012 #5 vishal84 View Profile View Forum Posts Private Message View Articles Just Joined! Set the group On CentOS, Fedora, or RHEL run: sudo chgrp -R apache /var/www/html And on Ubuntu or Debian: sudo chgrp -R www-data /var/www Set the permissions Next we make the So yes, I'm going to close this, with the note that the file module should be used to create the parent directory for the user's home if it does not already
Amir Mohammed Abdalla Network administrator 00249912616158 E.mail: [email protected] amirzkria View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by amirzkria 02-05-2006, 09:37 AM Already have an account? Find all posts by fpmurphy
Last edited by peter_robb; 02-05-2006 at 09:38 AM. Reload to refresh your session.