SuSE install newbie questions

Moderator: crythias

Locked
kaos
Znuny newbie
Posts: 7
Joined: 10 Jul 2011, 09:01
Znuny Version: 2.4.6
Real Name: Adam Connor
Company: Buymax Pty Ltd

SuSE install newbie questions

Post by kaos »

I have had 2 attempts to install and quite a few issues that I'm sure are simple but puzzling to me. Any help would be greatly appreciated.

1. installing via YAST2 appears to install OTRS version 2.4.9 yet the current version is 3.0.9 is this correct? Do you install first then upgrade later?
2. I'm having trouble understanding the install guide. (but then again, maybe I should be following the guide for v2.4?). Guide says 'rcapache restart' but this did not work for me, I had to use 'etc/init.d/apache2 restart' what have I missed here?
3. Could not get http://localhost/otrs/installer.pl to work. I ran 'rcmysql start' which appeared to work, but when loading the installer page I got a 'securemode active' error. I then ran (but aborted) secure setup of mysql but of course there was no change.
4. Do I need to set up on the machine a particular username and or password? I wouldn't think so, but just asking.....

I don't mind having to wipe and install again, but any help you can give will prevent me from having to do this another 5 or 6 times I hope......

regards

Adam
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: SuSE install newbie questions

Post by ferrosti »

It seems you are a newbie to SuSE, too. (Which is not meant to offend you!)
I´d rather go for an OS that you can handle well, since this will prevent bad headaches.

SuSE just uses symlinks to their rc-scripts to save you a few chars of typing. So an 'rcapache2 start' is symlinked to '/etc/init.d/apache2 start'. an 'rcapache start' would start apache in version 1, in case you would have installed it. That´s all you need to know about that.

1.) The most comfortable way for me was downloading the latest .tar.gz from otrs.org and install it using the documentation file 'INSTALL.SuSE'. Uninstall all OTRS rpm packages first!
2.) see above
3.) see above, run apache2 and follow the install guide
4.) once again, see the install guide! At least an 'otrs' user is created.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
kaos
Znuny newbie
Posts: 7
Joined: 10 Jul 2011, 09:01
Znuny Version: 2.4.6
Real Name: Adam Connor
Company: Buymax Pty Ltd

Re: SuSE install newbie questions

Post by kaos »

I don't take any offence at this- I am truly a newbie at SuSE linux and grateful of the help.

As I followed the guide to the letter and your reply indicates that I've made mistakes, this kind of means that the instructions are wrong, or could at least be improved.

Would you be willing to help me fix this or would you prefer I go about trying the install on another OS. I am most familiar with Mac OS X but as there are no instructions for this OS I figured I was just buying a bag of hurt.....

cheers

Adam

PS I will try Mac OS X and see how far I get. At least I might learn some new stuff.......
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: SuSE install newbie questions

Post by Wolfgangf »

1. installing via YAST2 appears to install OTRS version 2.4.9 yet the current version is 3.0.9 is this correct? Do you install first then upgrade later?
I'm sure you want to install the last version; grab the rpm package from http://www.otrs.org, download it to your SUSE box and install
2. I'm having trouble understanding the install guide. (but then again, maybe I should be following the guide for v2.4?). Guide says 'rcapache restart' but this did not work for me, I had to use 'etc/init.d/apache2 restart' what have I missed here?
the rc... scripts are symbolic links to the /etc/init.d/... scripts are SuSE special; so simply think about the rc script name in /etc/init.d with the prefix rc
in your case rcapache2 (so you missed the digit 2 at the end)
3. Could not get http://localhost/otrs/installer.pl to work. I ran 'rcmysql start' which appeared to work, but when loading the installer page I got a 'securemode active' error. I then ran (but aborted) secure setup of mysql but of course there was no change.
it looks like you ran the install procedure more than once; securemode means: installer.pl already done, ready to rock :) )
you can edit /opt/otrs/Kernel/Config.pm, find the following: $Self->{'SecureMode'} = 1; and change it to $Self->{'SecureMode'} = 0;
afterwards you can run the installer again
4. Do I need to set up on the machine a particular username and or password? I wouldn't think so, but just asking.....
otrs user is created by rpm package, no worries
I don't mind having to wipe and install again, but any help you can give will prevent me from having to do this another 5 or 6 times I hope......
too bad, to my mind, SuSE is a good platform for OTRS; just fort the package delivered with Yast and grab the latest rpm from OTRS website

hope that helps
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
kaos
Znuny newbie
Posts: 7
Joined: 10 Jul 2011, 09:01
Znuny Version: 2.4.6
Real Name: Adam Connor
Company: Buymax Pty Ltd

Re: SuSE install newbie questions

Post by kaos »

thanks for the extra info, this really helps me learn.

I agree that SuSE seems to be a great OS- even the install blew me away with how easy it was. Maybe I'm a snob, I never thought I'd like Linux!

You are correct I had aborted a setup and tried to start again. Also I've just checked the docs at http://doc.otrs.org/3.0/en/html/install ... on-on-suse and it does say to

Execute 'rcapache restart' and 'rcmysql start' in case they don't run.

Not complaining, but if this had been correct I might have saved you kind folks from replying to my pleas for help!

Thanks again for your help

Adam
Locked