Re: [ansible-project] Calling the same role from multiple playbooks

2020-01-03 Thread Mehul Ved
Have you had a look at https://docs.ansible.com/ansible/latest/user_guide/playbooks_advanced_syntax.html#yaml-anchors-and-aliases-sharing-variable-values ? On Fri, 3 Jan, 2020, 3:38 AM Claudio M. Lombardo, wrote: > Hello All. > I am trying to solve the following issue. > > - I have a SSSD role

[ansible-project] Limit and selection of group with dynamic inventory

2018-12-19 Thread Mehul Ved
way I can use the tag from applied limit inside the play without having to pass an additional parameter? -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receivi

Re: Monit using ethtool

2018-03-14 Thread Mehul Ved
Here's a quick and dirty sample bash script you can write to check the values https://gist.github.com/mehulved/8c3bde2f7c33a980b8cbea8485b67639 From: monit-general on behalf of Kevin Smith

[ansible-project] Re: SSL issue with get_url module

2018-02-21 Thread Mehul Ved
Turned out to be a google cloud issue, not ansible. On Feb 20, 2018 17:53, "Mehul Ved" <mehul.n@gmail.com> wrote: > As a follow up, I tried connecting to devops.rightleads.io from python > and it checking the certificate, it works fine. But, ansible still > seems to

[ansible-project] Re: SSL issue with get_url module

2018-02-20 Thread Mehul Ved
x3.letsencrypt.org',), 'serialNumber': u'03789CEA86C5F31787ED45697AACB172BA58', 'notAfter': 'May 19 11:09:28 2018 GMT', 'version': 3L, 'subject': ((('commonName', u'devops.rightleads.io'),),), 'issuer': ((('countryName', u'US'),), (('organizationName', u"Let's Encrypt"),), (('commonName', u&qu

[ansible-project] SSL issue with get_url module

2018-02-19 Thread Mehul Ved
"remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "sha256sum": "", "src": null, "

Re: [ansible-project] Re: Ansible (Problem install PHP)

2017-11-02 Thread Mehul Ved
7aca1c8%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/3df38b0b-4c79-40c9-866c-7c5ad7aca1c8%40googlegroups.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- With Regards, Mehul Ved -- You r

Re: M/Monit Network Settings

2017-07-05 Thread Mehul Ved
doesn't block the collection of data. If you want to change the connection information, you are able to override it for some data (see screenshot) [cid:ii_j4pel5bz0_15d0d0ae1aea523c] ​ Does it answer your need ? Best Regards. 2017-07-04 11:12 GMT+02:00 Mehul Ved <mehul@nexsales.com<mail

Re: M/Monit Network Settings

2017-07-04 Thread Mehul Ved
I have the same kind of setup. Here's what I have done: - Left the connector as it is -START server.xml- -END server.xml- - In apache.conf I have proxied it as follows -START APACHE CONFIG- ProxyPass /mmonit http://10.0.0.3:8090 nocanon ProxyPassReverse /mmonit

Re: [ILUG-BOM] Who has @ilugbom twitter handle access?

2017-06-13 Thread Mehul Ved
I have the access to the twitter account. If somebody is volunteering to manage it, I'll transfer it to them. On 14-Jun-2017 10:04, "Raghavendra Kamath" wrote: > Hello everyone, > > We are in a process of updating the website (http://www.ilug-bom.org.in/) > for our

[ansible-project] HTTP Load Balancer for Google Cloud

2017-01-11 Thread Mehul Ved
. The HTTP(S) LB allows me to have SSL termination and also have the routing based on URL. Is this going to be supported in ansible anytime soon? -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubs

Re: [ansible-project] Re: Creating a GCE instance with reserved ip address

2017-01-10 Thread Mehul Ved
On Wed, Jan 11, 2017 at 7:16 AM, Tom Melendez <t...@supertom.com> wrote: > > > On Tuesday, January 10, 2017 at 3:38:53 AM UTC-8, Mehul Ved wrote: >> >> A small update, removing the quotes around the IP Address worked: >> GCE_INI_PATH=inventory/gce.ini ansible

[ansible-project] Re: Creating a GCE instance with reserved ip address

2017-01-10 Thread Mehul Ved
tags='dev,trial' network=ansiblenet subnetwork=dev zone=asia-east1-a state=present" - So, is the named ip address part not supported? On Tue, Jan 10, 2017 at 3:57 PM, Mehul Ved <mehul.n@gmail.com> wrote: > I am trying to create a new instance in google compute engin

Re: Syntax for else if

2016-06-20 Thread Mehul Ved
VICE-RESTART-LIMIT Best regards, Martin On 16 Jun 2016, at 16:59, Mehul Ved <mehul@nexsales.com<mailto:mehul@nexsales.com>> wrote: Here's what I have configured: if 2 restarts within 10 cycles then exec "/usr/local/bin/pagerduty-trigger frontendlogger" else if

Re: Syntax for else if

2016-06-16 Thread Mehul Ved
quot;httpd" matching "httpd" if does not exist for 3 cycles then exec "/etc/monit/pagerduty-trigger crond" else if passed for 3 cycles then exec "/etc/monit/pagerduty-resolve crond" --8<-- Which monit version do you use? (monit -V) Best rega

Re: Syntax for else if

2016-06-16 Thread Mehul Ved
--- From: monit-general <monit-general-bounces+mehul.ved=nexsales@nongnu.org> on behalf of Rui Lapa <rui.l...@ruilapa.net> Sent: Thursday, June 16, 2016 4:49 PM To: This is the general mailing list for monit Subject: Re: Syntax for else if E

Syntax for else if

2016-06-16 Thread Mehul Ved
Hello, I am configuring pagerduty integration with monit and have run into a roadblock while setting it up. As per the pagerduty documentation, - to trigger a new incident, we need to add if does not exist for 3 cycles then exec "/etc/monit/pagerduty-trigger crond" which works fine.

Merging PR on github using github pull request builder

