From solarmitra@gmail.com Fri Apr 3 15:27:29 2015 Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) by underdog.stansell.org (8.14.9/8.14.9) with ESMTP id t33FRReX022014 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Fri, 3 Apr 2015 15:27:29 GMT Received: by igblo3 with SMTP id lo3so10598543igb.0 for ; Fri, 03 Apr 2015 08:27:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+x6nq/2fU/qoBR1OYFeptG6km6WZIQrW49Ln6FvdUaU=; b=iOopUCJ7E0yF+TtiZobZFpnik7ckGo0nTtQDwNVrlnWPwXZ7lOrhQPQ6KZAAFvhlJ8 dV6jHYZCm9yOAsdA7Jp5qlS7Wfqj5LuDdzXY2vtcsD1b0cu8iknUjRP4YrShD4qZtnyY yDn0h1XhNd3z3UaRr0wSTliS3Hi9yifiJlJM6UQHdkXmh/eyqQNFbVfkLJWHBBdcneLM LXvWwXCLvEmRts0ELnIDSG6LPGryXmZfsFAuAwHjjgOEwSSwKObD+aTxd/36moJizseP qbK2UEcRHcn2fvekVZo51pmIQHDWve+jwvGEusz9ZtwRjw163p4XRjUixvtiNqTb5DNs 6RSw== MIME-Version: 1.0 X-Received: by 10.50.79.163 with SMTP id k3mr28859168igx.30.1428074845726; Fri, 03 Apr 2015 08:27:25 -0700 (PDT) Received: by 10.36.127.68 with HTTP; Fri, 3 Apr 2015 08:27:25 -0700 (PDT) Date: Fri, 3 Apr 2015 11:27:25 -0400 Message-ID: Subject: conserver from solaris to linux From: Yash Menpara To: users@conserver.com Content-Type: multipart/alternative; boundary=089e01184038e46f580512d39516 X-Spam-Score: -1.488 () BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2015 15:27:29 -0000 --089e01184038e46f580512d39516 Content-Type: text/plain; charset=ISO-8859-1 First task is given to me at my new job to migrate conserver from old solaris box to linux VM. I have build rpm using the file given at conserver.com. I am testing new conserver by using old solaris conserver.cf file and one of existing console called "fish". After starting the conserver, the console "fish" goes down after few seconds. I am totally new to conserver, so I am not sure how I can disconnect from old master on solaris and connect to test master at linux for short term test, and then connect back to old server. can same server console be coonected to different master ? Here are details of command, config and log file #conserver -v [Fri Apr 3 11:06:38 2015] conserver (3765): conserver.com version 8.2.0 [Fri Apr 3 11:06:38 2015] conserver (3765): started as `root' by `ym1352' [Fri Apr 3 11:06:38 2015] conserver (3765): INFO: interface address 127.0.0.1 (lo) [Fri Apr 3 11:06:38 2015] conserver (3765): INFO: interface address 128.90.92.93 (eth0) [Fri Apr 3 11:06:38 2015] conserver (3766): INFO: [fish] port 23 on fish-console [Fri Apr 3 11:06:38 2015] conserver (3765): INFO: group #1 pid 3766 on port 38720 [Fri Apr 3 11:06:38 2015] conserver (3765): INFO: access type `t' for `localhost' [Fri Apr 3 11:06:48 2015] conserver (3766): ERROR: [fish] connect timeout: forcing down # cat /var/log/conserver [Thu Apr 2 16:47:50 2015] conserver (3129): conserver.com version 8.2.0 [Thu Apr 2 16:47:50 2015] conserver (3129): started as `root' by ym1352' [Thu Apr 2 16:48:00 2015] conserver (3131): ERROR: [shrimp] connect timeout: forcing down [Fri Apr 3 11:04:42 2015] conserver (3129): terminated #cat /var/log/consoles/fish [-- Console up -- Fri Apr 3 11:06:38 2015] [-- Console down -- Fri Apr 3 11:06:48 2015] # console -M localhost fish-console console: connect(): 782@localhost: Connection refused ---------------------------------/etc/conserver.cf--------------------- # cat /etc/conserver.cf group mygroup1 { users *; } default ilo-vsp { port 23; initcmd "/opt/local/bin/ilo-vsplogin"; } default * { rw mygroup1; logfile /var/log/consoles/&; master localhost; type host; timestamp 1la; } # fish hpdl380g4 mroom console fish { include ilo-vsp; host fish-console; } # list of clients we allow access * { trusted localhost; } --089e01184038e46f580512d39516 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
First task is given to me at my new job to migrate co= nserver from old solaris box to linux VM. I have build rpm using the file g= iven at conserver.com.=A0
I = am testing new conserver by using old solaris conserver.cf file and one of existing console called "fish"= ;.

After starting the conserver, the console "= ;fish" goes down after few seconds. I am totally new to conserver, so = I am not sure how I can disconnect from old master on solaris and connect t= o test master at linux for short term test, and then connect back to old se= rver.
can same server console be coonected to different master ?<= /div>

Here are details of command, config and log file

#conserver -v
[Fri Apr =A03 11:06:38 2015= ] conserver (3765): conserver.com vers= ion 8.2.0
[Fri Apr =A03 11:06:38 2015] conserver (3765): started = as `root' by `ym1352'
[Fri Apr =A03 11:06:38 2015] conser= ver (3765): INFO: interface address 127.0.0.1 (lo)
[Fri Apr =A03 = 11:06:38 2015] conserver (3765): INFO: interface address 128.90.92.93 (eth0= )
[Fri Apr =A03 11:06:38 2015] conserver (3766): INFO: [fish] por= t 23 on fish-console
[Fri Apr =A03 11:06:38 2015] conserver (3765= ): INFO: group #1 pid 3766 on port 38720
[Fri Apr =A03 11:06:38 2= 015] conserver (3765): INFO: access type `t' for `localhost'
<= div>[Fri Apr =A03 11:06:48 2015] conserver (3766): ERROR: [fish] connect ti= meout: forcing down

# cat /var/log/conserver
=

[Thu Apr =A02 16:47:50 2015] conserver (3129): conserver.com version 8.2.0
[Thu Ap= r =A02 16:47:50 2015] conserver (3129): started as `root' by ym1352'= ;
[Thu Apr =A02 16:48:00 2015] conserver (3131): ERROR: [shrimp] = connect timeout: forcing down
[Fri Apr =A03 11:04:42 2015] conser= ver (3129): terminated


#cat /var/lo= g/consoles/fish

[-- Console up -- Fri Apr =A03 11:= 06:38 2015]
[-- Console down -- Fri Apr =A03 11:06:48 2015]
=

# =A0console -M localhost =A0fish-console
console: connect(): 782@localhost: Connection refused
---------------------------------/etc/conserver.cf-------------= --------

# cat /etc/conserver.cf
group mygroup1 {
=A0 =A0 =A0 =A0 use= rs *;

}


de= fault ilo-vsp {
=A0 =A0 port 23;
=A0 =A0 initcmd "= /opt/local/bin/ilo-vsplogin";
}

default * {
=A0 =A0 =A0 =A0 rw mygroup1;
= =A0 =A0 =A0 =A0 logfile /var/log/consoles/&;
=A0 =A0 =A0 =A0 = master localhost;
=A0 =A0 =A0 =A0 type host;
=A0 =A0 = =A0 =A0 timestamp 1la;
}


= # fish hpdl380g4 mroom
console fish {
=A0 =A0 include i= lo-vsp;
=A0 =A0 host fish-console;
}

# list of clients we allow

access * {
=
=A0 =A0 =A0 =A0 trusted localhost;
}

--089e01184038e46f580512d39516-- From bryan@conserver.com Fri Apr 3 16:35:51 2015 Received: from [192.168.0.242] (c-98-207-6-47.hsd1.ca.comcast.net [98.207.6.47]) (authenticated bits=0) by underdog.stansell.org (8.14.9/8.14.9) with ESMTP id t33GZoP2027065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Apr 2015 16:35:50 GMT Content-Type: multipart/alternative; boundary="Apple-Mail=_A55E6A87-4019-4466-BEE3-CDB3826C648B" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: conserver from solaris to linux From: Bryan Stansell In-Reply-To: Date: Fri, 3 Apr 2015 09:35:50 -0700 Message-Id: References: To: Yash Menpara X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: 0.414 () BAYES_00,HELO_MISC_IP,HTML_MESSAGE,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2015 16:35:51 -0000 --Apple-Mail=_A55E6A87-4019-4466-BEE3-CDB3826C648B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hey Yash, You'll the two could come up in unison if the ilo port allowed it (but = doesn't)...so what you should do is use the "^Ecd" sequence to "down" = the console on the master so that your test instance can connect. Even = when the test instance has forced the port down, you can use "^Eco" to = have it open the connection again. So, with the proper use of each = sequence on each instance, you'll be able to flip-flop control of that = console between them. Bryan =20 > On Apr 3, 2015, at 8:27 AM, Yash Menpara wrote: >=20 > First task is given to me at my new job to migrate conserver from old = solaris box to linux VM. I have build rpm using the file given at = conserver.com .=20 > I am testing new conserver by using old solaris conserver.cf = file and one of existing console called "fish". >=20 > After starting the conserver, the console "fish" goes down after few = seconds. I am totally new to conserver, so I am not sure how I can = disconnect from old master on solaris and connect to test master at = linux for short term test, and then connect back to old server. > can same server console be coonected to different master ? >=20 > Here are details of command, config and log file >=20 > #conserver -v > [Fri Apr 3 11:06:38 2015] conserver (3765): conserver.com = version 8.2.0 > [Fri Apr 3 11:06:38 2015] conserver (3765): started as `root' by = `ym1352' > [Fri Apr 3 11:06:38 2015] conserver (3765): INFO: interface address = 127.0.0.1 (lo) > [Fri Apr 3 11:06:38 2015] conserver (3765): INFO: interface address = 128.90.92.93 (eth0) > [Fri Apr 3 11:06:38 2015] conserver (3766): INFO: [fish] port 23 on = fish-console > [Fri Apr 3 11:06:38 2015] conserver (3765): INFO: group #1 pid 3766 = on port 38720 > [Fri Apr 3 11:06:38 2015] conserver (3765): INFO: access type `t' for = `localhost' > [Fri Apr 3 11:06:48 2015] conserver (3766): ERROR: [fish] connect = timeout: forcing down >=20 > # cat /var/log/conserver >=20 > [Thu Apr 2 16:47:50 2015] conserver (3129): conserver.com = version 8.2.0 > [Thu Apr 2 16:47:50 2015] conserver (3129): started as `root' by = ym1352' > [Thu Apr 2 16:48:00 2015] conserver (3131): ERROR: [shrimp] connect = timeout: forcing down > [Fri Apr 3 11:04:42 2015] conserver (3129): terminated >=20 >=20 > #cat /var/log/consoles/fish >=20 > [-- Console up -- Fri Apr 3 11:06:38 2015] > [-- Console down -- Fri Apr 3 11:06:48 2015] >=20 > # console -M localhost fish-console > console: connect(): 782@localhost: Connection refused >=20 > = ---------------------------------/etc/conserver.cf--------------------- >=20 > # cat /etc/conserver.cf > group mygroup1 { > users *; >=20 > } >=20 >=20 > default ilo-vsp { > port 23; > initcmd "/opt/local/bin/ilo-vsplogin"; > } >=20 >=20 > default * { > rw mygroup1; > logfile /var/log/consoles/&; > master localhost; > type host; > timestamp 1la; > } >=20 >=20 > # fish hpdl380g4 mroom > console fish { > include ilo-vsp; > host fish-console; > } >=20 > # list of clients we allow >=20 > access * { > trusted localhost; > } >=20 > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users --Apple-Mail=_A55E6A87-4019-4466-BEE3-CDB3826C648B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Hey Yash,

You'll the two could come up in unison if the ilo port = allowed it (but doesn't)...so what you should do is use the "^Ecd" = sequence to "down" the console on the master so that your test instance = can connect.  Even when the test instance has forced the port down, = you can use "^Eco" to have it open the connection again.  So, with = the proper use of each sequence on each instance, you'll be able to = flip-flop control of that console between them.

Bryan
 
On = Apr 3, 2015, at 8:27 AM, Yash Menpara <solarmitra@gmail.com> wrote:

