Koozali.org: home of the SME Server

httpd Issue

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: httpd Issue
« Reply #15 on: November 07, 2008, 02:45:24 PM »
atrpms=repository
Seems OK, apart from this one. Are you sure you nicely copy pasted the output?
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 Graham

  • ****
  • 105
  • +0/-0
Re: httpd Issue
« Reply #16 on: November 07, 2008, 02:54:59 PM »
I'll try again, but it looks the same to me

[root@server-1 ~]# db yum_repositories print | sed 's/=.*|status|/: /;s/|.*//'
addons: disabled
atrpms=repository

base: enabled
centosplus: disabled
contrib: disabled
dag: disabled
extras: disabled
smeaddons: enabled
smecontribs: disabled
smedev: disabled
smeos: enabled
smetest: disabled
smeupdates: enabled
smeupdates-testing: disabled
updates: enabled

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: httpd Issue
« Reply #17 on: November 07, 2008, 03:12:33 PM »
what's the output of

Code: [Select]
db yum_repositories show atrpms
?

ciao
Stefano

Offline Graham

  • ****
  • 105
  • +0/-0
Re: httpd Issue
« Reply #18 on: November 07, 2008, 03:19:47 PM »
[root@server-1 ~]# db yum_repositories show atrpms
atrpms=repository
    BaseURL=http://dl.atrpms.net/el4-i386/atrpms/stable
    EnableGroups=no
    GPGCheck=yes
    GPGKey=http://ATrpms.net/RPM-GPG-KEY.atrpms

    Name=Fedora Core - ATrpms
    Visible=yes
    status=disabled

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: httpd Issue
« Reply #19 on: November 07, 2008, 04:03:36 PM »
[root@server-1 ~]# db yum_repositories show atrpms
atrpms=repository
    BaseURL=http://dl.atrpms.net/el4-i386/atrpms/stable
    EnableGroups=no
    GPGCheck=yes
    GPGKey=http://ATrpms.net/RPM-GPG-KEY.atrpms

    Name=Fedora Core - ATrpms
    Visible=yes
    status=disabled
There might be the cause of your problems as it should read something like this: http://wiki.contribs.org/ATrpms , you most likely have updates installed of packages that should not be updated from atRPMS, that is why all the excludes are listed in the wiki.

To confirm my suspicion, what is the output of
Code: [Select]
/etc/sbin/e-smith/audittools/newrpms
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 cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: httpd Issue
« Reply #20 on: November 07, 2008, 04:08:28 PM »
Code: [Select]
[root@server-1 ~]# db yum_repositories show atrpms
atrpms=repository
    BaseURL=http://dl.atrpms.net/el4-i386/atrpms/stable
    EnableGroups=no
    GPGCheck=yes
    GPGKey=http://ATrpms.net/RPM-GPG-KEY.atrpms

    Name=Fedora Core - ATrpms
    Visible=yes
    status=disabled
There might be the cause of your problems as it should read something like this: http://wiki.contribs.org/ATrpms , you most likely have updates installed of packages that should not be updated from atRPMS (and likely dag as well as I suspect a different and wrong configuration there as well), that is why all the excludes are listed in the wiki.

To confirm my suspicion, what is the output of
Code: [Select]
/sbin/e-smith/audittools/newrpmsPlease post the output here so we can review it.

I suggest you restore your repositories to the default state like described here: http://wiki.contribs.org/Adding_Software#Restoring_Default_Yum_Repositories

And if you really need dag and ATrpms install them with the commands in the wiki: http://wiki.contribs.org/Category:Yum_Repository

Edit: fixed command
« Last Edit: November 07, 2008, 04:46:29 PM by cactus »
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 Graham

  • ****
  • 105
  • +0/-0
Re: httpd Issue
« Reply #21 on: November 07, 2008, 04:44:01 PM »

