Koozali.org: home of the SME Server

after update no access to oscommerce anymore

Offline AlexG

  • ****
  • 110
  • +0/-0
after update no access to oscommerce anymore
« on: April 25, 2008, 10:20:43 AM »
Hi Forum

After updating the server and following the instructions from 'cactus' the server seems to be normal again. But it is not possible to open my oscommerce page anymore:

Forbidden
You don't have permission to access /oscommerce on this server.

Is this because the updates or do I something wrong?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: after update no access to oscommerce anymore
« Reply #1 on: April 25, 2008, 10:33:50 AM »
Hi Forum

After updating the server and following the instructions from 'cactus' the server seems to be normal again. But it is not possible to open my oscommerce page anymore:

Forbidden
You don't have permission to access /oscommerce on this server.

Is this because the updates or do I something wrong?
What does /var/log/httpd/error_log say at the time you had the error?
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 AlexG

  • ****
  • 110
  • +0/-0
Re: after update no access to oscommerce anymore
« Reply #2 on: April 25, 2008, 10:42:00 AM »
[Fri Apr 25 16:41:23 2008] [error] [client 192.168.1.10] client denied by server configuration: /opt/oscommerce
« Last Edit: April 25, 2008, 10:43:46 AM by AlexG »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: after update no access to oscommerce anymore
« Reply #3 on: April 25, 2008, 10:45:47 AM »
[Fri Apr 25 16:41:23 2008] [error] [client 192.168.1.10] client denied by server configuration: /opt/oscommerce
Nothing more than that? Does the /var/log/messages hold perhaps hold any clues from around that time?

You did do the following after install?
Code: [Select]
signal-event post-upgrade
signal-event reboot

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 AlexG

  • ****
  • 110
  • +0/-0
Re: after update no access to oscommerce anymore
« Reply #4 on: April 25, 2008, 10:51:09 AM »
Yes, I did the signal-event post-upgrade, signal-event reboot and there is just:

