|
There are 6 httpd threads running (1 root and 5
scott).
I had a previous sql-ledger in
/usr/local/www/sql-ledger and only this has a members directory. The current
/usr/local/sql-ledger has none...if it should then why hasn't this come
from the install?
There is more than one httpd file but I don't think
this is a problem because when I run httpd -v it returns the correct apache
version.
Unfortunately, this is a stand alone system and I
have nothing to compare it. I really love using SQL Ledger but the installation
process is one of the worse I have seen in Linux (I have installed this 3 times
over the last year and always have major problems)
Any other ideas?
Scott
----- Original Message -----
Sent: Tuesday, October 15, 2002 7:25
PM
Subject: Re: [SL] Can I have some help
please?
Scott;
Well, that sure has 'scott' al over
;-)
Still, if you do a
ps auxw
does it show httpd
running as 'scott'?
And is the members file really there? (just
asking.....) Any chance that there is more than 1 httpd.conf
file? Another line of thought may be to compare this setup with other
internal sites you have. If you have another one, I would try looking for
differences. If not I would make another one just to see if it
works.
Miguel
Scott Taylor wrote:
[EMAIL PROTECTED]"
type="cite">Here are the current ownerships
SQL LEDGER
drwxrwx--- 20 scott scott 4096 Feb 2 2002 usr drwxr-xr-x 22 scott scott 4096 Oct 9 16:32 local drwxrwxr-- 10 scott scott 4096 Oct 9 16:38 sql-ledger drwxrwxrwx 2 scott scott 4096 Oct 9 16:38 templates drwxrwxr-- 2 scott scott 4096 Oct 9 16:38 users
SERVER ROOT
drwxrwxr-- 77 scott scott 8192 Oct 15 08:35 etc drwxrwxr-- 4 scott scott 4096 Oct 11 12:16 httpd
PATH TO HTTPD EXECUTABLE
drwxrwx--- 20 scott scott 4096 Feb 2 2002 usr drwxrwx--- 2 scott scott 8192 Oct 11 12:16 sbin -rwxrwxrwx 1 scott scott 394504 Oct 7 13:42 httpd
HTTPD.CONF FILE
### Default port, user, and group the daemon runs to/listens on. Port 80 User scott Group scott
Everything is now got "scott" permissions, and I am logged in as ro
ot. What is the problem?
I hear what you are saying about security, but my web server is offline at present and my primary concern is to bring my accounting data up to date.
Scott
On Tuesday 15 October 2002 12:47 pm, Miguel Koren O'Brien de Lacy wrote:
Scott;
It should be clearer, but it's not :-( (unfortunately). Some things to think about:
My web server runs as user 'nobody' and I have these permissions:
/usr/local/sql-ledger drwxr-xr-x 2 nobody nobody 4096 Sep 18 17:08 users drwxrwxr-x 3 nobody nobody 4096 Jun 9 17:01 templates
/usr/local/sql-ledger/users -rw-r--r-- 1 nobody nobody 3778 Jun 12 09:32 members
The file 'is' there of course?
So in your case these would have to be chown and chgrp to 'Apache' not 'scott' unless your web server is now really running as user 'scott'. If you do a
ps auxw
do you see 'Apache' or 'scott' (or something else) as the owner of the process?
My httpd permissions are:
-rwxr-xr-x 1 root root 282774 Jun 19 13:28 /usr/sbin/httpd
In httpd.conf I have (check that you are pointing to the right one when starting httpd?)
:
Alias /sql-ledger/ /usr/local/sql-ledger/ <Directory /usr/local/sql-ledger> Options ExecCGI Includes FollowSymlinks </Directory> <Directory /usr/local/sql-ledger/users> Options None </Directory>
I connect by going to "http://www.my.domain/sql-ledger/"
My ServerRoot is also like yours /etc/httpd. What I don't have is the suEXEC mechanism enabled. Do you need it for something else? I also do not have port 443, just 80. I use sql-ledger internally.
Another comment is that I am running an older version than you because line 90 for me is " if ($ENV{HTTP_USER_AGENT}) {" which is probably not what you have. I'm using 1.8.4. I'm also using Apache 1.3.x not 2.0.x.
So unfortunately my only advice right now is to re-check the configurations and try again.
Miguel
Scott Taylor wrote:
Hi Miguel
Attached is log file.
I have changed the user and group name in httpd.conf to scott. I have chown scott:scott users templates.
As scott is a member of the "root" group, I have allowed rwx on the group part of the apache directories which were before I changed them:
The server root is /etc/httpd drwxr-xr-x 4 root root 4096 Oct 11 12:16 httpd
and path to executable is /usr/sbin/httpd -rwx------ 1 root root 394504 Oct 7 13:42 httpd.
Is this any more help?
Scott
On Monday 14 October 2002 8:35 pm, Miguel Koren O'Brien de Lacy wrote:
Hi Scott;
I usually try to help out with the installation and environment problems, where I can be more helpful. I saw your problem but there is very little information to work with (entirely my fault of not being able to do more with it). What I can suggest is to look at the Apache log file
s and try to get some more detail of what is happening. I does though look like a fiel permission problem. On my server the logs are under /var/log/http.
If you can copy me some snippets from there I'll be gald to take a look.
Miguel
Scott Taylor wrote:
---------- Forwarded Message ----------
Subject: [SL] Install Troubles Date: Mon, 14 Oct 2002 18:31:30 +0000
From: Scott Taylor <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
I have installed SL to /usr/local/sql-ledger, and copied the AddHandler script to httpd.conf.
My user and group name is apache and I have chown apache:apache users templates.
When I try to login through the URL I get
Error!
users/members : No such file or dire
ctory
Please help
Scott
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------- (un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users Archive: < a class="moz-txt-link-freetext" href=""http://www.mail-archive.com/[email protected]/">http:// [EMAIL PROTECTED]/
-----------------------------------------------
--------
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------- (un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users Archive: http://www.mail-archive.com/[email protected]/
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------- (un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users Archive: http://www.mail-archive.com/[email protected]/
[Mon Oct 14 17:05:59 2002] [notice] Apache configured -- resuming normal operations [Mon Oct 14 17:05:59 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon Oct 14 17:05:59 2002] [notice] Accept mutex: sysvsem (Default: sysvsem) Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl l
ine 90. [Mon Oct 14 17:18:08 2002] [crit] (98)Address already in use: make_sock: could not bind to port 443 [Mon Oct 14 17:18:16 2002] [crit] (98)Address already in use: make_sock: could not bind to port 443 Error: users/members : No such file or directory Compilation failed in require at / usr/local/sql-ledger/login.pl line 90. [Mon Oct 14 17:22:12 2002] [notice] caught SIGTERM, shutting down [Mon Oct 14 17:25:05 2002] [notice] Apache configured -- resuming normal operations [Mon Oct 14 17:25:05 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon Oct 14 17:25:05 2002] [notice] Accept mutex: sysvsem (Default: sysvsem) Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. [Mon Oct 14 17:34:54 2002] [crit] (98)Address already in use: make_sock: could not bind to port 443 [Mon Oct 14 17:34:56 2002] [crit] (98)Address already in use: make_sock: could not bind to port 443 Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. [Mon Oct 14 17:36:34 2002] [crit] (98)Address already in use: make_sock: could not bind to port 443 [Mon Oct 14 17:36:36 2002] [crit] (98)Address already in use: make_sock: could not bind to port 443 Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/logi
n.pl line 90. Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. Error: users/members : Permission denied Compilation failed in require at /usr/local/sql-ledger/admin.pl line 119. Error: users/members : No such file or directory C ompilation failed in require at /usr/local/sql-ledger/login.pl line 90. [Mon Oct 14 18:24:35 2002] [crit] (98)Address already in use: make_sock: could not bind to port 443 Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. [Mon Oct 14 18:29:40 2002] [crit] (98)Address already in use: make_sock: could not bind to port 443 Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. [Mon Oct 14 21:19:33 2002] [notice] caught SIGTERM, shutting down [Tue Oct 15 09:40:07 2002] [notice] Apache configured -- resu
ming normal operations [Tue Oct 15 09:40:07 2002] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue Oct 15 09:40:07 2002] [notice] Accept mutex: sysvsem (Default: sysvsem) Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90.< br>Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90. Error: users/members : No such file or directory Compilation failed in require at /usr/local/sql-ledger/login.pl line 90.
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------- (un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users Archive: http://www.mail-archive.com/[email protected]/
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------- (un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users Archive: http://www.mail-archive.com/[email protected]/
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------- (un)subscribe:
http://lists.sourceforge.net/lists/listinfo/sql-ledger-users Archive:
http://www.mail-archive.com/[email protected]/
|