Colin Coe wrote: % Sorry, spacewalk v1.5 (x86_64 and postgresql). % % > Lately I've noticed that files starting with a '#' (in particular % > scripts) error out when being pushed to config channels % > % > For example, % > --- % > rhncfg-manager add -c conchan /usr/local/sbin/forceGroupAffinity.pl % > Using server name 10.98.106.16 % > Red Hat Network username: admin % > Password: % > Pushing to channel conchan: % > XML-RPC call error: <ProtocolError for 10.98.106.16 % > /CONFIG-MANAGEMENT-TOOL: 500 Internal Server Error> % > --- % > % > Is this a known problem?
Hi Colin, It isn't known problem moreover it works on nightly: # cat >> /usr/local/sbin/forceGroupAffinity.pl #!/usr/bin/perl print "asdfkasjdhfkasdf" ^D # rhncfg-manager add -c config1 /usr/local/sbin/forceGroupAffinity.pl Using server name test04-64 Pushing to channel config1: Local file /usr/local/sbin/forceGroupAffinity.pl -> remote file /usr/local/sbin/forceGroupAffinity.pl # rpm -q rhncfg-management rhncfg-management-5.10.19-1.el5.noarch # rm /usr/local/sbin/forceGroupAffinity.pl # rhncfg-client get /usr/local/sbin/forceGroupAffinity.pl Using server name test04-64 Deploying /usr/local/sbin/forceGroupAffinity.pl # more /usr/local/sbin/forceGroupAffinity.pl #!/usr/bin/perl print "asdfkasjdhfkasdf" What are actual error messages in /var/log/httpd/*error_log? Regards, -- Michael Mráka Satellite Engineering, Red Hat _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
