Page 9 of 10

Re: Solving problems with Installing Software

PostPosted: 19 Mar 2010, 12:42
by ppietro
otakusupreme wrote:1 more thing that i just remembered but not a huge deal if you dont have the time but im taking like a full 3mins to boot because of something called sendmail if you could tell me how to disable or rvrn just how to stop it from taking so long i wouold appreciate it thanks.


I'm not at my Linux box right now, but you should be able to use chkconfig for that.

Something like "chkconfig sendmail off", but that's probably not the right syntax.

Cheers,
Paul

Re: Solving problems with Installing Software

PostPosted: 19 Mar 2010, 23:24
by aguilarojo
ppietro wrote:
otakusupreme wrote:1 more thing that i just remembered but not a huge deal if you dont have the time but im taking like a full 3mins to boot because of something called sendmail if you could tell me how to disable or rvrn just how to stop it from taking so long i wouold appreciate it thanks.


I'm not at my Linux box right now, but you should be able to use chkconfig for that.

Something like "chkconfig sendmail off", but that's probably not the right syntax.

Cheers,
Paul


A few clarifications. chkconfig lives in /sbin and of course is most quickly accessed by using su -. Without turning this into a treatise on the topic I'll demonstrate a few uses applying problems discussed earlier in this thread:

Code: Select all
[aguila@arakus ~]$ su -
Password:
[root@arakus ~]# ksh
# chkconfig --list|grep yum*
yum-updatesd    0:off   1:off   2:off   3:on    4:on    5:on    6:off
# chkconfig --list|grep sendmail
sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off
#



Of course what chkconfig is looking at are what daemons are running at which level.
Of course, before making any changes regarding what levels the daemons are to run be sure to check references regarding what each runlevel actually is supposed to be and do. After you've acquired that understanding then changing a runlevel to on/off is the same. You do the following:

Code: Select all
# chkconfig --level 2 yum-updatesd on


Good Luck...

Re: Solving problems with Installing Software

PostPosted: 20 Mar 2010, 01:10
by ppietro
aguilarojo wrote:Of course what chkconfig is looking at are what daemons are running at which level.
Of course, before making any changes regarding what levels the daemons are to run be sure to check references regarding what each runlevel actually is supposed to be and do. After you've acquired that understanding then changing a runlevel to on/off is the same. You do the following:

Code: Select all
# chkconfig --level 2 yum-updatesd on



Actually - with the latest versions of chkconfig it isn't necessary to do that if the startup script is written correctly. That information is now contained in the startup script itself.

e.g. for /etc/rc.d/init.d/sendmail

Code: Select all
[root@localhost ~]# cat /etc/rc.d/init.d/sendmail
#!/bin/bash
#
# sendmail      This shell script takes care of starting and stopping
#               sendmail.
#
# chkconfig: 2345 80 30
# description: Sendmail is a Mail Transport Agent, which is the program \
#              that moves mail from one machine to another.
# processname: sendmail
# config: /etc/mail/sendmail.cf
# pidfile: /var/run/sendmail.pid


See that commented out chkconfig line? That tells the chkconfig utility what the default parameters are. So - rather than checking the run config at each level:

Code: Select all
[root@localhost ~]# chkconfig --list sendmail
sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@localhost ~]#


and turning it off level by level as you suggested, for most people, you can do this:

Code: Select all
[root@localhost ~]# chkconfig sendmail off
[root@localhost ~]# chkconfig --list sendmail
sendmail        0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@localhost ~]#


and if you want to restore the default settings:

Code: Select all
[root@localhost ~]# chkconfig sendmail on
[root@localhost ~]# chkconfig --list sendmail
sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@localhost ~]#


Neat, huh? Much easier for beginners. :D

It also sets the correct name for the startup and kill scripts in the various runlevel directories. Again, using the sendmail example above, we see that the start script should be prefixed with an 80, and the kill script prefixed with a 30. On my unix box:

Code: Select all
[root@localhost rc.d]# cd rc0.d
[root@localhost rc0.d]# ls |grep sendmail
K30sendmail
[root@localhost rc0.d]# cd ../rc3.d
[root@localhost rc3.d]# ls |grep sendmail
S80sendmail
[root@localhost rc3.d]#


