From: Myk R. <myk...@gm...> - 2008-05-14 18:21:10
|
Just restored a backup file to the database, but now i am unable to restart apache after a clean install of sql-ledger. I get an error about the sql-ledger-httpd.conf file.. Here's the contents of the file: Alias / / <Directory> AllowOverride All AddHandler cgi-script .pl Options ExecCGI Includes FollowSymlinks Order Allow,Deny Allow from All </Directory> <Directory /users> Order Deny,Allow Deny from All </Directory> And here is what I get when i try to restart apache: robinson@robinson-desktop:~$ sudo /etc/init.d/apache2 restart * Restarting web server apache2 * We failed to correctly shutdown apache, so we're now killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now! Syntax error on line 3 of /etc/apache2/sql-ledger-httpd.conf: <Directory> directive requires additional arguments [fail] robinson@robinson-desktop:~$ What am i doing wrong? I copied the text word for word, so i assume something is not correct with the text in the .conf file.. Thanks, -myk |
From: Rolf S. <in...@to...> - 2008-05-14 18:32:21
|
In my installation, it's Alias /sql-ledger /usr/local/sql-ledger Do you try to install SL manually? Use setup.pl for this, or you'll have many more problems. Rolf Myk Robinson schrieb: > Just restored a backup file to the database, but now i am unable to restart > apache after a clean install of sql-ledger. I get an error about the > sql-ledger-httpd.conf file.. Here's the contents of the file: > > > > > Alias / / > <Directory> > AllowOverride All > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > Order Allow,Deny > Allow from All > </Directory> > > <Directory /users> > Order Deny,Allow > Deny from All > </Directory> > > > And here is what I get when i try to restart apache: > > robinson@robinson-desktop:~$ sudo /etc/init.d/apache2 restart > * Restarting web server apache2 > * We failed to correctly shutdown apache, so we're now killing all running > apache processes. This is almost certainly suboptimal, so please make sure > your system is working as you'd expect now! > Syntax error on line 3 of /etc/apache2/sql-ledger-httpd.conf: > <Directory> directive requires additional arguments > > [fail] > robinson@robinson-desktop:~$ > > > > What am i doing wrong? I copied the text word for word, so i assume something > is not correct with the text in the .conf file.. > > Thanks, > -myk > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users |
From: Paul T. <pt...@wa...> - 2008-05-14 18:50:31
|
What you are doing wrong? You are not reading the install docs, not reading the faq's, did I miss something? Apart from that, I suspect you probably did not make cgi executable, nor did you configure apache correctly. Either put the dir bit in the special sql-config for apache, OR put it in the main apache config. Putting config files half here and half there is an accident waiting to happen (in plain English: bound to get unwanted results) BTW,. did you alias /path_to/sql-ledger/ 2008/5/14 Myk Robinson <myk...@gm...>: > Just restored a backup file to the database, but now i am unable to restart > apache after a clean install of sql-ledger. I get an error about the > sql-ledger-httpd.conf file.. Here's the contents of the file: > > > > > Alias / / > <Directory> > AllowOverride All > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > Order Allow,Deny > Allow from All > </Directory> > > <Directory /users> > Order Deny,Allow > Deny from All > </Directory> > > > And here is what I get when i try to restart apache: > > robinson@robinson-desktop:~$ sudo /etc/init.d/apache2 restart > * Restarting web server apache2 > * We failed to correctly shutdown apache, so we're now killing all running > apache processes. This is almost certainly suboptimal, so please make sure > your system is working as you'd expect now! > Syntax error on line 3 of /etc/apache2/sql-ledger-httpd.conf: > <Directory> directive requires additional arguments > > [fail] > robinson@robinson-desktop:~$ > > > > What am i doing wrong? I copied the text word for word, so i assume > something > is not correct with the text in the .conf file.. > > Thanks, > -myk > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > |
From: James M. <ja...@ja...> - 2008-05-14 21:07:15
|
Myk Robinson wrote: > Just restored a backup file to the database, but now i am unable to restart > apache after a clean install of sql-ledger. I get an error about the > sql-ledger-httpd.conf file.. Here's the contents of the file: > > > > > Alias / / > <Directory> > AllowOverride All > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > Order Allow,Deny > Allow from All > </Directory> > > <Directory /users> > Order Deny,Allow > Deny from All > </Directory> > > Alias / / <== here you are trying to alias the physical root dir to the webroot? which is incorrect Alias /lsmb /path/to/your/ledgersmbdir <= it should look like this <Directory /path/to/your/ledgersmbdir> <= directory needs a directory argument AllowOverride All AddHandler cgi-script .pl Options ExecCGI Includes FollowSymlinks Order Allow,Deny Allow from All </Directory> <Directory /users> Order Deny,Allow Deny from All </Directory> > And here is what I get when i try to restart apache: > > robinson@robinson-desktop:~$ sudo /etc/init.d/apache2 restart > * Restarting web server apache2 > * We failed to correctly shutdown apache, so we're now killing all running > apache processes. This is almost certainly suboptimal, so please make sure > your system is working as you'd expect now! > Syntax error on line 3 of /etc/apache2/sql-ledger-httpd.conf: > <Directory> directive requires additional arguments > > [fail] > robinson@robinson-desktop:~$ > > > > What am i doing wrong? I copied the text word for word, so i assume something > is not correct with the text in the .conf file.. > > Thanks, > -myk > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > |
From: Myk R. <myk...@gm...> - 2008-05-14 23:00:48
|
Thanks to all. I installed using the perl script, just downloaded today. I have installed this numerous times, and this has never happened.. On Wednesday 14 May 2008 04:06:13 pm James McDonald wrote: > Myk Robinson wrote: > > Just restored a backup file to the database, but now i am unable to > > restart apache after a clean install of sql-ledger. I get an error about > > the sql-ledger-httpd.conf file.. Here's the contents of the file: > > > > > > > > > > Alias / / > > <Directory> > > AllowOverride All > > AddHandler cgi-script .pl > > Options ExecCGI Includes FollowSymlinks > > Order Allow,Deny > > Allow from All > > </Directory> > > > > <Directory /users> > > Order Deny,Allow > > Deny from All > > </Directory> > > Alias / / <== here you are trying to alias the physical root dir to the > webroot? which is incorrect Alias /lsmb /path/to/your/ledgersmbdir <= it > should look like this <Directory /path/to/your/ledgersmbdir> <= directory > needs a directory argument AllowOverride All > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > Order Allow,Deny > Allow from All > </Directory> > > <Directory /users> > Order Deny,Allow > Deny from All > </Directory> > > > And here is what I get when i try to restart apache: > > > > robinson@robinson-desktop:~$ sudo /etc/init.d/apache2 restart > > * Restarting web server apache2 > > * We failed to correctly shutdown apache, so we're now killing all > > running apache processes. This is almost certainly suboptimal, so please > > make sure your system is working as you'd expect now! > > Syntax error on line 3 of /etc/apache2/sql-ledger-httpd.conf: > > <Directory> directive requires additional arguments > > > > [fail] > > robinson@robinson-desktop:~$ > > > > > > > > What am i doing wrong? I copied the text word for word, so i assume > > something is not correct with the text in the .conf file.. > > > > Thanks, > > -myk > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > sql-ledger-users mailing list > > sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users |
From: Armaghan S. <sa...@le...> - 2008-05-15 08:04:30
|
On Wed, May 14, 2008 at 11:21 PM, Myk Robinson <myk...@gm...> wrote: > Just restored a backup file to the database, but now i am unable to restart > apache after a clean install of sql-ledger. I get an error about the > sql-ledger-httpd.conf file.. Here's the contents of the file: > > Alias / / > <Directory> > AllowOverride All > AddHandler cgi-script .pl > Options ExecCGI Includes FollowSymlinks > Order Allow,Deny > Allow from All > </Directory> > > <Directory /users> > Order Deny,Allow > Deny from All > </Directory> Contents of sql-ledger-httpd.conf seem incorrect due to some reason. Following lines: Alias / / <Directory> should be: Alias /sql-ledger /usr/local/sql-ledger/ <Directory /usr/local/sql-ledger> Regards |