Closed GoogleCodeExporter closed 9 years ago
Original comment by arnos...@gmail.com
on 2 Feb 2008 at 8:10
Original comment by arnos...@gmail.com
on 2 Feb 2008 at 8:11
the server is running CentOS (version 4.4)
Original comment by Christia...@gmail.com
on 2 Feb 2008 at 8:11
Can you please try this.
replace the file in /etc/init.d/xinc with the attached one pls
Original comment by arnos...@gmail.com
on 2 Feb 2008 at 8:24
Attachments:
That fixed the issue! THANKS!
Original comment by Christia...@gmail.com
on 2 Feb 2008 at 8:28
Cool,
can you please try start / stop / restart / status command to see if all are
working?
Original comment by arnos...@gmail.com
on 2 Feb 2008 at 8:30
stop and subsequently restart do not work it returns
Stopping Xinc - Continuous Integration for PHP [FAILED]
and ps -A reveals that xinc is still running
Original comment by Christia...@gmail.com
on 2 Feb 2008 at 8:33
Negative it still fails
Original comment by Christia...@gmail.com
on 2 Feb 2008 at 8:41
negative
Stopping Xinc - Continuous Integration for PHP
rm: cannot remove `/var/run/xinc.pid': No such file or directory
and also status does not work, it says it is not running but xinc is listed in
ps -A
Status of Xinc - Continuous Integration for PHP: xinc is not running but
/var/xinc/status/xinc.pid exists.
Original comment by Christia...@gmail.com
on 2 Feb 2008 at 8:52
when started using
/etc/init.d/xinc start
can you check the /var/run directory for the xinc.pid file?
Also check this pls, after stopping:
ls -la /var/xinc/status/.shutdown
Original comment by arnos...@gmail.com
on 2 Feb 2008 at 9:03
and if the file exists:
rm /var/xinc/status/.shutdown
Original comment by arnos...@gmail.com
on 2 Feb 2008 at 9:23
for the ci.codeeight.net
you need to do an svn update in the phing build script.
The svn-modificationset does not update the working copy.
Original comment by arnos...@gmail.com
on 2 Feb 2008 at 9:26
previous Xinc.php had a bug
Original comment by arnos...@gmail.com
on 2 Feb 2008 at 9:29
Attachments:
I replaced xinc w\ comment 13 and Xinc.php with 16
Here is my session.
$ sudo /etc/init.d/xinc status
Status of Xinc - Continuous Integration for PHP: xinc is not running.
$ sudo /etc/init.d/xinc start
Starting Xinc - Continuous Integration for PHP [ OK ]
$ sudo /etc/init.d/xinc status
Status of Xinc - Continuous Integration for PHP: xinc is not running.
$ ls -la /var/run/xinc.pid
ls: /var/run/xinc.pid: No such file or directory
$ ls -la /var/xinc/status/.shutdown
ls: /var/xinc/status/.shutdown: No such file or directory
$ ls -la /var/xinc/status/
total 28
drw-r-xr-x 3 root root 4096 Feb 2 14:43 .
drw-r-xr-x 4 root root 4096 Feb 1 11:56 ..
drwxr-xr-x 3 root root 4096 Feb 2 14:13 CodeEight
-rw-r--r-- 1 root root 12020 Feb 2 14:13 CodeEight.history
-rw-r--r-- 1 root root 5 Feb 2 14:43 xinc.pid
$ sudo /etc/init.d/xinc restart
Restarting Xinc - Continuous Integration for PHP
Starting Xinc - Continuous Integration for PHP [ OK ]
$ sudo /etc/init.d/xinc status
Status of Xinc - Continuous Integration for PHP: xinc is not running.
$ sudo /etc/init.d/xinc stop
Stopping Xinc - Continuous Integration for PHP
$ sudo /etc/init.d/xinc status
Status of Xinc - Continuous Integration for PHP: xinc is not running.
$ ls -la /var/xinc/status/.shutdown
ls: /var/xinc/status/.shutdown: No such file or directory
$ ls -la /var/xinc/status/
total 28
drw-r-xr-x 3 root root 4096 Feb 2 14:48 .
drw-r-xr-x 4 root root 4096 Feb 1 11:56 ..
drwxr-xr-x 3 root root 4096 Feb 2 14:13 CodeEight
-rw-r--r-- 1 root root 12020 Feb 2 14:13 CodeEight.history
-rw-r--r-- 1 root root 5 Feb 2 14:43 xinc.pid
$ ps -a | grep xinc
25609 pts/0 00:00:00 xinc
25735 pts/0 00:00:00 xinc
26040 pts/0 00:00:00 xinc
3598 pts/0 00:00:00 xinc
13762 pts/0 00:00:00 xinc
$ sudo killall xinc
$ ps -a | grep xinc
25609 pts/0 00:00:00 xinc
25735 pts/0 00:00:00 xinc
26040 pts/0 00:00:00 xinc
3598 pts/0 00:00:00 xinc
13762 pts/0 00:00:00 xinc
Original comment by InAweof...@gmail.com
on 2 Feb 2008 at 10:54
I finally did sudo killall -9 xinc and it terminated all the old processes. I
tried
again to be sure.
$ sudo /etc/init.d/xinc status
Status of Xinc - Continuous Integration for PHP: xinc is not running.
$ sudo /etc/init.d/xinc start
Starting Xinc - Continuous Integration for PHP [ OK ]
$ ls -la /var/run/xinc.pid
ls: /var/run/xinc.pid: No such file or directory
$ ls -la /var/xinc/status/xinc.pid
-rw-r--r-- 1 root root 4 Feb 2 15:02 /var/xinc/status/xinc.pid
$ ps -a | grep xinc
$ sudo /etc/init.d/xinc status
Status of Xinc - Continuous Integration for PHP: xinc is not running.
$ sudo /etc/init.d/xinc restart
Restarting Xinc - Continuous Integration for PHP
Starting Xinc - Continuous Integration for PHP [ OK ]
$ sudo /etc/init.d/xinc status
Status of Xinc - Continuous Integration for PHP: xinc is not running.
$ ps -a | grep xinc
$ sudo /etc/init.d/xinc stop
Stopping Xinc - Continuous Integration for PHP
$ ps -a | grep xinc
$ ls -la /var/run/xinc.pid
ls: /var/run/xinc.pid: No such file or directory
$ ls -la /var/xinc/status/xinc.pid
-rw-r--r-- 1 root root 4 Feb 2 15:02 /var/xinc/status/xinc.pid
$ ls -la /var/xinc/status/.shutdown
ls: /var/xinc/status/.shutdown: No such file or directory
Original comment by InAweof...@gmail.com
on 2 Feb 2008 at 11:11
Can you first make sure all xinc instances are killed?
And then try the attached pear package:
pear install Xinc-2.0.0b84.tgz
And if no more xinc instance is running, do:
/etc/init.d/xinc start
ps aux | grep xinc
ls -l /var/run/xinc.pid
/etc/init.d/xinc stop
ps aux | grep xinc
ls -l /var/run/xinc.pid
Original comment by arnos...@gmail.com
on 2 Feb 2008 at 11:16
Attachments:
No xinc running.
$ sudo pear install Xinc-2.0.0b84.tgz
Did not download optional dependencies: channel://pear.phpunit.de/PHPUnit,
pear/Xdebug, use --alldeps to download automatically
Skipping package "xinc/Xinc", already installed as version 2.0.0b83
No valid packages found
install failed
$ sudo pear upgrade Xinc-2.0.0b84.tgz
Did not download optional dependencies: channel://pear.phpunit.de/PHPUnit,
pear/Xdebug, use --alldeps to download automatically
xinc/Xinc can optionally use package "channel://pear.phpunit.de/PHPUnit"
(version >=
2.3.0)
xinc/Xinc can optionally use package "pear/Xdebug" (version >= 2.0.0)
upgrade ok: channel://pear.xinc.eu/Xinc-2.0.0b84
xinc/Xinc has post-install scripts:
/usr/share/pear/Xinc/Postinstall.php
Xinc: Use "pear run-scripts xinc/Xinc" to finish setup.
DO NOT RUN SCRIPTS FROM UNTRUSTED SOURCES
$ sudo /etc/init.d/xinc start
Starting Xinc - Continuous Integration for PHP [ OK ]
$ ps aux | grep xinc
10005 31908 0.0 0.0 1584 480 pts/1 S+ 16:00 0:00 grep xinc
$ ls -l /var/run/xinc.pid
ls: /var/run/xinc.pid: No such file or directory
$ ls -l /var/xinc/status/xinc.pid
-rw-r--r-- 1 root root 4 Feb 2 15:02 /var/xinc/status/xinc.pid
$ sudo /etc/init.d/xinc stop
Stopping Xinc - Continuous Integration for PHP
$ ps aux | grep xinc
10005 32340 0.0 0.0 1584 480 pts/1 S+ 16:00 0:00 grep xinc
$ ls -l /var/run/xinc.pid
ls: /var/run/xinc.pid: No such file or directory
$ ls -l /var/xinc/status/xinc.pid
-rw-r--r-- 1 root root 4 Feb 2 15:02 /var/xinc/status/xinc.pid
Original comment by InAweof...@gmail.com
on 3 Feb 2008 at 12:03
did you run:
sudo pear run-scripts xinc/Xinc
??
/etc/init.d/xinc, Line 156:
#$logbegin "$start_daemon $start_daemon_options $DAEMON -- $OPTIONS $daemon_end"
change to
$logbegin "$start_daemon $start_daemon_options $DAEMON -- $OPTIONS $daemon_end"
to see what the command is that the init-d script calls and paste it in here pls
Original comment by arnos...@gmail.com
on 3 Feb 2008 at 12:07
I did run the install - I forgot to cut and paste.
$ sudo /etc/init.d/xinc start
Starting Xinc - Continuous Integration for PHPdaemon /usr/bin/xinc --
--pid-file=/var/run/xinc.pid -f /etc/xinc/system.xml -p /var/xinc/projects -s
/var/xinc/status -w /var/xinc/projects -[ OK ]og/xinc.log
/etc/xinc/conf.d/*.xml
Original comment by InAweof...@gmail.com
on 3 Feb 2008 at 12:12
if you run:
sudo /usr/bin/xinc --
--pid-file=/var/run/xinc.pid -f /etc/xinc/system.xml -p /var/xinc/projects -s
/var/xinc/status -w /var/xinc/projects -l /var/log/xinc.log -v 0
/etc/xinc/conf.d/*.xml
does it work?
Original comment by arnos...@gmail.com
on 3 Feb 2008 at 12:13
this works:
sudo /usr/bin/xinc -pid-file=/var/run/xinc.pid -f /etc/xinc/system.xml -p
/var/xinc/projects -s /var/xinc/status -w /var/xinc/projects -l
/var/log/xinc.log -v
0 /etc/xinc/conf.d/*.xml
with the four '-' it does not.
Original comment by InAweof...@gmail.com
on 3 Feb 2008 at 12:22
/etc/init.d/xinc, Line 157:
$start_daemon $start_daemon_options $DAEMON -- $OPTIONS $start_daemon_end
change to:
$start_daemon $start_daemon_options $DAEMON $OPTIONS $start_daemon_end
Original comment by arnos...@gmail.com
on 3 Feb 2008 at 12:24
Would be great if you could experiment a bit and try to find out a way to get
it working.
I need to get some sleep now ;) 2am...
Will continue tomorrow
Original comment by arnos...@gmail.com
on 3 Feb 2008 at 12:57
Starting Xinc - Continuous Integration for PHPdaemon /usr/bin/xinc
--pid-file=/var/run/xinc.pid -f /etc/xinc/system.xml -p /var/xinc/projects -s
/var/xinc/status -w /var/xinc/projects -l /var/log/xinc.log
/etc/xinc/conf.d/*.xml
It just sits there. I tried running the command:
/usr/bin/xinc --pid-file=/var/run/xinc.pid -f /etc/xinc/system.xml -p
/var/xinc/projects -s /var/xinc/status -w /var/xinc/projects -l
/var/log/xinc.log
/etc/xinc/conf.d/*.xml
but it just sits there.
Original comment by InAweof...@gmail.com
on 3 Feb 2008 at 12:58
daemon /usr/bin/xinc
--pid-file=/var/run/xinc.pid -f /etc/xinc/system.xml -p /var/xinc/projects -s
/var/xinc/status -w /var/xinc/projects -l /var/log/xinc.log
/etc/xinc/conf.d/*.xml &
to send it to the background?
Original comment by arnos...@gmail.com
on 3 Feb 2008 at 1:00
Ha - in regards to 27: I didn't notice -v wasn't set.
Original comment by InAweof...@gmail.com
on 3 Feb 2008 at 1:03
it works, it just won't go to the background. It hung up the stdin.
Original comment by InAweof...@gmail.com
on 3 Feb 2008 at 1:05
We were able to fix by adding a & to $nice initlog $INITLOG_ARGS -c "$*" in
our init functions
Thanks for your help but this looks to have been an system error in the end
THANKS Again
Original comment by Christia...@gmail.com
on 3 Feb 2008 at 2:29
please try latest version from xinc.eu and verify that it works
Original comment by arnos...@gmail.com
on 13 Mar 2008 at 8:23
Original issue reported on code.google.com by
Christia...@gmail.com
on 2 Feb 2008 at 8:09Attachments: