Koozali.org: home of the SME Server

CA Certificate How to not working

Offline oneforall

  • 4
  • +0/-0
CA Certificate How to not working
« on: March 04, 2009, 05:21:35 PM »
I follow the instructions for setting up a ca certificate. I am a newbie user for a couple of years. Most instructions work. Some how this thing is all screwed up how can i delete and just go back without one or fix it. I do not know where to begin. My website, admin site and email are not working. Please help! I would hate to go back to microsoft.
« Last Edit: March 04, 2009, 05:26:48 PM by oneforall »

Offline mudra

  • ***
  • 78
  • +0/-0
Re: CA Certificate How to not working
« Reply #1 on: March 05, 2009, 09:46:35 AM »
EDITED: Removed post following Cactus' post.

Just thought this might help - sorry for any inconvenience caused.
« Last Edit: March 05, 2009, 07:03:38 PM by mudra »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: CA Certificate How to not working
« Reply #2 on: March 05, 2009, 05:14:42 PM »
Found this in the FAQ's - hope it helps.
Don't start firing in to the blue please. What is the output of this:
Code: [Select]
httpd -t
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline dmcguire

  • *
  • 32
  • +0/-0
Re: CA Certificate How to not working
« Reply #3 on: May 15, 2009, 01:02:06 PM »
What is the output of this:
Code: [Select]
httpd -t

I have the same issue. I can connect via PuTTY on SSH or WinSCP but not via http to the server manager, or any of the web sites on the box.

httpd -t returns "Syntax OK"

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: CA Certificate How to not working
« Reply #4 on: May 15, 2009, 01:35:42 PM »
httpd -t returns "Syntax OK"

is httpd service running?

Code: [Select]
service httpd-e-smith status
service httpd-admin status

did you check /var/log/admin_error.log and /var/log/error.log?

Stefano and... my crystal ball is defective.. :-)

Offline dmcguire

  • *
  • 32
  • +0/-0
Re: CA Certificate How to not working
« Reply #5 on: May 15, 2009, 01:51:42 PM »
Sorry... silly of me not to have put in more information...

httpd is down.
Code: [Select]
service httpd-e-smith statusreturns "down: /service/httpd-e-smith: 1s, want up"

however
Code: [Select]
service httpd-admin statusreturns "run: /service/httpd-admin: (pid 4056) 2803s, normally down; run: log: (pid 2755) 2824s"

/var/log/httpd/admin_error_log
Code: [Select]
[Fri May 15 11:52:07 2009] [notice] caught SIGTERM, shutting down
[Fri May 15 11:52:07 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 15 11:52:07 2009] [notice] Digest: generating secret for digest authentication ...
[Fri May 15 11:52:07 2009] [notice] Digest: done
[Fri May 15 11:52:08 2009] [emerg] (28)No space left on device: Couldn't create accept lock
[Fri May 15 11:52:09 2009] [error] (28)No space left on device: Cannot create SSLMutex
Configuration Failed
[Fri May 15 11:52:10 2009] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Fri May 15 11:52:11 2009] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Fri May 15 11:55:36 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 15 11:55:36 2009] [notice] Digest: generating secret for digest authentication ...
[Fri May 15 11:55:36 2009] [notice] Digest: done
[Fri May 15 11:55:37 2009] [notice] Apache configured -- resuming normal operations

/var/log/httpd/error_log is full of
Code: [Select]
[Fri May 15 12:46:35 2009] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
[Fri May 15 12:46:36 2009] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

and finally,
Code: [Select]
/etc/init.d/httpd start returns [Failed]

might be a space issue... df -h returns;
/dev/mapper/main-root
                       99G  3.3G   90G   4% /
/dev/sda1              99M   42M   52M  45% /boot
none                  506M     0  506M   0% /dev/shm



Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: CA Certificate How to not working
« Reply #6 on: May 15, 2009, 02:09:04 PM »
hi..

it's not a space problem

please read carefully here and, next time, use the search link above, thank you :-)

Ciao
Stefano

Offline dmcguire

  • *
  • 32
  • +0/-0
Re: CA Certificate How to not working
« Reply #7 on: May 15, 2009, 02:26:02 PM »
it's not a space problem

please read carefully here and, next time, use the search link above, thank you :-)

I see... quite a bit of reading for me to do then!

Thanks for the link, much appreciated.

Offline dmcguire

  • *
  • 32
  • +0/-0
Re: CA Certificate How to not working
« Reply #8 on: May 15, 2009, 03:25:53 PM »
Update - solved it using the link Stefano posted.

Method was basically stop services, delete .key/.crt files, run script, change server name to temp-name, change server name back to normal name. All seems to work now.

Thanks for the help.