Koozali.org: home of the SME Server

HTTP not working

Offline AaronG

  • ****
  • 90
  • +0/-0
    • http://www.healthinc.com.au
HTTP not working
« Reply #15 on: November 06, 2006, 10:18:00 AM »
already on version 0.9.9 of user panel

Damn! :( this is soo annoying
...

Offline raem

  • *
  • 3,972
  • +4/-0
HTTP not working
« Reply #16 on: November 06, 2006, 10:50:19 AM »
AaronG

> version 0.9.9 of user panel

I can't keep up with the releases.


If you suspect it's those rpms or any others for that matter, uninstall them
rpm -e rpmname (no number)
rpm -e smeserver-userpanel
etc

Are there any error messages in the log files when you try restarting httpd-e-smith ? That will be your best clue.
...

Offline AaronG

  • ****
  • 90
  • +0/-0
    • http://www.healthinc.com.au
HTTP not working
« Reply #17 on: November 06, 2006, 12:06:56 PM »
I will try uninstalling..

I have logged this as a bug in the tracker...
http://bugs.contribs.org/show_bug.cgi?id=2035

I will uninstall and let you know how I go... there are sooo many damn logs lol. which log do I look in? log name=Messages  ???
...

Offline raem

  • *
  • 3,972
  • +4/-0
HTTP not working
« Reply #18 on: November 06, 2006, 12:38:48 PM »
AaronG

> there are sooo many damn logs lol. which log do I look in? log name=Messages  

Look back a few posts, the answer was provided already.
...

Offline AaronG

  • ****
  • 90
  • +0/-0
    • http://www.healthinc.com.au
HTTP not working
« Reply #19 on: November 06, 2006, 12:45:43 PM »
There arn't really any error messages in the /var/log/messages log file

I ran the following commands.

rpm -e smeserver-userpanels
rpm -e smeserver-userpanel
rpm -e smeserver-vacation
rpm -e smeserver-sme7admin

I checked after each one was uninstalled. Still no good.

I then ran, the usual signal-event --- commands. and rebooted

Still no good. I can't access HTTP or HTTPS.

So using SSH and the console>Access Server console> i opened the HTTPD log... I am getting MANY MANY errors. No space on my harddisk??


LOG: HTTPD.log
[Mon Nov 06 22:18:49 2006] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lockConfiguration Failed
[Mon Nov 06 22:18:50 2006] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lockConfiguration Failed
[Mon Nov 06 22:18:51 2006] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lockConfiguration Failed
[Mon Nov 06 22:18:53 2006] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lockConfiguration Failed

HTTPD/Admin_error_log
[Mon Nov 06 22:18:48 2006] [crit] (28)No space left on device: mod_rewrite: cou
ld not create rewrite_log_lockConfiguration Failed[Mon Nov 06 22:18:49 2006] [c
rit] (28)No space left on device: mod_rewrite: could not create rewrite_log_loc
kConfiguration Failed[Mon Nov 06 22:18:50 2006] [crit] (28)No space left on dev
ice: mod_rewrite: could not create rewrite_log_lockConfiguration Failed[Mon Nov
 06 22:18:51 2006] [crit] (28)No space left on device: mod_rewrite: could not c
reate rewrite_log_lockConfiguration Failed[Mon Nov 06 22:18:52 2006] [crit] (28
)No space left on device: mod_rewrite: could not create rewrite_log_lockConfigu
ration Failed[Mon Nov 06 22:18:53 2006] [crit] (28)No space left on device: mod
_rewrite: could not create rewrite_log_lockConfiguratio......
...

Offline raem

  • *
  • 3,972
  • +4/-0
HTTP not working
« Reply #20 on: November 06, 2006, 01:19:13 PM »
AaronG

I didn't suggest you do any of that stuff you did.

I did suggest that you restart httpd-e-smith and look at the messages log file, which you still have not done.

Please read what I write carefully instead of glossing over it.

Run this and note the time you do it
/etc/rc.d/rc7.d/S86httpd-e-smith restart
then review the messages log file and look for entries around that time to see if there are any errors recorded

please also check again if that service is running now, what does it say on the screen  when you do
/etc/rc.d/rc7.d/S86httpd-e-smith status


> No space on my harddisk??

What does this give

df -h
...

Offline AaronG

  • ****
  • 90
  • +0/-0
    • http://www.healthinc.com.au
HTTP not working
« Reply #21 on: November 06, 2006, 01:24:23 PM »
Filesystem         Size  Used Avail Use% Mounted on
/dev/mapper/vg_primary-lv_root
            146G  2.4G  136G    2% /
/dev/md1          99M   32M   63M   34% /boot
none            248M     0  248M    0% /dev/shm

obviously not a problem.

The bugtracker is pretty active at the moment. http://bugs.contribs.org/show_bug.cgi?id=2035

I had done a few steps in there such as posting logs etc. if u are interested you might wanna check it out, so i don't waste your time
...

Offline mmccarn

  • *
  • 2,653
  • +10/-0
HTTP not working
« Reply #22 on: November 07, 2006, 06:03:17 AM »
Here's a post on the No space left on device: mod_rewrite issue: [FIXED] httpd wont start

Offline AaronG

  • ****
  • 90
  • +0/-0
    • http://www.healthinc.com.au
HTTP not working
« Reply #23 on: November 07, 2006, 02:58:57 PM »
I am confused from that article. what command do i have to run?

There is talk in the one of the last posts about a script. how do i create and execute a script file with the posted contents???

Cheers
Aaron.
...

Offline AaronG

  • ****
  • 90
  • +0/-0
    • http://www.healthinc.com.au
HTTP not working
« Reply #24 on: November 09, 2006, 11:17:53 AM »
Hi,

Can someone please help me create and execute the script which is mentioned in this forum article.

http://forums.contribs.org/index.php?topic=33171.0

It sounds like this script will address my problems.
...

Offline raem

  • *
  • 3,972
  • +4/-0
HTTP not working
« Reply #25 on: November 09, 2006, 11:53:10 AM »
AaronG

> Can someone please help me create and execute the script ....

Log in as root and type the commands indicated in the script
...

Offline AaronG

  • ****
  • 90
  • +0/-0
    • http://www.healthinc.com.au
HTTP not working
« Reply #26 on: November 09, 2006, 12:32:52 PM »
I typed in the script etc. and executed it all.

All seemed ok. but it didn't solve my problem... the next post explains some extra steps...

Quote
Same problem.

Deleting the .crt and .key files, signal-event domain-modify, and running steveo's script (thanks!) seem to have solved the problem.

Does anyone know why this happens?


Can anyone tell me how i delete the .crt and .key files?? I know how to execute the signal-even domain-modify command.... then if I type in the script, it might work.

But what files do i need to delete and how do i do this? Obviously log in with root.. but what directory do I need to browse to and what files do i delete?

THANKS IN ADVANCE!
...

Offline raem

  • *
  • 3,972
  • +4/-0
HTTP not working
« Reply #27 on: November 09, 2006, 01:09:17 PM »
AaronG

> Deleting the .crt and .key files, signal-event domain-modify, and
> running steveo's script (thanks!) seem to have solved the problem.

I think that was summarising the steps carried out rather than adding extra steps.

> Can anyone tell me how i delete the .crt and .key files??

The steps used the scripts and in there it said how to remove those files.

rm /home/e-smith/ssl.crt/darkstar.edenmonarolabour.org.crt
rm /home/e-smith/ssl.key/darkstar.edenmonarolabour.org.key

You will need to cd /   to that location and check the name of your files, and use those names instead.

Are you really reading what has been said to do in that post ?
Please read it all carefully again
...

Offline AaronG

  • ****
  • 90
  • +0/-0
    • http://www.healthinc.com.au
HTTP not working
« Reply #28 on: November 09, 2006, 01:29:48 PM »
your absolutely correct RayMitchell.

I was browsing over them. It is past midnight here in Oz. I am sorry for wasting your time but i am EXTREMELY appreciative of the help you have given me.

It did fix my problem. Thankyou very much! i have learnt some valuable troubleshooting steps. I live in a "windows world" so every little bit learnt is great.


THANKYOU!
...

Offline raem

  • *
  • 3,972
  • +4/-0
HTTP not working
« Reply #29 on: November 10, 2006, 04:34:06 AM »
AaronG

> I was browsing over them. It is past midnight here in Oz.

I'm in Oz too, so it's equally as late for me and I was still able to read it all (for you) !


> It did fix my problem.

Please add the link to this thread and the results of your fix to the bug report previously lodged.
It will help others and resolve that bug report (hopefully).
...