Jump to content

  • Sign in to follow this  

    Problema pornire sv cs pe linux


    CMA

    Buna seara , 

     

    Am incercat sa pornesc server-ul folosind comanda :

    ./hlds_run -game cstrike +ip IP-UL TAU AICI +maxplayers 32 +map de_dust2 -port 27015
    
    si am primit mesajul ca fisierul nu exista apoi am incercat urmatoarele comenzi :
    sudo dpkg --add-architecture i386
    sudo apt-get update
    sudo apt-get install libc6:i386
    la prima coamnda am primit urmatorul mesaj:
    
    root@server:~# sudo: unable to resolve host
    As dori daca se poate sa imi spuneti cum pot rezolva aceasta problema, precizes ca am instalat sistem de operare ubuntu 18.04-x86_64 , Multumesc !
    
    Sign in to follow this  


    User Feedback

    Recommended Comments

    Asta am gasit pe site-ul celor de la ubuntu:

     

    Two things to check (assuming your machine is called my-machine, you can change this as appropriate):

    1. That the /etc/hostname file contains just the name of the machine.

    2. That /etc/hosts has an entry for localhost. It should have something like:

       127.0.0.1    localhost.localdomain localhost
       127.0.1.1    my-machine
      

    If either of these files aren't correct (since you can't sudo), you may have to reboot the machine into recovery mode and make the modifications, then reboot to your usual environment.

     

    In eroarea ta iti zice ca nu reuseste sa se conecteze la acel domeniu sau ip care este setat in /etc/hosts seteaza cum au zis cei de la ubuntu mai sus.

    Share this comment


    Link to comment
    Share on other sites

    Am incercat si aceasta metoda dar am primit urmatorul mesaj:

    -bash: /etc/hosts: Permission denied
     

    Share this comment


    Link to comment
    Share on other sites


    Guest
    This is now closed for further comments

×