Koozali.org: home of the SME Server

did the FAQ# 6q12 now lost all Ibays

Dennis Pecynski

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #15 on: August 12, 2002, 02:46:53 AM »
bash: /etc/httpd/conf/httpd.conf   permission denied

Dennis Pecynski

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #16 on: August 12, 2002, 03:16:55 AM »
ok....typed in....

view /etc/httpd/conf/httpd.conf..

got into file...only problem is...have to figure out line 1507...

Dennis Pecynski

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #17 on: August 12, 2002, 04:38:12 AM »
changed permission on  /etc/httpd/conf/httpd.conf   got it to open...almost every line   command not found...

at the end...line 217 : syntax error near unexpected token  'mod_ssl.c>'

/etc/httpd/conf/httpd.conf:  line 217  ''

Jon Blakely

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #18 on: August 12, 2002, 04:57:32 AM »
Use mc to open the file

log in as root

# mc

That will open a norton commander style directory. scroll to /etc/httpd/conf/httpd.conf.

press F4

This will open the file and you will be able to scroll to line 1507. At the top you will see
httpd.conf          [----]  0 L:[358+24 382/1686] *(13253/50216b)= D 68 44H

382/1686 is the current line and the total lines.

Jon

Dennis Pecynski

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #19 on: August 12, 2002, 05:34:06 AM »
line  1506= blank....

line 1507 = sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

line  1508 = ervice httpd restartProgram fragment at line 2 delivered error ' ' syntax error ' '


I see a space at line 1507 end of expand-template and slash

I see what looks like should be "service" at the begining of 1508...but no "s"

Dan Brown

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #20 on: August 12, 2002, 06:09:22 AM »
Wow, that's the most amazingly hosed httpd.conf I've ever seen.  Try this, from the shell prompt:

# ls /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf

  If this comes back with an error that the directory doesn't exist, fine.  If not, post what it indicates.  If there are no files, do this, again at the shell prompt, and post the _exact_ output:

# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
# /etc/rc.d/init.d/httpd-e-smith restart

If it runs without errors, how's your system?

Dennis Pecynski

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #21 on: August 12, 2002, 06:13:33 AM »
95AddType00PHP2ibays.save

Dan Brown

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #22 on: August 12, 2002, 06:23:46 AM »
OK, try this:

# pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays.save

(all on one line) What's in that file?

Dennis Pecynski

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #23 on: August 12, 2002, 06:32:49 AM »
file name too long

Dennis Pecynski

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #24 on: August 12, 2002, 06:37:32 AM »
ok.....got into by getting into directory first then pico...too much to post....very long file

Dan Brown

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #25 on: August 12, 2002, 07:01:31 AM »
Ah, OK, do this then:

# cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
# pico 95AddType00PHP2ibays.save

Dan Brown

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #26 on: August 12, 2002, 07:03:36 AM »
Well, that doesn't look like a file that should be there.  Try removing it (or moving it somewhere outside of /etc/e-smith, like to /root), and then re-expanding the httpd.conf file (using the expand-template command I posted previously).

Dennis Pecynski

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #27 on: August 12, 2002, 07:17:05 AM »
this is where that file came from

http://forums.contribs.org/index.php?topic=12706.msg47725#msg47725

How do I remove it?...
rm un_wanted_file (enter)?

 "reply". remove  un_wanted_file?..(press Y) ?

is that correct?

Dan Brown

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #28 on: August 12, 2002, 07:21:13 AM »
Yep, that's correct.

Dennis Pecynski

Re: did the FAQ# 6q12 now lost all Ibays
« Reply #29 on: August 12, 2002, 07:29:45 AM »
It made a new file..95AddType00PHP2ibays.save.save

shows lost of conflicks when I use the expand script.