[freeside] local signup

Webmaster webmaster at pvtprod.net
Fri Dec 1 18:22:25 PST 2000


> My guesses are that you didn't
>        touch /usr/local/freeside/fs_signupd_socket; chown freeside
>        /usr/local/freeside/fs_signupd_socket; chmod 600
/usr/local/freeside/fs_signupd_socket
> as documented in htdocs/docs/signup.html
>
> (if the messages just scroll by continuously)

re-did the above steps just to double check and with
./fs_signup_server freeside mybox.majorwebhost.com 1 6
the messages still scroll by continuously

I also did define a POP as was suggested by someone else


>
> or that you're using an pre-1.2.3 signup.cgi or FS-SignupClient on
> mybox.majorwebhost.com with a 1.2.3 fs_signup_server.
>
> (if, as the debugging seems to indicate, you went to signup.cgi)

I'm using the signup.cgi from the 1.2.3 tarball, though I didn't think it
would run until the prior steps had been sucessfully completed


>
> On Fri, Dec 01, 2000 at 05:09:34PM -0000, Webmaster wrote:
> > Redhat 6.2, perl 5.00503, apache 1.3.9, mysql,freeside 1.2.3
> >
> > ./fs_signup_server freeside mybox.majorwebhost.com 1 6
> >
> > please forgive some EAF or EO letters came screaming past so fast I
missed
> > them
> >
> >
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > [fs_signup_server] Processing signup...
> > Use of uninitialized value at ./fs_signup_server line 123.
> > Use of uninitialized value at ./fs_signup_server line 123.
> > Use of uninitialized value at ./fs_signup_server line 125.
> > Use of uninitialized value at
/usr/lib/perl5/site_perl/5.005/FS/Record.pm
> > line 1
> > 66.
> > Use of uninitialized value at ./fs_signup_server line 136.
> > [fs_signup_server] Sending results...
> > [fs_signup_server] Reading (waiting for) signup data...
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> > Use of uninitialized value at ./fs_signup_server line 91.
> >
> >
> > ----- Original Message -----
> > From: ivan <ivan at 420.am>
> > To: <ivan-freeside at sisd.com>
> > Sent: Friday, December 01, 2000 9:41 PM
> > Subject: Re: [freeside] local signup
> >
> >
> > > Turn on debugging in the signup server, by setting `$Debug = 9' at the
top
> > > of the fs_signup_server, and report the EXACT output, with cut and
paste,
> > > as well as the EXACT line used to run the signup server.
> > >
> > > On Fri, Dec 01, 2000 at 04:27:38PM -0000, Webmaster wrote:
> > > > addition of a package containing a single service with the table
name
> > > > svc_acct got the fs_signuo_server program to execute, but it loops
with
> > > > errors
> > > > use of uninitialized valua at lines 91, 123, 125 and 136
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: ivan <ivan at 420.am>
> > > > To: <ivan-freeside at sisd.com>
> > > > Sent: Friday, December 01, 2000 8:13 PM
> > > > Subject: Re: [freeside] local signup
> > > >
> > > >
> > > > > On Fri, Dec 01, 2000 at 03:03:26PM -0000, Webmaster wrote:
> > > > > > ok
> > > > > > now I can ssh to the freeside machine as the freeside user
without
> > > > enterring
> > > > > > a password
> > > > > > running ./fs_signup_server freeside mybox.mydomain.com 1 6
> > > > > >
> > > > > > produces:
> > > > > >
> > > > > > bash$ no usable package definitions, agent 1 at
./fs_signup_server
> > line
> > > > 62.
> > > > >
> > > > > As the error message says, there are no usable package definitions
for
> > > > > agent number 1.
> > > > >
> > > > > Usable package definitions are those which contain a single
service,
> > with
> > > > > table "svc_acct".
> > > > >
> > > > > You either didn't create any usable package definitions, or you
didn't
> > > > > allow agent number 1 to purchase those packages.
> > > > >
> > > > > > Use of uninitialized value at /usr/local/sbin/fs_signupd line
45,
> > > > <STDIN>
> > > > > > chunk
> > > > > > 1229.
> > > > > > bash$ Use of uninitialized value at /usr/local/sbin/fs_signupd
line
> > 47,
> > > > > > <STDIN>
> > > > > > chunk 1229.
> > > > > > Use of uninitialized value at /usr/local/sbin/fs_signupd line
47,
> > > > <STDIN>
> > > > > > chunk
> > > > > > 1229.
> > > > > > Use of uninitialized value at /usr/local/sbin/fs_signupd line
56,
> > > > <STDIN>
> > > > > > chunk
> > > > > > 1229.
> > > > > > Use of uninitialized value at /usr/local/sbin/fs_signupd line
58,
> > > > <STDIN>
> > > > > > chunk
> > > > > > 1229.
> > > > > > Use of uninitialized value at /usr/local/sbin/fs_signupd line
58,
> > > > <STDIN>
> > > > > > chunk
> > > > > > 1229.
> > > > > > bind: Address already in use at /usr/local/sbin/fs_signupd line
79,
> > > > <STDIN>
> > > > > > chun
> > > > > > k 1229.
> > > > > >
> > > > > > any helpful ideas?
> > > > > >
> > > > > > Brian
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: ivan <ivan at 420.am>
> > > > > > To: <ivan-freeside at sisd.com>
> > > > > > Sent: Thursday, November 23, 2000 8:52 AM
> > > > > > Subject: Re: [freeside] local signup
> > > > > >
> > > > > >
> > > > > > > On Thu, Nov 23, 2000 at 03:24:16AM -0000, Webmaster wrote:
> > > > > > > > Redhat 6.2, perl 5.00503, apache 1.3.9, mysql
> > > > > > > >
> > > > > > > > Trying to run signup.cgi locally
> > > > > > > >
> > > > > > > > ./fs_signup_server freeside mybox.mydomain.com 1 6 as user
> > freeside
> > > > > > > >
> > > > > > > > produces
> > > > > > > >
> > > > > > > > FATAL: Failed to create user ssh directory.
> > > > > > > > no usable package definitions, agent 1 at ./fs_signup_server
> > line
> > > > 62.
> > > > > > > >
> > > > > > > > so of course signup.cgi produces
> > > > > > > >
> > > > > > > > connect: Connection refused at
> > > > > > /usr/lib/perl5/site_perl/5.005/FS/SignupClient.pm line 102
> > > > > > > >
> > > > > > > > any help or documentation for running signup server locally?
> > > > > > >
> > > > > > > The whole point to separate those functions onto different
> > machines.
> > > > You
> > > > > > > *never* want to accept connections from the 'net in general on
> > your
> > > > > > > Freeside machine - that's why you run the signup server
remotely.
> > If
> > > > for
> > > > > > > testing purposes (you *NEVER* want to do this in production -
it's
> > > > > > > terrible security) you want to run the signup server locally,
> > there
> > > > isn't
> > > > > > > anything special about the configuration.
> > > > > > >
> > > > > > > I'm guessing you didn't correctly follow the step before
> > > > > > >
> > > > > > >   ./fs_signup _server user machine agentnum refnum
> > > > > > >
> > > > > > > which is:
> > > > > > >
> > > > > > >   Append the identity.pub from the freeside user on your
freeside
> > > > machine
> > > > > > >   to the authorized_keys file of the newly created freeside
user
> > on
> > > > the
> > > > > > >   external machine(s).
> > > > > > >
> > > > > > > To test if you've done this correctly, you should be able to
ssh
> > from
> > > > the
> > > > > > > freeside machine to the external machine, as the freeside
user,
> > > > without
> > > > > > > entering a password.
> > > > > > >
> > > > > > > --
> > > > > > > meow
> > > > > > > _ivan
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > meow
> > > > > _ivan
> > > > >
> > > >
> > >
> > > --
> > > meow
> > > _ivan
> > >
> > >
> >
>
> --
> meow
> _ivan
>




More information about the freeside-users mailing list