First task is given to me at my new job to = migrate conserver from old solaris box to linux VM. I have build rpm = using the file given at conserver.com
I am testing = new conserver by using old solaris conserver.cf file and one of existing console called = "fish".

After = starting the conserver, the console "fish" goes down after few seconds. = I am totally new to conserver, so I am not sure how I can disconnect = from old master on solaris and connect to test master at linux for short = term test, and then connect back to old server.
can = same server console be coonected to different master ?

Here are details of = command, config and log file

#conserver -v
[Fri = Apr  3 11:06:38 2015] conserver (3765): conserver.com version = 8.2.0
[Fri Apr  3 11:06:38 2015] conserver = (3765): started as `root' by `ym1352'
[Fri Apr =  3 11:06:38 2015] conserver (3765): INFO: interface address = 127.0.0.1 (lo)
[Fri Apr  3 11:06:38 2015] = conserver (3765): INFO: interface address 128.90.92.93 (eth0)
[Fri Apr  3 11:06:38 2015] conserver (3766): INFO: = [fish] port 23 on fish-console
[Fri Apr  3 = 11:06:38 2015] conserver (3765): INFO: group #1 pid 3766 on port = 38720
[Fri Apr  3 11:06:38 2015] conserver = (3765): INFO: access type `t' for `localhost'
[Fri = Apr  3 11:06:48 2015] conserver (3766): ERROR: [fish] connect = timeout: forcing down

# cat /var/log/conserver

