Jesse, Thank you so much for your help, we managed to delete the SWP file but still getting the following when booting up our system"Syntax error on line 668 of etc/apache2/sites-enabled/ koha-httpd.conf: No such file or directory". We have also tried to edit the OPAC/INTRANET configurations but it gives us the the very same old errors. On 1/13/09, Jesse Weaver <jesse.weaver@liblime.com> wrote:
On Tue, Jan 13, 2009 at 5:06 AM, Noel Peter Kalonga <neilkalonzi@gmail.com>wrote:
Koha 3.0.0 on debian
Have posted this problem yesterday and tried suggested solutions. Our problem is two fold. 1. When starting up the OS, we get one file failed with the following message; Syntax error on line 668 of etc/apache2/sites-enabled/ koha-httpd.conf: No such file or directory.
When we log into the root terminal to change IP addresses, the # vim koha command returns the following message.
E325: ATTENTION Found a swap file by the name "/etc/koha/.koha-httpd.conf.swp" owned by: root dated: Thu Jan 8 14:46:11 2009 file name: /etc/apache2/sites-available/koha modified: YES user name: root host name: koha process ID: 4582 While opening file "koha" dated: Fri Jan 9 15:03:18 2009 NEWER than swap file!
(1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed. If this is the case, use ":recover" or "vim -r koha" to recover the changes (see ":help recovery"). If you did this already, delete the swap file "/etc/koha/.koha-httpd.conf.sw p" to avoid this message.
-- More -- When we use "vim -r koha" it says no swap file exists. We also tried the mailing list suggestion of pressing the space bar, but did not get the option to delete swap file (maybe because it doesn't exist??) Could you please give more specific advice,
Carmel Young Catholic University of Malawi
-- Noel Peter Kalonga The Catholic University of Malawi Montfort Campus P.O Box 5452 Limbe - Malawi
09 934 794
Other e-mail: nkalonga@cunima.net nkalonga@africa-online.net
Hmm. Vim should normally give you that option, but for now, just do the following:
rm /etc/koha/.koha-httpd.conf.swp
That should take care of your problem.
-- Jesse Weaver
-- Noel Peter Kalonga The Catholic University of Malawi Montfort Campus P.O Box 5452 Limbe - Malawi 09 934 794 Other e-mail: nkalonga@cunima.net nkalonga@africa-online.net
Noel Peter Kalonga wrote:
Thank you so much for your help, we managed to delete the SWP file but still getting the following when booting up our system"Syntax error on line 668 of etc/apache2/sites-enabled/ koha-httpd.conf: No such file or directory".
Okay, I'll bite. What is on line 668 of etc/apache2/sites-enabled/koha-httpd.conf ??? BTW: that is an awfully LARGE httpd config file. cheers rickw -- _________________________________ Rick Welykochy || Praxis Services All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident. -- Arthur Schopenhauer
1) Remove the koha symlink from /etc/apache2/sites-available/ & /etc/apache2/sites-available/ 2) Now follow the step no 4. 'Configure and start Apache' from help file INSTALL.debian packaged with your koha installer. Please let me know if this works for you.. else will work out some other option to get ride of this error Anand Sharma RDG Library Services, Mumbai, India. 091-9870339028,091-9220579647 ----------------------------------------------------- Free Software is a matter of freedom, not cost. It is a matter of liberty, not price. http://fsf.org | http://gnu.org ----------------------------------------------------- Rick Welykochy wrote:
Noel Peter Kalonga wrote:
Thank you so much for your help, we managed to delete the SWP file but still getting the following when booting up our system"Syntax error on line 668 of etc/apache2/sites-enabled/ koha-httpd.conf: No such file or directory".
Okay, I'll bite.
What is on line 668 of etc/apache2/sites-enabled/koha-httpd.conf ???
BTW: that is an awfully LARGE httpd config file.
cheers rickw
On Wed, Jan 14, 2009 at 12:57 AM, Noel Peter Kalonga <neilkalonzi@gmail.com>wrote:
Jesse,
Thank you so much for your help, we managed to delete the SWP file but still getting the following when booting up our system"Syntax error on line 668 of etc/apache2/sites-enabled/ koha-httpd.conf: No such file or directory".
We have also tried to edit the OPAC/INTRANET configurations but it gives us the the very same old errors.
On 1/13/09, Jesse Weaver <jesse.weaver@liblime.com> wrote:
On Tue, Jan 13, 2009 at 5:06 AM, Noel Peter Kalonga <neilkalonzi@gmail.com>wrote:
Koha 3.0.0 on debian
Have posted this problem yesterday and tried suggested solutions. Our problem is two fold. 1. When starting up the OS, we get one file failed with the following message; Syntax error on line 668 of etc/apache2/sites-enabled/ koha-httpd.conf: No such file or directory.
When we log into the root terminal to change IP addresses, the # vim koha command returns the following message.
E325: ATTENTION Found a swap file by the name "/etc/koha/.koha-httpd.conf.swp" owned by: root dated: Thu Jan 8 14:46:11 2009 file name: /etc/apache2/sites-available/koha modified: YES user name: root host name: koha process ID: 4582 While opening file "koha" dated: Fri Jan 9 15:03:18 2009 NEWER than swap file!
(1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed. If this is the case, use ":recover" or "vim -r koha" to recover the changes (see ":help recovery"). If you did this already, delete the swap file "/etc/koha/.koha-httpd.conf.sw p" to avoid this message.
-- More -- When we use "vim -r koha" it says no swap file exists. We also tried the mailing list suggestion of pressing the space bar, but did not get the option to delete swap file (maybe because it doesn't exist??) Could you please give more specific advice,
Carmel Young Catholic University of Malawi
-- Noel Peter Kalonga The Catholic University of Malawi Montfort Campus P.O Box 5452 Limbe - Malawi
09 934 794
Other e-mail: nkalonga@cunima.net nkalonga@africa-online.net
Hmm. Vim should normally give you that option, but for now, just do the following:
rm /etc/koha/.koha-httpd.conf.swp
That should take care of your problem.
-- Jesse Weaver
-- Noel Peter Kalonga The Catholic University of Malawi Montfort Campus P.O Box 5452 Limbe - Malawi
09 934 794
Other e-mail: nkalonga@cunima.net nkalonga@africa-online.net
What does line 668 of that file say? -- Jesse Weaver Software Developer, LibLime
participants (4)
-
Anand Sharma -
Jesse Weaver -
Noel Peter Kalonga -
Rick Welykochy