PDA

View Full Version : WebAdmin: Broken Sites and Images


Webskipper
4th October, 2002, 09:16 PM
Hello!

When I logged into my WebAdmin, I see a lot of broken images and no site is viewable. I read your tutorial about xinetd but it does not work.


xindetd.conf:

defaults
{
disable = no
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
redirect = 127.0.0.1 7789
port = 7789
user = nobody
}


The IP of the Server is 62.67.59.27.

Another question: Where in the server.ini I can activate the password potection?


Thank you very much!

Webskipper

Killing
4th October, 2002, 11:46 PM
No that wont work you have the UT's WebAdmin port and the External port set the the same number try:
defaults
[code:1:7b10db9f93]
service webadmin8080
{
disable = no
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
redirect = 127.0.0.1 7789
port = 8080
user = nobody
}[/code:1:7b10db9f93]

Killing
4th October, 2002, 11:48 PM
Sorry missed your question about password protection I assume u mean to get into the server as a play thats:
[code:1:843de38cf8][Engine.AccessControl]
GamePassword=<yourpassword>[/code:1:843de38cf8]

Webskipper
5th October, 2002, 01:27 AM
It works with the WebMenu now. :)

Thank you very much. Excellent webpage and support !! :thumbup:

Webskipper
5th October, 2002, 05:07 PM
Can I use inetd.conf too?

I have problems with xinetd -> portmap -> dracd -> sendmail

I think. ???

NetSyphon
5th October, 2002, 05:36 PM
i tried all tricks i could to get it working.. here is my xinetd

service webadmin8888
{
disable = no
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
redirect = 127.0.0.1 8888
port = 8080
user = root
}

and the part with webadmin in my ini

[UWeb.WebServer]
Applications[0]=xWebAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=xWebAdmin.UTImageServer
ApplicationPaths[1]=/images
DefaultApplication=0
bEnabled=True
ListenPort=8080

am i missing something? if i run this with that xinetd trick ... i dont even get the login, witout it i do get the login, authenticate, but then i have to actually type http://my.server:8080/ServerAdmin/index.php!!! what the hell? i see only htm pages.. so i dunno.. when it does come up however, i have a page with nothing on it.. the server loads the /unreal2003.css when i access it.. help help..

Webskipper
5th October, 2002, 06:38 PM
The low ports of unreal were the problem. I selected ports like 27960 and portmap -> drac is running now.


Webskipper

Webskipper
5th October, 2002, 06:40 PM
@<hidden>

There is an mistake.

That works:

service webadmin8080
{
disable = no
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
redirect = 127.0.0.1 9999
port = 8080
user = root
}

and the part with webadmin in my ini

[UWeb.WebServer]
Applications[0]=xWebAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=xWebAdmin.UTImageServer
ApplicationPaths[1]=/images
DefaultApplication=0
bEnabled=True
ListenPort=9999


Greetings


Webskipper

NetSyphon
5th October, 2002, 06:56 PM
Still nothing.. damnn if it does decide to load it quickly dies..

says this in the admin server console

URL: /
URL: /mainmenu
URL: /currentframe
URL: /ut2003.css
URL: /currentframe
URL: /mainmenu
URL: /ut2003.css
URL: /rootframe
URL: /
URL: /
URL: /
URL: /

the /'s are when i get nothing... of course still missing images etc..

Strongbow
5th October, 2002, 07:13 PM
NetSyphon

We are having the same problem IE on XP will not login and the odd time it does we only get part of the data.

If we use a Linux box running Galeon (mozilla) browser we have no problems at all accessing the web admin pages.

We have also tried all the fixes and nothing seems to work.

Strongbow

NetSyphon
5th October, 2002, 07:18 PM
im not crazy.. good.. so you are thinking its IE and XP.. shoot...

Killing
5th October, 2002, 08:15 PM
Right think I may know whats up with yours there try adding:
[code:1:2858d4e8b6][UWeb.WebServer]
ServerName=yourserver.yourdomain[/code:1:2858d4e8b6]

