How to use svc_acct.import

Ivan Kohler ivan at sisd.com
Wed Mar 17 16:48:56 PST 1999


You need to install ssh on both your freeside machine and your target
machine (in your case, looks like mail.immortalnet.com.au).

On Thu, Mar 18, 1999 at 10:29:07AM +1000, A P Blogg wrote:
> I haven't seen any documentation really on how to use svc_acct.import other
> than the simple fact that I have to run it to import?!
> 
> Various attempt on my behalf have failed.. such as getting
> 
> --
> 
> scp -pr root at mail.immortalnet.com.au:/etc/passwd unix//passwd.import
> Proceed [y/N]:y
> Can't exec "scp": No such file or directory at
> /usr/lib/perl5/site_perl/FS/SSH.p
> m line 101, <STDIN> chunk 9.
> 
> and .. at the end..
> 
> Read on closed filehandle <USERS> at ./svc_acct.import line 155.
> Use of uninitialized value at ./svc_acct.import line 155.
> Use of uninitialized value at ./svc_acct.import line 155.
> Use of uninitialized value at ./svc_acct.import line 157.
> Use of uninitialized value at ./svc_acct.import line 157.
> Read on closed filehandle <SHADOW> at ./svc_acct.import line 166.
> Read on closed filehandle <PASSWD> at ./svc_acct.import line 208.
> 
> --
> 
> I'd very much like to get this whole thing up and running after spending one
> too many hours to get as far as I am..
> 
> HELP?!
> 
> Sincerely,
> 
> A P Blogg
> 
> Administration and Sales
> URL: http://www.immortalnet.com.au
> E-Mail: apblogg at immortalnet.com.au
> 
> -----Original Message-----
> From: Ivan Kohler <ivan at sisd.com>
> To: ivan-freeside at sisd.com <ivan-freeside at sisd.com>
> Date: Friday, March 19, 1999 12:43 AM
> Subject: Re: ./fs-setup Problems.
> 
> 
> >>From the frequency of this question, I'm guessing URI::Escape was
> >unbundled from libwww-perl.
> >
> >perl -MCPAN -e shell
> >install URI::Escape
> >
> >I've been away from a development system for a while but should get my
> >desktop box tonight.  I'll make sure that's added to the docs.
> >
> >On Thu, Mar 18, 1999 at 09:00:41AM +1000, A P Blogg wrote:
> >> Thanks to the below, I managed to have ./fs-setup run with alot of
> >> ".NOTICE:  CREATE TABLE/PRIMARY KEY"'s, but I think that was normal?
> >>
> >> I'm now getting Internal Server 500 error's from my web server, with an
> >> example from my error_log as below.
> >>
> >> --
> >> [Thu Mar 18 08:35:58 1999] svc_acct.cgi: [Thu Mar 18 08:35:58 1999]
> >> Request.pm:
> >> [Thu Mar 18 08:35:58 1999] Request.pm: [Thu Mar 18 08:35:58 1999]
> Escape.pm:
> >> Can
> >> 't locate URI/Escape.pm in @INC (@INC contains:
> >> /usr/lib/perl5/i386-linux/5.0040
> >> 4 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux
> >> /usr/lib/perl5/site_perl) a
> >> t /usr/lib/perl5/site_perl/CGI/Request.pm line 9.
> >> [Thu Mar 18 08:35:58 1999] svc_acct.cgi: [Thu Mar 18 08:35:58 1999]
> >> Request.pm:
> >> [Thu Mar 18 08:35:58 1999] Request.pm: BEGIN failed--compilation aborted
> at
> >> /usr
> >> /lib/perl5/site_perl/CGI/Request.pm line 9.
> >> [Thu Mar 18 08:35:58 1999] svc_acct.cgi: BEGIN failed--compilation
> aborted
> >> at /u
> >> sr/local/apache/htdocs/freeside/search/svc_acct.cgi line 26.
> >> httpd: [Thu Mar 18 08:35:58 1999] [error] [client 203.37.244.65]
> Premature
> >> end o
> >> f script headers: /usr/local/apache/htdocs/freeside/search/svc_acct.cgi
> >> --
> >>
> >> Any ideas?
> >>
> >> Sincerely,
> >>
> >> A P Blogg
> >>
> >> Administration and Sales
> >> URL: http://www.immortalnet.com.au
> >> E-Mail: apblogg at immortalnet.com.au
> >>
> >> -----Original Message-----
> >> From: Ivan Kohler <ivan at sisd.com>
> >> To: ivan-freeside at sisd.com <ivan-freeside at sisd.com>
> >> Date: Thursday, March 18, 1999 9:11 PM
> >> Subject: Re: ./fs-setup Problems.
> >>
> >>
> >> >I don't think the problem is with UID.pm.  It sounds like you've written
> >> >your DBI data source incorrectly. A data source for MySQL looks like:
> >> >`DBI:mysql:databasename' while a data source for PostgreSQL looks like:
> >> >`DBI:Pg:dbname=databasename'.  See the DBI manpage and the DBD:Pg
> manpage,
> >> >and htdocs/docs/config.html
> >> >
> >> >HTH
> >> >
> >> >--
> >> >Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi>
> Relhok
> >> Navi
> >> >Open-source billing and administration for ISPs -
> >> http://www.sisd.com/freeside
> >> >20 4,16 * * * saytime # please don't be surprised if you find me
> dreaming
> >> too
> >> >
> >> >
> >> >On Wed, Mar 17, 1999 at 09:05:39PM +1000, A P Blogg wrote:
> >> >> I've been going through the lengthy installation procedure, to come to
> >> >> running ./fs-setup to find I get a problem as follows.
> >> >>
> >> >> --
> >> >>
> >> >> ERROR: PQconnectdb() - Missing '=' after 'freeside' in conninfo
> >> >>  at /usr/lib/perl5/site_perl/FS/UID.pm line 69
> >> >> DBI->connect error: ERROR: PQconnectdb() - Missing '=' after
> 'freeside'
> >> in conni
> >> >> nfo
> >> >>
> >> >> --
> >> >>
> >> >> I've looked within UID.pm at line 69 and I can't work it out myself..
> >> >>
> >> >> Any ideas? ..
> >> >>
> >> >> Sincerely,
> >> >>
> >> >> A P Blogg
> >> >>
> >> >> Administration and Sales
> >> >> URL: http://www.immortalnet.com.au
> >> >> E-Mail: apblogg at immortalnet.com.au
> >> >>
> >> >
> >>
> >
> >--
> >Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi> Relhok
> Navi
> >Open-source billing and administration for ISPs -
> http://www.sisd.com/freeside
> >20 4,16 * * * saytime # please don't be surprised if you find me dreaming
> too
> 

-- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi> Relhok Navi
Open-source billing and administration for ISPs - http://www.sisd.com/freeside
20 4,16 * * * saytime # please don't be surprised if you find me dreaming too



More information about the freeside-users mailing list