Re: Monit Compilation Errors

2018-01-23 Thread Kizito Porta Balanyà
2018-01-18 19:47 GMT+01:00 szgyg : > On 2018-01-18, BGINFO4X wrote: > > 2018-01-17 20:12 GMT+01:00 szgyg : > > Please don't quote raw email addresses. > > > Finally, fter switching to the 32bits cygwin version (-m32 in cygwin64 > > generated

Monit Compilation Errors

2018-01-15 Thread Kizito Porta Balanyà
Hello all, I'm trying to compile the last version of MONIT and I get some errors that I can not solve. Basically I get errors like: expected identifier or ‘(’ before numeric constant, but reviewing the code I don't see any wrong, beside that the sources compile correctly with Linux, AIX, etc ...

Re: Fwd: Problem executing m4 (127 error, but it is installed)

2015-08-26 Thread Kizito Porta Balanyà
2015-08-26 18:29 GMT+02:00 Eric Blake : > On 08/26/2015 10:11 AM, Kizito Porta Balanyà wrote: >>> Probably a missing dll. What does: >>> >>> cygcheck m4 >>> >>> state? I'm guessing you may be missing libsigsegv2, which would show up >>

Fwd: Problem executing m4 (127 error, but it is installed)

2015-08-26 Thread Kizito Porta Balanyà
2015-08-26 17:44 GMT+02:00 Eric Blake : > On 08/26/2015 09:26 AM, Kizito Porta Balanyà wrote: >> Hello, >> >> I'm trying to build MONIT, but with the new version of cygwin, I need m4. >> >> I have installed it, but when running it, I get a 127 error: >>

Problem executing m4 (127 error, but it is installed)

2015-08-26 Thread Kizito Porta Balanyà
Hello, I'm trying to build MONIT, but with the new version of cygwin, I need m4. I have installed it, but when running it, I get a 127 error: $cd /usr/bin $ m4 $ echo $? 127 To test that really m4 exists, I try m5: $m5 -bash: m5: command not found It is a little strange, Antivirus is configure

Re: vsnprintf error compiling

2015-08-25 Thread Kizito Porta Balanyà
(t, 1, "hello", ap); if(n == 5) return 0;return 1; | ; | return 0; | } configure:12511: error: in `/tmp/monit_compilation/monit-5.14/libmonit': configure:12513: error: vsnprintf does not conform to c99 See `config.log' for more details Any help is welcome. Thanks a lot fo

vsnprintf error compiling

2015-08-25 Thread Kizito Porta Balanyà
Hello, I'm trying to build the new version of monit (5.14) in cygwin, but I get the following error executing configure: autoreconf -i -f && automake -acf && ./configure checking vsnprintf is c99 conformant... configure: error: in `/tmp/monit-5.14/libmonit': configure: error: vsnprintf does not

Cron Service

2015-04-21 Thread Kizito Porta Balanyà
Hello, Installing the cron service, shows the name "Cron daemon" in the service manager. In my opinion, it should be better to follow the convention: "CYGWIN servicenamed" For example, the other CYGWIN services show: "CYGINW syslogd". "CYGWIN sshd" ... The resulting display name should be "CYGW

Re: Clean up /tmp on system reboot [was: Xorg server always starting up on DISPLAY 3.0]

2015-04-13 Thread Kizito Porta Balanyà
2015-04-11 2:35 GMT+02:00 LRN : > On 11.04.2015 0:55, Frank Fesevur wrote: >> 2015-04-10 22:38 GMT+02:00 Andrew DeFaria: $ man 5 crontab See @reboot Never used it but I assume it will run after cron service is started. Yes it is. After reading again the man, reboot is ref

Re: sshd PID changed

2015-03-11 Thread Kizito Porta Balanyà
Hello, No one is interested in this commented behaviour ? Or it is expected as designed ? Thanks a lot for your time. 2015-03-10 10:16 GMT+01:00 Kizito Porta Balanyà : > Hello, > > I'm receiving some rare monit messages related to the sshd service. > > The service &qu

sshd PID changed

2015-03-10 Thread Kizito Porta Balanyà
Hello, I'm receiving some rare monit messages related to the sshd service. The service "cygrunsrv sshd" is not restarted (eventviewer is OK), but sometimes (not always) I get the following alerts: Alert 1: PID changed Service checkMatching_sshd Date:Mon, 09 Mar 2015 16:

net user "completed with one or more errors"

2015-03-09 Thread Kizito Porta Balanyà
Hello, Executing net user or cmd.exe /c "net user" inside a ssh console returns: "The command completed with one or more errors." This doesn't happen locally with or without cygwin. Is this a bug or similar ? Thanks a lot for your time. -- Problem reports: http://cygwin.com/problems.htm

Questions about creating a package or not

2015-03-05 Thread Kizito Porta Balanyà
Hello, I have compiled monit in cygwin but some of the functionalities are not aware. I don't have the necessary programming experience to provide them. The binary is usable, and I supply the unaware features with some wrapper scripts that "do same job". After talking with the monit company, the

Re: cygrunsrv - services enters stopped state if underlying program exits or is killed - doesn't auto restart