[Thu Apr  2 16:47:50 2015] = conserver (3129): conserver.com version 8.2.0
[Thu Apr =  2 16:47:50 2015] conserver (3129): started as `root' by = ym1352'
[Thu Apr  2 16:48:00 2015] conserver = (3131): ERROR: [shrimp] connect timeout: forcing down
[Fri Apr  3 11:04:42 2015] conserver (3129): = terminated


#cat /var/log/consoles/fish

[-- Console up -- Fri = Apr  3 11:06:38 2015]
[-- Console down -- Fri = Apr  3 11:06:48 2015]

#  console -M localhost =  fish-console
console: connect(): = 782@localhost: Connection refused

---------------------------------/etc/conserver.cf-------------= --------

# cat = /etc/conserver.cf
group mygroup1 = {
        users *;

}

default ilo-vsp {
    port = 23;
    initcmd = "/opt/local/bin/ilo-vsplogin";
}


default * {
        = rw mygroup1;
        logfile = /var/log/consoles/&;
      =   master localhost;
      =   type host;
        = timestamp 1la;
}


# = fish hpdl380g4 mroom
console fish {
    include ilo-vsp;
  =   host fish-console;
}

# list of clients we allow

access * {
        trusted localhost;
}

_______________________________________________
users = mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users

= --Apple-Mail=_A55E6A87-4019-4466-BEE3-CDB3826C648B-- From solarmitra@gmail.com Tue Apr 7 17:14:53 2015 Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by underdog.stansell.org (8.14.9/8.14.9) with ESMTP id t37HEoEB028778 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Tue, 7 Apr 2015 17:14:52 GMT Received: by ierf6 with SMTP id f6so52745053ier.2 for ; Tue, 07 Apr 2015 10:14:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EM+DgDC/v0vwYxsKql/25fbuPFpMfixP5mrdUN6cRGE=; b=X/dtnD3NvEaRPAtnWJtXIbXPbdPZVACyyHd9+/8En640pBK8vrLCo8k8SSDjDjZSYE jsqwKBmCtZQxqvWPghJrLp2+gbXneM0UGTtfYzF6ZPUr2cJ5GRNcHae+S1RR2m6FPHSv ku0szItPxTixTz1EyIKc5TmF4aR2EN1LZ46EKzhg9Qt5Q1NRvbqJJ8vvh03KXAvlnH5u U/j3FEmcxd31sjPW2QqmYm4ac5yViqvnwW5hW6YITS8Kn+svSMMr6WFIaS6IjIbpdL2i IU+MHNzgIcqBZttK2+PzA+1dGDfrdsWlDorAiEsvDaCvi8DJoPQPu83x43ExdwB7TTgY GqoQ== MIME-Version: 1.0 X-Received: by 10.50.78.170 with SMTP id c10mr5352228igx.0.1428426889141; Tue, 07 Apr 2015 10:14:49 -0700 (PDT) Received: by 10.36.127.68 with HTTP; Tue, 7 Apr 2015 10:14:49 -0700 (PDT) Date: Tue, 7 Apr 2015 13:14:49 -0400 Message-ID: Subject: conserver RUNAS=conservr ERROR: Master(): bind(782): Permission denied From: Yash Menpara To: users@conserver.com Content-Type: multipart/alternative; boundary=089e0122e68850a3900513258dc1 X-Spam-Score: -1.488 () BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 17:14:53 -0000 --089e0122e68850a3900513258dc1 Content-Type: text/plain; charset=ISO-8859-1 It seems everything works fine as a root. I wanted to test to run as "conservr" user. so I have created user and changed permission of /var/log/conserver and /var/log/consoles/ but conserver still gets terminated with error "ERROR: Master(): bind(782): Permission denied" # cat /etc/default/conserver # server options #OPTIONS="-p 33000 -d" # run as different user that root RUNAS=conservr # id conservr uid=4215(conservr) gid=500(user) groups=500(user) #chown root:user /var/log/conserver #chown root.user /var/log/consoles/ -R #chmod 775 /var/log/consoles/ #chmod 664 /var/log/consoles/* #chmod g+s /var/log/console #ls -ld /var/log/conserver -rw-rw-r--. 1 root user 8008 Apr 7 11:54 /var/log/conserver [root@conservertest ~]# ls -ld /var/log/consoles/ drwxrwxr-x. 2 root user 4096 Apr 3 14:12 /var/log/consoles/ [root@conservertest ~]# ls -l /var/log/consoles/ total 12 -rw-rw-r--. 1 root user 3815 Apr 7 11:54 goose -rw-rw-r--. 1 root user 1425 Apr 7 11:54 pimpernel -rw-rw-r--. 1 root user 828 Apr 3 11:06 shrimp Starting conserver: [Tue Apr 7 11:54:44 2015] conserver (7262): conserver.com version 8.2.0 [Tue Apr 7 11:54:44 2015] conserver (7262): started as `conservr' by `ym2531' [Tue Apr 7 11:54:44 2015] conserver (7262): warning: running as a non-root user - any shadow password usage will most likely fail! [Tue Apr 7 11:54:44 2015] conserver (7262): daemonizing # tail /var/log/conserver [Tue Apr 7 11:53:36 2015] conserver (7237): ERROR: Master(): bind(782): Permission denied [Tue Apr 7 11:53:36 2015] conserver (7237): terminated [Tue Apr 7 11:54:44 2015] conserver (7263): conserver.com version 8.2.0 [Tue Apr 7 11:54:44 2015] conserver (7263): started as `conservr' by `ym2531' [Tue Apr 7 11:54:44 2015] conserver (7264): [pimpernel] initcmd started: pid 7266 [Tue Apr 7 11:54:44 2015] conserver (7264): [goose] initcmd started: pid 7267 [Tue Apr 7 11:54:44 2015] conserver (7264): [pimpernel] initcmd terminated: pid 7266 [Tue Apr 7 11:54:45 2015] conserver (7264): [goose] initcmd terminated: pid 7267 [Tue Apr 7 11:54:45 2015] conserver (7263): ERROR: Master(): bind(782): Permission denied [Tue Apr 7 11:54:45 2015] conserver (7263): terminated If anybody runs their conserver other then root and would like to know if my permission should be different Thanks so much in advance Best regards, Yash --089e0122e68850a3900513258dc1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

It seems everything works fine as a ro= ot. I wanted to test to run as "conservr" user.=A0
so I= have created user and changed permission of /var/log/conserver and /var/lo= g/consoles/=A0
but conserver still gets terminated with error &qu= ot;ERROR: Master(): bind(782): Permission denied"

=


# cat /etc/default/conserver
#= server options
#OPTIONS=3D"-p 33000 -d"
# ru= n as different user that root
RUNAS=3Dconservr


# id conservr
uid=3D4215(conservr) gid=3D50= 0(user) groups=3D500(user)


