Re: Cron installation issue

2020-09-02 Thread Anantha . Kumar
Hi Marco,

You must run service config scripts from an elevated admin shell.
Yes, I have executed using elevated admin shell but the same error I am getting.




Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com<mailto:anantha.ku...@elait.com>

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.

<mailto:anantha.ku...@elait.com>



From: marco atzeri 
Sent: Wednesday, September 2, 2020 3:05 PM
To: Anantha.Kumar 
Cc: cygwin@cygwin.com 
Subject: Re: Cron installation issue

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


On Wed, Sep 2, 2020 at 11:13 AM Anantha.Kumar  wrote:
>
> Hi Team,
>
> Do you have any advice on this failure.

Again:
You must run service config scripts from an elevated admin shell.

It seems very simple to me. Or do you not understand its meaning ?

Regards
Marco
This E-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return E-mail.

Confidential
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cron installation issue

2020-09-02 Thread marco atzeri via Cygwin
On Wed, Sep 2, 2020 at 11:13 AM Anantha.Kumar  wrote:
>
> Hi Team,
>
> Do you have any advice on this failure.

Again:
You must run service config scripts from an elevated admin shell.

It seems very simple to me. Or do you not understand its meaning ?

Regards
Marco
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cron installation issue

2020-09-02 Thread Anantha . Kumar
Hi Team,

Do you have any advice on this failure.




Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com<mailto:anantha.ku...@elait.com>

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.

<mailto:anantha.ku...@elait.com>



From: Anantha.Kumar 
Sent: Tuesday, September 1, 2020 5:47 PM
To: cygwin@cygwin.com ; brian.ing...@systematicsw.ab.ca 

Subject: Re: Cron installation issue

Hi Brain,

Yes, I was trying to run through admin shell but still facing this issue.



Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com<mailto:anantha.ku...@elait.com>

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.

<mailto:anantha.ku...@elait.com>



From: Brian Inglis 
Sent: Friday, August 28, 2020 7:34 PM
To: cygwin@cygwin.com 
Cc: Anantha.Kumar 
Subject: Re: Cron installation issue

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


On 2020-08-28 03:35, Anantha.Kumar wrote:
> I am facing some issue while installing cron as a windows service. I have
> attached the error message and cronbug output. Could you please help us on
> this issue?

> Do you want to start the cron daemon as a service now? (yes/no) yes
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> The service has not been started.


You must run service config scripts from an elevated admin shell.

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
This E-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return E-mail.

Confidential
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cron installation issue

2020-09-01 Thread Anantha . Kumar
Hi Brain,

Yes, I was trying to run through admin shell but still facing this issue.



Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com<mailto:anantha.ku...@elait.com>

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.

<mailto:anantha.ku...@elait.com>



From: Brian Inglis 
Sent: Friday, August 28, 2020 7:34 PM
To: cygwin@cygwin.com 
Cc: Anantha.Kumar 
Subject: Re: Cron installation issue

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


On 2020-08-28 03:35, Anantha.Kumar wrote:
> I am facing some issue while installing cron as a windows service. I have
> attached the error message and cronbug output. Could you please help us on
> this issue?

> Do you want to start the cron daemon as a service now? (yes/no) yes
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> The service has not been started.


You must run service config scripts from an elevated admin shell.

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
This E-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return E-mail.

Confidential
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Cron installation issue

2020-08-28 Thread Brian Inglis


On 2020-08-28 03:35, Anantha.Kumar wrote:
> I am facing some issue while installing cron as a windows service. I have 
> attached the error message and cronbug output. Could you please help us on
> this issue?

> Do you want to start the cron daemon as a service now? (yes/no) yes
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> The service has not been started.


You must run service config scripts from an elevated admin shell.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Cron installation issue

2020-08-28 Thread Anantha . Kumar
Hi Team,

I am facing some issue while installing cron as a windows service. I have 
attached the error message and cronbug output. Could you please help us on this 
issue?

/home/_PSCGRM.ABInitioTst> cron-config
Cron is already installed as a service under account DEVINT\_PSCGRM.ABInitioTst.
Do you want to remove or reinstall it? (yes/no) yes
OK. The cron service was removed.

Do you want to install the cron daemon as a service? (yes/no) yes
Enter the value of CYGWIN for the daemon: [ntsec smbntsec]

The service can run either as yourself or under a privileged account.
Running as yourself allows better access to network drives,
but does not allow to run the crontab of other users.
On Windows2003 the SYSTEM account cannot setuid to other users.
You need to have or to create a privileged account.
This script will help you do so.
Do you want to the cron daemon to run as yourself? (yes/no) yes

Please enter the password for user '_PSCGRM.ABInitioTst':
Reenter:
Running cron_diagnose ...
WARNING: You do not currently have a crontab file.

... no problem found.

Do you want to start the cron daemon as a service now? (yes/no) yes
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.


In case of problem, examine the log file for cron,
/var/log/cron.log, and the Windows event log (using /usr/bin/cronevents)
for information about the problem cron is having.

Examine also any cron.log file in the HOME directory
(or the file specified in MAILTO) and cron related files in /tmp.

If you cannot fix the problem, then report it to cygwin@cygwin.com.
Please run the script /usr/bin/cronbug and ATTACH its output
(the file cronbug.txt) to your e-mail.




Thanks,

Anantha Kumar

Platform Support

Elait
 Mobile: +91 9600406739

 Email :   anantha.ku...@elait.com

P Please consider the environment before printing this e-mail. Thank you.

Unless otherwise stated, the content of this email is confidential and intended 
for the specified recipient. Please seek permission in advance before sharing 
any of its contents. If received in error; please reply so we are aware and 
delete it.




This E-mail is confidential. It may also be legally privileged. If you are not 
the addressee you may not copy, forward, disclose or use any part of it. If you 
have received this message in error, please delete it and all copies from your 
system and notify the sender immediately by return E-mail.

Confidential

Current version

Running crons:
None

Sendmail:
lrwxrwxrwx 1 _PSCGRM.ABInitioTst Domain Users 16 Aug 11  2017 
/usr/sbin/sendmail -> /usr/bin/cronlog

Crontabs:

cron.log:
-rw-r--r--+ 1 _PSCGRM.ABInitioTst Domain Users 0 Aug 26 08:09 /var/log/cron.log

cron.pid:

Crontab:

Windows Application Events log:

Cygcheck:

Cygwin Configuration Diagnostics
Current System Time: Wed Aug 26 08:28:13 2020

Windows 2012 R2 Server Standard Ver 6.3 Build 9600 

Running in Terminal Service session

Path:   D:\apps\Java\jre1.7.0_45\bin
C:\Program Files\Python\Scripts
C:\Program Files\Python
D
D:\apps\cygwin\apps\abinitio\AbInitio-V3-1-7-0\bin
D:\apps\cygwin\bin
C:\Program Files\Python\Scripts
C:\Program Files\Python
C:\Windows
C:\Windows\System32
C:\Program Files\Java\jre7\bin
D:\apps\abinitio\AbInitio-V3-1-7-0\bin
C:\IBM\ITM\bin
C:\IBM\ITM\TMAITM6
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn
C:\Program Files\Microsoft SQL Server\110\Tools\Binn
C:\Program Files\Microsoft SQL Server\110\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\Client 
SDK\ODBC\130\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn
C:\Program Files (x86)\Microsoft SQL 
Server\140\Tools\Binn\ManagementStudio
C:\IBM\ITM\InstallITM
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
D:\apps\cygwin\bin

Output from D:\apps\cygwin\bin\id.exe
UID: 33874(_PSCGRM.ABInitioTst) GID: 10513(Domain Users)
10513(Domain Users) 544(Administrators)
559(Performance Log Users)  545(Users)
33871(APP-ABInitioTest-gs)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = '_PSCGRM.ABInitioTst'
PWD = '/home/_PSCGRM.ABInitioTst'
CYGWIN = 'ntsec'
HOME = '/home/_PSCGRM.ABInitioTst'

USERDOMAIN_ROAMINGPROFILE = 'DEVINT'
HOMEPATH = '\Users\_PSCGRM.ABInitioTst'
MANPATH = '/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Users\_PSCGRM.ABInitioTst\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'pscappt00135'
AB_AG_CONFIG_DIR = 'd:/apps/abinitio/ab-deployments/ag_test/config'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 79 Stepping 0, GenuineIntel'
TERM = 'cygwin'
WINDIR = 'C:\Windows'
PUBLIC = 'C:\Us