2016-01-18 Thread Mehul Ved
Hello, I have installed "Github Pull Request Builder" plugin(https://github.com/janinko/ghprb) and configured it. I am able to build pull request and it correctly sets the status on github. How can I set a step to automatically merge and close the pull request on github? I have github pull

Re: Merging PR on github using github pull request builder

2016-01-18 Thread Mehul Ved
Oops, the previous message got sent before I could complete the last line. On Monday, January 18, 2016 at 4:04:31 PM UTC+5:30, Mehul Ved wrote: > > Hello, > I have installed "Github Pull Request Builder" plugin( > https://github.com/janinko/ghprb) and configured it. I am

Re: [ansible-project] Re: Getting hostvars from an intersection of groups

2015-11-05 Thread Mehul Ved
with_items: "{{ ec2.instances | default({}) }}" > > > For example, when I launch 2 more instance with environment of stage and > role of web, and there were already 2 existing instances, then I would get > web03.stage,domain and web04.stage.domain as the tag. > > Hope th

Re: [ansible-project] Getting hostvars from an intersection of groups

2015-10-28 Thread Mehul Ved
-project@googlegroups.com/msg08024.html Is there a better way to handle grouping of servers? Is there anything in the documentation or best practices that I've missed? On Mon, Oct 26, 2015 at 12:13 PM, Mehul Ved <mehul.n@gmail.com> wrote: > Hi Bryan, > Here's what I ge

Re: [ansible-project] Getting hostvars from an intersection of groups

2015-10-26 Thread Mehul Ved
> that won't work also you seem to have mismatched list indecies. > > debug: msg="{{hostvars[group['beta'] | > intersection(groups['db'])[0]]['db_port']}}" > or > debug: var=hostvars[group['beta'] | > intersection[groups['db'])[0]]['db_port'] > > On Fri, Oct 23, 20

[ansible-project] Getting hostvars from an intersection of groups

2015-10-23 Thread Mehul Ved
Or is there a better way to achieve what I want? -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubsc

Re: [ansible-project] How to convert a dict into key-val args to be passed to a module

2015-07-11 Thread Mehul Ved
. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/be3a5ed3-cdc9-493b-90ae-5d0916b8a505%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- With Regards, Mehul Ved -- You received this message because you are subscribed

[ansible-project] Dynamic inventory for rackspace cloud besides servers

2015-07-06 Thread Mehul Ved
host during creation and write it to hosts file? -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr

[ILUG-BOM] [X-POST] February Tech Meetup

2015-02-09 Thread Mehul Ved
this workshop. Please RSVP for the event at http://www.meetup.com/Mumbai-Technology-Meetup/events/220344030/ -- With Regards, Mehul Ved -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

[ansible-project] Re: Vagrant Ansible Provisioner failing to ssh to guest machine

2014-12-15 Thread Mehul Ved
Just to close the thread and incase somebody else runs into it again. I did more testing, it was some regression in ansible 1.8.1 and symlinks http://pastebin.com/X9Z3wwB1 Upgrading to 1.8.2 has resolved the issue. -- You received this message because you are subscribed to the Google Groups

Re: [vagrant-up] Ansible Provisioning fails as ssh cannot connect

2014-12-15 Thread Mehul Ved
vendredi 12 décembre 2014 15:24:53 UTC+1, Mehul Ved a écrit : And to compare, I took the unmodified vagrant_ansible_inventory file and passed the parameter on the CLI === $ cat /home/mehul/Projects/testvm/.vagrant/provisioners/ansible/ inventory/vagrant_ansible_inventory # Generated by Vagrant

Re: [vagrant-up] Ansible Provisioning fails as ssh cannot connect

2014-12-12 Thread Mehul Ved
On Fri, Dec 12, 2014 at 2:28 PM, Alvaro Miranda Aguilera kiki...@gmail.com wrote: Hi Alvaro, did you create the inventory? No, this is automatically generated by vagrant. I didn't change anything. seems is trying to connect to localhost but that is valid from the host. If I give

Re: [vagrant-up] Ansible Provisioning fails as ssh cannot connect

2014-12-12 Thread Mehul Ved
On Fri, Dec 12, 2014 at 7:17 PM, Gilles Cornu gilles.co...@gmail.com wrote: Mehul, Hi Giles, You perfectly understood, the Vagrant Ansible provisioner is host-based (a guest-based provisioner for ansible is planned, but not availabled yet, see

Re: [vagrant-up] Ansible Provisioning fails as ssh cannot connect

2014-12-12 Thread Mehul Ved
On Fri, Dec 12, 2014 at 7:21 PM, Gilles Cornu gilles.co...@gmail.com wrote: Mmmh, you might have some problem by copy-pasting the command. Some quotes may miss (vagrant logged output is still not supporting each cases). For instance --extra-vars={build_enable:true,configure_enable:true} ==

Re: [vagrant-up] Ansible Provisioning fails as ssh cannot connect

2014-12-12 Thread Mehul Ved
And to compare, I took the unmodified vagrant_ansible_inventory file and passed the parameter on the CLI === $ cat /home/mehul/Projects/testvm/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory # Generated by Vagrant default ansible_ssh_host=127.0.0.1 ansible_ssh_port=

Re: [vagrant-up] Ansible Provisioning fails as ssh cannot connect

2014-12-12 Thread Mehul Ved
:) Cheers, Gilles Le vendredi 12 décembre 2014 15:24:53 UTC+1, Mehul Ved a écrit : And to compare, I took the unmodified vagrant_ansible_inventory file and passed the parameter on the CLI === $ cat /home/mehul/Projects/testvm/.vagrant/provisioners/ansible/ inventory

[ansible-project] Re: Vagrant Ansible Provisioner failing to ssh to guest machine

2014-12-11 Thread Mehul Ved
I was looking through the docs again and saw http://docs.ansible.com/intro_configuration.html#private-key-file so vagrant is supplying the wrong CLI parameters? Has the parameter changed at any point? On Wed, Dec 10, 2014 at 3:08 PM, Mehul Ved mehul.n@gmail.com wrote: I am working

[vagrant-up] Ansible Provisioning fails as ssh cannot connect

2014-12-11 Thread Mehul Ved
I setup a debian box using https://vagrantcloud.com/ffuenf/boxes/debian-7.6.0-amd64 and added the following lines to my Vagrantfile ``` # Enable provisioning with ansible config.vm.provision ansible do |ansible| ansible.groups = { freeswitch = default } ansible.playbook =

[ansible-project] Vagrant Ansible Provisioner failing to ssh to guest machine

2014-12-10 Thread Mehul Ved
ansible_ssh_private_key_file=/home/mehul/.vagrant.d/insecure_private_key it works fine. -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible

[ILUG-BOM] [X-POST] Mumbai Tech Meetup, Vashi - December 2014

2014-12-05 Thread Mehul Ved
more slots available for talks, get in touch if you're interested in giving a talk. -- With Regards, Mehul Ved -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Re: [ansible-project] npm with --save-dev flag

2014-12-01 Thread Mehul Ved
and doing it multiple times doesn't make sense in most cases. -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr

Re: [ansible-project] Request for help in creating a new user

2014-11-30 Thread Mehul Ved
On Sun, Nov 30, 2014 at 1:36 AM, xuxu xiut...@gmail.com wrote: This is what my playbook looks like: --- - hosts: ec2 user: root roles: - createuser - hosts: ec2 user: winery roles: - winery The task for createuser looks like this: --- - name: create user for given

Re: [ansible-project] Re: Ansible 1.8.1 update

2014-11-27 Thread Mehul Ved
On Thu, Nov 27, 2014 at 4:35 PM, Tomas Karasek tom.to.th...@gmail.com wrote: Hi, I don't see 1.8.1 (nor 1.8) in the ppa: https://launchpad.net/~ansible/+archive/ubuntu/ansible I got the ppa link from: http://docs.ansible.com/intro_installation.html#latest-releases-via-apt-ubuntu Probably

Re: [ansible-project] Using Ansible to check for a custom program to be installed

2014-11-27 Thread Mehul Ved
service is running. -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group

Re: [ansible-project] Multiple groups with rackspace and dynamic inventory

2014-07-10 Thread Mehul Ved
On Tue, Jun 17, 2014 at 8:18 PM, Matt Martz m...@sivel.net wrote: To define secondary or extra groups to a device, you need to use the groups meta key. Note that this is plural and different from group. I really recommend using the current copy of the 'rax' module in ansible (devel), not

Re: [Ilugc] Help required for date manipulation in linux

2014-07-08 Thread Mehul Ved
On Tue, Jul 8, 2014 at 4:11 PM, Raja Mahalingam raja82i...@gmail.com wrote: Hi , I am working on script creation for user audit report and last command doesn't o/p the year. I need to find year of the given date of month and day on linux box. Need to check only for past 10 years. example :

[ansible-project] Impact of merging hashes

2014-07-07 Thread Mehul Ved
as long the whole deployment code will be maintained by me? -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr

[ansible-project] Multiple groups with rackspace and dynamic inventory

2014-06-17 Thread Mehul Ved
. Is it possible to pass a list to group parameter? Or is there another way to achieve this? -- With Regards, Mehul Ved -- You received this message because you are subscribed to the Google Groups Ansible Project group. To unsubscribe from this group and stop receiving emails from it, send an email

Ordering of syntax check option

2014-06-17 Thread Mehul Ved
Hi, My monit file is in /etc/monit/monitrc, which isn't the usual path so when I run $ monit -t it fails to file the control file, which is the correct behaviour. To fix this, I tried $ monit -c /etc/monit/monitrc -t which worked, as expected. But, when I did $ monit -t -c

[ILUG-BOM] [X-Post] 5th Elephant Runup Event - Machine Learning Workshop

2014-06-05 Thread Mehul Ved
Hasgeek is organizing a Machine Learning Workshop in Mumbai on Saturday, 7th June 2014. More details at https://fifthelephant.in/2014/machine-learning-mumbai -- With Regards, Mehul Ved -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Re: [Ilugc] Better operating system

2014-05-30 Thread Mehul Ved
On Fri, May 30, 2014 at 6:11 PM, Kumar send4ku...@gmail.com wrote: Hi, Please suggest a best operation system for usage Web design and development and Mobile apps. Since this is a Linux User Group, the answer, obviously, has to be GNU/Linux. ___

Using monit with Outlook 365 SMTP servers

2014-05-14 Thread Mehul Ved
I am trying to setup notifications from monit using Outlook 365 SMTP servers. They use TLS v1.1. The relevant lines in monitrc are as follows: set mailserver smtp.office365.com port 587 username mehul@nexsales.com password abcdef using tlsv11 but in the logs, it gives following error:

RE: Using monit with Outlook 365 SMTP servers

2014-05-14 Thread Mehul Ved
From: monit-general-bounces+mehul.ved=nexsales@nongnu.org monit-general-bounces+mehul.ved=nexsales@nongnu.org on behalf of Martin Pala mart...@tildeslash.com The original TLSv1.0 works both in Monit and on Office365 side = as a workaround you can use tlsv1 option instead of tlsv11:

RE: restarting ffmpeg process

2014-05-08 Thread Mehul Ved
? From: monit-general-bounces+mehul.ved=nexsales@nongnu.org monit-general-bounces+mehul.ved=nexsales@nongnu.org on behalf of Anthony Griffiths neuron...@gmail.com Sent: Thursday, May 08, 2014 3:49 PM To: This is the general mailing list for monit

Re: [Ilugc] Setting Environmental variable in centos

2014-05-06 Thread Mehul Ved
On Tue, May 6, 2014 at 11:37 AM, hari prasadh hariprasad...@gmail.com wrote: Hi All, When i set environmental variable in /home/jboss/.etc_profile HOST=hari URL=http://localhost; export HOST export URL source .bash_profile.the environmental variable is set as long as logout from the

Re: [Ilugc] Setting Environmental variable in centos

2014-05-06 Thread Mehul Ved
On Tue, May 6, 2014 at 11:37 AM, hari prasadh hariprasad...@gmail.com wrote: source .bash_profile.the environmental variable is set as long as logout from the system.when i login again the environmental variable is not set.Again i need to do source .bash_profile. how to do this permanently.

Re: [Ilugc] SF: Help Wanted

2014-04-21 Thread Mehul Ved
On Mon, Apr 21, 2014 at 2:37 PM, L. Guruprasad lgp171...@gmail.com wrote: On Mon, Apr 21, 2014 at 2:34 PM, Arun Khan knu...@gmail.com wrote: On Mon, Apr 21, 2014 at 11:53 AM, Mehul Ved mehul.n@gmail.com wrote: On Sun, Apr 20, 2014 at 12:00 AM, A. Mani a.mani@gmail.com wrote: https

Re: [ILUG-BOM] (no subject)

2014-04-02 Thread Mehul Ved
-- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers -- With Regards, Mehul Ved -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Re: [ansible-project] SyntaxError with synchronize module

2014-03-26 Thread Mehul Ved
No it didn't earlier. On Tue, Mar 25, 2014 at 8:42 PM, James Tanner tanner...@gmail.com wrote: Does the remote host have ansible_python_interpreter set in your inventory? On Mar 25, 2014, at 10:42 AM, Mehul Ved mehul.n@gmail.com wrote: On Tue, Mar 25, 2014 at 8:00 PM, Petros Moisiadis

Re: [ansible-project] SyntaxError with synchronize module

2014-03-26 Thread Mehul Ved
understand how it works internally to understand why this happens. On Tue, Mar 25, 2014 at 8:41 PM, Petros Moisiadis ernes...@yahoo.gr wrote: On 03/25/2014 04:42 PM, Mehul Ved wrote: On Tue, Mar 25, 2014 at 8:00 PM, Petros Moisiadis ernes...@yahoo.gr wrote: The syntax error you get could be caused

[ansible-project] SyntaxError with synchronize module

2014-03-25 Thread Mehul Ved
Hi, I am using ansible 1.4.4. I get SyntaxError when running synchronize plugin. Here's the playbook entry - name: create common folders synchronize: src=s dest=/etc/ssh Here's the error that I get failed: [play] = {failed: true, item: , parsed: false} invalid output was: File

Re: [ansible-project] SyntaxError with synchronize module

2014-03-25 Thread Mehul Ved
when you install using virtualenv. Everything else has been working fine so far, this was the first thing I ran into an issue with while using ansible from virtualenv. Should this be considered a bug? If so, I'll open a new ticket on github. -- With Regards, Mehul Ved -- You received

Re: [ILUG-BOM] Arduino Day 2104 -29TH MARCH

2014-03-12 Thread Mehul Ved
Github for Newbies as I'd like to keep it generic and agnostic (not specifically about Hardware/Software). Thanks for the opportunity. Regards -- Siji Sunny -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers -- With Regards, Mehul Ved -- http://mm.ilug-bom.org.in/mailman/listinfo

Re: [ILUG-BOM] Arduino Day 2104 -29TH MARCH

2014-03-12 Thread Mehul Ved
, Mumbai) https://www.facebook.com/theplayce [I can give you the contacts of one of the founders if required] Maker's Asylum is great if the attendees are limited to 15-20 people max. Regards On Wed, Mar 12, 2014 at 1:09 PM, Mehul Ved mehul.n@gmail.com wrote: It makes sense to keep

Re: [ILUG-BOM] Arduino Day 2104 -29TH MARCH

2014-03-12 Thread Mehul Ved
On Wed, Mar 12, 2014 at 7:25 PM, Ankit Javalkar ankitjaval...@gmail.com wrote: Like I mentioned if you can pleas eamend the Talk title to How to use Github for Newbies . It makes hardly any sense to have a talk on github for newbies for Arduino day. It would be more useful if you rather have

RE: Process being restarted by monit validate even if it is running

2014-03-10 Thread Mehul Ved
On 07 Mar 2014, at 12:21, Mehul Ved mehul@nexsales.com wrote: # ls -ld /var/run lrwxrwxrwx 1 root root 4 Jul 5 2013 /var/run - /run # ls -ld /var/run/node/ drwxr-xr-x 2 root root 120 Mar 7 08:52 /var/run/node/ # ls -l /var/run/node/v2.pid -rw-r--r-- 1 root root 4 Mar 7 08:52 /var

Re: [Ilugc] [Ilug-C] Doubt in Code-Igniter [php]

2014-03-09 Thread Mehul Ved
stylesheets and images. what can i do? On Sun, Mar 9, 2014 at 12:57 AM, Mehul Ved mehul.n@gmail.com wrote: On Sat, Mar 8, 2014 at 1:45 PM, Magendra Varman kmagendravar...@gmail.com wrote: How to change Base_URL in Code-Igniter? I did search through internet, but i can't get proper solution

Re: [ILUG-BOM] March Mumbai GNU/Linux Users' Group Meetup

2014-03-09 Thread Mehul Ved
Speaker: Ashish Chandra (Cloud Engineer - Openstack, in Reliance Jio) Audience Knowledge level: None Best Regards, Rigved -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers -- With Regards, Mehul Ved -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Re: [Ilugc] [Ilug-C] Doubt in Code-Igniter [php]

2014-03-08 Thread Mehul Ved
'] .= ://.$_SERVER['HTTP_HOST']; $config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']),,$_SERVER['SCRIPT_NAME']); -- With Regards, Mehul Ved ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List

Process being restarted by monit validate even if it is running

2014-03-07 Thread Mehul Ved
Hi, I have a process which I am monitoring with following rules check process v2api with pidfile /var/run/node/v2.pid start program = /usr/local/bin/nodeinit v2 start as uid root stop program = /usr/local/bin/nodeinit v2 stop as uid root if failed host 127.0.0.1 port 10400

RE: Process being restarted by monit validate even if it is running

2014-03-07 Thread Mehul Ved
of the whole path to the pidfile and the pidfile itself: ls -ld /var/run ls -ld /var/run/node ls -l /var/run/node/v2.pid You can run Monit in debug mode to get more details about the test progress: monit -vI Regards, Martin On 07 Mar 2014, at 10:03, Mehul Ved mehul

Re: [ansible-project] Variable ansible_python_interpreter ignored?

2014-03-06 Thread Mehul Ved
On Tue, Mar 4, 2014 at 3:53 PM, Marco Corte marcoc...@gmail.com wrote: Yes, it is hardcoded in the first line % head /usr/share/ansible/system/ping gives #!/usr/bin/python2 # -*- coding: utf-8 -*- # (c) 2012, Michael DeHaan michael.deh...@gmail.com # # This file is part of Ansible #

RE: Websockets monitoring

2014-03-05 Thread Mehul Ved
/master.tar.gz Compilation: tar -xzf master.tar.gz cd tildeslash-monit-* ./bootstrap ./configure make The monit binary will be in current directory, you can install it to /usr/local/bin using make install Regards, Martin On 24 Feb 2014, at 07:23, Mehul Ved mehul

RE: Websockets monitoring

2014-03-05 Thread Mehul Ved
, Mehul Ved mehul@nexsales.com wrote: Hi Martin, I tried using the new version of monit but it fails on `monit validate` for websockets $ which monit /usr/local/bin/monit $ monit --version This is Monit version 5.8 Copyright (C) 2001-2014 Tildeslash Ltd. All Rights Reserved. The lines

Re: Websockets monitoring

2014-03-05 Thread Mehul Ved
, so it doesn't send any prompt. Will fix the test.  Can i use your websocket servis (from the previous email) to verify the test works with it? Regards, Martin On 05 Mar 2014, at 12:13, Mehul Ved mehul@nexsales.com wrote: Hi Martin,  It's a custom application developed by us

RE: Websockets monitoring

2014-03-05 Thread Mehul Ved
Hi Martin, Awesome, that works perfectly. Thank you. ​ From: Martin Pala mart...@tildeslash.com Sent: Thursday, March 06, 2014 1:26 AM To: Mehul Ved Cc: This is the general mailing list for monit Subject: Re: Websockets monitoring Hi, the websocket test

RE: Websockets monitoring

2014-03-03 Thread Mehul Ved
/monit/get/master.tar.gz Compilation: tar -xzf master.tar.gz cd tildeslash-monit-* ./bootstrap ./configure make The monit binary will be in current directory, you can install it to /usr/local/bin using make install Regards, Martin On 24 Feb 2014, at 07:23, Mehul Ved

[ansible-project] SyntaxError with local_action

2014-02-28 Thread Mehul Ved
I was following rsync example from https://github.com/ansible/ansible/pull/2508 to recursively transfer files. I added following lines to my tasks 1. - name: copy generic config files for freeswitch 2. sudo: no 3. local_action: command rsync -a files/conf root@{{

Environment variables with start program

2014-02-20 Thread Mehul Ved
Hi, I have a node.js services that I want to be monitored by monit. I have written a bash script to start and stop these services. The script works fine when run from my bash console. But, it fails when run through monit, as explained on FAQ page that monit uses execv and thus environment

RE: Environment variables with start program

2014-02-20 Thread Mehul Ved
' The shell will load its profile (set environment variables). Regards, Martin On 20 Feb 2014, at 12:38, Mehul Ved mehul@nexsales.commailto:mehul@nexsales.com wrote: Hi, I have a node.js services that I want to be monitored by monit. I have written a bash script to start and stop

RE: Environment variables with start program

2014-02-20 Thread Mehul Ved
, February 21, 2014 8:02 AM To: This is the general mailing list for monit Subject: RE: Environment variables with start program If you need THAT many variables you should source them from the start function of your script. On 20 Feb 2014 17:56, Mehul Ved mehul@nexsales.commailto:mehul

[ILUG-BOM] CfP Open for RootConf 2014

2014-01-07 Thread Mehul Ved
on a topic, you can submit your proposal on https://funnel.hasgeek.com/rootconf2014/ -- With Regards, Mehul Ved -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Re: [Ilugc] Apache access forbiden problem

2014-01-01 Thread Mehul Ved
On Wed, Jan 1, 2014 at 8:27 PM, JAGANADH G jagana...@gmail.com wrote: snip Any clue how to resolve this issue. Do provide apache logs also so one can identify what's actually happening, especially the error logs would be useful. ___ ILUGC Mailing List:

Re: [Ilugc] wvdial on bootup.

2013-12-29 Thread Mehul Ved
On Fri, Dec 27, 2013 at 2:18 PM, Rajesh kumar rkrajeshkuma...@gmail.com wrote: Hi, How to add wvdail in bootup. I have a datacard connected to a machine, once the machine boots it should automatically connect to the internet via datacard. I tried configuring defaults in wvdial.conf and

Re: [Ilugc] Diff between 32bit and 64bit HW OS

2013-12-29 Thread Mehul Ved
32 bit Possible 32 bit 64 bit Not Possible 64 bit 32 bit Possible 64 bit 64 bit Possible -- With Regards, Mehul Ved ___ ILUGC Mailing List: http

Re: [ILUG-BOM] Mumbai LUG Meetup for November

2013-11-12 Thread Mehul Ved
On Sat, Nov 9, 2013 at 11:07 PM, Rigved Rakshit r.ph...@gmail.com wrote: Does anyone want to take up any sessions at the LUG meetup? I have a Firefox OS phone. I can do a short session on it, if it interests people. -- With Regards, Mehul Ved -- http://mm.ilug-bom.org.in/mailman/listinfo

Re: [ILUG-BOM] Mumbai LUG Meetup for November

2013-11-12 Thread Mehul Ved
On Tue, Nov 12, 2013 at 9:35 PM, Shahid Farooqui shahidfaroo...@gmail.com wrote: +1 just awesome.. So what you are going to cover in your short talk? It would be nice If you can actively participate in Firefox OS hacking :) Hi Shahid, I am not yet sure what I want to cover. Will be

Re: [Ilugc] [[ OT ]] Need Info

2013-10-27 Thread Mehul Ved
On Sun, Oct 27, 2013 at 9:52 PM, Sahil ModGill scorpionking.sa...@gmail.com wrote: Now my question is, if someone is using Open Source softwares in his office / business then is there any need of Auditing? Yes, someone can still installed pirated apps or download pirated audio/video. But,

Re: [Ilugc] Throwing error as read only file system on creation of file/folder

2013-10-24 Thread Mehul Ved
On Thu, Oct 24, 2013 at 11:27 AM, hari prasadh hariprasad...@gmail.com wrote: Hi All, Again iam facing the same issues as turned back to read mode. please find below dmesg log and these are the lines which is above and below the line *Journal has aborted* Run a SMART test on your HDD to

Re: [Ilugc] CentOS Existing host to new host with all data/files

2013-10-22 Thread Mehul Ved
On Tue, Oct 22, 2013 at 5:57 PM, கணேஷ் குமார் ganeshthe...@gmail.com wrote: Our management decided to move our production server from existing provider to azure. My experience with Azure was horrid. Hope you have better luck. We have centOS on both. It is for classified's related site,

Re: [Ilugc] [[OT]] Few Questions

2013-10-16 Thread Mehul Ved
On Sat, Oct 12, 2013 at 4:07 PM, Sahil ModGill scorpionking.sa...@gmail.com wrote: Greetings All, I have few questions. Please share your experiences. * Is it mandatory for a job seeker to be proficient or aware from both flavors Debian and Redhat (apt-get and yum) or one flavor is

Re: [ILUG-BOM] Mumbai LUG meeting and Ubuntu 13.10 Release Party

2013-10-02 Thread Mehul Ved
On Wed, Oct 2, 2013 at 6:16 PM, Royce Pereira royc...@gmail.com wrote: Hi, Hi Royce, Newbie question.. how does one get to attend a meet like this ? Is there an attendance charge /fee ? We will put up a RSVP page soon. You just need to RSVP and drop by on the event day. We are keeping

[BangPypers] [X-POST] [JOBS] Fwd: Job Description

2013-09-30 Thread Mehul Ved
-- Forwarded message -- From: Lokesh Dave lok...@ldave.com Date: Mon, Sep 9, 2013 at 11:41 PM Subject: Re: Job Description To: Mehul Ved mehul.n@gmail.com We’re looking for people interested in getting in on the ground floor of an incredible opportunity to build amazing

Re: [Ilugc] [Commercial] Need a Kernel Expert for Building a Custom Distro

2013-09-06 Thread Mehul Ved
On Fri, Sep 6, 2013 at 1:10 PM, Rajesh kumar rkrajeshkuma...@gmail.com wrote: We are aiming at customization of Debian weezhy. Like installing debain net install, install the recommended packages and using something like remastersys to create a new one. You need to really define what you want

Re: [ubuntu-in] LAMP versus XAMP

2013-09-03 Thread Mehul Ved
On Tue, Sep 3, 2013 at 8:54 PM, Ramnarayan.K ramnaraya...@gmail.com wrote: Hi Ninad thanks did not bother to install xampp seema like lamp was easy enough with uncle Google to help You can always check Ubuntu community docs https://help.ubuntu.com/community/ApacheMySQLPHP -- ubuntu-in

Re: [Ilugc] help in calculator application in c (gtk)

2013-08-12 Thread Mehul Ved
On Mon, Aug 12, 2013 at 7:06 PM, Aravindhan.K aravindlinu...@gmail.com wrote: When I compiled why didn't any warning or error message appears regards it. Since i gave char * but actual argument is char. So error msg should appear. Use -Wall switch while compiling. Did you use that?

Re: [Ilugc] CSS: making a div to always stay at bottom

2013-07-29 Thread Mehul Ved
On Mon, Jul 29, 2013 at 6:42 PM, Mohan R mohan...@gmail.com wrote: Hi, A beginner question, I need to place a div to always stay at bottom of the viewport even if there is no other element in the html page. !DOCTYPE html html lang=en head meta charset=utf-8 titleTest/title style

Re: [Ilugc] How to call a PHP Variable in Jquery?

2013-07-11 Thread Mehul Ved
On Thu, Jul 11, 2013 at 6:25 PM, Madan U Sreenivasan mada...@gmail.com wrote: What you need is not 'calling', but 'embedding' - you should be doing this: $('#box4').css('background-image', 'url(images/?php echo $filename; ?)'); This isn't usually the recommended way to do it. It

Re: [Ilugc] how to use AWS?

2013-06-19 Thread Mehul Ved
have been require(aws-autoloader.php)? Check your directory layout to figure out what's the correct path. -- With Regards, Mehul Ved ___ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in

Re: [Ilugc] Which Db i need to choose ?

2013-06-14 Thread Mehul Ved
On Fri, Jun 14, 2013 at 8:04 AM, Karthikeyan A.K mindas...@gmail.comwrote: Either postgresql or mongo. Mongo will be cool! If someone just chooses adhocly like this, it's a recipe for disaster. PostgreSQL as well as MongoDB are not just popular but very good DBs to use. But, they may not

Re: [Ilugc] Fwd: [fosscomm] Canara Bank ignores GNU/Linux users

2013-05-18 Thread Mehul Ved
On Apr 30, 2013 8:40 PM, ARUN PALANIAPPAN arunpalaniappan@gmail.com wrote: Well All these issues arise due to the lack of awareness that prevail even among the so called geeks. Most Professionals who design a software always think along a single direction and that causes all the

Re: [Ilugc] Installing grub in the root partition

2013-05-18 Thread Mehul Ved
On Sat, Apr 27, 2013 at 10:46 PM, Shrinivasan T tshriniva...@gmail.comwrote: root@ubuntu:/# sudo grub-install /dev/sda8 sudo: unable to resolve host ubuntu /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition. This is a BAD idea..

Re: [Ilugc] [OT] PC Configuration for Web Development

2013-05-15 Thread Mehul Ved
is pretty cheap, if you have DDR3. This setup gives me advantage of not having to lug around a heavy machine and it gives a better battery life than usual laptops. And it's portable than having having a desktop so I can carry it around. -- With Regards, Mehul Ved

  1   2   3   4   5   6   7   8   9   10   >