From: Reed W. <al...@al...> - 2004-02-14 20:08:26
|
Dieter wrote: > Should have said that there is also a problem with expanding menus. > This is from a bug in Apache 2.0, see the FAQ. Yes thanks, the FAQ code patch fixed the menu-expansion problem, but still problems: Part descriptions are still not displayed in the Invoice form (after Update). No error after Update, but the following error (see below) after Post. The "parts_id" does not show up in the error message below. But note that I entered a valid part name in the Invoice form, and a a part id number exists in the parts database. Also, NO error message after Update is displayed if I enter a bogus part name in version 2.2.3. In version 2.0.2, I properly get error message "Item not on file!" if I enter a bogus part name. ------- error message after Invoice Post ---------- Error! INSERT INTO invoice (trans_id, parts_id, description, qty, sellprice, fxsellprice, discount, allocated, assemblyitem, unit, deliverydate, project_id) VALUES (20560, , '', 4, -0.00, 0, 0.5, 0, 'f', '', NULL, NULL) ERROR: parser: parse error at or near "," at character 192 -------------------------------------------------------------------- |
From: GLam <gla...@co...> - 2005-10-14 23:40:08
|
Thanks for your pointer. I created the sql-ledger-httpd.conf in /etc/httpd/conf.d directory and changed the Include to point to that directory in the httpd.conf file. I can start the http, but when I tried to connect to localhost/sql-ledger/admin.pl it showed 430-forbidden - You don't have permission to access /sql-ledger/ on this server. I checked the users and templates were both apache:apache. Please help. GL sql...@li... wrote: >On Thu, 2005-10-13 at 21:59 -0400, >sql...@li... wrote: > > >>I tried to manually start the httpd, but unsuccessful. It says: Could >>not open config file /etc/httpd/conf/sql-ledger-httpd.conf >> >> > >Is that the correct path to the sql-ledger-httpd.conf file? > >My FC4 server(s) use /etc/httpd/conf.d/ as the external conf file >location. Anything placed in there will be loaded automatically if it's >named <foo>.conf. > >However, sql-ledger puts its conf file in /etc/httpd/conf along with >httpd.conf. The permissions should be rw-r--r-- and user and group are >root. There should also be a line in httpd.conf that reads: ># SQL-Ledger >Include conf/sql-ledger-httpd.conf > >When in doubt, delete the existing one and recreate it as above. A >manual start (/sbin/service httpd start) will show some on-screen >errors. The rest are found in /var/log/httpd/error.log. > > > > >>I rechecked the file name; it is right and the owner and group are >>both root. >>I don't know what went wrong. If I comment out the >>Include /etc/httpd/conf/sql-ledger-httpd.conf, then the httpd will >>strat. >>Thank you. >>GL >>sql...@li... wrote: >> >> >>>On Fri, 14 Oct 2005 06:49 am, sql...@li... >>>wrote: >>> >>> >>> >>> >>>>>Hi, >>>>>I am setting up a new fc4 server to run SL, but am unable to restart >>>>>httpd after adding >>>>>#SQL-Ledger >>>>>Include /etc/httpd/conf/sql-ledger-httpd.conf >>>>>to the httpd.conf file. >>>>>Before adding the above two lines, I could see the apache test page. >>>>>After adding these two lines, I stopped httpd and then restart it, but >>>>>the httpd won't start. >>>>>Any idea? >>>>>GL >>>>> >>>>> >>>>> >>>Try to start it manually. It should give you some traceback and it'll tell you >>>what's wrong in your configuration. >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: >>>Power Architecture Resource Center: Free content, downloads, discussions, >>>and more. http://solutions.newsforge.com/ibmarch.tmpl >>>_______________________________________________ >>>sql-ledger-users mailing list >>>sql...@li... >>>https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >>> >>> >>> >>> |
From: Jeff V. <jv...@ch...> - 2005-10-15 12:49:42
|
On Fri, 2005-10-14 at 19:49 -0400, GLam wrote: > Thanks for your pointer. I created the sql-ledger-httpd.conf > in /etc/httpd/conf.d directory and changed the Include to point to > that directory in the httpd.conf file. > I can start the http, but when I tried to connect to > localhost/sql-ledger/admin.pl > it showed 430-forbidden - You don't have permission to > access /sql-ledger/ on this server. > I checked the users and templates were both apache:apache. > Please help. > GL > > Permissions and ownership of the actual location that alias points to are critical. The directory must have at minimum 755 and the files must be at minimum 644 for all files there. I assume you have it installed at /usr/local/sql-ledger, so check the file permissions there. This can be more restrictive if the directory and files are owned by apache, but not otherwise. > > sql...@li... wrote: > > On Thu, 2005-10-13 at 21:59 -0400, > > sql...@li... wrote: > > > > > I tried to manually start the httpd, but unsuccessful. It says: Could > > > not open config file /etc/httpd/conf/sql-ledger-httpd.conf > > > > > > > Is that the correct path to the sql-ledger-httpd.conf file? > > > > My FC4 server(s) use /etc/httpd/conf.d/ as the external conf file > > location. Anything placed in there will be loaded automatically if it's > > named <foo>.conf. > > > > However, sql-ledger puts its conf file in /etc/httpd/conf along with > > httpd.conf. The permissions should be rw-r--r-- and user and group are > > root. There should also be a line in httpd.conf that reads: > > # SQL-Ledger > > Include conf/sql-ledger-httpd.conf > > > > When in doubt, delete the existing one and recreate it as above. A > > manual start (/sbin/service httpd start) will show some on-screen > > errors. The rest are found in /var/log/httpd/error.log. > > > > > > > > > I rechecked the file name; it is right and the owner and group are > > > both root. > > > I don't know what went wrong. If I comment out the > > > Include /etc/httpd/conf/sql-ledger-httpd.conf, then the httpd will > > > strat. > > > Thank you. > > > GL > > > sql...@li... wrote: > > > > > > > On Fri, 14 Oct 2005 06:49 am, sql...@li... > > > > wrote: > > > > > > > > > > > > > > > > > > Hi, > > > > > > I am setting up a new fc4 server to run SL, but am unable to restart > > > > > > httpd after adding > > > > > > #SQL-Ledger > > > > > > Include /etc/httpd/conf/sql-ledger-httpd.conf > > > > > > to the httpd.conf file. > > > > > > Before adding the above two lines, I could see the apache test page. > > > > > > After adding these two lines, I stopped httpd and then restart it, but > > > > > > the httpd won't start. > > > > > > Any idea? > > > > > > GL > > > > > > > > > > > > > > > > Try to start it manually. It should give you some traceback and it'll tell you > > > > what's wrong in your configuration. > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Power Architecture Resource Center: Free content, downloads, discussions, > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > _______________________________________________ > > > > sql-ledger-users mailing list > > > > sql...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > > > > > > > > > > > |
From: GLam <gla...@co...> - 2005-10-15 17:50:11
|
Hi, httpd restarted ok. I disabled selinux, but have 500 internal error when connected to localhost/sql-ledger/admin.pl httpd error_log showed: 1. Premature end of script headers:admin.pl 2. File does not exist: /Var/www/html/favicon.ico How can I fix this? Thank you. GL Trevor Hennion wrote: > GLam wrote: > >> Well, it's very strange. I checked the read permission; it does have >> the read permissions. I then cd to / and issue >> chmod 644 /etc/httpd/conf/sql-ledger-httpd.conf >> It says: chmod: can't access '/etc/httpd/conf/sql-ledger-httpd.conf'' >> : no such file or diirectory. >> The file was there for sure. It looked like some thing blocked the >> access to this file. >> The rights are >> -rw-r--r-- 1 root root >> rights for conf >> drwxr-xr-x >> looked ok. Why chmod can't access this file. I think the httpd won't >> start was cause of this. >> because upon restart, it said >> Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf >> >> GL >> > > Hi, > > Fedora FC4 has different settings for SELinux and can cause these > sorts of problems. > I don't know enough about SELinux yet to advise how to overcome it. > > Regards > > Trevor Hennion > http://www.infocentrality.co.uk > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |
From: James P. K. I. <jk...@lo...> - 2005-10-15 22:00:41
|
On Sat, 2005-10-15 at 13:59 -0400, GLam wrote: > Hi, httpd restarted ok. I disabled selinux, but have 500 internal error=20 > when connected to localhost/sql-ledger/admin.pl > httpd error_log showed: > 1. Premature end of script headers:admin.pl possible corrupt file download. re-download and reinstall. Check the /var/log/httpd/error.log for details. tail -f /var/log/httpd/error.log from a console on the webserver, then try to rerun the http://localhost/sql-ledger/admin.pl page again and lok at the tailing screen for details. > 2. File does not exist: /Var/www/html/favicon.ico Irrelevant. use: 'touch /var/www/html/favicon.ico" to stop this message. > How can I fix this? > Thank you. > GL >=20 >=20 > Trevor Hennion wrote: >=20 > > GLam wrote: > > > >> Well, it's very strange. I checked the read permission; it does have=20 > >> the read permissions. I then cd to / and issue > >> chmod 644 /etc/httpd/conf/sql-ledger-httpd.conf > >> It says: chmod: can't access '/etc/httpd/conf/sql-ledger-httpd.conf''=20 > >> : no such file or diirectory. > >> The file was there for sure. It looked like some thing blocked the=20 > >> access to this file. > >> The rights are > >> -rw-r--r-- 1 root root > >> rights for conf > >> drwxr-xr-x > >> looked ok. Why chmod can't access this file. I think the httpd won't=20 > >> start was cause of this. > >> because upon restart, it said > >> Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf > >> > >> GL > >> > > > > Hi, > > > > Fedora FC4 has different settings for SELinux and can cause these=20 > > sorts of problems. > > I don't know enough about SELinux yet to advise how to overcome it. > > > > Regards > > > > Trevor Hennion > > http://www.infocentrality.co.uk > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussion= s, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > sql-ledger-users mailing list > > sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users --=20 James P. Kinney III \Changing the mobile computing world/ CEO & Director of Engineering \ one Linux user / Local Net Solutions,LLC \ at a time. / 770-493-8244 \.___________________________./ http://www.localnetsolutions.com GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) <jk...@lo...> Fingerprint =3D 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 |
From: <sql...@li...> - 2005-10-13 12:40:14
|
Hi, I am setting up a new fc4 server to run SL, but am unable to restart httpd after adding #SQL-Ledger Include /etc/httpd/conf/sql-ledger-httpd.conf to the httpd.conf file. Before adding the above two lines, I could see the apache test page. After adding these two lines, I stopped httpd and then restart it, but the httpd won't start. Any idea? GL |
From: <sql...@li...> - 2005-10-13 20:49:49
|
Can you post what is in the sql-ledger-config file? Aslo include any of the apache logs that show the error. Jim ----- Original Message ----- From: <sql...@li...> To: <sql...@sq...> Sent: Thursday, October 13, 2005 7:44 AM Subject: [SL] Can't start httpd > Hi, > I am setting up a new fc4 server to run SL, but am unable to restart httpd > after adding > #SQL-Ledger > Include /etc/httpd/conf/sql-ledger-httpd.conf > to the httpd.conf file. > Before adding the above two lines, I could see the apache test page. After > adding these two lines, I stopped httpd and then restart it, but the httpd > won't start. > Any idea? > GL > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > > > -- > > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.11.14/131 - Release Date: 10/12/2005 > > |
From: <sql...@li...> - 2005-10-13 22:55:53
|
On Fri, 14 Oct 2005 06:49 am, sql...@li... wrote: > > Hi, > > I am setting up a new fc4 server to run SL, but am unable to restart > > httpd after adding > > #SQL-Ledger > > Include /etc/httpd/conf/sql-ledger-httpd.conf > > to the httpd.conf file. > > Before adding the above two lines, I could see the apache test page. > > After adding these two lines, I stopped httpd and then restart it, but > > the httpd won't start. > > Any idea? > > GL Try to start it manually. It should give you some traceback and it'll tell you what's wrong in your configuration. |
From: <sql...@li...> - 2005-10-14 01:48:38
|
I tried to manually start the httpd, but unsuccessful. It says: Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf I rechecked the file name; it is right and the owner and group are both root. I don't know what went wrong. If I comment out the Include /etc/httpd/conf/sql-ledger-httpd.conf, then the httpd will strat. Thank you. GL sql...@li... wrote: >On Fri, 14 Oct 2005 06:49 am, sql...@li... >wrote: > > > >>>Hi, >>>I am setting up a new fc4 server to run SL, but am unable to restart >>>httpd after adding >>>#SQL-Ledger >>>Include /etc/httpd/conf/sql-ledger-httpd.conf >>>to the httpd.conf file. >>>Before adding the above two lines, I could see the apache test page. >>>After adding these two lines, I stopped httpd and then restart it, but >>>the httpd won't start. >>>Any idea? >>>GL >>> >>> > > >Try to start it manually. It should give you some traceback and it'll tell you >what's wrong in your configuration. > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >_______________________________________________ >sql-ledger-users mailing list >sql...@li... >https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > > |
From: <sql...@li...> - 2005-10-14 11:59:27
|
On Thu, 2005-10-13 at 21:59 -0400, sql...@li... wrote: > I tried to manually start the httpd, but unsuccessful. It says: Could > not open config file /etc/httpd/conf/sql-ledger-httpd.conf Is that the correct path to the sql-ledger-httpd.conf file? My FC4 server(s) use /etc/httpd/conf.d/ as the external conf file location. Anything placed in there will be loaded automatically if it's named <foo>.conf. However, sql-ledger puts its conf file in /etc/httpd/conf along with httpd.conf. The permissions should be rw-r--r-- and user and group are root. There should also be a line in httpd.conf that reads: # SQL-Ledger Include conf/sql-ledger-httpd.conf When in doubt, delete the existing one and recreate it as above. A manual start (/sbin/service httpd start) will show some on-screen errors. The rest are found in /var/log/httpd/error.log. > I rechecked the file name; it is right and the owner and group are > both root. > I don't know what went wrong. If I comment out the > Include /etc/httpd/conf/sql-ledger-httpd.conf, then the httpd will > strat. > Thank you. > GL > sql...@li... wrote: > > On Fri, 14 Oct 2005 06:49 am, sql...@li...urceforge.= net=20 > > wrote: > >=20 > > =20 > > > > Hi, > > > > I am setting up a new fc4 server to run SL, but am unable to restar= t > > > > httpd after adding > > > > #SQL-Ledger > > > > Include /etc/httpd/conf/sql-ledger-httpd.conf > > > > to the httpd.conf file. > > > > Before adding the above two lines, I could see the apache test page= . > > > > After adding these two lines, I stopped httpd and then restart it, = but > > > > the httpd won't start. > > > > Any idea? > > > > GL > > > > =20 > >=20 > >=20 > > Try to start it manually. It should give you some traceback and it'll t= ell you=20 > > what's wrong in your configuration. > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussion= s, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > sql-ledger-users mailing list > > sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > >=20 > > =20 --=20 James P. Kinney III \Changing the mobile computing world/ CEO & Director of Engineering \ one Linux user / Local Net Solutions,LLC \ at a time. / 770-493-8244 \.___________________________./ http://www.localnetsolutions.com GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) <jk...@lo...> Fingerprint =3D 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 |
From: <sql...@li...> - 2005-10-14 02:55:50
|
#sql-ledger-httpd.conf Alias /sql-ledger/ /usr/local/sql-ledger/ <Directory /usr/local/sql-ledger> AddHandler cgi-script .pl Options ExecCGI Includes FollowSymlinks </Directory /usr/local/sql-ledger/users> Order Deny,Allow Deny from All </Directory> ### Because apache won't restart, therefore, the error log won't show. But when I manually restart apache, it says: Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf I checked the file; it was in the same directory as the httpd.conf did. the owner and group were both root. Any suggestion? Thank you. GL sql...@li... wrote: >Can you post what is in the sql-ledger-config file? > >Aslo include any of the apache logs that show the error. > >Jim >----- Original Message ----- >From: <sql...@li...> >To: <sql...@sq...> >Sent: Thursday, October 13, 2005 7:44 AM >Subject: [SL] Can't start httpd > > > > >>Hi, >>I am setting up a new fc4 server to run SL, but am unable to restart httpd >>after adding >>#SQL-Ledger >>Include /etc/httpd/conf/sql-ledger-httpd.conf >>to the httpd.conf file. >>Before adding the above two lines, I could see the apache test page. After >>adding these two lines, I stopped httpd and then restart it, but the httpd >>won't start. >>Any idea? >>GL >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: >>Power Architecture Resource Center: Free content, downloads, discussions, >>and more. http://solutions.newsforge.com/ibmarch.tmpl >>_______________________________________________ >>sql-ledger-users mailing list >>sql...@li... >>https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >> >> >> >>-- >> >>Checked by AVG Anti-Virus. >>Version: 7.0.344 / Virus Database: 267.11.14/131 - Release Date: >> >> >10/12/2005 > > >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >_______________________________________________ >sql-ledger-users mailing list >sql...@li... >https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > > |
From: <sql...@li...> - 2005-10-14 05:36:50
|
On Fri, 14 Oct 2005 01:06 pm, sql...@li... wrote: > #sql-ledger-httpd.conf > Alias /sql-ledger/ /usr/local/sql-ledger/ > <Directory /usr/local/sql-ledger> > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > </Directory /usr/local/sql-ledger/users> > Order Deny,Allow > Deny from All > </Directory> > ### > > Because apache won't restart, therefore, the error log won't show. > But when I manually restart apache, it says: > Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf > I checked the file; it was in the same directory as the httpd.conf did. > the owner and group were both root. > Any suggestion? > Thank you. > GL The "sql-ledger-httpd.conf" file does not have to be in the same directory as httpd.conf. It has to be exactly where the path is pointing. So even if you have both your "httpd.conf" and "sql-ledger-httpd.conf" in /etc/httpd/ directory you will still get the error message even though they are in the same directory. Also check permissions for the "sql-ledger-httpd.conf" george |
From: <sql...@li...> - 2005-10-14 10:10:50
|
=C3=9Chel kenal p=C3=A4eval (reede 14 oktoober 2005 06:06) kirjutas=20 sql...@li...: > #sql-ledger-httpd.conf > Alias /sql-ledger/ /usr/local/sql-ledger/ > <Directory /usr/local/sql-ledger> > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > </Directory /usr/local/sql-ledger/users> > Order Deny,Allow > Deny from All > </Directory> > ### > > Because apache won't restart, therefore, the error log won't show. > But when I manually restart apache, it says: > Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf > I checked the file; it was in the same directory as the httpd.conf did. > the owner and group were both root. > Any suggestion? > Thank you. > GL =46or example Mandrake use two different folder :/etc/httpd/conf ( for Apac= he=20 1.3 ) then second folder /etc/httpd/2.0 for Apache 2.0 where is symplinked= =20 folder conf - if this symplink doesn't exist ( or is wrongly done ) Apache = 2=20 cant't find extra files. Not sure how it is done in fc4 but if You have=20 possibility to run both Apache 1.3 and 2 it might be the broblem |
From: <sql...@li...> - 2005-10-14 15:11:04
|
Make sure the file has read permissions. You can change the permissions with: chmod 644 /etc/httpd/conf/sql-ledger-httpd.conf On 10/13/05, sql...@li... < sql...@li...> wrote: > > #sql-ledger-httpd.conf > Alias /sql-ledger/ /usr/local/sql-ledger/ > <Directory /usr/local/sql-ledger> > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > </Directory /usr/local/sql-ledger/users> > Order Deny,Allow > Deny from All > </Directory> > ### > > Because apache won't restart, therefore, the error log won't show. > But when I manually restart apache, it says: > Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf > I checked the file; it was in the same directory as the httpd.conf did. > the owner and group were both root. > Any suggestion? > Thank you. > GL > > > > sql...@li... wrote: > > Can you post what is in the sql-ledger-config file? > > Aslo include any of the apache logs that show the error. > > Jim > ----- Original Message ----- > From: <sql...@li...> <sql-ledger-users-ad= mi...@li...> > To: <sql...@sq...> <sql...@sq...> > Sent: Thursday, October 13, 2005 7:44 AM > Subject: [SL] Can't start httpd > > > Hi, > I am setting up a new fc4 server to run SL, but am unable to restart http= d > after adding > #SQL-Ledger > Include /etc/httpd/conf/sql-ledger-httpd.conf > to the httpd.conf file. > Before adding the above two lines, I could see the apache test page. Afte= r > adding these two lines, I stopped httpd and then restart it, but the http= d > won't start. > Any idea? > GL > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > > > -- > > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.11.14/131 - Release Date: > > 10/12/2005 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > |
From: GLam <gla...@co...> - 2005-10-14 22:41:01
|
Well, it's very strange. I checked the read permission; it does have the read permissions. I then cd to / and issue chmod 644 /etc/httpd/conf/sql-ledger-httpd.conf It says: chmod: can't access '/etc/httpd/conf/sql-ledger-httpd.conf'' : no such file or diirectory. The file was there for sure. It looked like some thing blocked the access to this file. The rights are -rw-r--r-- 1 root root rights for conf drwxr-xr-x looked ok. Why chmod can't access this file. I think the httpd won't start was cause of this. because upon restart, it said Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf GL sql...@li... wrote: > Make sure the file has read permissions. You can change the > permissions with: > >chmod 644 /etc/httpd/conf/sql-ledger-httpd.conf > > > > On 10/13/05, sql...@li... > <mailto:sql...@li...> > <sql...@li... > <mailto:sql...@li...>> wrote: > > #sql-ledger-httpd.conf > Alias /sql-ledger/ /usr/local/sql-ledger/ > <Directory /usr/local/sql-ledger> > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > </Directory /usr/local/sql-ledger/users> > Order Deny,Allow > Deny from All > </Directory> > ### > > Because apache won't restart, therefore, the error log won't show. > But when I manually restart apache, it says: > Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf > I checked the file; it was in the same directory as the httpd.conf > did. > the owner and group were both root. > Any suggestion? > Thank you. > GL > > > > > sql...@li... > <mailto:sql...@li...> wrote: > >>Can you post what is in the sql-ledger-config file? >> >>Aslo include any of the apache logs that show the error. >> >>Jim >>----- Original Message ----- >>From: >><sql...@li...> <mailto:sql...@li...> >>To: <sql...@sq...> >> <mailto:sql...@sq...> >>Sent: Thursday, October 13, 2005 7:44 AM >>Subject: [SL] Can't start httpd >> >> >> >> >>>Hi, >>>I am setting up a new fc4 server to run SL, but am unable to restart httpd >>>after adding >>>#SQL-Ledger >>>Include /etc/httpd/conf/sql-ledger-httpd.conf >>>to the httpd.conf file. >>>Before adding the above two lines, I could see the apache test page. After >>> >>>adding these two lines, I stopped httpd and then restart it, but the httpd >>>won't start. >>>Any idea? >>>GL >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: >>> >>>Power Architecture Resource Center: Free content, downloads, discussions, >>>and more. http://solutions.newsforge.com/ibmarch.tmpl >>> <http://solutions.newsforge.com/ibmarch.tmpl> >>>_______________________________________________ >>>sql-ledger-users mailing list >>>sql...@li... >>> <mailto:sql...@li...> >>>https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >>> >>> >>> >>> >>>-- >>> >>>Checked by AVG Anti-Virus. >>>Version: 7.0.344 / Virus Database: 267.11.14/131 - Release Date: >>> >>> >>10/12/2005 >> >> >>> >>> >>------------------------------------------------------- >>This SF.Net email is sponsored by: >>Power Architecture Resource Center: Free content, downloads, discussions, >>and more. >>http://solutions.newsforge.com/ibmarch.tmpl >>_______________________________________________ >>sql-ledger-users mailing list >> >>sql...@li... <mailto:sql...@li...> >>https://lists.sourceforge.net/lists/listinfo/sql-ledger-users >> <https://lists.sourceforge.net/lists/listinfo/sql-ledger-users> >> >> >> > > > |
From: Trevor H. <tr...@th...> - 2005-10-15 09:10:35
|
GLam wrote: > Well, it's very strange. I checked the read permission; it does have the > read permissions. I then cd to / and issue > chmod 644 /etc/httpd/conf/sql-ledger-httpd.conf > It says: chmod: can't access '/etc/httpd/conf/sql-ledger-httpd.conf'' : > no such file or diirectory. > The file was there for sure. It looked like some thing blocked the > access to this file. > The rights are > -rw-r--r-- 1 root root > rights for conf > drwxr-xr-x > looked ok. Why chmod can't access this file. I think the httpd won't > start was cause of this. > because upon restart, it said > Could not open config file /etc/httpd/conf/sql-ledger-httpd.conf > > GL > Hi, Fedora FC4 has different settings for SELinux and can cause these sorts of problems. I don't know enough about SELinux yet to advise how to overcome it. Regards Trevor Hennion http://www.infocentrality.co.uk |