Tried that, ie put the "" around the 192.168.0.100 and get the same response ie Error: bad config file (2 errors).
The report doesn't specify what the errors are Im afraid.
Re naming of server. I don't use DNS on my network just ip addresses. Im providing access to the server to the outside world by using port forwarding. So Im assuming that I can use the ip address instead of the name in the config file. Is this acceptable to SER??
Best regards Martin Coggin
Information in this message is confidential and may be legally privileged. It is intended solely for the person to whom it is addressed. If you have received this email in error please delete it immediately and also reply to me to let me know. Thank you for your help.
-----Original Message----- From: Atle Samuelsen [mailto:clona@cyberhouse.no] Sent: 29 March 2004 09:12 To: Martin Coggin Subject: Re: [Serusers] Quick start SER Too much shared memory
Hey Martin
* Martin Coggin martin@mc2-consulting.co.uk [040329 10:04]:
Tks. Got through to point 6 of the section on adding my sql ser.
I edited the ser.cfg file see the attached file. However I got 2
errors
reported as per extract below and sorry I cant find them in the file.
hattie:/etc/init.d# ser restart ERROR: bad config file (2 errors) hattie:/etc/init.d#
Note that I don't have DNS server on my network so Im using my
internal # Uncomment this if you want to use digest authentication if (!www_authorize(192.168.0.100, "subscriber")) { www_challenge(192.168.0.100, "0"); break; };
Im guessing without seeing the erros that you are hitting are that you are missing some " in the block I pasted erly'er.. try to change it to !www_authorize("192.168.0.100", and www_channenge("192.168.0.100", .. tho. remeber that your domain must now be 192.168.0.100...
ip address, I assume that hence the entry for the ip address is acceptable. My hosts file does include the host name. Is this ok.
Ill
be doing a forward on my firewall from my ip address to my internal ip address of the server.
Im a little concerned that I didn't do step 3 completely. Ie creation of MySQL tables. I used the /usr/sbin/ser_mysql.sh creation process.
I
entered a blank password for root, I entered ser as the domain: I got
a
creating database ... message, then got another "Enter password:" request, entered blank and then returned to the command line.
You've been very patient with your help tks Martin
- Atle
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
have you checked the /var/log/messages file? There should be something there.
if not, increase the debug level.. and try once more.
- Atle
* Martin Coggin martin@mc2-consulting.co.uk [040329 14:57]:
Tried that, ie put the "" around the 192.168.0.100 and get the same response ie Error: bad config file (2 errors).
The report doesn't specify what the errors are Im afraid.
Re naming of server. I don't use DNS on my network just ip addresses. Im providing access to the server to the outside world by using port forwarding. So Im assuming that I can use the ip address instead of the name in the config file. Is this acceptable to SER??
Best regards Martin Coggin
Information in this message is confidential and may be legally privileged. It is intended solely for the person to whom it is addressed. If you have received this email in error please delete it immediately and also reply to me to let me know. Thank you for your help.
-----Original Message----- From: Atle Samuelsen [mailto:clona@cyberhouse.no] Sent: 29 March 2004 09:12 To: Martin Coggin Subject: Re: [Serusers] Quick start SER Too much shared memory
Hey Martin
- Martin Coggin martin@mc2-consulting.co.uk [040329 10:04]:
Tks. Got through to point 6 of the section on adding my sql ser.
I edited the ser.cfg file see the attached file. However I got 2
errors
reported as per extract below and sorry I cant find them in the file.
hattie:/etc/init.d# ser restart ERROR: bad config file (2 errors) hattie:/etc/init.d#
Note that I don't have DNS server on my network so Im using my
internal # Uncomment this if you want to use digest authentication if (!www_authorize(192.168.0.100, "subscriber")) { www_challenge(192.168.0.100, "0"); break; };
Im guessing without seeing the erros that you are hitting are that you are missing some " in the block I pasted erly'er.. try to change it to !www_authorize("192.168.0.100", and www_channenge("192.168.0.100", .. tho. remeber that your domain must now be 192.168.0.100...
ip address, I assume that hence the entry for the ip address is acceptable. My hosts file does include the host name. Is this ok.
Ill
be doing a forward on my firewall from my ip address to my internal ip address of the server.
Im a little concerned that I didn't do step 3 completely. Ie creation of MySQL tables. I used the /usr/sbin/ser_mysql.sh creation process.
I
entered a blank password for root, I entered ser as the domain: I got
a
creating database ... message, then got another "Enter password:" request, entered blank and then returned to the command line.
You've been very patient with your help tks Martin
- Atle
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On Mar 29, 2004 at 15:09, 'Atle Samuelsen' clona@camaro.no wrote:
have you checked the /var/log/messages file? There should be something there.
if not, increase the debug level.. and try once more.
Or start ser with the -c switch (ser -c -f config_file ...). This will only check the config and report the errors on stderr.
Andrei
- Atle
- Martin Coggin martin@mc2-consulting.co.uk [040329 14:57]:
Tried that, ie put the "" around the 192.168.0.100 and get the same response ie Error: bad config file (2 errors).
The report doesn't specify what the errors are Im afraid.
Re naming of server. I don't use DNS on my network just ip addresses. Im providing access to the server to the outside world by using port forwarding. So Im assuming that I can use the ip address instead of the name in the config file. Is this acceptable to SER??
Best regards Martin Coggin
Information in this message is confidential and may be legally privileged. It is intended solely for the person to whom it is addressed. If you have received this email in error please delete it immediately and also reply to me to let me know. Thank you for your help.
-----Original Message----- From: Atle Samuelsen [mailto:clona@cyberhouse.no] Sent: 29 March 2004 09:12 To: Martin Coggin Subject: Re: [Serusers] Quick start SER Too much shared memory
Hey Martin
- Martin Coggin martin@mc2-consulting.co.uk [040329 10:04]:
Tks. Got through to point 6 of the section on adding my sql ser.
I edited the ser.cfg file see the attached file. However I got 2
errors
reported as per extract below and sorry I cant find them in the file.
hattie:/etc/init.d# ser restart ERROR: bad config file (2 errors) hattie:/etc/init.d#
Note that I don't have DNS server on my network so Im using my
internal # Uncomment this if you want to use digest authentication if (!www_authorize(192.168.0.100, "subscriber")) { www_challenge(192.168.0.100, "0"); break; };
Im guessing without seeing the erros that you are hitting are that you are missing some " in the block I pasted erly'er.. try to change it to !www_authorize("192.168.0.100", and www_channenge("192.168.0.100", .. tho. remeber that your domain must now be 192.168.0.100...
ip address, I assume that hence the entry for the ip address is acceptable. My hosts file does include the host name. Is this ok.
Ill
be doing a forward on my firewall from my ip address to my internal ip address of the server.
Im a little concerned that I didn't do step 3 completely. Ie creation of MySQL tables. I used the /usr/sbin/ser_mysql.sh creation process.
I
entered a blank password for root, I entered ser as the domain: I got
a
creating database ... message, then got another "Enter password:" request, entered blank and then returned to the command line.
You've been very patient with your help tks Martin
- Atle
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Ok I thought Id go back one step and check if the mysql database exists. It doesn't, I used mysqld, ser exists but there are no tables in it whatsoever.
Ive read the contents of ser_mysql.sh and the relevant bit is I assume the config section which is as follows.
################################################################# # config vars ################################################################# DBNAME=ser DBHOST=localhost USERNAME=ser DEFAULT_PW=heslo ROUSER=serro RO_PW=47serro11 SQL_USER="root" CMD="mysql -h $DBHOST -u$SQL_USER " DUMP_CMD="mysqldump -h $DBHOST -u$SQL_USER -c -t " BACKUP_CMD="mysqldump -h $DBHOST -u$SQL_USER -c " TABLE_TYPE="TYPE=MyISAM" # user name column USERCOL="username"
GENHA1='gen_ha1'
#################################################################
Now when I try to set up the database using ser_mysql.sh create (I also tried reinit too) the following is what I get.
hattie:/usr/sbin# ser_mysql.sh create MySql password for root: Domain (realm) for the default user 'admin': ser
creating database ser ... Enter password: ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
OK so I know I put the right root password in for Mysql cos it works with mysqld.
What is the right response to Domain (realm) for the default user 'admin': as you can see Ive used SER. Is this right.
What password is to be entered in the line after "creating database ser". Ive tried heslo, Ive tried mysql root password, Ive tried YES. All get the same response
Best regards Martin Coggin -----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: 29 March 2004 14:15 To: 'Atle Samuelsen' Cc: Martin Coggin; serusers@lists.iptel.org Subject: Re: [Serusers] Quick start SER Too much shared memory
On Mar 29, 2004 at 15:09, 'Atle Samuelsen' clona@camaro.no wrote:
have you checked the /var/log/messages file? There should be something there.
if not, increase the debug level.. and try once more.
Or start ser with the -c switch (ser -c -f config_file ...). This will only check the config and report the errors on stderr.
Andrei
- Atle
- Martin Coggin martin@mc2-consulting.co.uk [040329 14:57]:
Tried that, ie put the "" around the 192.168.0.100 and get the same response ie Error: bad config file (2 errors).
The report doesn't specify what the errors are Im afraid.
Re naming of server. I don't use DNS on my network just ip
addresses.
Im providing access to the server to the outside world by using port forwarding. So Im assuming that I can use the ip address instead of
the
name in the config file. Is this acceptable to SER??
Best regards Martin Coggin
Information in this message is confidential and may be legally privileged. It is intended solely for the person to whom it is addressed. If you have received this email in error please delete
it
immediately and also reply to me to let me know. Thank you for your help.
-----Original Message----- From: Atle Samuelsen [mailto:clona@cyberhouse.no] Sent: 29 March 2004 09:12 To: Martin Coggin Subject: Re: [Serusers] Quick start SER Too much shared memory
Hey Martin
- Martin Coggin martin@mc2-consulting.co.uk [040329 10:04]:
Tks. Got through to point 6 of the section on adding my sql ser.
I edited the ser.cfg file see the attached file. However I got 2
errors
reported as per extract below and sorry I cant find them in the
file.
hattie:/etc/init.d# ser restart ERROR: bad config file (2 errors) hattie:/etc/init.d#
Note that I don't have DNS server on my network so Im using my
internal # Uncomment this if you want to use digest authentication if (!www_authorize(192.168.0.100,
"subscriber"))
{ www_challenge(192.168.0.100, "0"); break; };
Im guessing without seeing the erros that you are hitting are that
you
are missing some " in the block I pasted erly'er.. try to change it to !www_authorize("192.168.0.100", and www_channenge("192.168.0.100", .. tho. remeber that your domain must now be 192.168.0.100...
ip address, I assume that hence the entry for the ip address is acceptable. My hosts file does include the host name. Is this
ok.
Ill
be doing a forward on my firewall from my ip address to my
internal ip
address of the server.
Im a little concerned that I didn't do step 3 completely. Ie
creation
of MySQL tables. I used the /usr/sbin/ser_mysql.sh creation
process.
I
entered a blank password for root, I entered ser as the domain: I
got
a
creating database ... message, then got another "Enter password:" request, entered blank and then returned to the command line.
You've been very patient with your help tks Martin
- Atle
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
And here is the copy of the std when I tried the -c and -f commands.
hattie:/etc/init.d# ser restart -c 0(4636) parse error (65,1-5): parse error 0(4636) parse error (65,1-5): ERROR: bad config file (2 errors) hattie:/etc/init.d# ser restart -f./ser/ser.cfg ERROR: loading config file(./ser/ser.cfg): Not a directory hattie:/etc/init.d# ser restart -f../ser/ser.cfg ERROR: bad config file (2 errors) hattie:/etc/init.d#
Best regards Martin Coggin
-----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: 29 March 2004 14:15 To: 'Atle Samuelsen' Cc: Martin Coggin; serusers@lists.iptel.org Subject: Re: [Serusers] Quick start SER Too much shared memory
On Mar 29, 2004 at 15:09, 'Atle Samuelsen' clona@camaro.no wrote:
have you checked the /var/log/messages file? There should be something there.
if not, increase the debug level.. and try once more.
Or start ser with the -c switch (ser -c -f config_file ...). This will only check the config and report the errors on stderr.
Andrei
- Atle
- Martin Coggin martin@mc2-consulting.co.uk [040329 14:57]:
Tried that, ie put the "" around the 192.168.0.100 and get the same response ie Error: bad config file (2 errors).
The report doesn't specify what the errors are Im afraid.
Re naming of server. I don't use DNS on my network just ip
addresses.
Im providing access to the server to the outside world by using port forwarding. So Im assuming that I can use the ip address instead of
the
name in the config file. Is this acceptable to SER??
Best regards Martin Coggin
Information in this message is confidential and may be legally privileged. It is intended solely for the person to whom it is addressed. If you have received this email in error please delete
it
immediately and also reply to me to let me know. Thank you for your help.
-----Original Message----- From: Atle Samuelsen [mailto:clona@cyberhouse.no] Sent: 29 March 2004 09:12 To: Martin Coggin Subject: Re: [Serusers] Quick start SER Too much shared memory
Hey Martin
- Martin Coggin martin@mc2-consulting.co.uk [040329 10:04]:
Tks. Got through to point 6 of the section on adding my sql ser.
I edited the ser.cfg file see the attached file. However I got 2
errors
reported as per extract below and sorry I cant find them in the
file.
hattie:/etc/init.d# ser restart ERROR: bad config file (2 errors) hattie:/etc/init.d#
Note that I don't have DNS server on my network so Im using my
internal # Uncomment this if you want to use digest authentication if (!www_authorize(192.168.0.100,
"subscriber"))
{ www_challenge(192.168.0.100, "0"); break; };
Im guessing without seeing the erros that you are hitting are that
you
are missing some " in the block I pasted erly'er.. try to change it to !www_authorize("192.168.0.100", and www_channenge("192.168.0.100", .. tho. remeber that your domain must now be 192.168.0.100...
ip address, I assume that hence the entry for the ip address is acceptable. My hosts file does include the host name. Is this
ok.
Ill
be doing a forward on my firewall from my ip address to my
internal ip
address of the server.
Im a little concerned that I didn't do step 3 completely. Ie
creation
of MySQL tables. I used the /usr/sbin/ser_mysql.sh creation
process.
I
entered a blank password for root, I entered ser as the domain: I
got
a
creating database ... message, then got another "Enter password:" request, entered blank and then returned to the command line.
You've been very patient with your help tks Martin
- Atle
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On Mar 30, 2004 at 20:54, Martin Coggin martin@mc2-consulting.co.uk wrote:
And here is the copy of the std when I tried the -c and -f commands.
Try the following: /usr/sbin/ser -c -f /etc/ser/ser.cfg -E -dddddd
(replace /usr/sbin/ser with your actual path to ser binary, it might be /usr/local/sbin/ser, depending on how you did install it, and /etc/ser/ser.cfg with the path to your ser.cfg).
-E will force logging to stderr and -dddddd will increase the debug level.
Andrei
Here is the output from this command.
hattie:/etc/init.d# ser -c -f /etc/ser/ser.cfg -E -dddddd 0(5082) read 2256005572 from /dev/random 0(5082) seeding PRNG with 3336767248 0(5082) test random number 347705935 0(5082) shm_mem_init: success 0(5082) DEBUG: register_fifo_cmd: new command (print) registered 0(5082) DEBUG: register_fifo_cmd: new command (uptime) registered 0(5082) DEBUG: register_fifo_cmd: new command (version) registered 0(5082) DEBUG: register_fifo_cmd: new command (pwd) registered 0(5082) DEBUG: register_fifo_cmd: new command (arg) registered 0(5082) DEBUG: register_fifo_cmd: new command (which) registered 0(5082) DEBUG: register_fifo_cmd: new command (ps) registered 0(5082) DEBUG: register_fifo_cmd: new command (kill) registered 0(5082) loading module /usr/lib/ser/modules/mysql.so 0(5082) loading module /usr/lib/ser/modules/sl.so 0(5082) loading module /usr/lib/ser/modules/tm.so 0(5082) loading module /usr/lib/ser/modules/rr.so 0(5082) loading module /usr/lib/ser/modules/maxfwd.so 0(5082) loading module /usr/lib/ser/modules/usrloc.so 0(5082) loading module /usr/lib/ser/modules/registrar.so 0(5082) loading module /usr/lib/ser/modules/auth.so 0(5082) loading module /usr/lib/ser/modules/auth_db.so 0(5082) set_mod_param_regex: usrloc matches module usrloc 0(5082) set_mod_param_regex: found <db_mode> in module usrloc [/usr/lib/ser/modules/usrloc.so] 0(5082) set_mod_param_regex: auth_db matches module auth_db 0(5082) set_mod_param_regex: found <calculate_ha1> in module auth_db [/usr/lib/ser/modules/auth_db.so] 0(5082) set_mod_param_regex: auth_db matches module auth_db 0(5082) set_mod_param_regex: found <password_column> in module auth_db [/usr/lib/ser/modules/auth_db.so] 0(5082) parse error (65,1-5): parse error 0(5082) parse error (65,1-5): ERROR: bad config file (2 errors) 0(5082) DEBUG: tm_shutdown : start 0(5082) DEBUG: tm_shutdown : empting hash table 0(5082) DEBUG: tm_shutdown: releasing timers 0(5082) DEBUG: tm_shutdown : removing semaphores 0(5082) DEBUG: tm_shutdown : done 0(5082) shm_mem_destroy 0(5082) destroying the shared memory lock hattie:/etc/init.d#
Best regards Martin Coggin -----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: 30 March 2004 21:24 To: Martin Coggin Cc: 'Atle Samuelsen'; serusers@lists.iptel.org Subject: Re: [Serusers] Quick start SER Too much shared memory
On Mar 30, 2004 at 20:54, Martin Coggin martin@mc2-consulting.co.uk wrote:
And here is the copy of the std when I tried the -c and -f commands.
Try the following: /usr/sbin/ser -c -f /etc/ser/ser.cfg -E -dddddd
(replace /usr/sbin/ser with your actual path to ser binary, it might be /usr/local/sbin/ser, depending on how you did install it, and /etc/ser/ser.cfg with the path to your ser.cfg).
-E will force logging to stderr and -dddddd will increase the debug level.
Andrei
On Mar 31, 2004 at 19:15, Martin Coggin martin@mc2-consulting.co.uk wrote:
Here is the output from this command.
hattie:/etc/init.d# ser -c -f /etc/ser/ser.cfg -E -dddddd
[...]
0(5082) parse error (65,1-5): parse error 0(5082) parse error (65,1-5):
Your problem is on line 65 of your config file, columns 1-5.
Andrei
Tks, using the commands you suggested I have been able to fix the cfg file.
Best regards Martin Coggin
-----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: 01 April 2004 06:49 To: Martin Coggin Cc: 'Atle Samuelsen'; serusers@lists.iptel.org Subject: Re: [Serusers] Quick start SER Too much shared memory
On Mar 31, 2004 at 19:15, Martin Coggin martin@mc2-consulting.co.uk wrote:
Here is the output from this command.
hattie:/etc/init.d# ser -c -f /etc/ser/ser.cfg -E -dddddd
[...]
0(5082) parse error (65,1-5): parse error 0(5082) parse error (65,1-5):
Your problem is on line 65 of your config file, columns 1-5.
Andrei