Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: WACOMalt on September 25, 2006, 02:24:52 AM

Title: webmail and server-manager issues since update.
Post by: WACOMalt on September 25, 2006, 02:24:52 AM
I recently updated from sme 7pre2 (I think) to 7final. and whenever I try to acces either my server-manager, or my webmail via www.wacomalt.com/webmail or /server-manager, I get the error

"You have received an invalid certificate. Please contact the server administrator or email correspondent and give them the followign information:

Your certificate contains the same serial number as another certificate issued by the certificate authority. Please get a new certificate containing a unique serial number."

any Idea why this is happening? it only happens on things that try to use secure connections.

also, the error olnly shows up when using firefox. in IE, it just doesnt even try to load the page. "page could not be displayed"
Title: webmail and server-manager issues since update.
Post by: william_syd on September 25, 2006, 03:12:37 AM
You probably have a cert 'accepted' in firefox from before.

Tools >> Options  >> Advanced.
(http://www.magicwilly.webhostingpal.com/ContribsForumPictures/certoptions/optionsff.png)

View Certificates >> Web Sites
(http://www.magicwilly.webhostingpal.com/ContribsForumPictures/certoptions/optionsviewff.png)

Just delete the old one and restart Firefox.

HTH
Title: webmail and server-manager issues since update.
Post by: WACOMalt on September 28, 2006, 04:07:49 AM
I just did what you said, and I still get the error.
thanks for the suggestion though.

any other ideas?
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 04:29:09 AM
Quote from: "WACOMalt"

any other ideas?


Nope...

I'm sure thats all I did when I had that same problem. After deleting just had to close every firefox window. Similar thing with IE.

Maybe create a custom certificate..
http://no.longer.valid/phpwiki/index.php/Creating%20a%20Custom%20signed%20SSL%20Certificate
Title: webmail and server-manager issues since update.
Post by: WACOMalt on September 28, 2006, 06:12:12 AM
Thanks for that suggestion, I went through with it, but still no luck  :(

I wonder what it means that the certificate has the same "serial number"...

wait!

I just deleted the certificate for my router's setup page, and that ..somewhat fixed it. now I get a 404 error on both the server manager and webmail...

so now... what do I test here? I'm gonna reset the server, that helps sometimes.

EDIT: the reset did not help in this case.
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 06:37:06 AM
So you did the howto and now you get 404's
Title: webmail and server-manager issues since update.
Post by: Mortale on September 28, 2006, 07:05:08 AM
I have the same issue as th OP. I get 404 errors while trying to access the server-manager or webmail or even my website.

Internet works andlocal pop3 works fine also. httpd is running.

I made another post besides this one ... sorry didn't see it before I posted.
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 07:07:30 AM
https://ip/server-manager

Use the ip address of your server.

EDIT:

Or login as Admin and go to server-manager via the server console.

How did you determine httpd is running ?
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 07:19:24 AM
Quote from: "WACOMalt"


I wonder what it means that the certificate has the same "serial number"...



Every cert has a serial number which should be unique from the same issuer for the same site.

(http://www.magicwilly.webhostingpal.com/ContribsForumPictures/webmailservermanagerinop/certinfo.png)

SMEServer's serial number is "random" based on the time the cert was created.
Title: webmail and server-manager issues since update.
Post by: WACOMalt on September 28, 2006, 07:21:40 AM
ok, I understand that now.. now I just need to figure out the 404 error I'm getting. are there error logs or anything like that for server-manager access or webmail access?

I think I saw something about the logs, but I'm having trouble finding where they are now.
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 07:27:16 AM
Quote from: "WACOMalt"
ok, I understand that now.. now I just need to figure out the 404 error I'm getting. are there error logs or anything like that for server-manager access or webmail access?

I think I saw something about the logs, but I'm having trouble finding where they are now.


Code: [Select]
/var/log/httpd
Code: [Select]
/var/log/httpd-admin
Title: webmail and server-manager issues since update.
Post by: Mortale on September 28, 2006, 07:27:31 AM
Quote
How did you determine httpd is running ?


I did a restart via

/etc/rc7.d/S86httpd=admin restart

and

/etc/rc7.d/S86httpd-e-smith restart

and both come up as "OK"

I can log into the server-manger via the console on the sme server, but cannot acces it via a computer on the local network. (even if I use the ip address of the server.)
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 07:51:20 AM
Quote from: "Mortale"
Quote
How did you determine httpd is running ?


I did a restart via

/etc/rc7.d/S86httpd=admin restart

and

/etc/rc7.d/S86httpd-e-smith restart

and both come up as "OK"

I can log into the server-manger via the console on the sme server, but cannot acces it via a computer on the local network. (even if I use the ip address of the server.)


I don't know.

If you are on the local network server-manager and webmail (when activated) should just work.
Title: webmail and server-manager issues since update.
Post by: Mortale on September 28, 2006, 07:55:23 AM
Quote
I don't know.

If you are on the local network server-manager and webmail (when activated) should just work.


I know, but they don't.

is there a way I can backup some files without server-manager and do a fresh install?

This system serves about 100 people and they are getting upset at the delay.
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 08:00:43 AM
Quote from: "Mortale"
Quote
I don't know.

If you are on the local network server-manager and webmail (when activated) should just work.


I know, but they don't.

is there a way I can backup some files without server-manager and do a fresh install?

This system serves about 100 people and they are getting upset at the delay.


Sorry, can't help with that. You might want to start a new thread on that topic.

Do your iptables log files show anything? Is it just a stock SME7 in server/gateway mode?
Title: webmail and server-manager issues since update.
Post by: Mortale on September 28, 2006, 08:04:31 AM
it is a stock server/gateway no mods.

the only error that seems to be in my access logs is a sshcache error. I have my chache off (could this be the issue?
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 08:09:45 AM
Quote from: "Mortale"
it is a stock server/gateway no mods.

the only error that seems to be in my access logs is a sshcache error. I have my chache off (could this be the issue?


I'm not famililar with sshcache in anyway. If it was you that turned it off and you can reactivate with no problems then if it was me I would give it ago.

However, have these pages ever displayed after your cache was turned off?
Title: webmail and server-manager issues since update.
Post by: Mortale on September 28, 2006, 08:18:54 AM
Quote
However, have these pages ever displayed after your cache was turned off?


Nope. On or off makes no matter. it jsut doens not work.
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 09:15:50 AM
Quote from: "Mortale"
Quote
I don't know.

If you are on the local network server-manager and webmail (when activated) should just work.


I know, but they don't.

is there a way I can backup some files without server-manager and do a fresh install?

This system serves about 100 people and they are getting upset at the delay.


You do have access to server manager.
Title: webmail and server-manager issues since update.
Post by: Mortale on September 28, 2006, 09:26:13 AM
I only have access to the server  manager from the sme box itself. I cannot log in over the web from my local network. I get a 404 error.
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 10:11:01 AM
Quote from: "Mortale"
I only have access to the server  manager from the sme box itself. I cannot log in over the web from my local network. I get a 404 error.


Sorry, my mistake.

Can you tunnel in via SSH ?
Title: webmail and server-manager issues since update.
Post by: WACOMalt on September 28, 2006, 02:42:58 PM
ack hijacked thread!

joking joking. I just havent checked replies for a long while...

anyways, which logs should I look at to find errors for the webmail and server-manager?
Title: webmail and server-manager issues since update.
Post by: william_syd on September 28, 2006, 02:51:16 PM
SSH login as admin and see if you can get to server-manager that way.
Title: webmail and server-manager issues since update.
Post by: WACOMalt on September 29, 2006, 03:23:20 AM
I can login that way.
Title: webmail and server-manager issues since update.
Post by: WACOMalt on September 29, 2006, 11:38:49 PM
Webmail and server-manager over HTTP/S is still not working.

could anything with my problems here point to network issues? like an incorrect setup? (though nothing has changed, and it WAS working...)
Title: webmail and server-manager issues since update.
Post by: william_syd on September 30, 2006, 12:28:34 AM
Quote from: "WACOMalt"
Webmail and server-manager over HTTP/S is still not working.

could anything with my problems here point to network issues? like an incorrect setup? (though nothing has changed, and it WAS working...)



http://forums.contribs.org/index.php?topic=33952.msg145499#msg145499
Title: webmail and server-manager issues since update.
Post by: WACOMalt on September 30, 2006, 11:32:24 PM
well, that topic helps a little but thats the opposite ordeal as mine.

His, he couldnt access outside of his network, mine I cannot access INSIDE my network.. or outside for that matter.

from outside my network, I get a time out on the webmail and server-manager
Title: webmail and server-manager issues since update.
Post by: william_syd on October 01, 2006, 08:07:07 AM
Can you explain what you went through with ?

http://forums.contribs.org/index.php?topic=33867.msg145409#msg145409
Title: webmail and server-manager issues since update.
Post by: Mortale on October 02, 2006, 04:31:24 AM
This will fix your problem

Quote

OK, got the web and admin pages running again.

I deleted the private key and certificate:
Code:
rm  /home/e-smith/ssl.crt/darkstar.edenmonarolabour.org.crt
rm /home/e-smith/ssl.key/darkstar.edenmonarolabour.org.key


and then ran
Code:
signal-event domain-modify


If anyone needs to delete those pesky lock files (I needed to to this quite often), here is a script you can use:

Code:

#!/bin/sh

LOCK_FILE="./killthese.txt"

# First stop the webservers
/etc/init.d/httpd-admin stop
/etc/init.d/httpd-e-smith stop


# Now produce the lock file
ipcs -s | grep www | cut -d " " -f2 > $LOCK_FILE

# open file test.data for reading
exec 6<$LOCK_FILE
# read until end of file
while read -u 6 dta
do
  echo deleting resource "$dta"
  ipcrm sem $dta
done

# close file killthese.txt
exec 6<&-

# delete the data file
rm -f $LOCK_FILE

#now start the webservers again
/etc/init.d/httpd-admin start
/etc/init.d/httpd-e-smith start


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