Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
04-30-2009, 05:36 AM
(This post was last modified: 05-04-2009, 09:37 PM by realchamp.)
Hello, all!
I just installed Linux Ubuntu Desktop Version 9.04 32BIT on my PC.
I'm used to use the older version(8.something) - but when I try to install a Source Dedicated Server, it doesn't know the ./hldsupdatetool.bin command, just before I'd use ./steam.
I'm sure I'm in the right directory. Here's the commands I used.
Code:
mkdir srcds_l
cd srcds_l
wget http://www.steampowered.com/download/hldsupdatetoo.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin // This is where it doesn't work at all.
The error is:
Code:
Bash: hldsupdatetool.bin no such file or directory.
(I think it was like that)
- realchamp.
I'm not used to Linux, so if I made a silly mistake, don't worry, just tell me.
Ps. if you need more information, let me know!
Posts: 361
Threads: 84
Joined: Jul 2006
Reputation:
0
i used to get that error in 2 occations in 8.10
-when using 64bit
-when intalling as root
hope that helps
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
Didn't help that much
Posts: 482
Threads: 6
Joined: Apr 2008
Reputation:
5
realchamp Wrote:
Code:
mkdir srcds_l
cd srcds_l
wget http://www.steampowered.com/download/hldsupdatetoo.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin // This is where it doesn't work at all.
This could be that you don't have command "uncompress".
You can solve it by linking command "uncompress" to "compress". For example I have:
Code:
lrwxrwxrwx 1 root root 8 2009-01-10 20:43 /usr/bin/uncompress -> compress*
This is something I've done in the past.
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
css Wrote:realchamp Wrote:
Code:
mkdir srcds_l
cd srcds_l
wget http://www.steampowered.com/download/hldsupdatetoo.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin // This is where it doesn't work at all.
This could be that you don't have command "uncompress".
You can solve it by linking command "uncompress" to "compress". For example I have:
Code:
lrwxrwxrwx 1 root root 8 2009-01-10 20:43 /usr/bin/uncompress -> compress*
This is something I've done in the past.
realchamp Wrote:I'm not used to Linux, so if I made a silly mistake, don't worry, just tell me.
How shall I use that?
Posts: 482
Threads: 6
Joined: Apr 2008
Reputation:
5
First let's check that it's even the problem:
Write:
Then if it doesn't say anything, write:
The result should be like: /usr/bin/compress
Then write:
Code:
ln -s /usr/bin/compress /usr/bin/uncompress
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
05-01-2009, 02:14 AM
(This post was last modified: 05-01-2009, 02:24 AM by realchamp.)
Here is my outlook.
Code:
realchamp@ubuntu:~$ cd srcds_l
realchamp@ubuntu:~/srcds_l$ which uncompress
/bin/uncompress
realchamp@ubuntu:~/srcds_l$ which compress
realchamp@ubuntu:~/srcds_l$ ln -s /usr/bin/compress /usr/bin/uncompress
ln: creating symbolic link '/usr/bin/uncompress': Permission denied
realchamp@ubuntu:~/srcds_l$
Just tell me if I did anything wrong. I am the only user on my Linux installation and Windows. But the "Permission denied" I do not understand.
EDIT:
I just did this and this I what I had.
Code:
realchamp@ubuntu:~/srcds_l$ ./hldsupdatetool.bin
bash: ./hldsupdatetool.bin: Permission denied
realchamp@ubuntu:~/srcds_l$
That is without chmod +x hldsupdatetool.bin
Posts: 482
Threads: 6
Joined: Apr 2008
Reputation:
5
realchamp Wrote:That is without chmod +x hldsupdatetool.bin
Okay. I see this is n00blevel -99. Let me rephrase this one
First of all it seems you have "uncompress" installed, but you don't have "compress". That's ok (although I consider it slightly weird installation )
You've probably downloaded hldsupdatetool.bin as root to some folder where you don't have access as user "realchamp". Download hldsupdatetool.bin again and make sure it's owned by realchamp. Do command "ls -l hldsupdatetool.bin and see that it says realchamp there". Then do "chmod +x hldsupdatetool.bin" and then "./hldsupdatetool.bin". Make sure the file hldsupdatetool.bin is in the user realchamp's homedir, ie. /home/realchamp/hldsupdatetool.bin.
If you want to play sure but dirty, change to root first and then run all the same commands. Then you don't have to worry about permissions. Someone will say it's bad idea, but you get results much faster that way.
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
05-01-2009, 05:15 AM
(This post was last modified: 05-01-2009, 05:34 AM by realchamp.)
I will switch to Linux and try it
Thanks! I'll let you know in a second!
EDIT:
I did that, here is what I got.
Code:
realchamp@ubuntu:~$ cd srcds_l
realchamp@ubuntu:~/srcds_l$ wget http://www.steampowered.com/download/hldsupdatetool.bin
--2009-04-30 21:24:29-- http://www.steampowered.com/download/hldsupdatetool.bin
Resolving www.steampowered.com... 63.228.223.107, 63.228.223.100
Connecting to www.steampowered.com|63.228.223.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3513408 (3.4M) [application/octet-stream]
Saving to: `hldsupdatetool.bin'
100%[======================================>] 3,513,408 298K/s in 11s
2009-04-30 21:24:40 (319 KB/s) - `hldsupdatetool.bin' saved [3513408/3513408]
realchamp@ubuntu:~/srcds_l$ ls -hldsupdatetool.bin
ls: invalid option -- 'e'
Try `ls --help' for more information.
realchamp@ubuntu:~/srcds_l$ ls --help
Usage: ls [OPTION]... [FILE]...
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort.
Mandatory arguments to long options are mandatory for short options too.
-a, --all do not ignore entries starting with .
-A, --almost-all do not list implied . and ..
--author with -l, print the author of each file
-b, --escape print octal escapes for nongraphic characters
--block-size=SIZE use SIZE-byte blocks
-B, --ignore-backups do not list implied entries ending with ~
-c with -lt: sort by, and show, ctime (time of last
modification of file status information)
with -l: show ctime and sort by name
otherwise: sort by ctime
-C list entries by columns
--color[=WHEN] control whether color is used to distinguish file
types. WHEN may be `never', `always', or `auto'
-d, --directory list directory entries instead of contents,
and do not dereference symbolic links
-D, --dired generate output designed for Emacs' dired mode
-f do not sort, enable -aU, disable -ls --color
-F, --classify append indicator (one of */=>@|) to entries
--file-type likewise, except do not append `*'
--format=WORD across -x, commas -m, horizontal -x, long -l,
single-column -1, verbose -l, vertical -C
--full-time like -l --time-style=full-iso
-g like -l, but do not list owner
--group-directories-first
group directories before files
-G, --no-group in a long listing, don't print group names
-h, --human-readable with -l, print sizes in human readable format
(e.g., 1K 234M 2G)
--si likewise, but use powers of 1000 not 1024
-H, --dereference-command-line
follow symbolic links listed on the command line
--dereference-command-line-symlink-to-dir
follow each command line symbolic link
that points to a directory
--hide=PATTERN do not list implied entries matching shell PATTERN
(overridden by -a or -A)
--indicator-style=WORD append indicator with style WORD to entry names:
none (default), slash (-p),
file-type (--file-type), classify (-F)
-i, --inode print the index number of each file
-I, --ignore=PATTERN do not list implied entries matching shell PATTERN
-k like --block-size=1K
-l use a long listing format
-L, --dereference when showing file information for a symbolic
link, show information for the file the link
references rather than for the link itself
-m fill width with a comma separated list of entries
-n, --numeric-uid-gid like -l, but list numeric user and group IDs
-N, --literal print raw entry names (don't treat e.g. control
characters specially)
-o like -l, but do not list group information
-p, --indicator-style=slash
append / indicator to directories
-q, --hide-control-chars print ? instead of non graphic characters
--show-control-chars show non graphic characters as-is (default
unless program is `ls' and output is a terminal)
-Q, --quote-name enclose entry names in double quotes
--quoting-style=WORD use quoting style WORD for entry names:
literal, locale, shell, shell-always, c, escape
-r, --reverse reverse order while sorting
-R, --recursive list subdirectories recursively
-s, --size print the size of each file, in blocks
-S sort by file size
--sort=WORD sort by WORD instead of name: none -U,
extension -X, size -S, time -t, version -v
--time=WORD with -l, show time as WORD instead of modification
time: atime -u, access -u, use -u, ctime -c,
or status -c; use specified time as sort key
if --sort=time
--time-style=STYLE with -l, show times using style STYLE:
full-iso, long-iso, iso, locale, +FORMAT.
FORMAT is interpreted like `date'; if FORMAT is
FORMAT1<newline>FORMAT2, FORMAT1 applies to
non-recent files and FORMAT2 to recent files;
if STYLE is prefixed with `posix-', STYLE
takes effect only outside the POSIX locale
-t sort by modification time
-T, --tabsize=COLS assume tab stops at each COLS instead of 8
-u with -lt: sort by, and show, access time
with -l: show access time and sort by name
otherwise: sort by access time
-U do not sort; list entries in directory order
-v sort by version
-w, --width=COLS assume screen width instead of current value
-x list entries by lines instead of by columns
-X sort alphabetically by entry extension
-Z, --context print any SELinux security context of each file
-1 list one file per line
--help display this help and exit
--version output version information and exit
SIZE may be (or may be an integer optionally followed by) one of following:
kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.
By default, color is not used to distinguish types of files. That is
equivalent to using --color=none. Using the --color option without the
optional WHEN argument is equivalent to using --color=always. With
--color=auto, color codes are output only if standard output is connected
to a terminal (tty). The environment variable LS_COLORS can influence the
colors, and can be set easily by the dircolors command.
Exit status is 0 if OK, 1 if minor problems, 2 if serious trouble.
Report bugs to <bug-coreutils@gnu.org>.
realchamp@ubuntu:~/srcds_l$ ls -l hldsupdatetool.bin
-rw-r--r-- 1 realchamp realchamp 3513408 2005-09-02 04:27 hldsupdatetool.bin
realchamp@ubuntu:~/srcds_l$ chmod +x hldsupdatetool.bin
realchamp@ubuntu:~/srcds_l$ ./hldspdatetool.bin
bash: ./hldspdatetool.bin: No such file or directory
realchamp@ubuntu:~/srcds_l$ ./hldsupdatetool.bin
bash: ./hldsupdatetool.bin: No such file or directory
realchamp@ubuntu:~/srcds_l$ !info
bash: !info: event not found
realchamp@ubuntu:~/srcds_l$ !info dir
bash: !info: event not found
realchamp@ubuntu:~/srcds_l$ ./hldsupdatetool.bin
bash: ./hldsupdatetool.bin: No such file or directory
realchamp@ubuntu:~/srcds_l$ ls -l hldsupdatetool.bin
-rwxrwxrwx 1 realchamp admin 3513408 2005-09-02 04:27 hldsupdatetool.bin
realchamp@ubuntu:~/srcds_l$
Do not mind all the stupid things I did
Also, it said:
How can I make myself an owner?
Posts: 482
Threads: 6
Joined: Apr 2008
Reputation:
5
This is weird. I can't figure it out.
Is there anyone else with Ubuntu?
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
05-01-2009, 04:49 PM
(This post was last modified: 05-01-2009, 05:07 PM by realchamp.)
Damnit. But can I do myself an admin or an owner?
Or would it be better to use the Server edition?
Posts: 1
Threads: 0
Joined: May 2009
Reputation:
0
05-04-2009, 06:07 AM
(This post was last modified: 05-04-2009, 06:11 AM by tatti.)
Hello realchamp,
First write: sudo passwd root
-giev the password what you want-
then write: su
-giev the password what you gived-
And you are logged in as root. Hope that helps
I do all that kinda of stuff in linux as root. Much easier.
Oh this was old thread, well if someone else has same problem maybe this will help.
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
05-04-2009, 04:20 PM
(This post was last modified: 05-04-2009, 04:20 PM by realchamp.)
Is not that old! Thanks for your help! I'll just go check it later. Since my exam starts in 40minutes! *RUNNING*!
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
05-04-2009, 07:24 PM
(This post was last modified: 05-04-2009, 07:26 PM by realchamp.)
Here is the output
Code:
realchamp@ubuntu:~/srcds_l$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
realchamp@ubuntu:~/srcds_l$ su
Password:
Added user root.
root@ubuntu:/home/realchamp/srcds_l# ./hldsupdatetool.bin
bash: ./hldsupdatetool.bin: Permission denied
root@ubuntu:/home/realchamp/srcds_l#
And then I did this:
Code:
root@ubuntu:/home/realchamp/srcds_l#
root@ubuntu:/home/realchamp/srcds_l# chmod +x hldsupdatetool.bin
root@ubuntu:/home/realchamp/srcds_l# ./steam
bash: ./steam: No such file or directory
root@ubuntu:/home/realchamp/srcds_l# ./hldsupdatetool.bin
bash: ./hldsupdatetool.bin: No such file or directory
root@ubuntu:/home/realchamp/srcds_l#
Is there a standard Remote Desktop Tool in Linux Ubuntu? If so, I can let you have remote access to make sure I did it right!
Posts: 5
Threads: 0
Joined: Nov 2007
Reputation:
1
don't run srcds as root, just a bad idea.
This thread as some possible fixes though http://forums.srcds.com/viewtopic/10636
srcds has just worked on any ubuntu server for me, so it's possible you're missing a library when you installed.
|