You should open a terminal application and enter this command: man sudo
You have problems because your sudo is configured to require a password for the
user who is executing sudo.
-- Sami
Varghese Renny kirjoitti 26.6.2012 kello 16.20:
>
> Yeah, i changed like /usr/share/tomcat6/.jenkins/Eule
Yeah, i changed like /usr/share/tomcat6/.jenkins/Eulen/killpostgres.sh ,
still i am getting tty not present error and no askpass program specifed.
>
>
>
I commented Defaults tty so it is showing
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
Sorry, try again.
when i uncomment it
sudo: sorry, you must have a tty to run sudo
What can i do?
: Tuesday, June 26, 2012 9:05 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: jenkins java.outofmemory:permGen space error
Actually i am calling like bash -ex killpostgres.sh
killpostgres.sh is in my project directory.
sudo is inside the shell script
sudo kill $pid
Actually i am calling like bash -ex killpostgres.sh
killpostgres.sh is in my project directory.
sudo is inside the shell script
sudo kill $pid
enkinsci-users@googlegroups.com
> Subject: Re: Re: Re: jenkins java.outofmemory:permGen space error
>
> #!/bin/sh
> pid=$(pidof postgres)
> echo $pid
> kill $pid
> pg_ctlcluster 8.4 main start
>
> Actually this shell script is working if i execute like bash
> killpostg
, June 26, 2012 9:01 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: jenkins java.outofmemory:permGen space error
Ok..but i don't have any slave. i am doing it in master only.
i will start it as a new thread..
Ok..but i don't have any slave. i am doing it in master only.
i will start it as a new thread..
ob, I issued
the following command:
ssh pg_cluster.sh
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Varghese Renny
Sent: Tuesday, June 26, 2012 8:16 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Re: Re: jenkins java.outofmemory:permGen space
#!/bin/sh
> pid=$(pidof postgres)
> echo $pid
> kill $pid
> pg_ctlcluster 8.4 main start
>
>
> Actually this shell script is working if i execute like bash
killpostgres.sh
But inside the jenkins it's showing error like
sudo: no tty present and no askpass program specified
sudo: no tty present an
y, June 26, 2012 8:04 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Re: Re: jenkins java.outofmemory:permGen space error
#!/bin/sh
pid=$(pidof postgres)
echo $pid
kill $pid
pg_ctlcluster 8.4 main start
I am doing only this much of thing ...in command prompt i used sudo kill
manullay...
bu
#!/bin/sh
pid=$(pidof postgres)
echo $pid
kill $pid
pg_ctlcluster 8.4 main start
I am doing only this much of thing ...in command prompt i used sudo kill
manullay...
but in shell while i executing it's saying operation not permitted
kill : 4 : operation not permitted..
i assume this is some permi
Inside your shell script, just enter the following:
sudo
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Varghese Renny
Sent: Tuesday, June 26, 2012 7:45 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Re: Re: jenkins java.outofmemory:permGen
Thank you so much vjuranek..At last my build is successful..As you are a
redhat engineer one doubt.. Usually we can run kill as sudo kill -9 pid
But inside the shell script while running it's saying operation not
permited..how can simulate sudo inside a shell script?
i started shell for contino
On Tuesday 26 June 2012 03:10:53 Varghese Renny wrote:
> In jenkins Whether any config file related to project? I am not getting you
> which project config file you are mentioning?
I mean job configuration page, i.e. $JENKINS_URL/job/$JON_NAME/configure
Lets assume it a maven project. In "Advanced
In jenkins Whether any config file related to project? I am not getting you
which project config file you are mentioning?
you have to setup permgen size in project config page. The permgen size
specified in catalina opts for jenkins applies only to jenkins server itself
and doesn't affect permgen size of built project - it run in different JVM
On Tuesday 26 June 2012 02:13:06 Varghese Renny wrote:
> No, the whole p
No, the whole project i am building. i am using 1.447.1 version for
jenkins. i increased the permGen size till 512mb..
Still i am getting this error..getting heap size more than 500mb.
Hi,
is this failure of one particular build or whole Jenkins? Do you increase
pergem size for jenkins of in setup of the build?
Vojta
On Tuesday 26 June 2012 01:28:49 Varghese Renny wrote:
> While doing build, i am started getting this error,
> i increased the heap size and permgen size to 1024
19 matches
Mail list logo