Hi,
I changed config.php as follows:
$this->realm=$this->domainnam=egrep_replace(...) CHANGE TO
$this->realm=$this->domainname="sip.mydomain.net"
I don't understand why I had to do this.
serweb can be used to control multiple domains. Only thing which you need for it is configure virtual servers for other domains in apache. For that reason is domain obtained automaticaly from http headers. But this not working if you use url http://localhost/serweb... in your browser. You must use http://your-domain/serweb... and it may be little confusing for new users. By your change you set the domain to "sip.mydomain.net" by hand.
Karel
Leo P.
-----Original Message----- From: Karel Kozlik [mailto:karel@iptel.org] Sent: Thursday, June 30, 2005 9:31 AM To: Leo Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Logging into SERWEB
Hi Leo, which version of serweb are you useing? I wrote about the latest (0.9.3)
Thank you for the quick response and the thorough answer, but I
cannot seem
to follow your advice because:
- I cannot find the file 'configure_data_layer.php'. I even did and
updatedb and a locate. 2) There is nothing about username and password on my ser.cfg.
Sorry, I'm not expert to configuration of ser. But you should have in ser.cfg something like this:
modparam("usrloc|avp_db", "db_url", "mysql://ser:heslo@localhost/ser")
If you haven't probably the default (mysql://ser:heslo@localhost/ser) is used. This db_url is in format: mysql://username:password@host/db_name
- I don't know which .php file to change to add '$config->enable_loging =
true'. I cannot find this parameter in the config.php file. I also don't know to where the logs would be stored.
config.php is the right file. If 'enable_loging' isn't here you probably have some old serweb.
Karel
The result of the sql query were as follows Username = admin Password = heslo Domain = sip.mydomain.net
Leo P.
-----Original Message----- From: Karel Kozlik [mailto:karel@iptel.org] Sent: Thursday, June 30, 2005 7:36 AM To: Leo Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Logging into SERWEB
Hi Leo, there are two kinds of user:
- system user for login into mysql.
Default username=ser, password=heslo. This is used for security your database against unauthorized access. This values should be set in config_data_layer.php (and ser.cfg of course). How to change default password you can find in mysql manual.
- sip users
Serweb admin is special sip user. Default username is admin@<your_domain> and password is heslo. Usernames and passwords of sip users are stored in table 'subscriber' in DB. To check your exact values you can login to mysql from command line:
mysql -u ser -pheslo ser
and type:
select username, domain, password from subscriber;
If you still can't login into serweb follow this FAQ:
Q: Still can't login into serweb by default username and password A: Enable loging in serweb ($config->enable_loging = true) and see log file. For more verbosity set log level to PEAR_LOG_DEBUG
Karel
Leo napsal(a):
Dear serusers,
It still does not work. Here is what I did so far to figure this out.
BACKGROUND INFO:
- When I log in to MySQL from the command line I use the following
command:
"mysql -pMyPwd ser" 2) From conf.php: db_host=123.123.123.123, db_name=ser, db_user=ser, db_pass=heslo 3) My domain is sip.leosser.net
QUESTIONS/PROBLEMS :
- Shouldn't db_user='admin' and NOT 'ser' since this is what the
'username'
field is for the password 'heslo' in the MySQL database? However, if I change this I don't even get to the login screen on serweb. 2) I have tried logging in as admin@sip.leosser.net and password heslo, root@sip.leosser.net and mypwd. Nothing works when I do get to the serweb login screen.
I am stuck. Anyone have any suggestions?
Leo P. leo@ltcjp.com
-----Original Message----- From: li wei [mailto:augzbaby@yahoo.com.au] Sent: Wednesday, June 29, 2005 10:14 PM To: Leo Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Logging into SERWEB
Please make sure your username, password and domain values are exactly matched the values of your subscriber table.
Wilson
--- Leo leo@ltcjp.com wrote:
Dear serusers,
I successfully installed SERWEB.I think.
However, I cannot seem to login at the login screen.
I go to http://mydomain/admin/index.php and I get the login screen, but nothing I try there works. What could this be?
I already tried:
'root' and my passoword
admin and heslo
I don't know what else to do. Please help.
Sincerely,
Leo Papadopoulos
leo@ltcjp.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
____________________________________________________ Do you Yahoo!? Try Yahoo! Photomail Beta: Send up to 300 photos in one email! http://au.photomail.mail.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Karel,
Burning the FC3 to CD as we speak....
The link I was using was http://sip.mydomain.net/admin/index.php. I put serweb in the root of my webserver because I don't use it for anything else. This should have worked either way. Maybe I am missing an alias or something somewhere...I will look into this. Thanks.
Leo Papadopoulos leo@ltcjp.com
-----Original Message----- From: Karel Kozlik [mailto:karel@iptel.org] Sent: Thursday, June 30, 2005 10:41 AM To: Leo Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Logging into SERWEB
Hi,
I changed config.php as follows:
$this->realm=$this->domainnam=egrep_replace(...) CHANGE TO
$this->realm=$this->domainname="sip.mydomain.net"
I don't understand why I had to do this.
serweb can be used to control multiple domains. Only thing which you need for it is configure virtual servers for other domains in apache. For that reason is domain obtained automaticaly from http headers. But this not working if you use url http://localhost/serweb... in your browser. You must use http://your-domain/serweb... and it may be little confusing for new users. By your change you set the domain to "sip.mydomain.net" by hand.
Karel
Leo P.
-----Original Message----- From: Karel Kozlik [mailto:karel@iptel.org] Sent: Thursday, June 30, 2005 9:31 AM To: Leo Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Logging into SERWEB
Hi Leo, which version of serweb are you useing? I wrote about the latest (0.9.3)
Thank you for the quick response and the thorough answer, but I
cannot seem
to follow your advice because:
- I cannot find the file 'configure_data_layer.php'. I even did and
updatedb and a locate. 2) There is nothing about username and password on my ser.cfg.
Sorry, I'm not expert to configuration of ser. But you should have in ser.cfg something like this:
modparam("usrloc|avp_db", "db_url", "mysql://ser:heslo@localhost/ser")
If you haven't probably the default (mysql://ser:heslo@localhost/ser) is used. This db_url is in format: mysql://username:password@host/db_name
- I don't know which .php file to change to add '$config->enable_loging =
true'. I cannot find this parameter in the config.php file. I also don't know to where the logs would be stored.
config.php is the right file. If 'enable_loging' isn't here you probably have some old serweb.
Karel
The result of the sql query were as follows Username = admin Password = heslo Domain = sip.mydomain.net
Leo P.
-----Original Message----- From: Karel Kozlik [mailto:karel@iptel.org] Sent: Thursday, June 30, 2005 7:36 AM To: Leo Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Logging into SERWEB
Hi Leo, there are two kinds of user:
- system user for login into mysql.
Default username=ser, password=heslo. This is used for security your database against unauthorized access. This values should be set in config_data_layer.php (and ser.cfg of course). How to change default password you can find in mysql manual.
- sip users
Serweb admin is special sip user. Default username is admin@<your_domain> and password is heslo. Usernames and passwords of sip users are stored in table 'subscriber' in DB. To check your exact values you can login to mysql from command line:
mysql -u ser -pheslo ser
and type:
select username, domain, password from subscriber;
If you still can't login into serweb follow this FAQ:
Q: Still can't login into serweb by default username and password A: Enable loging in serweb ($config->enable_loging = true) and see log file. For more verbosity set log level to PEAR_LOG_DEBUG
Karel
Leo napsal(a):
Dear serusers,
It still does not work. Here is what I did so far to figure this out.
BACKGROUND INFO:
- When I log in to MySQL from the command line I use the following
command:
"mysql -pMyPwd ser" 2) From conf.php: db_host=123.123.123.123, db_name=ser, db_user=ser, db_pass=heslo 3) My domain is sip.leosser.net
QUESTIONS/PROBLEMS :
- Shouldn't db_user='admin' and NOT 'ser' since this is what the
'username'
field is for the password 'heslo' in the MySQL database? However, if I change this I don't even get to the login screen on serweb. 2) I have tried logging in as admin@sip.leosser.net and password heslo, root@sip.leosser.net and mypwd. Nothing works when I do get to the serweb login screen.
I am stuck. Anyone have any suggestions?
Leo P. leo@ltcjp.com
-----Original Message----- From: li wei [mailto:augzbaby@yahoo.com.au] Sent: Wednesday, June 29, 2005 10:14 PM To: Leo Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Logging into SERWEB
Please make sure your username, password and domain values are exactly matched the values of your subscriber table.
Wilson
--- Leo leo@ltcjp.com wrote:
Dear serusers,
I successfully installed SERWEB.I think.
However, I cannot seem to login at the login screen.
I go to http://mydomain/admin/index.php and I get the login screen, but nothing I try there works. What could this be?
I already tried:
'root' and my passoword
admin and heslo
I don't know what else to do. Please help.
Sincerely,
Leo Papadopoulos
leo@ltcjp.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
____________________________________________________ Do you Yahoo!? Try Yahoo! Photomail Beta: Send up to 300 photos in one email! http://au.photomail.mail.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers