I've got Fedora 14 running on an EBS volume on Amazon EC2. I've created a few users and enabled port 22. When I set a password for these users, they can successfully ssh into the instance; even if they logout and login again....until:
If I reboot the machine, they can no longer ssh into the machine (permission denied). If I issue the passwd <user> command and change their passwords, they can login again....until I reboot the machine at which time they cannot login again until I change their passwords. The problem exists even from the machine. That is, if root attempts to ssh into 127.0.0.1 using their username/password, the same problem/resolution exists.
I am interested in signing up to the Amazon EC2 service with EBS. I have never used a unmanaged vps before, but I know how to use the command line etc. There are some basic packs on there to use, with basic LAMP stacks. But I would like to ask about how do I:
Upgrade a lamp stack? - someone mentioned yum, but what is this? how easy is it to use? is it enough? secure the lamp stack? - assuming I have no idea of linux security, can you give me a list or something of things I need to consider so I can begin the search (or just cover the steps would be awesome!) My website just uses php and mysql, so thats all i'll need. If you have any other tips on this,
We have our web site hosted by Go daddy and they provide us with the mail service as well. But there are a lot of constraints with the mail service with regards to the number of mail boxes, size per box, relays per user and so on.To avoid this, we are looking at other options. One is to have our own mail server but it will require a lot of infrastructure and expertise. But Amazon web services looks nice. They have infrastructure needed and all. One thing on my mind is the reverse look up of the mail servers. They wont be associated with the domain as both would be on different hostings. I am open to both windows exchange server as well as Linux server. Has anyone done this before or has any idea about it? I have gone through some of the threads in their forum and there are a lot of mixed views about it.And main concern everyone views is the reverse lookup. This could lead to all the mails sent from my server tagged as spam at the recipient end.I could not make out in which forum to write and hence in newbie. If this is enough about networking or server please move it.
I'm looking to set up a clustered mail server, I kind-of know how I'm going to do it but wanted to check if there was a better way. So we have 3 mail servers, running as EC2 instances on Amazon AWS. We were going to achieve clustering by giving all three a shared EBS storage device to store the mail. The mail would be received by any of the three servers (Via postfix) and could be retrieved from any of the three servers (via dovecot). For receiving mail (SMTP), the domains would have 3 MX records pointing to each of the servers but for sending and retrieving mail (SMTP and POP3/IMAP) the three servers would have one DNS A record with 3 IPs associated (I know when using this method for web-servers, the load gets distributed among the IPs under that record but I'm not sure if this will work for SMTP/POP3/IMAP).
What we want is to have 3 servers that share the load equaly but are completely redundant for all services (POP3, IMAP and SMTP). We also need to be able to scale upwards so if we need to add more servers we can do easily. Also the servers must be perfectly synchronized at all times.
Last night my old Sony Vaio laptop which connects via wired Ethernet and runs Ubuntu 10.10 started hammering the network out onto the Internet. Fired up Wireshark and found lots of traffic between my machine and 174.129.193.12 which I did a whois on and found belonged to Amazon EC2 Cloud Server. The port on my machine was an unknown 5000+ but the port on the remote system was 443 the port used by https, however no browser was running. Did a search and put together a couple of iptable commands to block this IP address which stopped the traffic. I then used nmap and netstat and found port 3000 open and another connection to IP address 91.189.89.76 which I also blocked. Unusually no info exists on this IP when you do a whois. At first I thought it might be some sort of sync as this machine has Ubuntu One running on it, however it could also be something else.
I'm having a consistent problem with instances on Amazon EC2, which a lot of searching including here has resulted in no solution.During boot I see the following message on the console (or "System Log" in the Amazon console):Code:Mounting local filesystems: mount: /dev/sdg already mounted or /apps busy(I'll append a extract from the full log below).Once I log into the instance, I can access the filesystem so it's mounted somehow but I can't figure out what's going on:
Code: # df -k /apps Filesystem 1K-blocks Used Available Use% Mounted on
I cannot ssh into an RHEL 5.5 server (192.168.20.104) from another RHEL 5.5 server (192.168.20.101) unless server debug is turned on 192.168.20.104, and even then, I have to wait several minutes before the connection is established. scp to and from the 104 server is also not working.Here is the debug output on the 101 server when server debug is not enabled on the 104 server-:
I have a Redhat fedora core release 6 (2.6.22.9-61.Ns4) server and form time to time ssh fails although I am still able to ping the device and with a reboot the device will start working correctly so upon further investigation it appears the sshd daemon fails.Not knowing a great deal about Linux I thought I would ask some advice on the path I am thinking of taking. The first would be to put an entry in the cron to try and start the ssdh every hour or so. Would this cause issues in the long term run it multiple times when the sshd daemon was still running?
The Second though I had was having a bash script to check if the process was running and if not restarts it and if it was just exit the program which would seem like a neater way to do it but this is where my limited Linux knowledge hits a wall so was looking for suggestion on how to implement this?
I want to make sure sshd service will start after a server reboot. On redhat or centOS I can do "chkconfig sshd on". What's the equivalent command for ubuntu?
I have problem with sshd server, its authenticate user and then terminate the session. Here is debug log: Jan 1 04:26:41 server sshd[29677]: debug1: userauth-request for user root service ssh-connection method none Jan 1 04:26:41 server sshd[29677]: debug1: attempt 0 failures 0 Jan 1 04:26:43 server sshd[29677]: debug1: userauth-request for user root service ssh-connection method password Jan 1 04:26:43 server sshd[29677]: debug1: attempt 1 failures 0 Jan 1 04:26:43 server sshd[29676]: Accepted password for root from xx.xx.xx.xxx port 50971 ssh2 Jan 1 04:26:43 server sshd[29676]: debug1: monitor_child_preauth: root has been authenticated by privileged process .....
I'm running Ubuntu 10.10. I recently installed the open ssh server so that can sftp stuff. However, I do not want the server to always be on, only when I manually start So, I did an 'update-rc.d -f ssh remove'and now I don't see any startup scripts in the rcx.d directories any more.However, when I do a 'ps ax', there is always a '/usr/sbin/sshd' process running. I try to kill it but it keeps restarting under a different process ID.How do I disable sshd?
I am trying to setup a chroot with a sshd service running. when I start the sshd in the chroot and login I get this message. Can not find anything on google.
[damien@dev ~]$ ssh -l damien localhost -p 2233 damien@localhost's password: Last login: Tue Jul 21 13:32:52 2009 from 127.0.0.1 debug3: PAM session not opened, exiting Connection to localhost closed.
If I ssh from my laptop (running F10) to the server (centos 5.2) it asks for the password, but everytime I enter the correct password it says incorrect password. when I do the same from the server to my laptop I can get in just fine. I think my passwords are stored as ssha in the LDAP (I tried clear passwords and that dosen't work either).
One of the few things that keeps me hanging onto my Windows partition is the Amazon.com MP3 Downloader.There's a way to download Debian 5, Ubuntu 9.04, OpenSUSE, and Fedora packages, but they've never worked in Debian-based distro's that I've used in the past (Ubuntu, Mint, Crunchbang).Has anyone found a way around this that I haven't found yet?
I am not able to access Amazon's Look Inside - the facility to inspect a few pages of books. (I have never been able to do this.) I have tried both at work (via a direct connection to a high-speed backbone) and at home (via Sky ISP). I can see the cover of the book but nothing beyond that - it says the page has expired or is invalid. But using Firefox on WinXP, I can access Look Inside happily both at home and at work.
Does anyone else have this problem with Ubuntu? Amazon's technical people just sent me a load of flannel blaming my ISP, my software, etc. They say no one else has raised this.
If somebody could try it and let me know, I'd be grateful for the results. Am I missing a plug-in?
has anyone been successful in using the Amazon MP3 downloader on 11.2? It does no longer work because it wants specific (old) versions of libboost*:
[krienke@bliss:~/tmp] 1001 > /usr/bin/amazonmp3 /usr/bin/amazonmp3: error while loading shared libraries: libboost_filesystem.so.1.36.0: cannot open shared object file: No such file or directory [krienke@bliss:~/tmp] 1002 > locate libboost_filesystem /usr/lib/libboost_filesystem-mt.so /usr/lib/libboost_filesystem.so /usr/lib/libboost_filesystem.so.1.39.0
I notified Amazon about this, and they said they do not know if or when there will be a running version of the MP3 downloader available and without it there is no way to download any MP3 from Amazon. They gave me back my money and recommended to buy elsewhere....
Does anyone know if installing the old version of libboost (from 11.1) will work? What else, aside from amazons downloader, does use libboost*? So what app might fail if I install the old version of libboost suitable for the downloader?
I have read some of the previous posts on banshee,etc but i am not smart enough to understand it. I downloaded the amazon mp3 downloader and tried to install it and it said "Failed to install file. Unknown error. Please refer to the detailed report and report in your distribution bugtracker. More details - could not do simulate: 1:amazonmp3-1.0.9-1.i686 requires libboost_iostreams.so.4
I'm hoping its the right place to ask the question: I have Fedora 8 server acting as a web server. It is a VM hosted at Amazon. I'm trying to use their SES service and using their ses-send-email.pl file to send a mail.I'm getting the following error: "Can't locate Digest/SHA.pm in @INC" I tried installing the Digest-SHA module but I'm not sure how to do it. All manuals and how-to's I found looks like they are intend for development servers not production (meaning I found myself installing alot of packages not sure they are all necessary). What should I install (and how) in order to make it work?
I've been looking for a good alternative to Dropbox - just a little too pricey for me. And I just discovered Amazon Cloud Drive. Has anyone here had any luck setting up some sort of automated backup solution using Amazon Cloud Drive? I've been all over their site, but I just don't see any other way to access the cloud drive other then via their web interface.
Optimally, I am looking for a solution that will allow me to simply set up an rsync script or similar that would sync up a folder to a cloud drive every few days. Maybe their S3 tools can be used to do this?
I have a dual boot with Windows XP and Ubuntu 10.10. I connected my Amazon Kindle to an USB interface in XP and in Ubuntu. From XP everything works with no flaw. In Ubuntu the data exchange is perfect, but the device does not charge.
I just finished setting up a default Linux EC2 instance and would like to install PHPMyAdmin. I already have Apache and MySQL installed but cannot seem to install PHPMyAdmin. I tried using
sudo apt-get phpmyadmin but the command apt-get is not recognized.
I also tried sudo yum install phpmyadmin but that I get the message No package phpmyadmin available.
i can only get 64bit from amazon's site. I tried running windows version in wine but it failed to work.edit: due to a mislabeled CD, I had errantly installed the 64bit version of Ubuntu and had not known until I was told later in this thread.
using ubuntu 10.04 I have followed the instructions here: [URL] for installing the Amazon downloader. I was able to purchase and download the .amz file from amazon, but my system doesn't know what to do with it. IOWS, if I click on the .amz file from the file browser or from firefox, it is opened as a binary file in gedit. Unfortunately, I can't locate where the downloader executable was installed and don't know how to make a file association.
I have been using ubuntu for a while and LOVE everything about it - installed boxee and thought it would be a good idea to buy a wireless remote control so I did form Amazon
[URL]
This mouse works fine but the keyboard does not function with ubuntu
I have even patched ubuntu 10.10 but it still does not work!!