To confirm my suspicion, what is the output of
Code: [Select]
/etc/sbin/e-smith/audittools/newrpmsPlease post the output here so we can review it.


Doesn't seem to do anything : No such file or directory

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: httpd Issue
« Reply #22 on: November 07, 2008, 04:47:07 PM »
Doesn't seem to do anything : No such file or directory
Sorry, wrong instruction, I corrected my previous post, please try again with the command listed there.
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 Graham

  • ****
  • 105
  • +0/-0
Re: httpd Issue
« Reply #23 on: November 07, 2008, 04:54:16 PM »
Output of /sbin/e-smith/audittools/newrpms below:

[root@server-1 ~]# /sbin/e-smith/audittools/newrpms
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Extra Packages
asterisk.i386                            1:1.4.20-63.el4        installed
asterisk-addons.i386                     1:1.4.6-20.el4         installed
libpri.i386                              1:1.4.3-19.el4         installed
libpri1.i386                             1:1.4.3-19.el4         installed
perl-rrdtool.i386                        1.0.50-3.el4.rf        installed
rrdtool.i386                             1.0.50-3.el4.rf        installed
sail.noarch                              2.2.1-664              installed
smeserver-cacti.noarch                   0.8.7a-1               installed
smeserver-diskusage.noarch               0.0.1-2dmay            installed
smeserver-phpmyadmin.noarch              2.11.1.2-0.dmay        installed
smeserver-phpsysinfo.noarch              2.5.4-0dmay            installed
smeserver-usbdisksmanager.noarch         0.2-5.el4.sme          installed
speex.i386                               1.2-0.2.beta1          installed
zaptel.i386                              1:1.4.11-51.el4        installed
zaptel-kmdl-2.6.9-67.0.7.EL.i686         1:1.4.11-51.el4        installed
================================================================
No new rpms were installed. No additional commands are required.
================================================================

I've also done what you suggested here http://wiki.contribs.org/Adding_Software#Restoring_Default_Yum_Repositories to restore the Default Yum Repositories.

Then I run this command again: db yum_repositories print | sed 's/=.*|status|/: /;s/|.*//' and below is the output.

[root@server-1 ~]# db yum_repositories print | sed 's/=.*|status|/: /;s/|.*//'
addons: disabled
atrpms=repository

base: enabled
centosplus: disabled
contrib: disabled
extras: disabled
smeaddons: enabled
smecontribs: disabled
smedev: disabled
smeos: enabled
smetest: disabled
smeupdates: enabled
smeupdates-testing: disabled
updates: enabled

Offline Graham

  • ****
  • 105
  • +0/-0
Re: httpd Issue
« Reply #24 on: November 08, 2008, 04:32:47 PM »
I've had a look at this again today and still haven't been able to find anything that would cause it, I've checked the httpd conf and it all looks fine to me.

Offline Graham

  • ****
  • 105
  • +0/-0
Re: httpd Issue
« Reply #25 on: November 13, 2008, 09:42:02 PM »
Still need help with this anyone have any ideas

What should the permissions be on opt

Offline kruhm

  • *
  • 680
  • +0/-0
Re: httpd Issue
« Reply #26 on: November 16, 2008, 01:13:55 PM »
Quote
Still need help with this anyone have any ideas
I would:

-find out what phpmyadmin rpm is installed? Try: 
rpm -qa|grep myadmin

-try a different rpm. I'm using: smeserver-phpmyadmin-2.11.1.2-1.el4.sme
yum --disablerepo=* --enablerepo=smecontribs list available|grep myadmin

-make sure to run after installing rpm:
signal-event post-upgrade
signal-event reboot

-If it still doesn't work, check templates for anything unusual that'd conflict with the phpmyadmin apache
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/

-remove the files from the ibay, you're asking for trouble

We have no hints on what's going amiss so we are simply guessing.

Quote
What should the permissions be on opt
root:root 644 for most, but I would think the rpm should set the perms for you automatically