Help with Suse 9.1

Hi all, i’m a new on linux system and i have a problem with SUSE 9.1. I google for yast repositories to install “gcc” but i only see for release 10+. So i think 9.1 version it old version. The thing is that i can’t upgrade the SO because it’s a “sever” for some applications, and my problem is that i need to install Nagios, but when i type the ./configure command its says:

checking for a BSD-compatible install… /usr/bin/install -c
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.

So I decided to install packages with yast, but i can’t find any active repository.
I very new on this, and i don’t know if i’m doing right the things. Also i don’t have too much practice on english, so i hope you understand and can help me.

This is the info of the SO

  • uname -a:
    Linux noc 2.6.5-7.111-default #1 Wed Oct 13 15:45:13 UTC 2004 i686 i686 i386 GNU/Linux

  • cat /etc/SuSE-release
    SuSE Linux 9.1 (i586)
    VERSION = 9.1

Thanks.

There was a post recently looking for information on openSUSE-9.3 with this link to openSUSE 9.3 repository provided.

… that thread ultimately leads one to this link: Index of /pub/linux/suse/discontinued/i386 where you can find SuSE-9.1 discontinued repository :

http://ftp5.gwdg.de/pub/linux/suse/discontinued/i386/9.1/ 

I hope that helps a bit.

Sanfi wrote:
> So i think 9.1 version it old version. The thing is that i
> can’t upgrade the SO because it’s a “sever” for some applications, and
> my problem is that i need to install Nagios

yes, 9.1 is very old, last supported in June 2006
<http://en.opensuse.org/Lifetime>

some things you might want to consider:

  • if you can’t install Nagios on 9.1, then just put on a different
    machine on the network

  • Novell supports SUSE Linux Enterprise Server (SLES) until August
    2011, <http://support.novell.com/lifecycle/> and i guess it may be
    possible to slide (upgrade) from SuSE 9.1 to it or SLES 10 or even
    SLES 11…

anyway, for reasons of security you really need to consider a more
modern and secure OS (even if only employees have access)…

in addition to whatever you can learn here you might wanna also post
to the Novell side as they may have a much more secure and long
lasting solution for you, try them at forums.novell.com

bonus: the login credentials you used here work also on the Novell
forums…(and, your english is just fine!)


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
“Woe be to s/he who does not count me.” DenverD 5 Jan 11
http://goo.gl/9a072

Thanks you very much.

I’ve installed gcc with his dependencies, and ./configure was succesfull. I’m following the nagios install guide for SuSE and when i type “make all” it’s says:

~/download/nagios-3.2.3 # make all
-bash: make: command not found

I’ve installed autoconf and automake rpm for this distribution but still show me that the “command is not found”.
I’m looking on the forum, what can i do to solved this problem.

So. Thanks you both very much.

Please you have to pardon me here, because I sense English is not your first language, but you really have to apply some basic Linux sense here, and read the manual.

Not all tarballs are installed by ./configure, make, make install. What one is supposed to do is read the “readme.txt” and read the “install.txt” or “installing.txt”. I am not convinced you did not do that, because to see what you were talking about I downloaded Nagios and I read those files and they give you different instructions from what you are trying to do. So READ THE INSTRUCTIONS !

The instructions in the “installing.txt” say:

Nagios Installation Instructions

A quickstart installation guide can now be found in the HTML
documentation. You can find the quickstart guide (quickstart.html)
in the following subdirectory:

html/docs/

The quickstart covers all the basic steps you need to follow
to install Nagios, the Nagios plugins, and start out monitoring
the machine that Nagios is installed on.

and if you go to the html/doc directory from the uncompressed/unarchived tarball you will see an index.html file. Click on that and navigate with your browser.

YOU NEED to figure out the rest from here. This is all very Nagios specific, and it is NOT openSUSE operating specific. Please point exactly to where in those instructions this is not working.

So sorry, I am not going to do this for you. You need to read, and take the ball from here and run with it. I hope you succeed.

Good luck !

A silly question. Did you install the application “make” ?

… I hate to be non-helpful, but I am questioning the role you have been put in.

IMHO one should not take a complete new user to Linux, and throw them at a no longer supported Linux version as old as SuSE-9.1, and expect them to compile and build an application. The support is not there. The support has not been there for years. There are all sorts of hacks that can be applied to such a server to break it. Its not safe. Its a security risk. And a new user does not have a clue how to compile, how to build. Does not know what applications are needed … etc …

I’m thinking your should try and re-think this entire operation, because while you may succeed, it could be painful.

For example, NOTE before you even try “./configure --with-command-group=nagc” and “make all” … etc … you need to follow this:

**Required Packages **

Make sure you’ve installed the following packages on your openSUSE installation before continuing. You can use yast to install packages under openSUSE.

apache2
C/C++ development libraries

**1) Create Account Information **
Become the root user.

su -l

Create a new nagios user account and give it a password.

/usr/sbin/useradd -m nagios
passwd nagios

** Create a new nagios group. Add the nagios user to the group. **

/usr/sbin/groupadd nagios

/usr/sbin/usermod -G nagios nagios

Create a new nagcmd group for allowing external commands to be submitted through the web interface. Add both the nagios user and the apache user to the group.

/usr/sbin/groupadd nagcmd
/usr/sbin/usermod -a -G nagcmd nagios
/usr/sbin/usermod -a -G nagcmd wwwrun

… and thats just the start of special instructions.

So read the manual and following the instructions carefully.

Yes i’ve installed “make” and now its working. Sorry, but i’m very new on linux system and i don’t understand a lot of thing.
I’m following the internet page guide of nagio on a windows system, because i handle SuSE from putty console.
However, i’m going to look those files that you tell me.

Thanks.

