cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Content Server - 500 Internal Server Error

wlourens2
Participant
0 Likes
5,707

Dear All

I installed a new content server (latest version 7.53) on Windows using File system storage.

After installation the Content Server URL fails with "500 Internal Server Error":

Please assist?

In trace directory D:\usr\sap\SID\C00\work I see following error:

Thr 21304] Adding HttpLogHandler: PREFIX=/sapcs, LOGFILE=D:\usr\sap\SID\C00\log\http-%y-%m-%d.log%o, MAXFILES=7, MAXSIZEKB=20000, SWITCHTF=day, LOGFORMAT=%t %h "%r" %{content-length}i > "%{x-errordescription}o" %b %s %L

...

[Thr 21304] *** ERROR => IcmLogGetActualFileName: Illegal format in filename: %o [iclogutil.c 1221]

[Thr 23512] Wed Jan 15 16:00:01:968 2020

...

[Thr 23512] *** ERROR => No handler defined for this URL {00000003} [http_plg.c 4906]

[Thr 23512] role: Server, protocol: HTTP, local: 192.168.16.6:1090, peer: 192.168.16.133:64446

As per guided procedure on https://ga.support.sap.com/dtp/viewer/#/tree/1238/actions/14261 I installed the IIS roles, but as per SAP note 2786364 "Starting with release 7.5, Content Server will be integrated into the SAP Web Dispatcher instead of the Apache (Unix) or Microsoft IIS (Windows) web servers." -- Shoud IIS still be started?

I am able to open the web dispatcher URL on http://localhost:1090/sap/admin/public/default.html.

Kindly assist?

Kind Regards,

Accepted Solutions (1)

Accepted Solutions (1)

kaus19d
Active Contributor
0 Likes

Hi wlourens2,

You need to check your Content-Server setup settings.

For security reasons, starting with version 2.0.46, non-printable and other special characters in %r, %i and %o are escaped using \xhh sequences, where hh stands for the hexadecimal representation of the raw byte

This is mentioned in below,

http://httpd.apache.org/docs/current/mod/mod_log_config.html

So, you can remove the %o or use %O, O in capital

Thanks,

Kaushik

Answers (2)

Answers (2)

wlourens2
Participant

Dear Kaushik

I notice the URL I was testing with changed in the new version. When using Hostname:1090/sapcs?serverInfo it works now, and SAP also can connect 🙂

Thanks

wlourens2
Participant
0 Likes

Dear Kaushik

Thanks for the response. I made no changes to the parameter files after the Content Server install, they are still default (not sure where to change).

I uninstalled and reinstalled the content server, still same issue.

Is the URL http://hostname:1090/ContentServer/ContentServer.dll?serverInfo not supposed to open after install?

Kind Regards,

wlourens2
Participant
0 Likes

Dear Kaushik

In the profile MCD_C00_hostname I did find a line with "%o% which I commented out:

The error "ERROR => IcmLogGetActualFileName: Illegal format in filename" now no longer appears in the dev_cs trace file.

I unfortunately still can't open the URL, and these errors still int he dev_cs trace file:

[Thr 12296] Thu Jan 16 09:35:46:114 2020 [Thr 12296] *** ERROR => No handler defined for this URL {00000003} [http_plg.c 4906] [Thr 12296] role: Server, protocol: HTTP, local: IP:1090, peer: IP:52532

Thanks and Regards,