WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

error in http.conf

  • 1.  error in http.conf

    Posted 08/22/13 01:43 PM
    Hi all,

    I have come across a problem with the http.conf file. When I click on the "Edit" button on the configuration tab of the webserver in WAS console, it comes up with a message of "No connection to IHS Administration Server."

    Hope this is the right forum to post.

    Any suggestion or advice will be greatly appreciated. 


  • 2.  error in http.conf

    Posted 08/24/13 06:02 AM
    Hi Bishal,

      you need to start admin server of the IHS, is another instance, so if you have one IHS installed you can configure an Admin Server.  Check the next links:

      Starting and stopping the IBM HTTP Server administration server
    pic.dhe.ibm.com/infocenter/wasinfo/v7r0/...

      Hints and tips for managing IBM HTTP Server using the administrative console
    pic.dhe.ibm.com/infocenter/wasinfo/v7r0/...

      Hope this helps. Tell us if you need more support.

    Regards



  • 3.  error in http.conf

    Posted 08/27/13 06:59 AM
    Hi Gabriel,

    Still on Vacations!!! I think you are the only one I know that has the longest vacations!!!

    Version of WAS: 8.0.0.5
    Version of HTTP Server:  8.0
    Version of HTTP Admin Server: Unkown

    "IHS_HOME->conf->admin.conf" - I have the mentioned file but is inside the HTTP Server path. I cannot recall installing HTTP Admin Server only HTTP Server, this was the default installation whilst I was following the installation. I do not seem to have any icon for Admin Server nor any Services. 

    Starting and stopping the IBM HTTP Server administration server

    I do not have the http.exe, admin_error.log file as mentioned in the above notes.

    Please advice.
     


  • 4.  error in http.conf

    Posted 08/27/13 12:47 PM
    Hi Bishal,

      Now no, the vacations has ended   you know, if you work hard you have long vacations
     
      You have all requiered binaries in HTTP server.  I'm saying that you only need to start the Admin Server, with admin.conf configuration.

      Starting and stopping the IBM HTTP Server administration server
      pic.dhe.ibm.com/infocenter/wasinfo/v8r0/...
     
     
     you haven't IHS_HOME->bin->httpd.exe?
     
      How do you start IHS?
     
    regards


  • 5.  error in http.conf

    Posted 09/02/13 10:55 AM
    Hi Gabriel,

    Looks like I don't have the admin server installed and i cannot find the /usr/IBM/HTTPServer/bin/adminctl - path as mentioned in the technote.

    Version of WAS: 8.0.0.5
    HTTP SERVER: 8.0.0.5 (Win32)

    Looks like I might have to revert back to the installation and go through it all again.

    I did try the WAS Customization Tool box which installed the HTTP Admin Server but it resulted back to the same problem where I could not connect the server I created in WAS with the HTTP Administration Server.

    Although I have the admin.conf file in the C:\IBM\HTTPServer\conf path. 





  • 6.  error in http.conf

    Posted 09/02/13 12:16 PM
    Bishal,

      If your HTTP server is HTTP SERVER: 8.0.0.5 (Win32) you need to check path's like C:\program files... or similar not /usr/IBM/....
     
      You need to review the section for WINDOWS installations, NOT for AIX, HP-UX, UNIX,....
     
      pic.dhe.ibm.com/infocenter/wasinfo/v8r0/...
     
      Please tell me what is your HTTP HOME.
     
      there you haven't IHS_HOME->bin->httpd.exe?
     
      How do you start IHS, when you are in IHS machine?
     
     
    regards


  • 7.  error in http.conf

    Posted 09/02/13 01:02 PM
    Hi Gabriel,

    Thanks for the prompt reply.

     Please tell me what is your HTTP HOME : C:\IBM\HTTPServer\bin

    httpd.exe is inside the bin folder.

    IHS is automatic, and is on the services.

    When I installed the WAS Supplements I did not have the option to install HTTP Admin Server when compared to previous versions of WAS, instead it had only IBM HTTP Server.

    Hence, it is complaining about not being able to see the IBM HTTP Admin Server.

    There is only HTTP SERVER instance in the SERVICES and IBM HTTP ADMIN SERVER is missing in the services.

    I did install the IBM ADMIN SERVER by using WAS CUSTOMIZATION TOOLBOX but I was running into the same problem again.  

    Think I will install the HTTP ADMIN SERVER using the CUSTOMIZATION TOOL again, and hopefully be able to connect to the HTTP Admin Server.

     


  • 8.  error in http.conf

    Posted 09/02/13 05:00 PM
    Ok Bishal, as I say you don't need to install anything else, you have all you need to start the IBM Admin Server in your IHS.

    To start IBM Admin Server you need to launch the next command from IHS HOME:
     
        httpd -f conf\admin.conf

    By default the server starts at 8008, then check admin_error.log. 
        
        
    To register as a service, with and administrator provileges count, start a cmd window and go to IHS_HOME (C:\IBM\HTTPServer\bin)

       httpd.exe -k install -f conf\admin.conf -n "IBM HTTPv8 ADMIN"
       
       where -n parameter is service name so put what you want.
       
       to uninstall the service:
       
       httpd.exe -k uninstall -n "IBM HTTPv8 ADMIN"
       
    Try and let us.

    Regards


  • 9.  error in http.conf

    Posted 09/03/13 09:21 AM
    Afternoon Gabriel,

    I have no admin_error.log files in the log folder

    When entering  " httpd -f conf\admin.conf" in the command prompt as  c:\IBM\HTTPServer\bin> httpd -f conf\admin.conf returns an error "Syntax error on line 7 of ......Port must be specified" 

    However, I have now successfully installed Admin Server using WAS CUSTOMIZATION TOOLBOX.

    The link I followed is here if anyone gets stuck at this point. pic.dhe.ibm.com/infocenter/cchelp/v8r0m0...

    or google Zero to Social Hero IBM Connections 4.5.

    Thanks for all your help Gabriel.
     


  • 10.  error in http.conf

    Posted 09/04/13 04:48 AM
    I'm Glad to hear that you have sucesfully installed Admin Server

    The error that you had, can easily solve editing admin.conf file and reviewing if you have any port Listening (in your case no)

    for the next time this is directive by default for Admin Server:

    Listen 0.0.0.0:8008

    regards


  • 11.  error in http.conf

    Posted 09/04/13 09:19 AM
    Hi Gabriel,

    I am curious as to how you would have suggested me, as I am now having problems stopping and starting the IBM HTTP Server via Integrated Console, instead I am starting/stopping in Windows Services.




  • 12.  error in http.conf

    Posted 09/04/13 11:10 AM
    At the moment my port no is 81 and secure is 9444

    When I try to access connection: https://localhost:9444/homepage

    I get the  following error message:
    We are unable to process your request

    Click the browser back button to return to the previous page and try again. If this error persists, report the problem to your administrator.

    On the http->logs->access, I have the following error:

     GET /homepage HTTP/1.1" 404 284



    192.168.1.248 - - [03/Sep/2013:14:39:23 +0100] "GET /favicon.ico HTTP/1.1" 404 287
    192.168.1.248 - - [03/Sep/2013:14:39:47 +0100] "GET /homepage HTTP/1.1" 404 284
    192.168.1.248 - - [03/Sep/2013:14:40:01 +0100] "GET /homepage HTTP/1.1" 404 284
    192.168.1.248 - - [03/Sep/2013:14:40:04 +0100] "GET /homepage HTTP/1.1" 404 284
    192.168.1.248 - - [03/Sep/2013:14:40:25 +0100] "GET /homepage HTTP/1.1" 404 284
    192.168.1.248 - - [03/Sep/2013:14:41:05 +0100] "GET /homepage HTTP/1.1" 404 284
    192.168.1.248 - - [03/Sep/2013:14:41:05 +0100] "GET /favicon.ico HTTP/1.1" 404 287
    192.168.1.248 - - [03/Sep/2013:14:41:05 +0100] "GET /favicon.ico HTTP/1.1" 404 287

     
    On the error I get the following errors:

     [error] [client 192.168.1.248] File does not exist: C:/IBM/HTTPServer/htdocs/wikis


    [Wed Sep 04 13:16:00 2013] [error] [client 192.168.1.248] File does not exist: C:/IBM/HTTPServer/htdocs/forums
    [Wed Sep 04 13:16:00 2013] [error] [client 192.168.1.248] File does not exist: C:/IBM/HTTPServer/htdocs/blogs
    [Wed Sep 04 13:16:00 2013] [error] [client 192.168.1.248] File does not exist: C:/IBM/HTTPServer/htdocs/forums
    [Wed Sep 04 13:16:00 2013] [error] [client 192.168.1.248] File does not exist: C:/IBM/HTTPServer/htdocs/wikis
    [Wed Sep 04 13:16:01 2013] [error] [client 192.168.1.248] File does not exist: C:/IBM/HTTPServer/htdocs/blogs
    [Wed Sep 04 13:16:01 2013] [error] [client 192.168.1.248] File does not exist: C:/IBM/HTTPServer/htdocs/communities
    [Wed Sep 04 13:16:01 2013] [error] [client 192.168.1.248] File does not exist: C:/IBM/HTTPServer/htdocs/communities
    [Wed Sep 04 13:16:01 2013] [error] [client 192.168.1.248] File does not exist: C:/IBM/HTTPServer/htdocs/files

    Any suggestions!!! 



  • 13.  error in http.conf

    Posted 09/04/13 11:13 AM
    Bishal,

      In my first reply I give you the next link
      www.websphereusergroup.org/go/thread/vie...

      Hints and tips for managing IBM HTTP Server using the administrative console pic.dhe.ibm.com/infocenter/wasinfo/v7r0/...
     
      I don't know how do you configure Admin Server through WCT, my answers were to start not to configure.
     
      Have you change your IHS service name?


  • 14.  error in http.conf

    Posted 09/04/13 11:30 AM
    Hi Gabriel,

    Thanks for the response.

    I am not sure if I have changed for HTTPP SERVER my service name is IBMHTTPServerV8.0 in Services and IBM HTTP SERVER in integrated console.

     But for the IBM HTTP Admin Server, I have changed the services name.

    The odd thing about one of the folders is PLUGINS are not in the HTTP folder, instead they are on IBM->Websphere->Plugins. This might have happened on the installation process when I chose to save it on that location.

     


  • 15.  error in http.conf

    Posted 09/04/13 11:30 AM
    You have your IHS listening at port 81? and in adminconsole your webserver definition which port has, 80 or 81?

    have you uninstall from IHS server the previus configuration? if not probably when you have configure again through WCT the new instance have configure in the next ports (81, 444, 8009), and in your adminconsole the definitions are for the previus installation.

    Another point is, you are saying that secure is 9444.  Normally web servers listen in ports 80, 443 and 8008 and WAS servers in 9080 and 9443...so if your IHS server is not listening in 9444 you are accesing directly to WAS server (secure webcontainer port).

    when you have configure connections 4.5 have you do any task in IHS? copy any contents to "C:/IBM/HTTPServer/htdocs/"?

    if not probably your problem is the plugin, if you have a new IHS instance (listening in 81 and 444) you need to configure in adminconsole this new server, to generate and propagate de plugin and then access homepage through IHS

      http://localhost:81/homepage

      https://localhost:444/homepage

    you always can access directly to WAS, for example:

      http://localhost:9080/homepage

      https://localhost:9443/homepage

     
    regards


  • 16.  error in http.conf

    Posted 09/04/13 11:45 AM
    Ok so the first think is to change the service name in integrated console. Go to webserver definition and put the the name of the service (not the display name).

    No matter the IBM HTTP Admin Server service name.

    Another think to do is review your plugin configuration



  • 17.  error in http.conf

    Posted 09/04/13 12:27 PM
    Gabriel,

    Questions to your answers:

    - You have your IHS listening at port 81? When first installing I chose port 81 instead of 80, so I have configured an unmanged node plus the IBM HTTP Server accordingly.

     - have you uninstall from IHS server the previus configuration?: I did not uninstall the IHS Server. When using the WAS CUSTOMIZATION TOOLBOX, I pointed towards my HTTP Server and the plugins installed location. This might have overwritten the files.

     - when you have configure connections 4.5 have you do any task in IHS? copy any contents to "C:/IBM/HTTPServer/htdocs/"? I have cleared the port numbers from LCConfig.xml file, so now instead of http://localhost:8008/homepage it is http://localhost/homepage and the same for https://localhost.

    - I have generated and propgated the plugin according to the wikis and there no errors are displayed in the Integrated Console.

    http://localhost:81/homepage : Not Found . 
    The requested URL /homepage was not found on this server. IBM_HTTP_Server at collabvm45.triangle.local Port 81

    https://localhost:9444/homepage: As soon as I log in I get the following error: We are unable to process your request. Click the browser back button to return to the previous page and try again. If this error persists, report the problem to your administrator.

      - http://localhost:9080/homepage: Nothing at all
      - https://localhost:9443/homepage: Nothing

    - Virtual hosts->default_host: the following are the port numbers mentioned 9080, 80, 9443, 5060, 5061, 443, 9081, 9444

    - In WAS Console Communication Ports: 








    WC_defaulthost9081
     










    WC_defaulthost_secure9444


    Another think to do is review your plugin configuration: I have had a look at the plugins files and they seem to be pointing to the right SSL certificate that I had created using iKeyman. I have only one plugins folder by the way.

    - I have changed the IBM HTTP SERVER name successfully. Thanks.


     


  • 18.  error in http.conf

    Posted 09/04/13 08:47 PM
    Bishal,

      I have uploaded a document with notes about configuration of the IHS-Plugin-WAS and SSL in IHS in version 8

      Notes about IHS-Plugin-WAS configuration


     hope this helps.

    Regards