Error installing using yum on CentOS [message #997685] |
Tue, 08 January 2013 14:48 |
|
Hi,
I'm trying to install Hudson on CentOS 6.3 running as a Guest OS in VirtualBox on Windows 7.
I'm using the installation details from wiki.eclipse.org/Hudson-ci/Installing_Hudson_RPM
After I've executed the wget command and issue a yum check-update I get the following error;
hudson-ci.org/redhat/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Any idea why this is happening? Is the repository for Hudson no longer available?
Regards
Trevor
PS I had to remove http from the URL's due to being a first time poster
|
|
|
|
Re: Error installing using yum on CentOS [message #998089 is a reply to message #997748] |
Wed, 09 January 2013 10:56 |
|
Thanks Winston. That resolved the installation issue.
However the service now doesn't seem to run in the background and I had to stop it running as a service on startup to enable me to log into the server.
Any reason why it is doing this?
Regards,
Trevor
|
|
|
|
Re: Error installing using yum on CentOS [message #998238 is a reply to message #998231] |
Wed, 09 January 2013 16:22 |
|
Hi Winston,
Yes the file seems to have those two lines set in it, but I simply get "Starting Hudson" and then it just sits there and hangs the boot process.
I then have to set hudson to not start up automatically from single user mode before it will reboot succesfully.
Regards,
Trevor
|
|
|
Re: Error installing using yum on CentOS [message #1006549 is a reply to message #998238] |
Thu, 31 January 2013 16:29 |
|
I've returned to this problem to try and solve it. It would appear the issue is with this command in the file /etc/init.d/hudson;
daemon --user "$HUDSON_USER" --pidfile "$HUDSON_PID_FILE" $JAVA_CMD $PARAMS > /dev/null
If I change it to the following, removing > /dev/null it seems to execute fine;
daemon --user "$HUDSON_USER" --pidfile "$HUDSON_PID_FILE" $JAVA_CMD $PARAMS &
I also have to remove the /dev/null redirect from this command also, otherwise I get the same hanging problem.
echo "$cmd" | grep $HUDSON_WAR > /dev/null
Any ideas why having a redirect to /dev/null may be causing a hang during script execution?
I'm running under CentOS 6 in a VirtualBox VM.
Regards,
Trevor Cole
|
|
|
|
|
Re: Error installing using yum on CentOS [message #1007932 is a reply to message #1007670] |
Fri, 08 February 2013 09:51 |
|
Winston Prakash wrote on Wed, 06 February 2013 18:19Strange "daemon" is suppose to act similar to &. Anyway > /dev/null swallows all your log. Probably in order for your logs not to go in the console, you should do something like
daemon --user "$HUDSON_USER" --pidfile "$HUDSON_PID_FILE" $JAVA_CMD $PARAMS &> /var/tmp/hudson.log &
All the Hudson standard output and error will go to the log file /var/tmp/hudson.log which you can refer later.
Thanks Winston, that has solved the issue I was getting.
Trevor
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05232 seconds