Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2002
    Location
    Greece
    Posts
    2

    Question Unanswered: Automatic restart server on Linux

    Somebody knows, how to make this thing on Linux RedHat 7.2.
    File sybase exist in the dir /etc/rc.d/init.d/, but when I do reboot system, server not restarting.
    I think, the ptoblem is in the user permission, because when I try to start this file in the superuser mode (and rc.sybase in the dir /opt/sybase-11.9.2/install/) I have a messages "Permission denied".
    I can start server only by the command
    /opt/sybase-11.9.2/install/startserver -f ./[RUN_file].

    May be somebody can help me?

  2. #2
    Join Date
    Aug 2002
    Location
    Netherlands
    Posts
    3
    Hi,

    You could use the option: su -c "startserver -f $SERVERNAME" sybase

    this will start ASE as an sybase user.

  3. #3
    Join Date
    Jul 2002
    Location
    Greece
    Posts
    2
    Hi!
    Thank's a lot for Your response.
    I solved this problem. It was a problem in the permissons. Owner for some files on the dir /opt/sybase-11.9.2 must be sybase.
    In this case when system reboot in the startup procedures call script /etc/rc.d/init.d/sybase, where automatically start sybase servers.

  4. #4
    Join Date
    Aug 2002
    Location
    Netherlands
    Posts
    3
    Youre welcome,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •