LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-10-2020, 02:31 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Webfs - cannot change document root


Code:
#uname -a
Linux fir.nuclix 5.3.0-3parrot3-amd64 #1 SMP Parrot 5.3.9-3parrot3 (2019-11-23) x86_64 GNU/Linux
Code:
#webfsd -h
-r dir   document root is >dir< 

#webfsd -r ~/webdocs
bind: Address already in use
Code:
# vim /etc/webfsd.conf

# document root
web_root="/home/myhomedir/webdocs"

#service webfs stop
#service webfs start
Fails again. It still uses /var/www/html as the document root.

Any ideas?
 
Old 01-11-2020, 06:46 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Did you restart webfs after changing its configuration?
 
Old 01-11-2020, 01:14 PM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
> Did you restart webfs after changing its configuration?

Yes.

Code:
# vim /etc/webfsd.conf

# document root
web_root="/home/myhomedir/webdocs"

#service webfs stop
#service webfs start
 
Old 01-11-2020, 01:31 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Are you sure the service isn't webfsd?

What does service webfs status show before and after the restart?
What does service webfsd status show?
 
Old 01-12-2020, 02:18 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by walterbyrd View Post
> Did you restart webfs after changing its configuration?

Yes.

Code:
# vim /etc/webfsd.conf

# document root
web_root="/home/myhomedir/webdocs"

#service webfs stop
#service webfs start
Oh, I see.
That was supposed to be command line output. It looked like part of /etc/webfsd.conf to me.
Anyhow, I'm pretty sure ParrotOS uses systemd, so you might try using 'systemctl start/stop/restart ...'.
Along with 'systemctl status ...'.
Another aspect is the OS itself - who knows what it does to avoid being abused as a web server?
And you completely ignored the 'bind: ' message, no? Which 'bind' is this about - the shell builtin or the DNS server? webfs does not depend on bind on my system.

With the hints & info you got so far, I hope you can get a little more proactive in troubleshooting your problem now.
 
1 members found this post helpful.
Old 01-12-2020, 03:47 PM   #6
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Thank you for the replay. I think I will switch to apache2. It is better known.

Thanks again.
 
  


Reply

Tags
webfs, webfsd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to create a document in LaTeX using the LyX document processor LXer Syndicated Linux News 0 10-01-2014 03:41 PM
How do I display a tick in a pdf document. The document uses forms with tick choices. philp1863 Linux - Software 5 09-25-2014 08:47 AM
html; character encoding per document tag, not whole document TheLinuxDuck Programming 0 08-14-2008 11:12 AM
how do i create a document, then a directory and save the document in it. jtdodge Linux - Newbie 9 06-15-2005 11:03 AM
Convert openoffice document into ms document through cli? bruno buys Linux - Software 0 07-05-2004 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration