I have a Debian Linux system running woody. Installing SER using dpkg -i ser_0.8.12_i386.deb. Package appears to have unpacked ok. The auto restart failed and I got the following message. Couldn't find anything in the manuals for this. Do I have too little memory in my machine. Currently I have 32 M of memory and using an old Pentium machine.
Selecting previously deselected package ser. (Reading database ... 54054 files and directories currently installed.) Unpacking ser (from ser_0.8.12_i386.deb) ... Setting up ser (0.8.12) ... Restarting ser: serToo much shared memory demanded: 33554432 invoke-rc.d: initscript ser, action "restart" failed.
ser failed to (re)start. Perhaps your configuration requires additional modules (e.g. ser-mysql-module, ser-jabber-module or ser-radius-modules). Next try to install any additional ser modules you might need and then (re)start ser by executing the command '/etc/init.d/ser start|restart'.
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.
On Mar 26, 2004 at 08:35, Martin Coggin martin@mc2-consulting.co.uk wrote:
I have a Debian Linux system running woody. Installing SER using dpkg -i ser_0.8.12_i386.deb. Package appears to have unpacked ok. The auto restart failed and I got the following message. Couldn't find anything in the manuals for this. Do I have too little memory in my machine. Currently I have 32 M of memory and using an old Pentium machine.
By default ser will try to allocate 32Mb of memory to use as shared memory and another 1Mb per process (as "local" memory). Try starting it with -m shared_mem_size_in_mb. E.g.: ser -m 16 (or add -m 16 to your /etc/init.d script).
Andrei
Tried that in a variety of versions ie ser -m 16 8 4, they result in the same response ie 'Too much shared memory demanded!
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: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: 26 March 2004 08:43 To: Martin Coggin Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Quick start SER Too much shared memory
On Mar 26, 2004 at 08:35, Martin Coggin martin@mc2-consulting.co.uk wrote:
I have a Debian Linux system running woody. Installing SER using dpkg -i ser_0.8.12_i386.deb. Package appears to have unpacked ok. The
auto
restart failed and I got the following message. Couldn't find
anything
in the manuals for this. Do I have too little memory in my machine. Currently I have 32 M of memory and using an old Pentium machine.
By default ser will try to allocate 32Mb of memory to use as shared memory and another 1Mb per process (as "local" memory). Try starting it with -m shared_mem_size_in_mb. E.g.: ser -m 16 (or add -m 16 to your /etc/init.d script).
Andrei
On Mar 27, 2004 at 14:47, Martin Coggin martin@mc2-consulting.co.uk wrote:
Tried that in a variety of versions ie ser -m 16 8 4, they result in the same response ie 'Too much shared memory demanded!
Do you use an older kernel (2.2.x)? (older kernels don't support mmaping /dev/zero, so intializing the shared memory will fail on them).
From the ISSUES file:
Desc: ser won't run on linux kernels <2.4 (fails with EINVAL when intializing the shared memory) BugId: n/a Ser version: 0.8.8, 0.8.9, 0.8.10 Workaround: Upgrade to a 2.4.* kernel (older kernels don't support shared mmaping of /dev/zero ) or recompile ser with SYSV shm instead of mmap (remove -DSHM_MMAP from Makefile.defs) CVS status: n/a
Andrei
P.S.: another work arroung might be to create a large file, of your desired shared mem. size and mmap this file instead of /dev/zero (never tried this, I don't have any machine with 2.2.x now)
Tks Andrei, I read this issue yesterday and tks for pointing this out. Sorry Im a bit of newbie to Linux so don't know which kernel version I have. Got a couple of other postings asking how I know which version of the kernel Im using. FYI I have Debian woody installed and Ive spent several hours yesterday looking through the documentation to try to find it. Maybe Im looking in the wrong place.
I may just try the recompile of ser but then I need to work out how to do that too.
Im enjoying this steep learning curve and it is steep.
Best regards and tks Martin
-----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: 27 March 2004 18:24 To: Martin Coggin Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Quick start SER Too much shared memory
On Mar 27, 2004 at 14:47, Martin Coggin martin@mc2-consulting.co.uk wrote:
Tried that in a variety of versions ie ser -m 16 8 4, they result in
the
same response ie 'Too much shared memory demanded!
Do you use an older kernel (2.2.x)? (older kernels don't support mmaping /dev/zero, so intializing the shared memory will fail on them).
From the ISSUES file:
Desc: ser won't run on linux kernels <2.4 (fails with EINVAL when intializing the shared memory) BugId: n/a Ser version: 0.8.8, 0.8.9, 0.8.10 Workaround: Upgrade to a 2.4.* kernel (older kernels don't support shared mmaping of /dev/zero ) or recompile ser with SYSV shm instead of mmap (remove -DSHM_MMAP from Makefile.defs) CVS status: n/a
Andrei
P.S.: another work arroung might be to create a large file, of your desired shared mem. size and mmap this file instead of /dev/zero (never tried this, I don't have any machine with 2.2.x now)
On Mar 28, 2004 at 08:28, Martin Coggin martin@mc2-consulting.co.uk wrote:
Tks Andrei, I read this issue yesterday and tks for pointing this out. Sorry Im a bit of newbie to Linux so don't know which kernel version I have. Got a couple of other postings asking how I know which version of the kernel Im using.
uname -r
FYI I have Debian woody installed and Ive spent several hours yesterday looking through the documentation to try to find it. Maybe Im looking in the wrong place.
I think woody comes by default with 2.2. However there are debian packages for woody with 2.4 kernels (apt-cache search kernel-image), so it should be pretty easy to upgrade.
I may just try the recompile of ser but then I need to work out how to do that too.
Im enjoying this steep learning curve and it is steep.
Andrei
Ok got the upgrade to 2.4.18 386 and SER runs also got a couple of clients to register successfully. Now trying to get the rest of it loaded.
Any helpful hints on where/how I can control the max_connections of mysql. I got it running used apt to install mysql.
Tks again.
Martin
-----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: 28 March 2004 12:12 To: Martin Coggin Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Quick start SER Too much shared memory
On Mar 28, 2004 at 08:28, Martin Coggin martin@mc2-consulting.co.uk wrote:
Tks Andrei, I read this issue yesterday and tks for pointing this out. Sorry Im a bit of newbie to Linux so don't know which kernel version I have. Got a couple of other postings asking how I know which version
of
the kernel Im using.
uname -r
FYI I have Debian woody installed and Ive spent several hours yesterday looking through the documentation to try to
find
it. Maybe Im looking in the wrong place.
I think woody comes by default with 2.2. However there are debian packages for woody with 2.4 kernels (apt-cache search kernel-image), so it should be pretty easy to upgrade.
I may just try the recompile of ser but then I need to work out how to do that too.
Im enjoying this steep learning curve and it is steep.
Andrei
Martin Coggin wrote:
Ok got the upgrade to 2.4.18 386 and SER runs also got a couple of clients to register successfully. Now trying to get the rest of it loaded.
Any helpful hints on where/how I can control the max_connections of mysql. I got it running used apt to install mysql.
in your my.cnf file use this variable (for example to allow 1000): set-variable = max_connections = 1000
Tks again.
Martin
-----Original Message----- From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de] Sent: 28 March 2004 12:12 To: Martin Coggin Cc: serusers@lists.iptel.org Subject: Re: [Serusers] Quick start SER Too much shared memory
On Mar 28, 2004 at 08:28, Martin Coggin martin@mc2-consulting.co.uk wrote:
Tks Andrei, I read this issue yesterday and tks for pointing this out. Sorry Im a bit of newbie to Linux so don't know which kernel version I have. Got a couple of other postings asking how I know which version
of
the kernel Im using.
uname -r
FYI I have Debian woody installed and Ive spent several hours yesterday looking through the documentation to try to
find
it. Maybe Im looking in the wrong place.
I think woody comes by default with 2.2. However there are debian packages for woody with 2.4 kernels (apt-cache search kernel-image), so it should be pretty easy to upgrade.
I may just try the recompile of ser but then I need to work out how to do that too.
Im enjoying this steep learning curve and it is steep.
Andrei
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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 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
On 29-03 09:04, Martin Coggin wrote:
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#
Look into syslog (/var/log/messages or /var/log/daemon.log), ser reports the number of the line on which it fails.
Jan.