Re: [users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.4 UNIX Solaris

2019-01-08 Thread singhal . ankit
Hi Dennis, I can get the httpd service running if I do not load my module(example_module) If I comment this module then apache starts running. So the problem is with my module only. Maybe I am missing something from the configuration point. Here "s = 0x1 """ and it is passing as cmd->nam

Re: [users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.4 UNIX Solaris

2019-01-08 Thread singhal . ankit
Hi William, Thank you for the response. I have compiled the code with -g option. Please find the excerpts from the code and httpd.conf file: Code declaration: static const command_rec example_cmds[] = { ("SCENARIO",CallScenarioName,NULL,RSRC_CONF,"Define scenario name"), {NULL} }; modul

Re: [users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.4 UNIX Solaris

2019-01-08 Thread singhal . ankit
Hi Dennis, Thank you for the response..!! Following are the specifications: I do not exactly understand by toolchain? Could you please elaborate more of what information I can provide? On the same environment, we were running apache 1.3 successfully. In this we are using a user module(mod_

[users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.4 UNIX Solaris

2019-01-08 Thread singhal . ankit
Dear All, I have migrated a user module mod_example from 1.3 to 2.4. But when I try to start the apache it is giving a segmentation fault and creating a core. Installed binaries: Apache 2.4.34 apr-1.6.5 apr-util-1.6.1 pcre-8.40 expat-2.1.0 Following is the stacktrace while debug: t@1 (l@1) signa

Re: [users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.0 UNIX Solaris

2018-11-14 Thread singhal . ankit
We have used the same compiler for both. My main concern is "expected signature 41503234 but saw " What could be the reason of signature ? This implies that no signature is generated in my case Thanks & Regards Ankit Singhal Tata Consultancy Services Mailto: singhal.an...@tcs.co

RE: [users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.0 UNIX Solaris

2018-11-14 Thread singhal . ankit
I have used the same apxs binary that is available in the installed path of apache 2.4 /usr/local/apache2.4.34/bin/apxs My main concern is "expected signature 41503234 but saw " What could be the reason of signature ? Thanks & Regards Ankit Singhal Tata Consultancy Services Mail

RE: [users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.0 UNIX Solaris

2018-11-14 Thread singhal . ankit
Hi All, Thank you Rick and William for helping me out. As suggested I had use the apxs to build a module. Steps as follows: 1> I have commented my module and try to start the apache and it started. 2> I took the default example file that comes with httpd-2.4.34(httpd-2.4.34/modules/examples/mo

Re: [users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.0 UNIX Solaris

2018-11-13 Thread singhal . ankit
at least some flavor of 2.4.x, at least one which was released this year. We will offer you a single hint, it wouldn't be wise to try to replicate each and every compilation flag to ensure compatibility when building a module. That's what the apxs utility script installed alongside httpd

Re: [users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.0 UNIX Solaris

2018-11-13 Thread singhal . ankit
Dear Team, In the following error: API module structure 'example_module' in file /app/quartz/COMS/EAI_324/ph/http/bin/mod_example.so is garbled - expected signature 41503230 but saw - perhaps this is not an Apache module DSO, or was compiled for a different Apache version? My module c

[users@httpd] URGENT: Apache HTTP Migration from 1.3 to 2.0 UNIX Solaris

2018-11-12 Thread singhal . ankit
Dear Team, I have installed and set up httpd 2.0.65 version of apache server on Solaris 11 and is running good and fine without the mod_example.so module. I have compiled the mod_example.so module on httpd 2.0.65 with APR 0.9.20 and APR-UTIL 0.9.19. So when I load the module, there came the pro