Thanks for that help earlier..
list Todd Kleinert
Thanks for the help earlier. I've been able to run ./configure a number of times now.. Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group. It mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)? Right now, I've got a webserver telling me: "You don't have permission to access / on this server." B. Todd Kleinert II Network Operations Technician 333 South 520 West, #200 Lindon, Utah 84042 Office: XXX.XXX.XXXX Fax: XXX.XXX.XXXX <http://www.directpointe.com/> CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
list Josh Luthman
Apache will need the xx5 bit to read and execute. / is probably not related to hobbit, did you grab the apache config made by ./configure so you can get /hobbit/ ?
▸
On 12/29/07, Todd Kleinert <user-9ce5b9e970e8@xymon.invalid> wrote:Thanks for the help earlier. I've been able to run ./configure a number of times now.. Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group. It mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)? Right now, I've got a webserver telling me: "You don't have permission to access / on this server." B. Todd Kleinert II Network Operations Technician 333 South 520 West, #200 Lindon, Utah 84042 Office: XXX.XXX.XXXX Fax: XXX.XXX.XXXX <http://www.directpointe.com/>; CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Todd Kleinert
Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon. With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..
▸
B. Todd Kleinert II
Network Operations Technician
333 South 520 West, #200
Lindon, Utah 84042
Office: XXX.XXX.XXXX
Fax: XXX.XXX.XXXX
CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain
confidential material for the sole use of the intended recipient. If
you received this e-mail in error, please delete the e-mail and all
attachments. Thank you.
-----Original Message-----
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Saturday, December 29, 2007 7:27 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Thanks for that help earlier..
Apache will need the xx5 bit to read and execute. / is probably not
related to hobbit, did you grab the apache config made by ./configure
so you can get /hobbit/ ?
On 12/29/07, Todd Kleinert <user-9ce5b9e970e8@xymon.invalid> wrote:Thanks for the help earlier. I've been able to run ./configure a number of times now.. Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group.
It
mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)? Right now, I've got a webserver telling me: "You don't have permission to access / on this server." B. Todd Kleinert II Network Operations Technician 333 South 520 West, #200 Lindon, Utah 84042 Office: XXX.XXX.XXXX Fax: XXX.XXX.XXXX <http://www.directpointe.com/>; CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Joe Sloan
▸
Todd Kleinert wrote:
Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon. With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..
The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need. Joe
list Josh Luthman
You'll need to jump in to the configuration - probably /etc/hobbit/*
▸
On 12/30/07, Joe Sloan <user-b1d2c84d244b@xymon.invalid> wrote:Todd Kleinert wrote:Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon. With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need. Joe
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Todd Kleinert
Thanks Josh, and Joe. I found the files I was hunting for. Since that part of things is done for me, I now need to look for the httpd.conf file example. Once I locate that, I can refit the info found in the .cfg files into the apache conf, so that they're pointing to the same places, have all the correct capabilities, permissions etc. Uhm, along these lines, I noticed something weird yesterday. Apache on my fedora system had a directory structure already setup, not a big surprise..however, it seems that apache was pointing to /var/www as "document root" but then the directive below it was pointing to /var/www/html - is this just a mistake on the part of the developer? Shouldn't the directory options be for the /var/www too? It just seemed weird to find that in the httpd.conf , when its obviously wrong. What gives?
▸
B. Todd Kleinert II Network Operations Technician 333 South 520 West, #200 Lindon, Utah 84042 Office: XXX.XXX.XXXX Fax: XXX.XXX.XXXX <http://www.directpointe.com/>; CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you. From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Sunday, December 30, 2007 12:09 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Thanks for that help earlier.. You'll need to jump in to the configuration - probably /etc/hobbit/* On 12/30/07, Joe Sloan <user-b1d2c84d244b@xymon.invalid> wrote: Todd Kleinert wrote:
Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back
into the apache files on this new OS and add in those lines, will get on that soon. With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these
tidbits are implemented, but I was getting used to that ./configure stuff..
The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need. Joe -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Lárus Rafn Halldórsson
When I compiled my hobbit server on Centos 5.1 I had to fix the permissions for the /home/hobbit/ directory.. it was 700. use the chmod command to mod it to 755 and then you should be able to access the website. Worked for me at least... larus
▸
From: Todd Kleinert [mailto:user-9ce5b9e970e8@xymon.invalid] Sent: 30. desember 2007 01:49 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Thanks for that help earlier.. Thanks for the help earlier. I've been able to run ./configure a number of times now.. Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group. It mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)? Right now, I've got a webserver telling me: "You don't have permission to access / on this server." B. Todd Kleinert II Network Operations Technician 333 South 520 West, #200 Lindon, Utah 84042 Office: XXX.XXX.XXXX Fax: XXX.XXX.XXXX <http://www.directpointe.com/>; CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you. --
ESVA scan result: Clean
list Joe Sloan
▸
Todd Kleinert wrote:
Thanks Josh, and Joe. I found the files I was hunting for. Since that part of things is done for me, I now need to look for the httpd.conf file example. Once I locate that, I can refit the info found in the .cfg files into the apache conf, so that they’re pointing to the same places, have all the correct capabilities, permissions etc.
I didn't have to do that - I just dropped hobbit-apache.conf into the appropriate directory and that took care of the apache configuration for hobbit, once apache was restarted. BTW I found that the hobbit rpm was full of redhat-isms, but I was able to adapt it to my suse servers without too much trouble.
▸
Uhm, along these lines, I noticed something weird yesterday. Apache on my fedora system had a directory structure already setup, not a big surprise..however, it seems that apache was pointing to /var/www as “document root” but then the directive below it was pointing to /var/www/html – is this just a mistake on the part of the developer? Shouldn’t the directory options be for the /var/www too? It just seemed weird to find that in the httpd.conf , when its obviously wrong. What gives?
That should probably be /var/www/html everywhere since that is the document root on redhat - Joe
list Josh Luthman
After you set 755 on ~hobbit you need to add Alias and ScriptAlias directives. Basically DocumentRoot is irrelavent.
▸
On 12/30/07, Lárus Rafn Halldórsson <user-415184c713bc@xymon.invalid> wrote:When I compiled my hobbit server on Centos 5.1 I had to fix the permissions for the /home/hobbit/ directory.. it was 700. use the chmod command to mod it to 755 and then you should be able to access the website. Worked for me at least... larus From: Todd Kleinert [mailto:user-9ce5b9e970e8@xymon.invalid] Sent: 30. desember 2007 01:49 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Thanks for that help earlier.. Thanks for the help earlier. I've been able to run ./configure a number of times now.. Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group. It mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)? Right now, I've got a webserver telling me: "You don't have permission to access / on this server." B. Todd Kleinert II Network Operations Technician 333 South 520 West, #200 Lindon, Utah 84042 Office: XXX.XXX.XXXX Fax: XXX.XXX.XXXX <http://www.directpointe.com/>; CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you. -- ESVA scan result: Clean
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Todd Kleinert
To get my apache to autostart, at boot I did this:
Fedora Core 1
* login as root: su - (the dash allows your /sbin dir to be in $PATH)
* type: service httpd start (this starts apache)
* type: chkconfig httpd on (this sets apache to start in your current init)
I added these lines into my httpd.conf, tho its just from memory, is this the right options??
Alias /hobbit "/var/lib/hobbit/"
<Directory "/var/lib/hobbit/www">
Options Indexes FollowSymlinks ExecCGI Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
then restarted apache
apachectl restart
then browsed to http://localhost/hobbit & what did I see? 401 message? 500 error? Nope.. the monitor was FINALLY working.. yay
Thanks guys for yer help
▸
-----Original Message-----
From: Joe Sloan [mailto:user-b1d2c84d244b@xymon.invalid]
Sent: Sun 12/30/2007 11:31 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Thanks for that help earlier..
Todd Kleinert wrote:Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon. With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..
The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need. Joe
list Josh Luthman
You will need two more alias directives I believe.
▸
On 12/31/07, Todd Kleinert <user-9ce5b9e970e8@xymon.invalid> wrote:To get my apache to autostart, at boot I did this: Fedora Core 1 * login as root: su - (the dash allows your /sbin dir to be in $PATH) * type: service httpd start (this starts apache) * type: chkconfig httpd on (this sets apache to start in your current init) I added these lines into my httpd.conf, tho its just from memory, is this the right options?? Alias /hobbit "/var/lib/hobbit/" <Directory "/var/lib/hobbit/www"> Options Indexes FollowSymlinks ExecCGI Includes AllowOverride None Order allow,deny Allow from all </Directory> then restarted apache apachectl restart then browsed to http://localhost/hobbit & what did I see? 401 message? 500 error? Nope.. the monitor was FINALLY working.. yay Thanks guys for yer help -----Original Message----- From: Joe Sloan [mailto:user-b1d2c84d244b@xymon.invalid] Sent: Sun 12/30/2007 11:31 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Thanks for that help earlier.. Todd Kleinert wrote:Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon. With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need. Joe
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer