usage hours.

Willy Marlian wil at bdg.centrin.net.id
Mon May 7 19:36:01 PDT 2001


Hi.

My Server configuration is:
- Linux 2.2.17
- mysql  Ver 11.15 Distrib 3.23.37, for pc-linux-gnu (i686)
- apache-1.3.14-2.6.2
- perl-5.00503-12
- mod_perl-1.23-3

I have some problems here:
1. I can't find to define usage hours service in "Edit Service Definition" 
page.
2. Refer to your online documentation, there are many Configuration Files 
in directory '/usr/local/etc/freeside/conf.datasource', but when I look 
into my server I only found: 
address  domain  home  lpr  registries  secrets  shells  smtpmachine
Where are the others? Can I make a new file to make the other 
configuration? Which format should I use then?
3. I was trying to use ./svc_acct.import but I received some error messages:

[freeside at localhost bin]$ ./svc_acct.import admin
"my" variable $cols masks earlier declaration in same statement at 
/usr/lib/perl5/site_perl/5.005/Array/PrintCols.pm line 60.
1: personal_service
2: domain

Most accounts probably have entries in passwd and users (with Port-Limit
nonexistant or 1).
Enter part number: 1
1: personal_service
2: domain

Some accounts have entries in passwd and users, but with Port-Limit 2 (or
more).
Enter part number: 1
1: personal_service
2: domain

Some accounts might have entries in users only (Port-Limit 1)
Enter part number: 1
1: personal_service
2: domain

Some accounts might have entries in users only (Port-Limit >= 2)
Enter part number: 1
1: personal_service
2: domain

POP mail accounts have entries in passwd only, and have a particular shell.
Enter that shell: 1
Enter part number: 1
1: personal_service
2: domain

Everything else in passwd is a shell account.
Enter part number: 1

Enter the location and name of your _user_ passwd file, for example
"mail.isp.com:/etc/passwd" or "nis.isp.com:/etc/global/passwd"
: /etc/passwd
scp -pr root@/etc/passwd 
/usr/local/etc/freeside/export.DBI:mysql:host=localhost;dbname=freeside/passwd.import
Proceed [y/N]:y
cp: root@/etc/passwd: No such file or directory

Enter the location and name of your _user_ shadow file, for example
"mail.isp.com:/etc/shadow" or "bsd.isp.com:/etc/master.passwd"
: /etc/shadow
scp -pr root@/etc/shadow 
/usr/local/etc/freeside/export.DBI:mysql:host=localhost;dbname=freeside/shadow.import
Proceed [y/N]:y
cp: root@/etc/shadow: No such file or directory

Enter the location and name of your radius "users" file, for example
"radius.isp.com:/etc/raddb/users"
: /home/freeside/users
scp -pr root@/home/freeside/users 
/usr/local/etc/freeside/export.DBI:mysql:host=localhost;dbname=freeside/users.import
Proceed [y/N]:y
cp: root@/home/freeside/users: No such file or directory

Read on closed filehandle <USERS> at ./svc_acct.import line 143.
Use of uninitialized value at ./svc_acct.import line 182.
Use of uninitialized value at ./svc_acct.import line 182.
Use of uninitialized value at ./svc_acct.import line 184.
Use of uninitialized value at ./svc_acct.import line 184.
Read on closed filehandle <SHADOW> at ./svc_acct.import line 187.
Read on closed filehandle <PASSWD> at ./svc_acct.import line 193.

4. Please give me some example about how to use TEMPLATE_cust_main.import
[freeside at titan eg]$ ./TEMPLATE_cust_main.import admin
Can't open legacy_file: No such file or directory at 
./TEMPLATE_cust_main.import line 51.


Thanks in Advance.

- wil





More information about the freeside-users mailing list