LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Software uninstall (https://www.linuxquestions.org/questions/linux-newbie-8/software-uninstall-4175434647/)

silverspirit 10-29-2012 01:37 PM

Software uninstall
 
Hi,
I have installed some pieces of software (SLES 11), apache, php5 and a infrastructure monitoring tool in the beginning as tarball, later by using zypper.
Somehow I don't get it running I have tried so many differnt things and I am thinking about to uninstall it and install everything again using zypper.
Is there something I need to take care of or is it just uninstalling the previously installed packages ?
thanks

animeman 10-29-2012 03:15 PM

Hello,
Thanks for posting on LQ, you should be able to just zypper remove package_name and it should just work its magic.

Animeman

John VV 10-29-2012 09:44 PM

if you installed NON suse prebuilt programs you might have installed INCOMPATIBLE versions of programs

that IS A big problem with using source code builds
or
random prebuilt software

Suse Enterprise Linux Server 11(SELS 11 sp 1) is a non free Server os
so you DO have the required support contract with Novell ???? right ???


the NON novell provided software might be causing a problem

if this is a NEW install
it will be faster to just reinstall the OS

otherwise a long and lengthy process of "debugging" it and manually removing programs is needed

30 minutes VS. Maybe up to 2 weeks

from your post i am GUESSING here that by "I don't get it running " that you are referring to an Apache web server stack

that is a VERY complicated thing to get going

so
1)
what EXACTLY is it you are trying to do ?
install the apache stack and get it up and running?
or something else ?
2)
SELS is not free so you DID buy it ? right

if you are NOT going to pay for SELS-11sp1 then install he free OpenSUSE 12.2




but JUST installing
Apache
PHP
MySQL
PhpMyAdmin
AWStats
... and so on ...
will NOT "get a Apache server -- "going"

you might want to start by READING
and reading some more
then REREAD everything you read
-- installing an configuring a server is like taking a collage final exam
TREAT IT AS SUCH and STUDY
the 2.4 docs
http://httpd.apache.org/docs/2.4/
the 2.2 docs
http://httpd.apache.org/docs/2.2/
then the MySQL DB manuals
http://dev.mysql.com/doc/index.html
php my admin
http://www.phpmyadmin.net/home_page/index.php
and docs
http://www.phpmyadmin.net/home_page/docs.php

silverspirit 10-30-2012 07:52 AM

Quote:

Originally Posted by John VV (Post 4817797)
if you installed NON suse prebuilt programs you might have installed INCOMPATIBLE versions of programs

I installed the latest stable Apache Version 2.4.3 from the offical page as unix source, as tarball. Since with the configure script some dependencies were missing I installed those as well eg. apr, apr-utils, pcre and finally I could install apache.

Later I tried to install PHP5 as tarball, but since again many dependencies seemed to be missing I did it by adding openSuSE repos and using zypper.

I did install the mentioned monitoring software (nagios) as proposed in the installation guide as tarball.

Basicly apache is running and the test wle. ebpage is accesibBut I don't get the nagios pages displayed correctly. As mentioned I did various things to get this fixed, read a lot, posted questions but I wasn't successfull.

Btw, the SLES is having a support contract with Novell, the server installation was done by another subcompany I don't have access to.

So would it be a big deal to uninstall nagios, php5 and apache as you have described ? It could be done with zypper again but I am not sure how "good" this works, ie. if everything will be removed again. On the other hand I found it strange, that apache is listed in the zypper package list (zypper se package) as installed but it was installed as tarball. Nagios was installed as tarball but is not listed as installed in the zypper package list.

Thank you

John VV 10-30-2012 01:33 PM

you really can not use opensuse repos on SELS
though the two are close
they ARE NOT the same


seeing as you put opensuse ? what 11.1 rpms by hacking the repo files
on a SELS 11 SP1

you might need to have this "the server installation was done by another subcompany I don't have access to. "
reinstall it

that zypper "se" SEARCH is informing you that there IS a version that can bee installed

or
that Apache WAS ALREADY installed and you manually overwrote part of it with a manual build
( this is known as a Frankensteined install )
bits and pieces from hear and there

seeing as you do not want to do a clean new install
buy a novel contract
and have them help you straiten this out , it will be a mess and will likely take a long time


parts of the operating system are SELS and parts are some version of OpenSUSE
you will need to figure out what is what




now as to apache 2.4.3 from a tarbal
that is a bit normal to do
with the WARNING of
the prerequisites might NOT be provided by the SELS repos
build them also from source and BLACKLIST them in the sels update repo file so it dose NOT replace them


All times are GMT -5. The time now is 11:14 AM.