[Fri Apr 25 15:54:23 2008] [error] [client 66.249.73.105] File does not exist: /home/e-smith/files/ibays/Primary/html/robots.txt
[Fri Apr 25 16:06:57 2008] [notice] Graceful restart requested, doing restart
[Fri Apr 25 16:08:23 2008] [notice] Apache configured -- resuming normal operations
[Fri Apr 25 16:09:23 2008] [notice] Graceful restart requested, doing restart
[Fri Apr 25 16:09:23 2008] [notice] Digest: generating secret for digest authentication ...
[Fri Apr 25 16:09:23 2008] [notice] Digest: done
[Fri Apr 25 16:09:24 2008] [warn] RSA server certificate CommonName (CN) `sme-1.Domainname.com' does NOT match server name!?
[Fri Apr 25 16:09:24 2008] [notice] Apache configured -- resuming normal operations
[Fri Apr 25 16:41:23 2008] [error] [client 192.168.1.10] client denied by server configuration: /opt/oscommerce

Best regards
AlexG
« Last Edit: April 25, 2008, 11:07:24 AM by AlexG »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: after update no access to oscommerce anymore
« Reply #5 on: April 25, 2008, 11:05:59 AM »
Strange... what are the permissions and ownership on /opt/oscommerce?
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 AlexG

  • ****
  • 110
  • +0/-0
Re: after update no access to oscommerce anymore
« Reply #6 on: April 25, 2008, 11:07:53 AM »
I found this:

[Fri Apr 25 15:54:23 2008] [error] [client 66.249.73.105] File does not exist: /home/e-smith/files/ibays/Primary/html/robots.txt
[Fri Apr 25 16:06:57 2008] [notice] Graceful restart requested, doing restart

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: after update no access to oscommerce anymore
« Reply #7 on: April 25, 2008, 11:13:14 AM »
I found this:

[Fri Apr 25 15:54:23 2008] [error] [client 66.249.73.105] File does not exist: /home/e-smith/files/ibays/Primary/html/robots.txt
[Fri Apr 25 16:06:57 2008] [notice] Graceful restart requested, doing restart
Nothing wrong with that AFAIK, the first line is most likely a search engine robot requesting the robots.txt file to see if and what part of your server it is allowed to index, the second part most likely is the restart because of the upgrade of smeserver-oscommerce, did you install around that time?

Please answer the question in my previous post.
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 AlexG

  • ****
  • 110
  • +0/-0
Re: after update no access to oscommerce anymore
« Reply #8 on: April 25, 2008, 11:18:05 AM »
There is no opt/oscommerce anymore

only administration, webshare and webshare-tools
« Last Edit: April 25, 2008, 11:19:41 AM by AlexG »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: after update no access to oscommerce anymore
« Reply #9 on: April 25, 2008, 11:19:54 AM »
There is no opt/oscommerce anymore
Really? Than that is the reason why you get the error. Do you have a backup of your server?

What is the output of:
Code: [Select]
rpm -q smeserver-oscommerce
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 AlexG

  • ****
  • 110
  • +0/-0
Re: after update no access to oscommerce anymore
« Reply #10 on: April 25, 2008, 11:22:58 AM »
No, I don't have a backup

rpm -q smeserver-oscommerce: smeserver-oscommerce-2.2rc1-3.el4.sme

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: after update no access to oscommerce anymore
« Reply #11 on: April 25, 2008, 11:27:43 AM »
No, I don't have a backup

rpm -q smeserver-oscommerce: smeserver-oscommerce-2.2rc1-3.el4.sme
That is strange, that states that it is installed. Is there anything listed in /opt, perhaps oscommerce.tgz?

Does this command list your oscommerce database?
Code: [Select]
mysql -e "SHOW DATABASES"
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 AlexG

  • ****
  • 110
  • +0/-0
Re: after update no access to oscommerce anymore
« Reply #12 on: April 25, 2008, 11:38:57 AM »
No, it doesn't and it seems that I can not login into phpmyadmin-multi anymore.

In the folder /opt are only: /administration; /webshare and /webshare-tools
« Last Edit: April 25, 2008, 11:41:49 AM by AlexG »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: after update no access to oscommerce anymore
« Reply #13 on: April 25, 2008, 11:44:09 AM »
No, it doesn't and it seems that I can not login into phpmyadmin-multi anymore.
You are logged in as root, when issuing those commands, are you?

If so you might have a serious problem, are you sure you did not actually remove something in the /opt folder? Does this output anything?
Code: [Select]
history | grep rm
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 AlexG

  • ****
  • 110
  • +0/-0
Re: after update no access to oscommerce anymore
« Reply #14 on: April 25, 2008, 11:47:28 AM »
Yezzz, I am root and the result of history | grep opt  is:

history | grep rm
  388  wget www.xx.de/form1.php
  390  wget www.xx.de/form1.php
  392  wget www.xx.de/form1.php
  393  del form1.php
  394  rem form1.php
  396  rem form1.php
  397  wget www.xx.de/form1.php
  399  wget www.xx.de/form1.php
  401  wget www.xx.de/formx1.php
  402  wget www.xx.de/formmailerx1.php
  405  wget www.xx.de/formmailerx1.php
  407  wget www.xx.de/formm1.php
  408  wget www.xx.de/formx1.php
  410  wget www.xx.de/formm1.php
  412  wget www.xx.de/formx1.php
  414  wget www.xx.de/formx1.php
  416  wget www.xx.de/formx2.php
  421  wget www.xx.de/formm1.php
  422  wget www.xx.de/forma1.php
  425  wget www.xx.de/formx1.php
  429  form1.php
  430  wget www.xx.de/form1.php
  437  wget www.xx.de/formma1.php
  439  wget www.xx.de/formma1.zip
  443  wget www.xx.de/frmular1.zip
  444  wget www.xx.de/formular1.zip
  524  wget www.xx.de/formular1.php
  712  history | grep opt | grep rm
  713  history | grep rm
« Last Edit: April 25, 2008, 11:50:28 AM by AlexG »