2015-01-29 Thread Kizito Porta Balanyà
2015-01-28 21:43 GMT+01:00 Corinna Vinschen : > On Jan 28 16:58, BGINFO4X wrote: >> 2015-01-28 16:37 GMT+01:00 Corinna Vinschen : >> > On Jan 28 15:42, Kizito Porta Balanyà wrote: >> >> 2015-01-28 12:55 GMT+01:00 Corinna Vinschen : >> >

Re: cygrunsrv - services enters stopped state if underlying program exits or is killed - doesn't auto restart

2015-01-28 Thread Kizito Porta Balanyà
2015-01-28 12:55 GMT+01:00 Corinna Vinschen : > On Jan 28 11:18, Corinna Vinschen wrote: >> On Jan 27 15:02, Cary Lewis wrote: >> > On Tue, Jan 27, 2015 at 4:09 AM, Corinna Vinschen >> > --neverexits works, but not if the program that cygrunsrv starts is >> > stopped with a kill -9 signal. Perhaps

Re: cygrunsrv - services enters stopped state if underlying program exits or is killed - doesn't auto restart

2015-01-27 Thread Kizito Porta Balanyà
2015-01-27 10:09 GMT+01:00 Corinna Vinschen : > On Jan 26 11:14, Cary Lewis wrote: >> I am using cygrunsrv to install a windows service that creates an ssh tunnel. > >> I have configured the service to auto-restart on failures using the >> windows 7 services.msc tool. >> >> If the ssh program exis

Re: Windows Services control - start-stop-restart

2015-01-07 Thread Kizito Porta Balanyà
2015-01-07 13:54 GMT+01:00 Marco Atzeri : > On 1/7/2015 1:35 PM, Simao Pereira wrote: >> >> Hello to Cygwin Community >> >> i just started using CygWin on my job, and since it has a Windows culture, >> there is not a native Linux/Unix Plataform. >> so, in order to bring some power to the system i h

cygrunsrv "improvements"

2014-12-24 Thread Kizito Porta Balanyà
Hello again, I would like to script the exit values of cygrunsrv --query servicename. In particular I would test the values of the "Current State" output: stopped, started, running. I know that I can wrap and grep the output "Current State " and get the desired result, but I think that something

Re: ps questions

2014-12-19 Thread Kizito Porta Balanyà
2014-12-18 19:51 GMT+01:00 Corinna Vinschen : > On Dec 18 11:40, Warren Young wrote: >> On Dec 18, 2014, at 10:33 AM, Corinna Vinschen >> wrote: >> >> > On Dec 18 10:26, Warren Young wrote: >> >> >> >> ...Cygwin doesn’t do something similar? >> > >> > Cygwin isn't a kernel and the process >> > in

ps questions

2014-12-18 Thread Kizito Porta Balanyà
Hello, I can't find where "ps -W" is coded in the procps source files. Is it there ? is it in cygwin.dll? What are you doing "internally" with the -W option? Another question related is: It is possible to map windows processes to the /proc filysystem. Any way or hint? Thanks a lot for your time

GLOB_ONLYDIR not defined in glob.h

2014-12-17 Thread Kizito Porta Balanyà
Hello, I'm trying to compile monit in cygwin, but I get an error: src/process/sysdep_UNKNOWN.c:218:34: error: ‘GLOB_ONLYDIR’ not declared (first use)) if ((rv = glob("/proc/[0-9]*", GLOB_ONLYDIR, NULL, &globbuf))) { The function is: if ((rv = glob("/proc/[0-9]*", GLOB_ONLYDIR, NULL, &globbu

create root user question

2014-12-15 Thread Kizito Porta Balanyà
Hello, I have a "fast question". Is the following script the correct one to create a root user in cygwin with all the necessary privileges? https://www.cygwin.com/ml/cygwin-apps/2003-11/txt2.txt If it is, why the script is not a package itself? Easier to find instead of googling a lot

Re: "Bug" in setup-x86.exe command line

2014-12-09 Thread Kizito Porta Balanyà
> Hello, > I use the latest version of the installer setup-x86.exe version 2.852 > I think that the command line installer has some king of "bug". > The following line doesn't download the bash package: > setup-x86.exe --download --site http://mirrors.kernel.org/sourceware/cygwin --quiet-mode

"Bug" in setup-x86.exe command line

2014-12-05 Thread Kizito Porta Balanyà
Hello, I use the latest version of the installer setup-x86.exe version 2.852 I think that the command line installer has some king of "bug". The following line doesn't download the bash package: setup-x86.exe --download --site http://mirrors.kernel.org/sourceware/cygwin --quiet-mode --no-shortc

setup.exe command line - source option?

2014-01-24 Thread Kizito Porta Balanyà
Hello, Is it possible to download sources with setup-x86 command line. I use setup-x86 version 2.831 (32 bits) I can't find the option ... neither in the manual http://cygwin.com/faq/faq.html#faq.setup.cli ... neither googling ... Thanks for your time. Regards -- Problem reports: http

AdminCygwin Release

2014-01-21 Thread Kizito Porta Balanyà
Hello everyone, I'm trying to create a "Small Admin Cywgin relase", called AdminCgwin. If it works, I will upload to sourceforge. These are the main lines: 1- Create an installation windows package (.msi) with WIX. 2- Default Installed packages: base + admin + apt-cyg. The remaining packages sh