Step 11 fails

Forum Home Forums Installation Issues Step 11 fails

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #9863
    mterebessy
    Participant

    11. Execute the script to install daemons:

    sudo /opt/scada/svc_install.sh

    From the console:
    user@hmi:/opt/scada$ sudo /opt/scada/svc_install.sh
    chmod: cannot access ‘./scadaagent’: No such file or directory
    update-rc.d: error: unable to read /etc/init.d/scadaagent
    chmod: cannot access ‘./scadaserver’: No such file or directory
    update-rc.d: error: unable to read /etc/init.d/scadaserver
    chmod: cannot access ‘./scadacomm’: No such file or directory
    update-rc.d: error: unable to read /etc/init.d/scadacomm

    The svc_install.sh seems to have commands for changing the attributes of the files, but not actually installing the relevant files. What’s missing here?

    #9865
    manjey73
    Participant

    Look at the code svc_install.sh Have you exactly copied the required files to the /etc/init.d folder?

    What is your system?

    • This reply was modified 2 weeks, 1 day ago by manjey73.
    #9867
    mterebessy
    Participant

    Where in the install does it say to copy those files? Also, there are similarly named files, but different in capitalization, and they are directories vs files.

    #9868
    manjey73
    Participant

    2. Copy the scripts from the daemons folder to /etc/init.d

    You probably tried to copy the boot scripts under a regular user and did not notice that there is no access, since /etc/init.d is not available to a regular user for writing.

    • This reply was modified 2 weeks ago by manjey73.
    #9870
    mterebessy
    Participant

    That was it…not sure why it didn’t copy the first time. I was able to run it via sudo. Thank you.

    #9873
    Mikhail
    Moderator

    Hello,
    The daemons (scadaagent, scadacomm and scadaserver) should be copied to /etc/init.d
    Yes, you likely need root access to copy them into init.d
    sudo is a proper way.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.