[Spacewalk-list] Spacewalk dont run scheduled works

Tevfik Ceydeliler tevfik.ceydeliler at astron.yasar.com.tr
Thu Nov 19 12:22:05 UTC 2015


root at spaceclient:/usr/share/rhn# apt-get update
Apt-Spacewalk: Updating sources.list
WARNING:root:could not open file '/etc/apt/sources.list'

Ign spacewalk://10.1.1.154 channels: InRelease
Ign spacewalk://10.1.1.154 channels: Release.gpg
Ign spacewalk://10.1.1.154 channels: Release
Ign spacewalk://10.1.1.154 channels:/main amd64 Packages/DiffIndex
Ign spacewalk://10.1.1.154 channels:/trusty-security amd64 
Packages/DiffIndex
Ign spacewalk://10.1.1.154 channels:/trusty-updates amd64 Packages/DiffIndex
Ign spacewalk://10.1.1.154 channels:/main i386 Packages/DiffIndex
Ign spacewalk://10.1.1.154 channels:/trusty-security i386 Packages/DiffIndex
Ign spacewalk://10.1.1.154 channels:/trusty-updates i386 Packages/DiffIndex
Get:1 spacewalk://10.1.1.154 channels:/main amd64 Packages [2.022 kB]
Get:2 spacewalk://10.1.1.154 channels:/trusty-security amd64 Packages 
[325 kB]
Get:3 spacewalk://10.1.1.154 channels:/trusty-updates amd64 Packages 
[908 kB]
Get:4 spacewalk://10.1.1.154 channels:/main i386 Packages [2.022 kB]
Get:5 spacewalk://10.1.1.154 channels:/trusty-security i386 Packages 
[325 kB]
Get:6 spacewalk://10.1.1.154 channels:/trusty-updates i386 Packages [908 kB]
Ign spacewalk://10.1.1.154 channels:/main Translation-en_US
Ign spacewalk://10.1.1.154 channels:/main Translation-en
Ign spacewalk://10.1.1.154 channels:/trusty-security Translation-en_US
Ign spacewalk://10.1.1.154 channels:/trusty-security Translation-en
Ign spacewalk://10.1.1.154 channels:/trusty-updates Translation-en_US
Ign spacewalk://10.1.1.154 channels:/trusty-updates Translation-en
Fetched 6.509 kB in 2s (2.936 kB/s)
Reading package lists... Done

BUT:

root at spaceclient:/usr/share/rhn# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
  dh-python : Depends: python3:any (>= 3.3.2-2~) but it is not installable
  lsb-release : Depends: python3:any (>= 3.3.2-2~) but it is not installable
  python-apt : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not 
installable
  python-dbus : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not 
installable
  python-gi : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not 
installable
  python-gobject-2 : Depends: python:any (>= 2.7.1-0ubuntu2) but it is 
not installable
  python-libxml2 : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not 
installable
  python-newt : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not 
installable
  python-openssl : Depends: python:any (>= 2.7.1-0ubuntu2) but it is not 
installable
E: Unmet dependencies. Try using -f.

So there is problem about upgrade part. If I use  -f swtich , then I got 
   "spacewalk method not found" messages

