03.02.2012, 13:19
Nimm mal den 2 Lösungsansatz der funktioniert - und ja, wenn der Server über die IP erreichbar sein soll.
(03.02.2012, 13:19)Olli schrieb: Nimm mal den 2 Lösungsansatz der funktioniert - und ja, wenn der Server über die IP erreichbar sein soll.
root@xxxxxxxxxx:~# /etc/init.d/dnsmasq stop
* Stopping DNS forwarder and DHCP server dnsmasq
* (not running)
root@xxxxxxxxxx:~# dnsmasq -p 55
dnsmasq: setting capabilities failed: Operation not permitted
root@xxxxxxxxxx:~# /etc/init.d/dnsmasq start
* Starting DNS forwarder and DHCP server dnsmasq
dnsmasq: failed to create listening socket: Address already in use
Zitat:Fetching yaml-0.1.4.tar.gz to /usr/local/rvm/archives[/code]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 001 --:--:-- 0Warning: Failed to create the file yaml-0.1.4.tar.gz: Keine Berechtigung
3 460k 3 16151 0 0 10104 0 046 001 045 12777
curl: (23) Failed writing body (0 != 16151)
There was an error, please check /usr/local/rvm/log//*.log. Next we'll try to fetch via http.
Trying ftp:// URL instead.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 001 --:--:-- 0Warning: Failed to create the file yaml-0.1.4.tar.gz: Keine Berechtigung
3 460k 3 16151 0 0 10019 0 047 001 046 12549
curl: (23) Failed writing body (0 != 16151)
There was an error, please check /usr/local/rvm/log//*.log
Extracting yaml-0.1.4.tar.gz to /usr/local/rvm/src
mkdir: kann Verzeichnis „/usr/local/rvm/log/ruby-1.9.3-p0“ nicht anlegen: Keine Berechtigung
touch: kann „/usr/local/rvm/log/ruby-1.9.3-p0/yaml/extract.log“ nicht berühren: Datei oder Verzeichnis nicht gefunden
/usr/local/rvm/scripts/functions/utility: Zeile 156: /usr/local/rvm/log/ruby-1.9.3-p0/yaml/extract.log: Datei oder Verzeichnis nicht gefunden
/usr/local/rvm/scripts/functions/utility: Zeile 163: /usr/local/rvm/log/ruby-1.9.3-p0/yaml/extract.log: Datei oder Verzeichnis nicht gefunden
Error running 'tar mzxf /usr/local/rvm/archives/yaml-0.1.4.tar.gz -C /usr/local/rvm/src --no-same-owner', please read /usr/local/rvm/log/ruby-1.9.3-p0/yaml/extract.log
/usr/local/rvm/scripts/functions/pkg: Zeile 52: cd: /usr/local/rvm/src/yaml-0.1.4: Datei oder Verzeichnis nicht gefunden
Configuring yaml in /usr/local/rvm/src/yaml-0.1.4.
mkdir: kann Verzeichnis „/usr/local/rvm/log/ruby-1.9.3-p0“ nicht anlegen: Keine Berechtigung
touch: kann „/usr/local/rvm/log/ruby-1.9.3-p0/yaml/configure.log“ nicht berühren: Datei oder Verzeichnis nicht gefunden
/usr/local/rvm/scripts/functions/utility: Zeile 156: /usr/local/rvm/log/ruby-1.9.3-p0/yaml/configure.log: Datei oder Verzeichnis nicht gefunden
/usr/local/rvm/scripts/functions/utility: Zeile 163: /usr/local/rvm/log/ruby-1.9.3-p0/yaml/configure.log: Datei oder Verzeichnis nicht gefunden
Error running ' ./configure --prefix="/usr/local/rvm/usr" ', please read /usr/local/rvm/log/ruby-1.9.3-p0/yaml/configure.log
Compiling yaml in /usr/local/rvm/src/yaml-0.1.4.
mkdir: kann Verzeichnis „/usr/local/rvm/log/ruby-1.9.3-p0“ nicht anlegen: Keine Berechtigung
touch: kann „/usr/local/rvm/log/ruby-1.9.3-p0/yaml/make.log“ nicht berühren: Datei oder Verzeichnis nicht gefunden
/usr/local/rvm/scripts/functions/utility: Zeile 156: /usr/local/rvm/log/ruby-1.9.3-p0/yaml/make.log: Datei oder Verzeichnis nicht gefunden
/usr/local/rvm/scripts/functions/utility: Zeile 163: /usr/local/rvm/log/ruby-1.9.3-p0/yaml/make.log: Datei oder Verzeichnis nicht gefunden
Error running 'make ', please read /usr/local/rvm/log/ruby-1.9.3-p0/yaml/make.log
Database file /usr/local/rvm/config/packages does not exist.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...
ruby-1.9.3-p0 - #fetching
ruby-1.9.3-p0 - #downloading ruby-1.9.3-p0, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 001 --:--:-- 0Warning: Failed to create the file ruby-1.9.3-p0.tar.bz2: Keine Berechtigung
0 9330k 0 2503 0 0 1119 0 218 002 216 4076
curl: (23) Failed writing body (0 != 2503)
There was an error, please check /usr/local/rvm/log//*.log. Next we'll try to fetch via http.
Trying ftp:// URL instead.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 008 --:--:-- 0Warning: Failed to create the file ruby-1.9.3-p0.tar.bz2: Keine Berechtigung
0 9330k 0 2804 0 0 261 0 10 07 010 10 57 609
curl: (23) Failed writing body (0 != 2804)
There was an error, please check /usr/local/rvm/log//*.log
There has been an error while trying to fetch the source.
Halting the installation.
There has been an error fetching the ruby interpreter. Halting the installation.
Zitat:chown -R user:user /usr/local/rvm where user is your logged in userDas ist die Lösung, hatte ich auch vorhin, hier gefunden:
adduser BENUTZERNAME --ingroup sudo
sudo vim /etc/ssh/sshd_config
sudo nano /etc/ssh/sshd_config
Port 22
Port XXXX
PermitRootLogin yes
PermitRootLogin no
# Allow the following users to connect over ssh.
AllowUsers BENUTZERNAME
sudo /etc/init.d/ssh restart
su root
Zitat: ic0nic :
follow all of the insturctions you have to install putty i will soon make a video on youtube subscribe to 786ic0nic
Zitat: maximuff13:
sorry i don't understand why i have to use putty, if i can use the terminal directly.
Zitat: ic0nic :
terminal doesn't work becuase it don't remember about the rvm that you installed. when you install putty it remembers the install. one more thing after installing rvm in putty make sure you type exit after the install is complete and open putty again
Zitat: jimmykane:
You are totally wrong on that.
Zitat: jimmykane:
Bash profile remembers the rvm install if is edited right. Putty has nothing to do with that. Also in terminal yes you have to exit or refresh profile + environment.
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
cd SiriProxy
rake install
siriproxy bundle
rvmsudo siriproxy server