Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: mgic_box on July 03, 2008, 04:24:01 PM
-
Hi all
I just did a yum update on a SME 7.2, and had a couple issues.
Here is what I did:
cd /home/e-smith/db/
mv yum_repositories yum_repositories.po
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.conf
yum clean all
yum update
During the update, I Got:
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-gd
--> Processing Dependency: perl(Net::Daemon) for package: perl-PlRPC
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: httpd = 2.0.52-32.3.ent.centos4 for package: httpd-suexec
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-Net-Daemon to pack into transaction set.
perl-Net-Daemon-0.43-1.el 100% |=========================| 3.4 kB 00:00
---> Package perl-Net-Daemon.noarch 0:0.43-1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Processing Dependency: httpd = 2.0.52-32.3.ent.centos4 for package: httpd-suexec
--> Finished Dependency Resolution
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-gd
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-domxml
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-pear
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-mbstring
Error: Missing Dependency: httpd = 2.0.52-32.3.ent.centos4 is needed by package httpd-suexec
================================================================
No new rpms were installed. No additional commands are required.
================================================================
So I think somthing is wrong...???
Any Help? Pleasse...
Thanks
-
hi
please post here
rpm -qa | grep -i php
Thanks
Stefano
-
hi
please post here
rpm -qa | grep -i php
Thanks
Stefano
Thanks.
[root@mira ~]# rpm -qa | grep -i php
php-mysql-4.3.9-3.22.5
e-smith-php-1.12.0-4.el4.sme
warning: only V3 signatures can be verified, skipping V4 signature
php-4.3.9-3.22.5
php-mbstring-4.3.9-3.22.5
php-pear-4.3.9-3.22.5
php-domxml-4.3.9-3.22.5
php-imap-4.3.9-3.22.5
php-gd-4.3.9-3.22.9
php-ldap-4.3.9-3.22.5
php-gd-4.3.9-3.22.5
php-domxml-4.3.9-3.22.9
php-pear-4.3.9-3.22.9
php-mbstring-4.3.9-3.22.9
[root@mira ~]#
-
What repositories are enabled, you can test using the following command:
for r in `db yum_repositories show | \
grep repository | \
grep -vi name | \
sed -e 's/=repository//g'`; \
do echo $r: `db yum_repositories getprop $r status`; \
done
The following should be enabled (highlighted in blue in SME Server server-manager):
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled
-
So I think somthing is wrong...???
Any Help? Pleasse...
As always - Please report bugs and potential bugs in the bug tracker. Thanks.
-
As always - Please report bugs and potential bugs in the bug tracker. Thanks.
Do you think it is a Bug?
Regards.
-
What repositories are enabled, you can test using the following command:
for r in `db yum_repositories show | \
grep repository | \
grep -vi name | \
sed -e 's/=repository//g'`; \
do echo $r: `db yum_repositories getprop $r status`; \
done
The following should be enabled (highlighted in blue in SME Server server-manager):
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled
[root@mira db]# for r in `db yum_repositories show | \
> grep repository | \
> grep -vi name | \
> sed -e 's/=repository//g'`; \
> do echo $r: `db yum_repositories getprop $r status`; \
> done
addons: disabled
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
[root@mira db]#
-
Do you think it is a Bug?
Regards.
I guess it might be as you have the proper repositories enabled and have the proper version of PHP on your server (not PHP 5 like some others had who were experiencing similar problems).
I suggest you open a bug and post as many details as you know (from this problem) now, your server history as well as attach (not post inline) the output of
/sbin/e-smith/audittools/newrpms
-
[root@mira ~]# ping yahoo.com
PING yahoo.com (68.180.206.184) 56(84) bytes of data.
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=0 ttl=49 time=178 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=1 ttl=49 time=179 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=2 ttl=49 time=178 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=3 ttl=49 time=178 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=4 ttl=49 time=179 ms
64 bytes from w2.rc.vip.sp1.yahoo.com (68.180.206.184): icmp_seq=5 ttl=49 time=196 ms
--- yahoo.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5006ms
rtt min/avg/max/mdev = 178.592/181.887/196.090/6.394 ms, pipe 2
[root@mira ~]# yum update php
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.i386 0:4.3.9-3.22.9 set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mysql
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-ldap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mysql to pack into transaction set.
http://mirrors.nfsi.pt/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.dei.uc.pt/pub/linux/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Foun d
Trying other mirror.
http://mirrors.ircam.fr/pub/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/centos/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Er ror 404: Not Found
Trying other mirror.
http://centos.crazyfrogs.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.in2p3.fr/linux/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
ftp://ftp.free.fr/mirrors/ftp.centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 4] IOError: [Errno ftp er ror] 550 Failed to change directory.
Trying other mirror.
http://ftp.gui.uva.es/sites/centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Fou nd
Trying other mirror.
http://ftp.udl.es/pub/centos/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
ftp://mirror.fraunhofer.de/centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 4] IOError: [Errno ftp error ] 550 SME: No such file or directory
Trying other mirror.
Error: failure: SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm from base: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@mira ~]#
-
[root@m ~]# cd /home/e-smith/db/
[root@m db]# mv yum_repositories yum_repositories.po
[root@m db]# /etc/e-smith/events/actions/initialize-default-databases
Migrating existing database yum_updates
Migrating existing database mailpatterns
Migrating existing database backups
Migrating existing database yum_available
Migrating existing database hosts
Migrating existing database networks
Migrating existing database domains
Creating database yum_repositories and setting defaults
Migrating existing database configuration
Migrating existing database spamassassin
Migrating existing database yum_installed
Migrating existing database accounts
[root@m db]# expand-template /etc/yum.conf
[root@m db]# yum clean all
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Cleaning up Everything
166 headers removed
0 packages removed
15 metadata files removed
0 cache files removed
5 cache files removed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@m db]# yum update php
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
smeaddons 100% |=========================| 951 B 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
smeos 100% |=========================| 951 B 00:00
smeupdates 100% |=========================| 951 B 00:00
Determining fastest mirrors
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 186 B 00:00
primary.xml.gz 100% |=========================| 183 kB 00:00
updates : ################################################## 588/588
primary.xml.gz 100% |=========================| 593 kB 00:02
base : ################################################## 1552/1552
primary.xml.gz 100% |=========================| 249 kB 00:01
smeos : ################################################## 529/529
primary.xml.gz 100% |=========================| 94 kB 00:00
smeupdates: ################################################## 149/149
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-4.3.9-3.22.9.i386.rpm 100% |=========================| 24 kB 00:00
---> Package php.i386 0:4.3.9-3.22.9 set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mysql
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-ldap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mysql to pack into transaction set.
http://ftp.dei.uc.pt/pub/linux/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.gui.uva.es/sites/centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.ircam.fr/pub/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/centos/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://centos.crazyfrogs.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
ftp://mirror.fraunhofer.de/centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 4] IOError: [Errno f tp error] 550 SME: No such file or directory
Trying other mirror.
http://mirrors.nfsi.pt/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Foun d
Trying other mirror.
ftp://ftp.free.fr/mirrors/ftp.centos.org/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 4] IOError: [Errn o ftp error] 550 Failed to change directory.
Trying other mirror.
http://ftp.udl.es/pub/centos/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.in2p3.fr/linux/CentOS/4.6/os/i386/SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm: [Errno 14] HTTP Error 404: No t Found
Trying other mirror.
Error: failure: SME/RPMS/php-mysql-4.3.9-3.22.9.i386.rpm from base: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@m db]#
-
Once again: please open a bug for this issue.