Killing
5th October, 2002, 08:18 PM
For partial pages displayed from a linux box see our FAQ (http://www.unrealadmin.org/modules.php?name=Sections&amp;op=viewarticle&amp;artid=5#WebAdmin)

NetSyphon
5th October, 2002, 08:59 PM
yeah did that too.. i am reducing to manually configging until this gets resolved.
still dont work on osx or winxp sp1

Killing
5th October, 2002, 09:46 PM
try the ip if the server name doesnt work

NetSyphon
5th October, 2002, 11:10 PM
both dont work.. its gotta be that xinetd thing .. i am wondering if there is something wrong with that.. because i am assuming that when i go to the admin page that i would be typing the port of the &lt;proxy&gt; but instead i type in the port that i configured within the ini files.. that shouldnt happen? is that indicative that the xinedt endry isnt functioning?

NetSyphon
5th October, 2002, 11:11 PM
both dont work.. its gotta be that xinetd thing .. i am wondering if there is something wrong with that.. because i am assuming that when i go to the admin page that i would be typing the port of the &lt;proxy&gt; but instead i type in the port that i configured within the ini files.. that shouldnt happen? is that indicative that the xinedt endry isnt functioning? woops i accidentally double posted...

Killing
5th October, 2002, 11:14 PM
Come into IRC #unrealadmin and we'll see what we can do.

NetSyphon
6th October, 2002, 01:57 AM
solution was to update xinetd.. for some reason the version that comes on rh8 is not handling redirects. at least for this.

got to xinetd.org to get the latest

fmonkey
6th October, 2002, 03:44 AM
I have the latest version of xinetd (2.3.9), configured the way the FAQ specifies. The redirect works, but it has no effect on the problem I am seeing. All of the "top-level" pages work, but clicking on just about every link on the left-hand menus causes IE to loop and loop on the page, loading nothing. The server prints (one example):

Close: Error while attempting to close socket.
URL: /admins_account
URL: /ut2003.css
URL: /admins_account
URL: /ut2003.css
Close: Error while attempting to close socket.
URL: /admins_account
URL: /ut2003.css
Close: Error while attempting to close socket.
URL: /admins_account


This happens whether I use xinetd or not, and the errors are the same on each page, just a different URL name.

Killing
6th October, 2002, 01:34 PM
Now that is strange pop into IRC and I'll have a look.

fmonkey
7th October, 2002, 08:10 PM
I still encounter the same problem using IE 6 on Windows XP. If I use any other browser, on any other OS, I do not see the "Close: Error...", but the behavior of the pages is the same. I get no content between the header and the footer, except the left hand menu. Sometimes I will see actual HTML code (indicating a misplaced quotation mark), but most of the time I see nothing. If I had to guess, I would say that this code which is supposed to be dynamically generated is generating nothing. I have upgraded to the latest version of xinetd (an RPM version from RedHat), to no avail. Behavior is the same whether I use xinetd or not.

fmonkey
7th October, 2002, 08:11 PM
BTW, I am starting my server with the following command-line (script file):

#!/bin/bash

PATH=$PATH:/usr/local/ut2003
cd /usr/local/ut2003
nohup ucc server &

Is there something wrong with this?

Killing
9th October, 2002, 02:03 AM
Not the most elegant but it will do the trick :) Might wanna check out asu for UT for examples.

fmonkey
9th October, 2002, 02:22 AM
I will do that. Do you have any insight about the dynamic content web page problems that I am having?

Killing
9th October, 2002, 02:41 AM
Yep if its a linux server the answers in the FAQ (http://www.unrealadmin.org/modules.php?name=Sections&op=viewarticle&artid=5#WebAdminBroken)

fmonkey
9th October, 2002, 02:48 AM
I tried all the solutions listed in the FAQ (xinetd, server name, etc.), but it still doesn't work.

Killing
9th October, 2002, 02:55 AM
irc #unrealadmins on quakenet.

fmonkey
9th October, 2002, 03:28 AM
In #unrealadmin (not #unrealadmins) on quakenet.

Killing
9th October, 2002, 09:00 AM
Sorry 3 am in he morning bound to be some typos :D

NetSyphon
10th October, 2002, 11:02 PM
dude.. you have to get xinetd from source and, well upgrade your rpm.

get xinetd.
for rh7 and 8 do this for the configure part

./configure --prefix=/usr

that will keep it from installing in /usr/local , basically a place that it dont need to be.

killing we had to use the latest version from source.. not avail on rpm. i could make one.. but its just the same that you install it this way as redhat is probrably more concerned with other wayyy out of date and insecure packages. the newer version of xinetd does redirections better.. do it and i guarantee yours will work. provided that unreal starts at all.. and also i would use "./ucc server" from the # prompt and not a script quite yet.. well i dunno i always up arrow to my text then enter it. just remember to put a &amp; at the end to make it run in background. then i can kill it by kill "process id"


good luck. --maybe they need to let people know the version of xinetd.. im lazy right now.. its otfn

fmonkey
10th October, 2002, 11:06 PM
Here is what I did.

Got the RedHat SRPM for xinetd 2.3.7 from rawhide. Replaced the 2.3.7 source code with xinetd 2.3.9 source code. Changed the .spec file to build a 2.3.9 rpm. Did an rpm -ba, built and installed the RPM. Using that version of xinetd I am still encoutering the same problem.

NetSyphon
11th October, 2002, 04:08 AM
paste your xinetd file

fmonkey
11th October, 2002, 06:15 AM
[root@<hidden> root]# cat /etc/xinetd.d/ut2003
service ut2003
{
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
redirect = 127.0.0.1 5808
port = 5807
user = root
}

Killing
11th October, 2002, 10:45 AM
Try running:
<code>xinetd -d -f /etc/xinetd.d/ut2003</code>
It should say:
<code>02/10/11@<hidden>:15:43: DEBUG: {cnf_start_services} Started service: ut2003</code>

If it doenst look up the messages and it should tell you whats wrong.

Also note you should not run the service a <code>root</code> use <code>nobody</code>

Enny
12th October, 2002, 11:53 PM
I can not connect to webinterface with xinetd workaround

i have messages in
warn log:
xinetd[20691]: redir_handler:connect: can't connect to remote host b0bc:808::

xinetd.log:
02/10/13@<hidden>:39:05: START: WebAdmin8177 from=::ffff:217.236.117.26
02/10/13@<hidden>:39:05: EXIT: WebAdmin8177 status=0 duration=0(sec)

xinetd.conf:
service WebAdmin8177
{
disable = no
port = 8177
socket_type = stream
protocol = tcp
user = nobody
redirect = 127.0.0.1 8077
type = UNLISTED
wait = no
}

ut2003.ini:
[UWeb.WebServer]
Applications[0]=xWebAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=xWebAdmin.UTImageServer
ApplicationPaths[1]=/images
DefaultApplication=0
bEnabled=True
ListenPort=8077

Ports are open in Firewall udp and tcp.

I can connect to 8077 , but with many bugs and broken sites etc.

Please can anyone help?

Killing
13th October, 2002, 12:27 AM
Come into IRC #unrealadmin on Quakenet

Killing
13th October, 2002, 12:40 AM
Actualy just had an idea if your using -multihome you will need to change the 127.0.0.1 to the uip address u used there. Could also try:
xinetd.conf:
<code>
service WebAdmin8177
{
disable = no
port = 8177
socket_type = stream
protocol = tcp
user = nobody
redirect = 127.0.0.1 8077
type = UNLISTED
wait = no
flags = IPv4
}
</code>

Note the new setting <code>flags = IPv4</code> as the error your getting has <code>IPv6</code> and it really shouldn't

Enny
15th October, 2002, 06:13 PM
Big Thanx Killing for help yesterday! :thumbup:

Cyrin
7th March, 2003, 03:25 PM
I can view and work with the WebAdmin on my UT2K3 Server from the Web and from my network without a problem *except* all the images fail to load! :(

My ini is as follows:

[UWeb.WebServer]
Applications[0]=xWebAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Aplications[1]=xWebAdmin.UTImageServer
ApplicationPaths[1]=/images
DefaultApplication=0
bEnabled=True
ListenPort=80
MaxConnections=10
ServerName=&lt;My IP Address&gt;
ExpirationSeconds=86400

I tried the xinted.conf stuff mentioned in this thread... still no luck! Any suggestions?

Cyrin
7th March, 2003, 03:26 PM
Oh, I am running RH8 fully updated and UT2K3 Dedicated server 2199

Killing
7th March, 2003, 03:34 PM
ut2k3 doesnt have the images problem we found the problem and ryan fixed it. For your issue, check the console log for errors. Its not something silly like the images aren't there or you have renames <code>Web/images -&gt; Web/Images</code> or anything silly?

Cyrin
7th March, 2003, 03:45 PM
I checked for the images and I checked to make sure the case was correct (actually I have been burned by that before so I checked that first...!)

It's odd, I can click on the image properties and it says:
http://&lt;my_ip&gt;/images/&lt;image name&gt;

So it is pointing to the right place... Man, this is frustrating... but only because I am a perfectionist, the server works great, I just wanna see the pictures damnit!

Killing
7th March, 2003, 04:57 PM
so any errors in the server console?

Cyrin
7th March, 2003, 05:08 PM
Nope.

Is it normal to try and enter the location of the image in the browser and it just redirects and reloads the main WebAdmin page?

Cyrin
7th March, 2003, 05:11 PM
Ok, 1 error, but it's not related...

"Missing Class Class Editor.TransBuffer"

Cyrin
11th March, 2003, 07:58 PM
Ok, so seriously, I have no idea why the images refuse to show up on my Web Admin page! I am posting here (again) to get some attention for my earlier posts. I have throughly explored this issue on my own and I am at my wits end! :wall:

I could use some answeres, or even some good questions, possibly things I haven't tried!

Cheers!
Çyrin