Skip to Content

Content server info time different from system clock

Hi,

We are running Content Server on Unix. Apache is used as the web server. When I run the server infor url (

http://172.xxx.xxx.xxx:1090/ContentServer/ContentServer.dll?serverInfo&pVersion=0046) to check the content server status, the servertime shown is different from the system time. I believe the servertime is based on UTC time but we are located in a UTC+8 timezone. How  can we set the Content Server to display the correct time?

Regards,

Lim

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 30, 2013 at 07:25 AM

    Hi Seng Lim,

    You need to check time setting for user .

    Who is running your cotent server and correct the time setting for that user.

    BR

    Atul

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Atul,

      I believe content server is started by starting apache. Our apache is started with os user 'prdcs'. The timezone for this user is using the global timezone set in /etc/environment which is set correctly. When I execute the 'date' command, it is displaying the correct time for my country.

      There are many web articles about setting timezone for apache, but most of them points to editing php.ini. However for content server installation on unix, we only need to install apache and not php. So how can I set the timezone for our apache server?

      Rdgs

  • avatar image
    Former Member
    Oct 30, 2013 at 10:26 AM

    Hi,

    Why do you want to change the time , Are you worried that you might get error while saving doc.

    You will not get any error due to that.

    Thanks

    Rishi Abrol

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Rishi,

      I do not have problem saving docs in the content server. It is just the time stamp of the doc does not reflect the correct time when the docs are saved.

      We configure SAPoffice to save mails with attachments in the content server. We also configure MM transactions such as RFP/RFQ to save attachments in the content server.

      I handle Basis, so I am not so sure how to check the docs using the MM transactions. But when I created a mail in my SAPoffice inbox with an attachment, I am able to see the attachment in the content server database. However the time stamp for the saved doc is wrong. To view the doc in the content server, I use MaxDB tools to access the database table.

      Rdgs

  • Oct 30, 2013 at 04:11 PM

    Hello

    If possible try a restart of the Apache and MaxDB database and see whether it picks up the right time.

    Regards

    RB

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2013 at 07:19 PM

    Hello

    You can update / change the time zone using TZ environment variable for the user.

    User with which apache runs and user with which maxdb runs both should have the same time zone.  Once you have updated the timezone you will need to restart apache and db.

    Regards

    Amit Padmawar

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Rishi,

      System time is set to UTC+8. So is personal time zone in SU01 for users. I tried uploading a doc to the content server via sapoffice and the time stamp still show a wrong time.

      I think I'll log a message with SAP. Thanks for your help so far.

      Rdgs