Major SSL Issues after moving to new server

paulcowper

Verified User
Joined
Mar 9, 2005
Messages
7
Hi Guys n gals,

Got a major problem here.

Yesterday i had a new server built for me. I then did a backup and restore of all users to transfer them

Im Running
Apache 1.3.34
DirectAdmin 1.25.4

on Fedora Core 3

It apears that any SSL Page i goto gives me a 403 Access Denied Error ie https://www.ictusband.com or https://213.151.43.92/ (ip assigned to single user)

Here is a paste of some of my apache error log....

Sat Nov 5 13:28:03 2005] [notice] Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7a PHP/4.4.0 mod_perl/1.29 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Sat Nov 5 13:28:03 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 5 13:28:03 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Nov 5 13:29:01 2005] [notice] caught SIGTERM, shutting down
[Sat Nov 5 13:29:02 2005] [warn] NameVirtualHost 213.151.43.89:80 has no VirtualHosts
[Sat Nov 5 13:29:02 2005] [warn] NameVirtualHost 213.151.43.89:443 has no VirtualHosts
[Sat Nov 5 13:29:02 2005] [warn] NameVirtualHost 213.151.43.88:80 has no VirtualHosts
[Sat Nov 5 13:29:02 2005] [warn] NameVirtualHost 213.151.43.88:443 has no VirtualHosts
[Sat Nov 5 13:29:02 2005] [warn] NameVirtualHost 213.151.43.91:80 has no VirtualHosts
[Sat Nov 5 13:29:02 2005] [warn] NameVirtualHost 213.151.43.91:443 has no VirtualHosts
[Sat Nov 5 13:29:02 2005] [warn] NameVirtualHost 213.151.43.90:80 has no VirtualHosts
[Sat Nov 5 13:29:02 2005] [warn] NameVirtualHost 213.151.43.90:443 has no VirtualHosts


This is causing me problems as one client is hosting their shop in https and they are getting frustraited.

Please Help

THx

Paul Cowper
 
Ok i have figured this one.,...... For future reference to other users


It apears that when restoring the users files the private_html folder does not keep its chmod status, This will mean that it cant be read.

You will need to manualy change the chmod of all private_html folders for them to work.

If you create a new user. this is not a problem.


Hope that helps someone out.

Regards

Paul
 
TO add further...

rather than going to each folder and doing it, just use this command....

from the /home directory

run....


chmod 775 */domains/*/private_html

that will see you through


I think the reason this happens becuse of the ownership of the folder is set to the user rather than apache.

Regards

Paul
 
Last edited:
When doing backups and restores from one system to another, there are a couple of things that could cause problems.
One if a user is doing the restore, the owner and group will be of the owner doing the resore. If it is root doing the restore, the owner and group will be of the userid and groupid that is in the archive. If those id's match up correctly you shouldn't have a problem. If they don't match up (i.e. user xxx is uid 500 on one system and 504 on another), then the wrong user will own the files. Just some things you need to keep in mind when doing things like that.
 
Back
Top