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> >> >> >> > > > |