31
Eskimo-mo
Re: can't connect to server - what's going on?
  • 2008/4/8 4:01

  • Eskimo-mo

  • Just popping in

  • Posts: 22

  • Since: 2008/3/12


It gives:

0. debug No
1. useRhn Yes
2. rhnuuid afb4c960-8be0-11db-97fd-e4f86ba71d0d
3. isatty Yes
4. showAvailablePacka No
5. retrieveOnly No
6. enableRollbacks No
7. noSSLServerURL http://xmlrpc.rhn.redhat.com/XMLRPC
8. pkgSkipList ['kernel*']
9. storageDir /var/spool/up2date
10. adminAddress ['root@localhost']
11. noBootLoader No
12. serverURL https://xmlrpc.rhn.redhat.com/XMLRPC
13. fileSkipList []
14. versionOverride
15. sslCACert /usr/share/rhn/RHNS-CA-CERT
16. noReplaceConfig Yes
17. useNoSSLForPackage No
18. systemIdPath /etc/sysconfig/rhn/systemid
19. enableProxyAuth No
20. retrieveSource No
21. disallowConfChange ['noReboot', 'sslCACert', 'useNoSSLForPackages', 'noSSLSe
22. headerFetchCount 10
23. networkRetries 5
24. pkgsToInstallNotUp ['kernel', 'kernel-modules']
25. enableProxy No
26. proxyPassword
27. updateUp2date Yes
28. keepAfterInstall No
29. proxyUser
30. removeSkipList ['kernel*']
31. useGPG Yes
32. gpgKeyRing /etc/sysconfig/rhn/up2date-keyring.gpg
33. httpProxy
34. headerCacheSize 40
35. forceInstall No
36. noReboot No


Enter number of item to edit :

32
avtx30
Re: can't connect to server - what's going on?
  • 2008/4/8 4:19

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12


It shows your server is not ready for update. It need to be configuared. Have a look at this: http://kbase.redhat.com/faq/FAQ_61_5794.shtm or ask your hosting company 'How to update packages'

33
Eskimo-mo
Re: can't connect to server - what's going on?
  • 2008/4/9 3:40

  • Eskimo-mo

  • Just popping in

  • Posts: 22

  • Since: 2008/3/12


Hi avtx30

I asked my webhost about updating packages and they say

You were not update via RMP package. You should download a higher RPM package and install it.
You installed by source code so you should compiler the database first, then you can do the update.


Does this make sense to you?

thanks again!

34
avtx30
Re: can't connect to server - what's going on?
  • 2008/4/9 3:54

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12


So you have a lot of works to do now. I don't know detail about your hosting plan but it's a big pain if you cannot update packages the 'Redhat Enterprise Linux' way, i.e. via up2date

The simplest way I can advise is to remove old packages and install the latest ones: Apache 2.2.8, MySQL 5.0.58, PHP 5.2.5.

Please provide your packages info by pasting the ouput a command below (it may be very long):
rpm -qa

35
Eskimo-mo
Re: can't connect to server - what's going on?
  • 2008/4/9 5:44

  • Eskimo-mo

  • Just popping in

  • Posts: 22

  • Since: 2008/3/12


I really appreciate your guidance

Here's what the command gave

perl-CGI-2.81-89.10
dialog
-0.9b-20020814.6
redhat
-config-kickstart-2.3.22-3
redhat
-config-proc-0.23-0.EL3.1
w3c
-libwww-5.4.0-5
compat
-libstdc++-7.3-2.96.128
compat
-db-4.0.14-5.1
openmotif21
-2.1.30-9.RHEL3.6
bogl
-0.1.9-27
libaio
-0.3.96-5
libf2c
-3.2.3-52
libobjc
-3.2.3-52
perl
-DBI-1.32-9
gsl
-1.1.1-5
ORBit
-0.5.17-10.4
perl
-DBD-MySQL-2.1021-3
umb
-scheme-3.2-31
unixODBC
-2.2.8-2.3.0.2
ImageMagick
-5.5.6-13
unixODBC
-kde-2.2.8-2.3.0.2
glibc
-profile-2.3.2-95.33
pciutils
-devel-2.1.10-7
byacc
-1.9-25
db4
-devel-4.1.25-8.1
diffstat
-1.31-2
expat
-devel-1.95.5-6
hesiod
-devel-3.0.2-28.1
libaio
-devel-0.3.96-5
libmudflap
-3.5ssa-0.20030801.48
libogg
-devel-1.0-5.1
ltrace
-0.3.36-2.EL3
dev86
-0.16.3-8
libgcc
-ssa-3.5ssa-0.20030801.48
libstdc
++-devel-3.2.3-52
libstdc
++-ssa-devel-3.5ssa-0.20030801.48
libusb
-devel-0.1.6-3
automake15
-1.5-7
perl
-CPAN-1.61-89.10
pspell
-devel-0.12.2-16.1
redhat
-rpm-config-8.0.28-2
splint
-3.0.1.7-0.20030123
swig
-1.1p5-22
dejagnu
-1.4.2-10
glibc
-utils-2.3.2-95.33
libxml2
-devel-2.5.10-7
e2fsprogs
-devel-1.32-15.1
gdbm
-devel-1.8.0-20
gperf
-2.7.2-9
krb5
-devel-1.2.7-44
libgcj
-ssa-3.5ssa-0.20030801.48
autoconf
-2.57-3
bison
-1.875c-2.EL
aspell
-devel-0.33.7.1-25.3
gpm
-devel-1.19.3-27.2
ncurses
-devel-5.3-9.4
curl
-devel-7.10.6-6.rhel3
pstack
-1.2-3.EL.2
cdecl
-2.5-27
pam
-devel-0.75-64
commons
-logging-1.0.2-12
jakarta
-regexp-1.2-12
junit
-3.8.1-1
slang
-devel-1.4.5-18
cup
-v10k-10
texinfo
-4.5-3
glibc
-kernheaders-2.4-8.34.1
glibc
-devel-2.3.2-95.33
gcc
-c++-3.2.3-52
gcc
-gnat-3.2.3-52
gcc
-objc-3.2.3-52
gcc
-c++-ssa-3.5ssa-0.20030801.48
gcc
-java-ssa-3.5ssa-0.20030801.48
nptl
-devel-2.3.2-95.33
openldap
-devel-2.0.27-17
xalan
-j-2.4.1-11
ant
-1.5.2-23
ddd
-3.3.1-23
oprofile
-0.5.4-22
fam
-devel-2.6.8-15
net
-snmp-devel-5.0.9-2.30E.15
rpm
-devel-4.2.3-21_nonptl
compat
-gcc-7.3-2.96.128
kernel
-doc-2.4.21-32.EL
libattr
-devel-2.2.0-1
redhat
-release-3AS-13.5.1
libgcc
-3.2.3-52
basesystem
-8.0-2
glibc
-2.3.2-95.33
cracklib
-2.7-22
ethtool
-1.8-3.3
glib2
-2.2.3-2.0
laus
-libs-0.1-70RHEL3
losetup
-2.11y-31.6
bash
-2.05b-41.4
net
-tools-1.60-20E.7
rootfiles
-7.2-6
newt
-0.51.5-1
words
-2-21
info
-4.5-3
gawk
-3.1.1-9
grub
-0.93-4.3
gpm
-1.19.3-27.2
procps
-2.0.17-13.7
pyxf86config
-0.3.5-1
pam
-0.75-64
SysVinit
-2.85-4.2
which
-2.14-7
kernel
-2.4.21-32.EL
passwd
-0.68-3.1
rpm
-4.2.3-21_nonptl
man
-pages-1.60-4.2
specspo
-3EL-1
finger
-0.17-18
lha
-1.14i-10.4
libstdc
++-3.2.3-52
mailx
-8.1.1-31.EL3
htmlview
-2.0.0-10
pam_passwdqc
-0.7.5-1
pax
-3.0-6
logrotate
-3.6.9-1
rdist
-6.1.5-35.30.1
schedutils
-1.3.0-5
ntsysv
-1.3.13.2-0.3
symlinks
-1.2-18
unzip
-5.50-34
freetype
-2.1.4-4.0
libxml2
-2.5.10-7
elfutils
-0.91-3
jwhois
-3.2.2-1
libgcj
-3.2.3-52
mgetty
-1.1.30-3
man
-1.5k-10
nscd
-2.3.2-95.33
bind
-libs-9.2.4-7_EL3
pam_krb5
-1.75-1
pyOpenSSL
-0.5.1-8
gettext
-0.11.4-7
jpackage
-utils-1.5.38-1jpp_5rh
sudo
-1.6.7p5-1
mkbootdisk
-1.5.1-1
time
-1.7-23
wget
-1.9.1-16.EL3.1
devlabel
-0.48.03-10
iptables
-1.2.8-12.3
kernel
-utils-2.4-8.37.12
openssh
-3.6.1p2-33.30.4
pciutils
-2.1.10-7
quota
-3.10-7
mdadm
-1.5.0-9
vixie
-cron-3.0.1-76_EL3
xinetd
-2.3.12-6.3E
yp
-tools-2.8-6
up2date
-update-4.2.57-2
libxslt
-1.0.33-5
desktop
-backgrounds-basic-2.0-14
libcap
-1.10-15.1
linc
-1.0.3-1
desktop
-file-utils-0.3-10
bitmap
-fonts-0.3-2
bonobo
-activation-2.2.2-1
ntp
-4.1.2-4.EL3.1
redhat
-config-keyboard-1.1.4-1
libglade2
-2.0.1-3
pygtk2
-libglade-1.99.16-8
redhat
-config-soundcard-1.0.8-1
vte
-0.11.10-11
libgnome
-2.2.2-6
gnome
-python2-1.99.14-5
xml
-common-0.6.3-14
redhat
-config-packages-1.2.9.2-1
cdparanoia
-libs-alpha9.8-15
mikmod
-3.1.6-21.3
SDL
-1.2.5-6
libgnomeprintui22
-2.2.1.3-2.0
imlib
-1.9.13-13.4
libsoup
-1.99.26-1
libao
-0.8.3-3.1
sane
-backends-1.0.9-5.7
FreeWnn
-libs-1.11-36.3
tclx
-8.3-92.2
libpcap
-0.7.2-7.E3.5
netpbm
-9.24-11.30.1
openssl096b
-0.9.6b-16
blas
-3.0-20
libdbi
-0.6.5-5
libtabe
-0.2.6-6.EL
curl
-7.10.6-6.rhel3
ruby
-libs-1.6.8-9.EL3.3
samba
-3.0.9-1.3E.3
gtkglarea
-1.2.2-16
kudzu
-devel-1.1.22.11-1
db4
-utils-4.1.25-8.1
flex
-2.5.4a-29
libcap
-devel-1.10-15.1
libvorbis
-devel-1.0-7
ElectricFence
-2.2.2-15
libstdc
++-ssa-3.5ssa-0.20030801.48
automake14
-1.4p6-6
pkgconfig
-0.14.0-5
lockdev
-devel-1.0.1-1.2
expect
-5.38.0-92.2
zlib
-devel-1.1.4-8.1
elfutils
-devel-0.91-3
indent
-2.2.9-2
libgcj
-ssa-devel-3.5ssa-0.20030801.48
libtool
-1.4.3-6
mikmod
-devel-3.1.6-21.3
perl
-Crypt-SSLeay-0.51-4
readline
-devel-4.3-5.2
jaf
-20030319-1
javamail
-20031006-1
newt
-devel-0.51.5-1
cyrus
-sasl-devel-2.1.15-10
gcc
-3.2.3-52
gcc
-java-3.2.3-52
gcc
-g77-ssa-3.5ssa-0.20030801.48
libuser
-devel-0.51.7-1.EL3.3
ant
-libs-1.5.2-23
libao
-devel-0.8.3-3.1
memprof
-0.5.1-3
compat
-libstdc++-devel-7.3-2.96.128
libacl
-devel-2.2.3-1
comps
-3AS-0.20050512
[root@njud2008 root]#

36
avtx30
Re: can't connect to server - what's going on?
  • 2008/4/9 9:25

  • avtx30

  • Not too shy to talk

  • Posts: 181

  • Since: 2006/10/12


Your list shows that Apache, PHP, MySQL are not installed as RPM packages. They are installed manually from source.

From your previous replies I know that you are running Apache 2.0.54 with PHP 4.3.11.

Your MySQL client is 3.23.49 but MySQL server is 4.0.26.

I suggest that you keep Apache and take this chance to upgrade to PHP 5 and MySQL 5. Note that by doing this you have to configure them yourself to secure them and/or improve their performance. So do it with your own risk!

Here are detail steps. Please do it carefully. I suppose that you login to your server as root.

0) Back up your databases if you have. This is critical!!

1) Backup your php.ini (you may refer to it later). It's not critical but recommended

2) Remove all stuffs related to PHP and MySQL
- Stop MySQL server and Apache web server
- Use this command to remove existed MySQL related package
# rpm -e perl-DBD-MySQL

- Try to figure out where php/mysql files located and remove them manually. Hope that some files that you can not figure out to remove will be over written by doing step 3, 4 below.

3) Download and install MySQL 5
Grab all the official MySQL RPMs for RHEL 3 from the MySQL site including all of the following and install them:
* MySQL-client-standard
* MySQL-server-standard
* MySQL-devel-standard
* MySQL-shared-standard

Here is my presents for you :)
# cd
# wget http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.0/MySQL-server-community-5.0.51a-0.rhel3.i386.rpm
# wget http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.0/MySQL-client-community-5.0.51a-0.rhel3.i386.rpm
# wget http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.0/MySQL-shared-compat-5.0.51a-0.rhel3.i386.rpm
# wget http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.0/MySQL-devel-community-5.0.51a-0.rhel3.i386.rpm
# rpm -Uhv MySQL*


4) Download and install PHP 5
Please refer to this link. It will save you from a lot of works
http://www.tuxyturvy.com/blog/index.php?/archives/16-PHP5-on-RHEL3.html

You download php stuffs from the link provided (http://www.tuxyturvy.com/files/php5/) then install them the same way to MySQL at step 3.

Hint for you:

# cd
# wget http://www.tuxyturvy.com/files/php5/php-5.0.4-4.rhel3.i386.rpm
# wget ........(other PHP related packages)
# rpm -Uhv php*


Good luck!!

If you don't mind giving your root privileges to access to your server, I can help you. I'm in Japan. It's 18:45 here when I am editing this post. I can help at night. At that case please email me your account to your server as well as root password. My email: avtx30@gmail.com

Login

Who's Online

382 user(s) are online (246 user(s) are browsing Support Forums)


Members: 0


Guests: 382


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits