Problems Installing interworx

I installed CentOS 4.3 32bit with the minimumal stuff.
I downloaded the install script. I went to run it and here is some of the messages that I got. See attached screenshot. Ignore the atkbd.c stuff. That is comming from the emulater that I am using and has no part of it.

Could someone help me out and point me in the right direction as to what might be wrong? The second image shows the beginning of the install script.

Thank You,
Charles

It can’t find a valid URL to download the RPMs from. Make sure you are connected to the internet and that your DNS settings are correct. The “mysqld: unrecognised service” error is the InterWorx script trying to start the MySQL service daemon, but since the RPM wasn’t able to be downloaded and subsequently installed, it won’t exist, and will throw that error message.

Hope this helps :slight_smile:

Hi,

Sorry you are having problems.

Please provide the output of the following:

rpm -qa | grep iworx (this lists all of the rpm’s provided by us which you were able to install. In particular I’m looking for the yumconf rpm, this has your repository listings listings)

rpm -qa | grep httpd (I want to know if it is possible there is another version of apache installed, if so it should be removed yum erase httpd)

also check /etc/passwd and /etc/groups to see of user httpd already exists. It’s possible that you removed an old version of apache but for some reason the user and/or group was not removed like it should have been.

If these don’t fix your problem you can put in a support ticket and one of us will take a look.

NOTE: All of the InterWorx RPM’s are available at http://updates.interworx.com/iworx

[QUOTE=IWorx-Tim;9994]Hi,

Sorry you are having problems.

Please provide the output of the following:

rpm -qa | grep iworx (this lists all of the rpm’s provided by us which you were able to install. In particular I’m looking for the yumconf rpm, this has your repository listings listings)

rpm -qa | grep httpd (I want to know if it is possible there is another version of apache installed, if so it should be removed yum erase httpd)

also check /etc/passwd and /etc/groups to see of user httpd already exists. It’s possible that you removed an old version of apache but for some reason the user and/or group was not removed like it should have been.

If these don’t fix your problem you can put in a support ticket and one of us will take a look.

NOTE: All of the InterWorx RPM’s are available at http://updates.interworx.com/iworx[/QUOTE]

Here is a screenshot of the 2 greps that I did.
There was no httpd in passwd and groups.

Try running the installer again. We had a temporary network problem with updates.interworx.com late last night, and it has since been fixed.

Socheat

[QUOTE=IWorx-Socheat;9996]Try running the installer again. We had a temporary network problem with updates.interworx.com late last night, and it has since been fixed.

Socheat[/QUOTE]

I tried running the installer again but it still shows:
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update

I am connected to the internet as I was able to download the installer using wget.

In that case, try wget-ing this: http://updates.interworx.com/iworx/RPMS/cos4x/i386/httpd-2.0.59-100.rhe4x.iworx.i386.rpm

If that works, then the problem is elsewhere… If it doesn’t, I would suggest checking your connection, dns, proxy settings etc - this is the most likely cause of your errors.

[QUOTE=Fr3d;9999]In that case, try wget-ing this: http://updates.interworx.com/iworx/RPMS/cos4x/i386/httpd-2.0.59-100.rhe4x.iworx.i386.rpm

If that works, then the problem is elsewhere… If it doesn’t, I would suggest checking your connection, dns, proxy settings etc - this is the most likely cause of your errors.[/QUOTE]

I was able to download that file just fine. Here is the screenshot.

Hi Charles

Which distro do you have ?

Could please paste here the contents of /etc/yum.conf file

Also what provides the command yum list htpd*

I bet you have a pbm with yum.

Pascal

[QUOTE=pascal;10003]Hi Charles

Which distro do you have ?

Could please paste here the contents of /etc/yum.conf file

Also what provides the command yum list htpd*

I bet you have a pbm with yum.

Pascal[/QUOTE]
I am using CentOS 4.3 32Bit

Here is the contents of /etc/yum.conf

±---------------------------------------------------------------------+

| NEXCESS.NET InterWorx |

±---------------------------------------------------------------------+

| This is the official yum.conf for InterWorx enabled servers. |

| Distro: RedHat Enterprise |

±---------------------------------------------------------------------+

