Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: oneforall on March 04, 2009, 05:21:35 PM

Title: CA Certificate How to not working
Post by: oneforall 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.
Title: Re: CA Certificate How to not working
Post by: mudra on March 05, 2009, 09:46:35 AM
EDITED: Removed post following Cactus' post.

Just thought this might help - sorry for any inconvenience caused.
Title: Re: CA Certificate How to not working
Post by: cactus 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
Title: Re: CA Certificate How to not working
Post by: dmcguire 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"
Title: Re: CA Certificate How to not working
Post by: Stefano 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.. :-)
Title: Re: CA Certificate How to not working
Post by: dmcguire 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


Title: Re: CA Certificate How to not working
Post by: Stefano on May 15, 2009, 02:09:04 PM
hi..

it's not a space problem

please read carefully here (http://forums.contribs.org/index.php/topic,33171.0.html) and, next time, use the search link above, thank you :-)

Ciao
Stefano
Title: Re: CA Certificate How to not working
Post by: dmcguire on May 15, 2009, 02:26:02 PM
it's not a space problem

please read carefully here (http://forums.contribs.org/index.php/topic,33171.0.html) 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.
Title: Re: CA Certificate How to not working
Post by: dmcguire 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.