Apologies for my being a bit grumpy. Its been a long day at the office and now that I’m at home, I am more tired as a volunteer than I should be.

Glad to read you are making progress. Be careful with this install, as it is not a standard Linux install of an application, and I can see it could give me trouble if I had to install it and if in such a hypothetical case that I was not meticulous in following its instructions, and so I suspect a new user could really struggle …

I’m a bit concerned you may had difficulty if you can only use putty … do you have an X server environment as well, ’ cause I thought Nagios also offered a graphic front end ?

You should have the C++ environment now, but apache2 is NOT installed nominally. That could give you some heartburn if it is not already setup on your server.

I have Reflection X application on my windows.
Please you have to rest now. I’m reading the guides and if i can’t continue i going to wait for tomorrow.

Well, i’m having a long day too, so i think i’m going to continue tomorrow with this.

I’m glad too, because i’ve a expert to help me on internet :smiley:
Not be concerned, because, i first read the guides and when i don’t understand i going to ask.

oldcpu wrote:
> I’m thinking your should try and re-think this entire operation,
> because while you may succeed, it could be painful.

not only painful, it could be very expensive for the server’s
owner…do you, for example have a complete backup of your system, all
data, configuration files and executables associated with the
applications referenced in your “a ‘sever’ for some applications”…

if you do have a current backup, and you are certain you can use it to
restore your server to a pre-Nagios state, ok…

if not, you probably should expect the very worst to happen any second
now…

and, do so hope that server is not accessible via the internet.


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
“Woe be to s/he who does not count me.” DenverD 5 Jan 11
http://goo.gl/9a072

On 2011-01-06 20:26, DenverD wrote:
> oldcpu wrote:

>> I’m thinking your should try and re-think this entire operation,
>> because while you may succeed, it could be painful.
>
> not only painful, it could be very expensive for the server’s
> owner…do you, for example have a complete backup of your system, all
> data, configuration files and executables associated with the
> applications referenced in your “a ‘sever’ for some applications”…

Right.

Pardon me if I’m a bit harsh, but I believe that it is the employer responsibility to choose the
correct person, meaning with the correct knowledge. Also the employee should warn his employer if
that is not the case (if he knows). All those conditions being met, if the employer insists on his
going ahead configuring a server without the correct training and the worst happens, it is not the
employee fault - but we all know that he is the weak side and he will suffer most.

Now, I wonder. Didn’t 9.1 had a nagios rpm available?

I wonder, plus. It is a network analysis and security tool, no? Pardon me, but isn’t it a bit daft
to use such an outdated distro for this task?

I’m not trying to offend any one, take this as doubts to consider to avoid damage…


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))

My employeer almost know how it’s his name…
However, this “server” it’s not very important, i’ve make bakup of webs application and i put it on other server, and it’s working fine.
They gave me this server to test nagios and i’m learing how to install, and more of othrs things. By the way this server is a **intranet ** web server, it hasn’t internet access and will not be available in may be 3 or 4 month. For this reason they give me this server to test and learn.

Thanks for yours concern. I’m going to learn about this SO because i need it for my job and i like it. I think it’s a good challenge for me.

Sanfi wrote:
> My employeer almost know how it’s his name…
> However, this “server” it’s not very important, i’ve make bakup of webs
> application and i put it on other server, and it’s working fine.
> They gave me this server to test nagios and i’m learing how to install,
> and more of othrs things. By the way this server is a *intranet * web
> server, it hasn’t internet access and will not be available in may be 3
> or 4 month. For this reason they give me this server to test and learn.
>
> Thanks for yours concern. I’m going to learn about this SO because i
> need it for my job and i like it. I think it’s a good challenge for me.
>
>
ok, now that we know we are not trying to help someone crash
themselves out of a job: see if you can’t use the repo oldcpu gave you
in the second post to install the development stuff you need…

now, remember that 9.1 was a long time ago, so some of this stuff may
not be exactly like i remember it:

  • boot to the command line (or, are you using X and a desktop
    environment?)

  • log in as yourself, then switch user (su) with


su -

don’t forget the dash…

then issue/enter


yast

and go Software on left (with keyboard up down arrows) then Tab to
switch focus to the right side and then up down arrows to select
“Software Management”

then Tab to “Filters” then use up down arrows to highlight “Patterns”
then hit enter to select it, then use up down to highlight “Base
Development” then press +, then up/down to highlight “C/C++
Development” and again press +

Tab to [OK] at the bottom of the Package Categories pane, and then Tab
to “Accept” and hit enter…

i guess if you are lucky you will have all the stuff you need to
compile and install the Nagios which was available at the time of SuSE
9.1 (that is another way of saying: that it may NOT be at all useful
in installing the Nagios of today, because it may require software
(called “Dependencies”) that was not available in 2005…see the problem?

DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

What if there were no hypothetical questions?

Well i’ve installed all things and it’s working perfect… :smiley:
Thanks you all…

On 2011-01-07 14:36, Sanfi wrote:
>
> My employeer almost know how it’s his name…
> However, this “server” it’s not very important, i’ve make bakup of webs
> application and i put it on other server, and it’s working fine.
> They gave me this server to test nagios and i’m learing how to install,
> and more of othrs things.

Ok, then :slight_smile:

> By the way this server is a *intranet * web
> server, it hasn’t internet access and will not be available in may be 3
> or 4 month. For this reason they give me this server to test and learn.

Just a note: most successful attacks are inside jobs >:-)


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))

Sanfi wrote:
> Well i’ve installed all things and it’s working perfect… :smiley:

congrats, well done…

good luck on becoming a Linux Guru for your firm…
(and remember to share the knowledge you learn with others)


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

What if there were no hypothetical questions?

Excellent ! … and well done.

Well done :slight_smile: