Koozali.org: home of the SME Server

New user panel bug?

brian read

New user panel bug?
« on: October 23, 2002, 04:31:19 PM »
I just installed the user panel on my production SMEServer (I'd alreadfy tried it on the test system), and httpd failed to come up properly.

It failed with

Oct 23 12:04:23 server01 httpd: Syntax error on line 2077 of /etc/httpd/conf/httpd.conf:
Oct 23 12:04:23 server01 httpd: syntax error in mask portion of network/netmask
Oct 23 12:04:23 server01 httpd-e-smith: Syntax error on line 2077 of /etc/httpd/conf/httpd.conf:
Oct 23 12:04:23 server01 httpd-e-smith: syntax error in mask portion of network/netmask
Oct 23 12:04:23 server01 httpd-e-smith: httpd startup failed

I looked at the relevant line and saw that an "external" host IP address was specified there, with a Mask of 255.255.255.255.  

I edited this out, and then httpd started ok.

The comment on the server panel Security,local networks specifically recommends this mask, so I guess something is incompatible somewhere?

Luckily I can delete the remote network address, which I have done.

Cheers

Brian

molski

Re: New user panel bug?
« Reply #1 on: October 23, 2002, 06:59:38 PM »
I got the same problem also. What I did is edited the templates for the usermanager. You can add a remote network adresses in httpd.conf but DO NOT enter the submask 255.255.255.255 here, only the IP is enough. After doing this all just worked fine.

Molski

Sterling

Re: New user panel bug?
« Reply #2 on: November 16, 2002, 10:40:59 PM »
Where are the templates for the user-manager?

Thanks,
Sterling

Steve

Re: New user panel bug?
« Reply #3 on: November 22, 2002, 05:53:19 AM »
I had the same problem, it seems to have to do with having specified remote access for server manager previous to installing the user panel.

Location is /etc/httpd/conf/httpd.conf

The line looks something like this
   allow from 127.0.0.1 192.168.0.0/255.255.255.0 44.41.26.11/255.255.255.255

It should look like this
   allow from 127.0.0.1 192.168.0.0/255.255.255.0 44.41.26.11

Steve

Re: New user panel bug?
« Reply #4 on: November 22, 2002, 11:49:20 PM »
I guess the place to change it isn't where I said. It works until the template overwrites it. I can't find where to change it though. I looked at /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassUser and found
allow from $externalSSLAccess, wherever that is
I'm not long at Linux, can anyone help as to exact location???

Sterling

Re: New user panel bug?
« Reply #5 on: November 23, 2002, 10:31:47 AM »
Thanks for your replies Steve. I haven't been able to find a solution yet either. I'll post if I find one.

Regards,
Sterling