#chown r= oot:user /var/log/conserver
#chown root.user /var/log/consoles/ -= R
#chmod 775 /var/log/consoles/
#chmod 664 /var/log/con= soles/*
#chmod g+s /var/log/console


=
#ls -ld /var/log/conserver
-rw-rw-r--. 1 root user 800= 8 Apr =A07 11:54 /var/log/conserver


[root@conservertest ~]# ls -ld /var/log/consoles/
drwxrwxr-x. 2 = root user 4096 Apr =A03 14:12 /var/log/consoles/
[root@conservert= est ~]# ls -l /var/log/consoles/
total 12
-rw-rw-r--. 1= root user 3815 Apr =A07 11:54 goose
-rw-rw-r--. 1 root user 1425= Apr =A07 11:54 pimpernel
-rw-rw-r--. 1 root user =A0828 Apr =A03= 11:06 shrimp



Starti= ng conserver: [Tue Apr =A07 11:54:44 2015] conserver (7262): conserver.com version 8.2.0
[Tue Apr =A07 = 11:54:44 2015] conserver (7262): started as `conservr' by `ym2531'<= /div>
[Tue Apr =A07 11:54:44 2015] conserver (7262): warning: running a= s a non-root user - any shadow password usage will most likely fail!
<= div>[Tue Apr =A07 11:54:44 2015] conserver (7262): daemonizing

# tail /var/log/conserver
[Tue Apr = =A07 11:53:36 2015] conserver (7237): ERROR: Master(): bind(782): Permissio= n denied
[Tue Apr =A07 11:53:36 2015] conserver (7237): terminate= d
[Tue Apr =A07 11:54:44 2015] conserver (7263): conserver.com version 8.2.0
[Tue Apr =A07 11= :54:44 2015] conserver (7263): started as `conservr' by `ym2531'
[Tue Apr =A07 11:54:44 2015] conserver (7264): [pimpernel] initcmd = started: pid 7266
[Tue Apr =A07 11:54:44 2015] conserver (7264): = [goose] initcmd started: pid 7267
[Tue Apr =A07 11:54:44 2015] co= nserver (7264): [pimpernel] initcmd terminated: pid 7266
[Tue Apr= =A07 11:54:45 2015] conserver (7264): [goose] initcmd terminated: pid 7267=
[Tue Apr =A07 11:54:45 2015] conserver (7263): ERROR: Master(): = bind(782): Permission denied
[Tue Apr =A07 11:54:45 2015] conserv= er (7263): terminated


If anybody ru= ns their conserver other then root and would like to know if my permission = should be different

Thanks so much in advance

Best regards,
Yash
--089e0122e68850a3900513258dc1-- From bryan@conserver.com Wed Apr 8 05:44:30 2015 Received: from [192.168.0.242] (c-98-207-6-47.hsd1.ca.comcast.net [98.207.6.47]) (authenticated bits=0) by underdog.stansell.org (8.14.9/8.14.9) with ESMTP id t385iUm8008914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 8 Apr 2015 05:44:30 GMT Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: conserver RUNAS=conservr ERROR: Master(): bind(782): Permission denied From: Bryan Stansell In-Reply-To: Date: Tue, 7 Apr 2015 22:44:30 -0700 Message-Id: <8AAE6782-17F1-4843-A8C5-461AE2E5B3C2@conserver.com> References: To: users@conserver.com X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: 0.413 () BAYES_00,HELO_MISC_IP,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id t385iUm8008914 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2015 05:44:30 -0000 You'll need to use the -p option to bind to a port number 1024 or greater. Only root can bind to ports below that. Your console client will need to use the same option to connect to the server at that point (or you rebuild from source with a port other than 782 so both client and server match). There are other tricky ways to get around the restriction as well...a favorite search engine should find the options. Bryan > On Apr 7, 2015, at 10:14 AM, Yash Menpara wrote: > > It seems everything works fine as a root. I wanted to test to run as "conservr" user. > so I have created user and changed permission of /var/log/conserver and /var/log/consoles/ > but conserver still gets terminated with error "ERROR: Master(): bind(782): Permission denied" > From solarmitra@gmail.com Wed Apr 8 13:35:21 2015 Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) by underdog.stansell.org (8.14.9/8.14.9) with ESMTP id t38DZISQ023356 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL); Wed, 8 Apr 2015 13:35:20 GMT Received: by igblo3 with SMTP id lo3so38132141igb.0; Wed, 08 Apr 2015 06:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EJ1/jNbIGM7aQ90OrZlwescBMRbh3upnvz8TA2Dqfd4=; b=hmDcGedPyEo+QIKY5HJY9sW9pIqxXlwUuyVFqeJk5d9mgYQRXzoXoZ3/W4WDPvHLhc tuF6kGuf+x57bEWOlZ+/Zhr8OjwXIX99X5mCqIB8Z/yBhyWcBQvLICIa+zu6ddr7jTKF du4qGXyP+7jhuaEjsa2hrzHhg42DkY9Z/xY79Jl4C568DHqvSi+pZlXEPsSP4SDVEO4y duqxqK6f36xpKDxlLIR7nryjWj0S3VqCz6oWaUj4V+T4JJzdEx9VLHz+SHHdWonkz+ZW 86Z2ARwv592zYD5YGNhxqQ+4g8/6n+dnI8jFGRsUoXdFSSXZ73IuJyTlRCt+WYSLGkWD 9b/Q== MIME-Version: 1.0 X-Received: by 10.107.156.19 with SMTP id f19mr38586246ioe.45.1428500118075; Wed, 08 Apr 2015 06:35:18 -0700 (PDT) Received: by 10.36.127.68 with HTTP; Wed, 8 Apr 2015 06:35:18 -0700 (PDT) In-Reply-To: <8AAE6782-17F1-4843-A8C5-461AE2E5B3C2@conserver.com> References: <8AAE6782-17F1-4843-A8C5-461AE2E5B3C2@conserver.com> Date: Wed, 8 Apr 2015 09:35:18 -0400 Message-ID: Subject: Re: conserver RUNAS=conservr ERROR: Master(): bind(782): Permission denied From: Yash Menpara To: Bryan Stansell Content-Type: multipart/alternative; boundary=001a1141b9ac197efc0513369ade X-Spam-Score: -1.488 () BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2015 13:35:21 -0000 --001a1141b9ac197efc0513369ade Content-Type: text/plain; charset=ISO-8859-1 Bryan, I read it couple of time when I build rpm and yet I still skipped that port number part. Thank you for your quick help. Yash On Wed, Apr 8, 2015 at 1:44 AM, Bryan Stansell wrote: > You'll need to use the -p option to bind to a port number 1024 or > greater. Only root can bind to ports below that. Your console client will > need to use the same option to connect to the server at that point (or you > rebuild from source with a port other than 782 so both client and server > match). There are other tricky ways to get around the restriction as > well...a favorite search engine should find the options. > > Bryan > > > On Apr 7, 2015, at 10:14 AM, Yash Menpara wrote: > > > > It seems everything works fine as a root. I wanted to test to run as > "conservr" user. > > so I have created user and changed permission of /var/log/conserver and > /var/log/consoles/ > > but conserver still gets terminated with error "ERROR: Master(): > bind(782): Permission denied" > > > > > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users > --001a1141b9ac197efc0513369ade Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Bryan,=

I read it couple of time when= I build rpm and yet I still skipped that port number part.

Thank=A0you for your quick help.

Yash


On = Wed, Apr 8, 2015 at 1:44 AM, Bryan Stansell <bryan@conserver.com&g= t; wrote:
You'll need to use t= he -p option to bind to a port number 1024 or greater.=A0 Only root can bin= d to ports below that.=A0 Your console client will need to use the same opt= ion to connect to the server at that point (or you rebuild from source with= a port other than 782 so both client and server match).=A0 There are other= tricky ways to get around the restriction as well...a favorite search engi= ne should find the options.

Bryan

> On Apr 7, 2015, at 10:14 AM, Yash Menpara <solarmitra@gmail.com> wrote:
>
> It seems everything works fine as a root. I wanted to test to run as &= quot;conservr" user.
> so I have created user and changed permission of /var/log/conserver an= d /var/log/consoles/
> but conserver still gets terminated with error "ERROR: Master(): = bind(782): Permission denied"
>


_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users

--001a1141b9ac197efc0513369ade--