Re: Can I have some help please?
"Scott Taylor" <[email protected]> Wed, 16 Oct 2002 11:18:12 +0100
| Newsgroups | gmane.comp.web.sql-ledger.user |
|---|---|
| Organization | 4i dotCom Limited |
| Message-ID | <000c01c274fd$56266560$94a37ad5@workstation1> |
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 ----- From: Miguel Koren O'Brien de Lacy To: [email protected] 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: Here are the current ownershipsSQL LEDGERdrwxrwx--- 20 scott scott 4096 Feb 2 2002 usrdrwxr-xr-x 22 scott scott 4096 Oct 9 16:32 localdrwxrwxr-- 10 scott scott 4096 Oct 9 16:38 sql-ledgerdrwxrwxrwx 2 scott scott 4096 Oct 9 16:38 templatesdrwxrwxr-- 2 scott scott 4096 Oct 9 16:38 usersSERVER ROOTdrwxrwxr-- 77 scott scott 8192 Oct 15 08:35 etcdrwxrwxr-- 4 scott scott 4096 Oct 11 12:16 httpdPATH TO HTTPD EXECUTABLEdrwxrwx--- 20 scott scott 4096 Feb 2 2002 usrdrwxrwx--- 2 scott scott 8192 Oct 11 12:16 sbin-rwxrwxrwx 1 scott scott 394504 Oct 7 13:42 httpdHTTPD.CONF FILE### Default port, user, and group the daemon runs to/listens on.Port 80User scottGroup scottEverything 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.ScottOn 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 tothink 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'. Ifyou do aps auxw do you see 'Apache' or 'scott' (or something else) as the owner of theprocess? 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 whenstarting 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 thesuEXEC mechanism enabled. Do you need it for something else? I also do nothave port 443, just 80. I use sql-ledger internally.Another comment is that I am running an older version than you because line90 for me is " if ($ENV{HTTP_USER_AGENT}) {" which is probably not whatyou 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 configurationsand try again.MiguelScott Taylor wrote: Hi MiguelAttached is log file.I have changed the user and group name in httpd.conf to scott. I have chownscott:scott users templates.As scott is a member of the "root" group, I have allowed rwx on the grouppart 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 httpdand path to executable is/usr/sbin/httpd -rwx------ 1 root root 394504 Oct 7 13:42httpd.Is this any more help?ScottOn 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 environmentproblems, where I can be more helpful. I saw your problem but there isvery little information to work with (entirely my fault of not beingable to do more with it). What I can suggest is to look at the Apachelog file s and try to get some more detail of what is happening. I doesthough look like a fiel permission problem. On my server the logs areunder /var/log/http.If you can copy me some snippets from there I'll be gald to take a look.MiguelScott Taylor wrote:---------- Forwarded Message ----------Subject: [SL] Install TroublesDate: Mon, 14 Oct 2002 18:31:30 +0000From: Scott Taylor <[email protected]>To: [email protected] have installed SL to /usr/local/sql-ledger, and copied the AddHandlerscript to httpd.conf.My user and group name is apache and I have chown apache:apache userstemplates.When I try to login through the URL I getError!users/members : No such file or dire ctoryPlease helpScott-------------------------------------------------------This sf.net email is sponsored by:ThinkGeekWelcome 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://www.mail-archive.com/[email protected]/----------------------------------------------- ---------------------------------------------------------------This sf.net email is sponsored by:ThinkGeekWelcome 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:ThinkGeekWelcome to geek heaven.http://thinkgeek.com/sf-------------------------------------------------------(un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-usersArchive: http://www.mail-archive.com/[email protected]/[Mon Oct 14 17:05:59 2002] [notice] Apache configured -- resuming normaloperations [Mon Oct 14 17:05:59 2002] [notice] suEXEC mechanism enabled(wrapper: /usr/sbin/suexec) [Mon Oct 14 17:05:59 2002] [notice] Acceptmutex: sysvsem (Default: sysvsem) Error: users/members : No such file ordirectoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90.Error: users/members : No such file or directoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90.Error: users/members : No such file or directoryCompilation 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)Addressalready in use: make_sock: could not bind to port 443 Error: users/members: No such file or directoryCompilation 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 normaloperations [Mon Oct 14 17:25:05 2002] [notice] suEXEC mechanism enabled(wrapper: /usr/sbin/suexec) [Mon Oct 14 17:25:05 2002] [notice] Acceptmutex: sysvsem (Default: sysvsem) Error: users/members : No such file ordirectoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90.Error: users/members : No such file or directoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90.Error: users/members : No such file or directoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90.Error: users/members : No such file or directoryCompilation 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 [MonOct 14 17:34:56 2002] [crit] (98)Address already in use: make_sock: couldnot bind to port 443 Error: users/members : No such file or directoryCompilation 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)Addressalready in use: make_sock: could not bind to port 443 Error: users/members: No such file or directoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90.Error: users/members : No such file or directoryCompilation failed in require at /usr/local/sql-ledger/logi n.pl line 90.Error: users/members : No such file or directoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90.Error: users/members : Permission deniedCompilation failed in require at /usr/local/sql-ledger/admin.pl line 119.Error: users/members : No such file or directoryCompilation 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 directoryCompilation 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 directoryCompilation 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 normaloperations [Tue Oct 15 09:40:07 2002] [notice] suEXEC mechanism enabled(wrapper: /usr/sbin/suexec) [Tue Oct 15 09:40:07 2002] [notice] Acceptmutex: sysvsem (Default: sysvsem) Error: users/members : No such file ordirectoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90.<br>Error: users/members : No such file or directoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90.Error: users/members : No such file or directoryCompilation failed in require at /usr/local/sql-ledger/login.pl line 90. ------------------------------------------------------- This sf.net emailis 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:ThinkGeekWelcome to geek heaven.http://thinkgeek.com/sf-------------------------------------------------------(un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-usersArchive: 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]/