[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re[2]: [cobalt-users] site administrator gives 404 upon move
- Subject: Re: Re[2]: [cobalt-users] site administrator gives 404 upon move
- From: "Ken Marcus -Precision Web Hosting" <ken@xxxxxxxxxxxxxxxx>
- Date: Wed Oct 1 20:03:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>
> that did the trick!
>
> many many thanks!
> DanO
>
>
> ---- Wednesday, October 1, 2003:7:21:29 PM ----
>
> GW> On Wed, 1 Oct 2003 cobalt@xxxxxxxxxxxxxxxx wrote:
> >>
> >> i'm hoping someone can shed some light on the problem i'm currently
> >> having with my raq 4i.
> >>
> >> i moved it to a colocation facility yesterday, and since then i can't
> >> access the 'site management' features for any of my vhosts, including
> >> those newly created.
> >>
> >> for example, when i click on the 'Manage fuct.example.com' button, the
> >> following url returns a 404 :
> >>
> >> https://raq.example.com:81/.cobalt/siteManage/fuct.example.com/
> >>
> >> anyone seen this before? have a fix?
>
> GW> Odd, maybe fixsite.pl will work
> GW>
http://list.cobalt.com/pipermail/cobalt-users/2003-February/086366.html
>
> GW> Gerald
>
If your sites' email is bouncing:
>>
Then either go back and re-add the mail server aliases
to all your sites, or follow the steps below adapted from:
http://list.cobalt.com/pipermail/cobalt-users/2003-February/086552.html
#the 2 lines below actually add the domain name,
#and then the mail.doamnname back to the /etc/mail/local-host-names
#note there are only 2 lines below so if they are
#wrapped in your display you will need ot recombine them
ls /home/sites/|awk -F '.' ' {if ($0 ~ /www/) {print $2"."$3}}' >>
/etc/mail/local-host-names
ls /home/sites/|awk -F '.' ' {if ($0 ~ /www/) {print "mail."$2"."$3}}'
>> /etc/mail/local-host-names
#the 2 lines below create the entries you'll need to paste in the the
route section of the virtuesertable
ls /home/sites/ |awk -F '.' ' {if ($0 ~ /www/) {print
"@"$2"."$3"\t%1@www."$2"."$3}}' > /tmp/newvirt
ls /home/sites/ |awk -F '.' ' {if ($0 ~ /www/) {print
"@mail."$2"."$3"\t%1@www."$2"."$3}}' >> /tmp/newvirt
#copy the text from the newvirt file to the route section of the
/etc/mail/virtusertable
cat /tmp/newvirt
pico -w /etc/mail/virtusertable
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable
/etc/rc.d/init.d/sendmail restart
To prevent this problem in the future,
1. before deleting a site always go to the Site Settings for that site
and click Save. (Also it should not be suspended when you delete it.)
2. Then go back to the Man Menu and delete it.
Ken Marcus
Precision Web Hosting
ken@xxxxxxxxxxxxxxxx
www.precisionweb.net