Coming from a Solaris background, where you had to do all of this on the file system itself, I do love this utility. :D

Anyway - otakusupreme - you want to do this from a terminal window:

su -l
<enter root password>
chkconfig sendmail off


The output should look something like this:

Code: Select all
[paulp@localhost ~]$ su -l
Password:
[root@localhost ~]# chkconfig sendmail off
[root@localhost ~]# chkconfig --list sendmail
sendmail        0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@localhost ~]#


Cheers,
Paul

Re: Solving problems with Installing Software

PostPosted: 20 Mar 2010, 03:40
by otakusupreme
thank you so much for your quick replies... but actually when i ran the yum update... the boot up is now much faster... you should have a sticky somewhere saying that this is the first thing that people need to do... it would have helped me rather than me being a noob and just reinstalling linux. thank you though so much for your help.

Re: Solving problems with Installing Software

PostPosted: 20 Mar 2010, 21:17
by Fabur
Hey everyone,

I am new to YDL and wanted to add some more programs to it.
I followed the tutorial for v. 6.2 viewtopic.php?f=19&t=3017 (but only installed the ps3bodega repo), but I am having some problems installing the yum-protectbase.
This is what I get:
Code: Select all
[root@localhost ~]# yum install yum-protectbase
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
PS3Bodega                 100% |=========================| 1.9 kB    00:00     
updates                   100% |=========================|  951 B    00:00     
http://ftp.aarnet.edu.au/pub/yellowdog/yum/6.2/base/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6.2/base/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
base                      100% |=========================| 1.1 kB    00:00     
http://ftp.aarnet.edu.au/pub/yellowdog/yum/6.2/extras/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6.2/extras/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
extras                    100% |=========================|  951 B    00:00     
Nothing to do


It looks like it can't find the files for the repos that were pre-installed.
Does anyone know why it can't find the files for the official repos in the newest release?

When I try it again I get this:
Code: Select all
[root@localhost ~]# yum install yum-protectbase
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Nothing to do


But it doesn't create a /etc/yum/pluginconf.d/protectbase.conf file (as mentioned here http://wiki.centos.org/PackageManagement/Yum/ProtectBase).

Anyone got an idea?
Oh and I already did an update and my system has all the newest versions.

Thanks,
Marcus

Re: Solving problems with Installing Software

PostPosted: 20 Mar 2010, 21:20
by Noons
Hi
You don't need protectbase when using the ps3bodega repo for ydl 6.2... let me check that out

Cheers

Re: Solving problems with Installing Software

PostPosted: 20 Mar 2010, 21:24
by Fabur
Noons wrote:Hi
You don't need protectbase when using the ps3bodega repo for ydl 6.2

Cheers


Ah OK, thank you for your fast reply!

But I still should be able to install protectbase under ydl 6.2 right?

Re: Solving problems with Installing Software

PostPosted: 20 Mar 2010, 21:28
by Noons
Fabur wrote:
Noons wrote:Hi
You don't need protectbase when using the ps3bodega repo for ydl 6.2

Cheers


Ah OK, thank you for your fast reply!

But I still should be able to install protectbase under ydl 6.2 right?


Yeah but I'm not sure which repo it's located in..

Re: Solving problems with Installing Software

PostPosted: 20 Mar 2010, 22:27
by billb
yum-protectbase isn't in the ps3bodega repo for YDL 6.2 or the default YDL repos. It was in previous versions of the ps3bodega repo (6.0 & 6.1) since they were meant to work with fedora-extras, but the 6.2 version is meant to be a stand-alone add on for YDL 6.2. By design it replaces some of YDL's packages (such as Qt4) so protectbase isn't needed.

protectbase is recommended in this guide since the 3rd party repos mentioned were not designed to work with YDL and you DO want to avoid having certain packages replaced.

Re: Solving problems with Installing Software