On 11/19/2015 01:40 PM, Kobus Bensch wrote:
> In the scheduled task, you should see why it failed. Have you tried 
> running an update from the client? Is that successful?
>
> On 19/11/2015 11:08, Tevfik Ceydeliler wrote:
>> tasko is working
>> ##################################
>> ps -ef |grep tasko:
>> root       628     1  0 Nov18 ?        00:00:17 /usr/bin/taskomaticd 
>> /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf 
>> wrapper.pidfile=/var/run//taskomatic.pid wrapper.daemonize=TRUE
>> root      2239   628  3 Nov18 ?        00:48:22 java 
>> -Dibm.dst.compatibility=true -Dfile.encoding=UTF-8 -Xms256m -Xmx1024m 
>> -Djava.library.path=/usr/lib:/usr/lib64:/usr/lib/oracle/11.2/client64/lib:/usr/lib/oracle/11.2/client/lib 
>> -classpath 
>> /usr/share/java/tanukiwrapper.jar:/usr/share/rhn/classes:/usr/share/java/struts.jar:/usr/share/java/commons-io.jar:/usr/share/java/jpam.jar:/usr/share/java/javamail.jar:/usr/share/java/axis/axis-ant.jar:/usr/share/java/quartz.jar:/usr/share/java/commons-codec.jar:/usr/share/java/commons-beanutils.jar:/usr/share/java/ojdbc14.jar:/usr/share/java/jta.jar:/usr/share/java/concurrent.jar:/usr/share/rhn/lib/spacewalk-asm.jar:/usr/share/java/axis/jaxrpc.jar:/usr/share/java/commons-collections.jar:/usr/share/java/taglibs-standard.jar:/usr/share/java/axis/axis.jar:/usr/share/java/xalan-j2.jar:/usr/share/java/commons-validator.jar:/usr/share/java/asm/asm-attrs.jar:/usr/share/java/jaf.jar:/usr/share/java/jdom.jar:/usr/share/java/oro.jar:/usr/share/rhn/lib/rhn.jar:/usr/share/java/redstone-xmlrpc.jar:/usr/share/java/oscache.jar:/usr/share/java/log4j.jar:/usr/share/java/wsdl4j.jar:/usr/share/java/jcommon.jar:/usr/share/java/commons-el.jar:/usr/share/java/taglibs-core.jar:/usr/share/jav! 
>> a/commons - 
>> lang.jar:/usr/share/java/commons-digester.jar:/usr/share/java/jasper5-runtime.jar:/usr/share/java/jspapi.jar:/usr/share/java/c3p0.jar:/usr/share/java/sitemesh.jar:/usr/share/java/jasper5-compiler.jar:/usr/share/java/axis/saaj.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-discovery.jar:/usr/share/java/xml-commons-apis.jar:/usr/share/java/axis/jaxrpc.jar:/usr/share/java/commons-cli.jar:/usr/share/java/bcel.jar:/usr/share/java/antlr.jar:/usr/share/java/xerces-j2.jar:/usr/share/java/hibernate3.jar:/usr/share/java/cglib.jar:/usr/share/java/dom4j.jar:/usr/share/rhn/lib/java-branding.jar:/usr/share/java/slf4j/api.jar:/usr/share/java/slf4j/jcl.jar:/usr/share/java/simple-core.jar:/usr/share/java/commons-dbcp.jar:/usr/share/java/commons-pool.jar:/usr/share/java/quartz-oracle.jar:/usr/share/java/postgresql-jdbc.jar:/usr/share/java/mchange-commons.jar 
>> -Dwrapper.key=5_Y93h344l7FNAyZ -Dwrapper.port=32000 
>> -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 
>> -Dwrapper.pid=628 -Dwrapper.version=3.2.3 
>> -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE 
>> -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=2 
>> com.redhat.rhn.taskomatic.core.TaskomaticDaemon
>> ###########################3
>> When I try to schedule upgrade packages , after time pass I get error:
>> *Details:*
>> This action will be executed after 11/19/15 10:23:00 AM EET
>> This action's status is: Failed.
>> The client picked up this action on 11/19/15 1:01 PM
>> The client completed this action on 11/19/15 1:01 PM
>> Client execution returned "update failed" (code 1)
>>
>> Dont know  what's the problem
>>
>> On 11/16/2015 12:08 PM, Kobus Bensch wrote:
>>> mahe sure taskomaticd is started
>>>
>>> On 16/11/2015 06:37, Tevfik Ceydeliler wrote:
>>>> Hi,
>>>> I am newbie about spacewalk
>>>> Altough I register my Ubuntu 14.04 without any problem, I cant run 
>>>> scheduled jobs on ubuntu. Such s install or update some packages.
>>>> I look at log files under /var/log/rhn but seems no problem.
>>>> Where I can start to troubleshoot?
>>>> Regards,
>>>>
>>>>
>>>> Bu elektronik postada bulunan tum fikir ve gorusler ve ekindeki 
>>>> dosyalar sadece adres sahip/sahiplerine ait olup, Yasar Toplulugu 
>>>> Sirketleri bu mesajin icerigi ile ilgili olarak hic bir hukuksal 
>>>> sorumlulugu kabul etmez. Eger gonderilmesi dusunulen kisi veya 
>>>> kurulus degilseniz, lutfen gonderen kisiyi derhal haberdar ediniz 
>>>> ve mesaji sisteminizden siliniz.The information contained in this 
>>>> e-mail and any files transmitted with it are intended solely for 
>>>> the use of the individual or entity to whom they are addressed and 
>>>> Yasar Group Companies do not accept legal responsibility for the 
>>>> contents. If you are not the intended recipient, please immediately 
>>>> notify the sender and delete it from your system.
>>>>
>>>>
>>>> _______________________________________________
>>>> Spacewalk-list mailing list
>>>> Spacewalk-list at redhat.com
>>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>> -- 
>>
>>
>>
>> Bu elektronik postada bulunan tum fikir ve gorusler ve ekindeki 
>> dosyalar sadece adres sahip/sahiplerine ait olup, Yasar Toplulugu 
>> Sirketleri bu mesajin icerigi ile ilgili olarak hic bir hukuksal 
>> sorumlulugu kabul etmez. Eger gonderilmesi dusunulen kisi veya 
>> kurulus degilseniz, lutfen gonderen kisiyi derhal haberdar ediniz ve 
>> mesaji sisteminizden siliniz.The information contained in this e-mail 
>> and any files transmitted with it are intended solely for the use of 
>> the individual or entity to whom they are addressed and Yasar Group 
>> Companies do not accept legal responsibility for the contents. If you 
>> are not the intended recipient, please immediately notify the sender 
>> and delete it from your system.
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>

-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20151119/980f5a89/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.png
Type: image/png
Size: 15216 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20151119/980f5a89/attachment.png>


More information about the Spacewalk-list mailing list