the problem is that $HOME is not set..

just placing:
HOME="/home/username"
at top of the script solved the problem ;)

are you running directly steamcmd or are you using the steam.sh wrapper?
The problem I'm reporting happens when using the wrapper that makes
wrong assumptions in case $HOME env var is not set :)

Il 22/08/2012 18:49, Andrew Caron ha scritto:
> I have it running in a crontab and it is doing fine.
>
> Quite possible your permissions are wrong:
> ln: creating symbolic link `//.steampath': Permission denied
> /home/username/steamdirectory/steam.sh: line 24: //.steampid: Permission
> denied 
>
> Or you can not use relative pathing. I am using absolute and there are
> no problems.
>
> On Wed, Aug 22, 2012 at 8:24 AM, Marco Padovan <[email protected]
> <mailto:[email protected]>> wrote:
>
>     As currently csgo do not support autoupdate I have to frequently run
>     steamcmd from crontab.
>
>     The only problem is that when trying to run it within this script:
>
>     cd /home/username/steamdirectory/
>     STEAMEXE=steamcmd /home/username/steam.sh +login steamuser
>     steampassword
>     +runscript update-slave.txt
>
>     update-slave.txt content is:
>     force_install_dir ../
>     app_update 740
>     exit
>
>
>     I get the following output on centos6.3 x64:
>
>     ln: creating symbolic link `//.steampath': Permission denied
>     /home/username/steamdirectory/steam.sh: line 24: //.steampid:
>     Permission
>     denied
>     Installing breakpad exception handler for
>     appid(steam)/version(1345509297)
>     unlinked 0 orphaned pipes
>     CAsyncIOManager: 0 threads terminating.  0 reads, 0 writes, 0
>     deferrals.
>     CAsyncIOManager: 35 single object sleeps, 1 multi object sleeps
>     CAsyncIOManager: 0 single object alertable sleeps, 1 multi object
>     alertable sleeps
>     [  0%] Checking for available updates...
>     [  0%] Download complete.
>     [----] Verifying installation...
>     [----] !!! Fatal Error: Steam failed to load:
>     *SteamStartEngine(0xff9a4900) failed with error 1: Failed to create
>     directory /steam
>
>
>     In order to get it working properly I had to set the $HOME variable
>     before calling steam.sh
>
>     HOME="/home/username"
>
>     as steam.sh makes use of ~/ path multiple times...
>
>     _______________________________________________
>     Csgo_servers mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>
>
>
>
>
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to