| Authors: Chris Wells <clwells@nexcess.net> |

| Paul Oehler <poehler@nexcess.net> |

| John Lim <jelim@nexcess.net> |

| Socheat Sou <socheat@nexcess.net> |

±---------------------------------------------------------------------+

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=0
retries=1
exclude=

[interworx-cp-noarch]
name=InterWorx-CP - Generic
baseurl=http://updates.interworx.info/iworx/RPMS/noarch
#gpgcheck=1

[interworx-cp-rhe4x]
name=InterWorx-CP - RedHat Enterprise $releasever
baseurl=http://updates.interworx.info/iworx/RPMS/rhe4x/$basearch
#gpgcheck=1

#[dag]
#name=DAG - RedHat Enterprise $releasever
#baseurl=http://updates.interworx.info/dag/redhat/el4/en/$basearch/dag
#gpgcheck=1

[QUOTE=Charles;10006]I am using CentOS 4.3 32Bit

Here is the contents of /etc/yum.conf

±---------------------------------------------------------------------+

| NEXCESS.NET InterWorx |

±---------------------------------------------------------------------+

| This is the official yum.conf for InterWorx enabled servers. |

| Distro: RedHat Enterprise |

±---------------------------------------------------------------------+

| Authors: Chris Wells <clwells@nexcess.net> |

| Paul Oehler <poehler@nexcess.net> |

| John Lim <jelim@nexcess.net> |

| Socheat Sou <socheat@nexcess.net> |

±---------------------------------------------------------------------+

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=0
retries=1
exclude=

[interworx-cp-noarch]
name=InterWorx-CP - Generic
baseurl=http://updates.interworx.info/iworx/RPMS/noarch
#gpgcheck=1

[interworx-cp-rhe4x]
name=InterWorx-CP - RedHat Enterprise $releasever
baseurl=http://updates.interworx.info/iworx/RPMS/rhe4x/$basearch
#gpgcheck=1

#[dag]
#name=DAG - RedHat Enterprise $releasever
#baseurl=http://updates.interworx.info/dag/redhat/el4/en/$basearch/dag
#gpgcheck=1[/QUOTE]

I just relized that maybe I should change the retries to something higher incase for some reason it is timing out. Will try that and see how it works.

[QUOTE=Charles;10006]I am using CentOS 4.3 32Bit

Here is the contents of /etc/yum.conf

±---------------------------------------------------------------------+

| NEXCESS.NET InterWorx |

±---------------------------------------------------------------------+

| This is the official yum.conf for InterWorx enabled servers. |

| Distro: RedHat Enterprise |

±---------------------------------------------------------------------+

| Authors: Chris Wells <clwells@nexcess.net> |

| Paul Oehler <poehler@nexcess.net> |

| John Lim <jelim@nexcess.net> |

| Socheat Sou <socheat@nexcess.net> |

±---------------------------------------------------------------------+

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=0
retries=1
exclude=

[interworx-cp-noarch]
name=InterWorx-CP - Generic
baseurl=http://updates.interworx.info/iworx/RPMS/noarch
#gpgcheck=1

[interworx-cp-rhe4x]
name=InterWorx-CP - RedHat Enterprise $releasever
baseurl=http://updates.interworx.info/iworx/RPMS/rhe4x/$basearch
#gpgcheck=1

#[dag]
#name=DAG - RedHat Enterprise $releasever
#baseurl=http://updates.interworx.info/dag/redhat/el4/en/$basearch/dag
#gpgcheck=1[/QUOTE]

What is your yum version ?

Please do

[B]rpm -qa | grep yum[/B]

If you a version of yum => 2.4.3 then you should have a directory called /etc/yum.repos.d/

I bet you don’t. and in this case it means it misses all base/add-ons/extra centos repo

so do

[B]- mkdir /etc/yum.repos.d
- cd /etc/yum.repos.d
- Create a new file called CentOS-Base.repo = vi CentOS-Base.repo

- copy/paste these lines [/B]:
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

[B]
-quit and save ( :wq )

- create a new file called CentOS-Media.repo : vi CentOS-Media.repo
- copy and paste these lines 
[/B]
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
#  CentOS-4.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c4-media [command]
#
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c4-media [command]

[c4-media]
name=CentOS-$releasever - Media
baseurl=file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///usr/share/doc/centos-release-4/RPM-GPG-KEY-centos4

If you have a version = 2.0.x then you should not have the /etc/yum.repos.d/
In this last case you should use this yum conf :

do


[B]- vi /etc/yum.conf
[/B]

Copy / paste these lines at the end of the yum.conf
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

Then I think you should update your yum program.
Do
yum update yum

For the last case (yum = 4.0.x) I’m not really sure.

The best bet should probably to open a support ticket at Interworx :wink:

Good lick

Pascal

[QUOTE=pascal;10010]What is your yum version ?

Please do

[B]rpm -qa | grep yum[/B]

If you a version of yum => 2.4.3 then you should have a directory called /etc/yum.repos.d/

I bet you don’t. and in this case it means it misses all base/add-ons/extra centos repo

so do

[B]- mkdir /etc/yum.repos.d
- cd /etc/yum.repos.d
- Create a new file called CentOS-Base.repo = vi CentOS-Base.repo

- copy/paste these lines [/B]:
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

[B]
-quit and save ( :wq )

- create a new file called CentOS-Media.repo : vi CentOS-Media.repo
- copy and paste these lines 
[/B]
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
#  CentOS-4.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c4-media [command]
#
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c4-media [command]

[c4-media]
name=CentOS-$releasever - Media
baseurl=file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///usr/share/doc/centos-release-4/RPM-GPG-KEY-centos4

If you have a version = 2.0.x then you should not have the /etc/yum.repos.d/
In this last case you should use this yum conf :

do


[B]- vi /etc/yum.conf
[/B]

Copy / paste these lines at the end of the yum.conf
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

Then I think you should update your yum program.
Do
yum update yum

For the last case (yum = 4.0.x) I’m not really sure.

The best bet should probably to open a support ticket at Interworx :wink:

Good lick

Pascal[/QUOTE]

It shows that I have yum-2.4.3-1.c4

I do have a /etc/yum.repos.d/
I also have the file CentOS-Base.repo in that folder.
Now I don’t have the CentOS-Media.repo file. I just added the file and am reruning the install script.

Still having the same problem. I even have the retries set to 5.

I would suggest logging a ticket with Interworx as it appears to a more non-standard problem. :slight_smile:

A last thing do you acced your box trough SSH ? if yesm directly as root user ?

Do you acced to root user by suing it ?

do you su ?

if yes do su -

But tge best bet is surely to open an interworx ticket support :wink:

Pascal

[QUOTE=pascal;10018]A last thing do you acced your box trough SSH ? if yesm directly as root user ?

Do you acced to root user by suing it ?

do you su ?

if yes do su -

But tge best bet is surely to open an interworx ticket support :wink:

Pascal[/QUOTE]

The server is here with me so when the server boots up I login directly using root.

[root@iworx ~]# rpm -qa | grep yum
yum-conf-1.0-101.rhe4x.iworx
yum-headers-1.0-100.rhe4x.iworx
yum-2.4.3-1.c4

If you don’t get this then you are running the incorrect yum version.

If you’re still having problems after all this please open a support ticket and we will take a look. We like to encourage yoi to do the troubleshooting yourself first so you can learn from the experience but if you’re still having issues after two days, we’ll gladly try to help you out.

[QUOTE=IWorx-Tim;10024]If you don’t get this then you are running the incorrect yum version.

If you’re still having problems after all this please open a support ticket and we will take a look. We like to encourage yoi to do the troubleshooting yourself first so you can learn from the experience but if you’re still having issues after two days, we’ll gladly try to help you out.[/QUOTE]

Here is a screenshot of what I got.
Looks like I am missing the headers one.

I will try something else to see if I can narrow down the problem.

if you don^t have the yum header it’s why you are in trouble with yum

just do under root
rpm -ivh http://updates.interworx.com/iworx/RPMS/cos4x/i386/yum-headers-1.0-100.rhe4x.iworx.i386.rpm

Then relaunch the install script (be sure you don’t have some user in group with id 100,101,102, etc see install instruction)

Hope this help

Pascal