[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: My webserver and DAV



not sure...

as a quick approach.. i would suggest that you join/post to the apache
mailing list... i don't have the list information right now, but you can get
it at apache.org. in the past it's been pretty good at solving some of my
issues....

also, post to this and the apache list the contents of the ssl.conf file..
be sure to include the relevant sections of the apache error log file as
well...

i'm not sure if there are supposed to be specific attributes in your
apache/httpd.conf file for webdav. and i don't know if there's a basic
client that can be used to test your webserver/webdav setup...


-----Original Message-----
From: Tim Holmes [mailto:tholmes mcaschool net]
Sent: Tuesday, June 21, 2005 7:56 AM
To: bedouglas earthlink net
Subject: RE: My webserver and DAV


Ok Bruce -- heres the story -- the server is up and serving pages, but
its choking on the dav command in the ssl.conf file -- it says it's a
syntax error

I can view previously posted stuff -- but I cannot add or update

TIM


-----Original Message-----
From: bruce [mailto:bedouglas earthlink net]
Sent: Tuesday, June 21, 2005 10:36 AM
To: Tim Holmes
Subject: RE: My webserver and DAV


drum roll!!!!!!!!!!!!!

did you verify the "./configure" attribute paramaters with someone?
also, did you keep a printout/copy of the results of 'httpd -V' and
'httpd -l'.

when you've finished, do a 'httpd -V' to make sure you've added mod_dav
(webdav) and that you didn't lose anything!!

-bruce


-----Original Message-----
From: Tim Holmes [mailto:tholmes mcaschool net]
Sent: Tuesday, June 21, 2005 7:30 AM
To: bedouglas earthlink net
Subject: RE: My webserver and DAV


Ok - the configure and make ran ok -- here goes the make install

TIM


-----Original Message-----
From: bruce [mailto:bedouglas earthlink net]
Sent: Tuesday, June 21, 2005 10:21 AM
To: Tim Holmes
Subject: RE: My webserver and DAV

tim...

once we determine the 'right' configure attributes to make sure your
httpd server is built with the correct attributes, the build process is
pretty straight forward.

 ./configure (attributes)
 make
 make install

 this process more or less builds the application, and installs it in
the default locations. this process is pretty much used on all linux
applications. as you already guessed (if you hadn't looked into it),
there are a world of things to learn regarding building apps on linux!!!

also, once we do get the right attributes, i find it helpful to create a
tmp file to keep the attributes. although, i believe there's a way to
display/print the attribute string used to build the app..

-bruce


-----Original Message-----
From: Tim Holmes [mailto:tholmes mcaschool net]
Sent: Monday, June 20, 2005 8:03 PM
To: bedouglas earthlink net
Subject: RE: My webserver and DAV


Bruce:

Sorry -- guess I didn't hold up as well as I though I would

Glad I don't have a long way to drive home

TIM


-----Original Message-----
From: bruce [mailto:bedouglas earthlink net]
Sent: Monday, June 20, 2005 11:01 PM
To: Tim Holmes
Subject: RE: My webserver and DAV

what version of httpd   ->httpd -v


-----Original Message-----
From: Tim Holmes [mailto:tholmes mcaschool net]
Sent: Monday, June 20, 2005 7:50 PM
To: bedouglas earthlink net
Subject: RE: My webserver and DAV


Bruce:

Here ya go:

[root srvweb-01 bin]# ./httpd -V
Server version: Apache/2.0.54
Server built:   May 27 2005 15:53:07
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
[root srvweb-01 bin]#

-----Original Message-----
From: bruce [mailto:bedouglas earthlink net]
Sent: Monday, June 20, 2005 10:49 PM
To: Tim Holmes
Subject: RE: My webserver and DAV

tim...

go ahead and do a '/foo/abc/httpd -V' this will give you the compile
options...

you should be able to more or less see what options relate to the
compiled in modules..

let me/the list see what you get..

-bruce


-----Original Message-----
From: Tim Holmes [mailto:tholmes mcaschool net]
Sent: Monday, June 20, 2005 7:08 PM
To: bedouglas earthlink net
Subject: RE: My webserver and DAV


Bruce:

Here is the output

(sorry I don't know all the command line tricks yet -- this is a good
learning experience for me!!!))



login as: root
root srvweb-01's password:
Last login: Mon Jun 20 21:31:21 2005 from 192.168.0.43
[root srvweb-01 ~]# /usr/local/apache2/bin/httpd -l
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_auth_digest.c
  mod_include.c
  mod_deflate.c
  mod_log_config.c
  mod_env.c
  mod_headers.c
  mod_setenvif.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c
[root srvweb-01 ~]#


Also -- any time you want to knock this off for the night please let me
know -- We are off school for the summer, so I can sleep in, so its not
a problem for me to stay late, but I don't want to hold you up

TIM


-----Original Message-----
From: bruce [mailto:bedouglas earthlink net]
Sent: Monday, June 20, 2005 10:06 PM
To: Tim Holmes
Subject: RE: My webserver and DAV

tim...

you're going to have to prepend the location of the httpd -->
'foo/abc/httpd -l' in order to see what modules are loaded... or you can
do a 'foo/abc/httpd -h' to see what the exact command should be..

let me know what it says...

i also see that you appear to have a few apps under the httpd dir...

-bruce


-----Original Message-----
From: Tim Holmes [mailto:tholmes mcaschool net]
Sent: Monday, June 20, 2005 6:33 PM
To: bedouglas earthlink net
Subject: RE: My webserver and DAV


Bruce:

Here is the output of the find command

The httpd -l command returns an error saying that httpd is unknown
command

TIM



[root srvweb-01 /]# find . -name "configure"
./downloads/qmailrocks/qmailadmin-1.2.3/configure
./downloads/qmailrocks/vpopmail-5.4.9/configure
./downloads/qmailrocks/vqadmin-2.3.6/configure
./downloads/qmailrocks/maildrop-1.6.3/configure
./downloads/qmailrocks/maildrop-1.6.3/numlib/configure
./downloads/qmailrocks/maildrop-1.6.3/gdbmobj/configure
./downloads/qmailrocks/maildrop-1.6.3/liblock/configure
./downloads/qmailrocks/maildrop-1.6.3/rfc2045/configure
./downloads/qmailrocks/maildrop-1.6.3/makedat/configure
./downloads/qmailrocks/maildrop-1.6.3/bdbobj/configure
./downloads/qmailrocks/maildrop-1.6.3/maildir/configure
./downloads/qmailrocks/maildrop-1.6.3/rfc822/configure
./downloads/qmailrocks/maildrop-1.6.3/userdb/configure
./downloads/qmailrocks/maildrop-1.6.3/maildrop/configure
./usr/share/doc/ncurses-devel-5.4/test/configure
./usr/share/libtool/libltdl/configure
./usr/local/src/httpd-2.0.54/configure
./usr/local/src/httpd-2.0.54/srclib/pcre/configure
./usr/local/src/httpd-2.0.54/srclib/apr-util/configure
./usr/local/src/httpd-2.0.54/srclib/apr-util/xml/expat/configure
./usr/local/src/httpd-2.0.54/srclib/apr/configure
./usr/local/src/mysql-4.1.12/configure
./usr/local/src/mysql-4.1.12/bdb/dist/configure
./usr/local/src/mysql-4.1.12/innobase/configure
./usr/local/src/php-5.0.4/configure
./usr/local/src/php-5.0.4/ext/bcmath/libbcmath/configure
./usr/local/src/ClibPDF/util/t1utils-1.9/configure
./usr/local/src/freetype-2.1.9/configure
./usr/local/src/freetype-2.1.9/builds/unix/configure
./usr/local/src/curl-7.14.0/configure
./usr/local/src/jpeg-6b/configure
./usr/local/src/libpng-1.2.8/configure
./usr/local/src/libiconv-1.9.2/configure
./usr/local/src/libiconv-1.9.2/libcharset/configure
[root srvweb-01 /]#

-----Original Message-----
From: bruce [mailto:bedouglas earthlink net]
Sent: Monday, June 20, 2005 9:27 PM
To: Tim Holmes
Subject: RE: My webserver and DAV


also, get to the root '/' dir, and do a
  -->>'find . -name "configure"'

and see if it finds a 'configure' file for httpd/apache



-----Original Message-----
From: Tim Holmes [mailto:tholmes mcaschool net]
Sent: Monday, June 20, 2005 6:23 PM
To: bedouglas earthlink net
Subject: RE: My webserver and DAV


Ok -- gimme a second --

TIM


-----Original Message-----
From: bruce [mailto:bedouglas earthlink net]
Sent: Monday, June 20, 2005 9:24 PM
To: Tim Holmes
Subject: RE: My webserver and DAV

tim...

do a httpd --help

what command does it give to show the compiled modules.. type that
command and let me know what it says..


-----Original Message-----
From: Tim Holmes [mailto:tholmes mcaschool net]
Sent: Monday, June 20, 2005 6:19 PM
To: bedouglas earthlink net
Subject: RE: My webserver and DAV


Bruce:

This is a newly installed FC3 box

The ps -aux | grep "httpd" command returns the following

 [root srvweb-01 ~]# ps -aux | grep "httpd"
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.3/FAQ
root      2844  0.0  1.5 17980 7760 ?        Ss   Jun16   0:00
/usr/local/apache2/bin/httpd -k start
nobody    4952  0.0  1.6 18412 8488 ?        S    Jun18   0:00
/usr/local/apache2/bin/httpd -k start
nobody    4953  0.0  1.6 18384 8376 ?        S    Jun18   0:00
/usr/local/apache2/bin/httpd -k start
nobody    4979  0.0  1.6 18408 8412 ?        S    Jun18   0:00
/usr/local/apache2/bin/httpd -k start
nobody    4980  0.0  1.6 18420 8480 ?        S    Jun18   0:00
/usr/local/apache2/bin/httpd -k start
nobody    5092  0.0  1.6 18448 8436 ?        S    Jun19   0:00
/usr/local/apache2/bin/httpd -k start
nobody    5093  0.0  1.6 18384 8336 ?        S    Jun19   0:00
/usr/local/apache2/bin/httpd -k start
nobody    5094  0.0  1.6 18408 8404 ?        S    Jun19   0:00
/usr/local/apache2/bin/httpd -k start
nobody    5101  0.0  1.6 18384 8388 ?        S    Jun19   0:00
/usr/local/apache2/bin/httpd -k start
nobody   21934  0.0  1.5 18140 7896 ?        S    20:25   0:00
/usr/local/apache2/bin/httpd -k start
nobody   21935  0.0  1.5 18008 7808 ?        S    20:25   0:00
/usr/local/apache2/bin/httpd -k start
root     22013  0.0  0.1  4544  668 pts/0    S+   21:11   0:00 grep
httpd
[root srvweb-01 ~]#


The ps -aux | grep "apa" returns similar if not identical output


[root srvweb-01 ~]# which httpd
/usr/bin/which: no httpd in
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sb
in:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
[root srvweb-01 ~]# which apache
/usr/bin/which: no apache in
(/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sb
in:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
[root srvweb-01 ~]#


Ok that's the output of the commands -- if there is anything else you
wanna know let me know

TIM


-----Original Message-----
From: bruce [mailto:bedouglas earthlink net]
Sent: Monday, June 20, 2005 9:13 PM
To: Tim Holmes
Subject: RE: My webserver and DAV

tim...

feel free to post back to list. don't worry about guys who rant...

what version of Fedora/linux are you running....

what do you get when you run 'ps -aux | grep "http"' or 'ps -aux | grep
"apa"'?

let's see what the name of the apache process is that you're running?

also, what do you get when you type 'which httpd' or 'which apache'?

-bruce



-----Original Message-----
From: Tim Holmes [mailto:tholmes mcaschool net]
Sent: Monday, June 20, 2005 6:01 PM
To: bedouglas earthlink net
Subject: My webserver and DAV


Hi Bruce - thanks for your kind note.  I am taking the question of my
webserver and DAV off the list to avoid inciting Stefan and his rants
any further.

The system was assembled from source to allow us to include specifically
the options that we wanted, and to redirect some things to a fileserver
storage system.  In this particular case, I would have preferred that it
be installed in the normal place, but I was not specific enough in my
instructions, nor did I remember to ask him to install the dav module
(my mistake)  the system actually runs extremely well and is not a
problem in its current location which is why I have elected not to tear
it down and reinstall - as well, it serves as a good learning experience
for me.

I issued the httpd l command as you asked, and it returned httpd -
unknown command

Please feel free to contact me off list if you have any further
questions

TIM


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]