PostPosted: 21 Mar 2010, 00:10
by Fabur
So it is in one of the other additional repos?
I am thinking of installing them too as I am missing some stuff to fully use fluxbox (following the guide on this board).
In that case I should set enable=0 for the yellowdog-extras and ps3bodega repos or yellowdog-extras alone?

Re: Solving problems with Installing Software

PostPosted: 21 Mar 2010, 00:50
by Noons
Fabur wrote:So it is in one of the other additional repos?
I am thinking of installing them too as I am missing some stuff to fully use fluxbox (following the guide on this board).
In that case I should set enable=0 for the yellowdog-extras and ps3bodega repos or yellowdog-extras alone?


I would leave your repos how they are (IMHO); you don't need protectbase. as for fluxbox, you might want to try posting your error message in that thread, most likely the software that is needed can be installed through alternate methods.

Cheers

Re: Solving problems with Installing Software

PostPosted: 21 Mar 2010, 19:04
by Fabur
Thanks for your help.
I didn't really get any error message, it's just the standard wallpaper setter that is not so good (don't know what nautilus is using), as it can't maximize the pictures.
Some of the programs used in the fluxbox tutorial are not in the standard or ps3bodega repos and he doesn't say which one he uses.

But I did some research on how to install software the "hard" way and I think that I will manually install feh, newest fluxbox and conky.

Again, thanks for your fast help!

Re: Solving problems with Installing Software

PostPosted: 27 Mar 2010, 04:19
by otakusupreme
hey everybody i think i messed up something again. i keep getting missing dependencies for vlc and other things, and now i cant even find some rpm's from the add remove software program, specifically a bittorrent client. heres my code
Code: Select all
[benjy1313@dhcppc3 ~]$ su -
Password:
[root@dhcppc3 ~]# more /etc/yum.repos.d/*
::::::::::::::
/etc/yum.repos.d/ps3bodega.repo
::::::::::::::
[PS3Bodega]
name=PS3Bodega repo for Yellow Dog 6.2
baseurl=http://pleasantfiction.ipower.com/ps3linux/ps3bodega62/ppc/
gpgcheck=0
enabled=1
::::::::::::::
/etc/yum.repos.d/ps3bodega-testing.repo
::::::::::::::
[PS3Bodega-testing]
name=PS3Bodega repo for Yellow Dog 6.2
baseurl=http://pleasantfiction.ipower.com/ps3linux/ps3bodega62/testing/ppc/
gpgcheck=0
enabled=0
::::::::::::::
/etc/yum.repos.d/yellowdog-base.repo
::::::::::::::
#generated by system-config-ydlnet
[base]
name=Yellow Dog Linux 6.2 Base
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-base-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-extras.repo
::::::::::::::
#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.2 Extras
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-mlist
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-extras.repo~
::::::::::::::
#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.2 Extras
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-updates.repo
::::::::::::::
#generated by system-config-ydlnet
[updates]
name=Yellow Dog Linux 6.2 Updates
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-updates-mlist
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY

thanks for the help in advance.

UPDATE: just so everyone knows i did i freah inatall of ydl 6.2 and im still missing dependencies. all i have now is the ps3bodega repo and the yellow dog standards. i dont know what happened because everything was worling fine b4 i had to re install yesterday to get rid of zerogame. this is my 2nd reinstall in the last 24 hours... someone please help. these missing dependencies arent only affecting my vlc and bittorent i cant download emulators either.

Re: Solving problems with Installing Software

PostPosted: 27 Mar 2010, 13:09
by billb
::::::::::::::
/etc/yum.repos.d/yellowdog-extras.repo
::::::::::::::
#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.2 Extras
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-mlist
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


Why do you have yellowdog-extras.repo disabled? That would be why the dependencies are "missing" ...

Re: Solving problems with Installing Software

PostPosted: 27 Mar 2010, 13:39
by otakusupreme
EDIT: Note -- the same third party repos still appear to work OK with YDL 6.1. The additional repos may cause problems with YDL 6.2. If you want to use these third party repos with 6.2, at this point I'm recommending that you disable the yellowdog-extras repo (change enabled=1 to enabled=0)

that would be why its disabled