I am having issues sending email from my Ubuntu OS. I was told I should check my SMTP configuration.
How can I do that on Ubuntu and is there such a concept on this OS?
I am having issues sending email from my Ubuntu OS. I was told I should check my SMTP configuration.
How can I do that on Ubuntu and is there such a concept on this OS?
I am developing some software using Ruby on Rails in Ubuntu. I added Ruby's native mailer library, but it isn't sending mails so I want to make sure that my OS is not prohibiting that.
How can I test the ability of my OS to send email?
I got this system output:
telnet mx0.gmx.com 25
Trying 74.208.5.90...
Connected to mx0.gmx.com.
Escape character is '^]'.
220 mx0.gmx.com GMX Mailservices ESMTP {mx-us011}
EHLO
250-mx0.gmx.com GMX Mailservices
250-8BITMIME
250-ENHANCEDSTATUSCODES
250 SIZE
I am trying to SCP a file I downloaded using this command:
scp -v agenadinik@slabrams-desktop:/home/agenadinik/Downloads/agraph-4.2-linuxamd64.64.tar.gz agenadin@uc3-dev:/udfr/agraph-4.2-linuxamd64.64.tar.gz
The output is this:
Executing: /usr/bin/ssh '-v' '-x' '-oClearAllForwardings yes' '-n' '-l' 'agenadinik' 'slabrams-desktop' 'scp -v' '/home/agenadinik/Downloads/agraph-4.2-linuxamd64.64.tar.gz' 'agenadin@uc3-dev:/udfr/agraph-4.2-linuxamd64.64.tar.gz'
OpenSSH_5.3p1 Debian-3ubuntu5, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to slabrams-desktop [127.0.1.1] port 22.
debug1: Connection established.
debug1: identity file /home/agenadinik/.ssh/identity type -1
debug1: identity file /home/agenadinik/.ssh/id_rsa type -1
debug1: identity file /home/agenadinik/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 Debian-3ubuntu5
debug1: match: OpenSSH_5.3p1 Debian-3ubuntu5 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu5
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
Any ideas why it wouldn't work? Also, the only reason I am doing that is because I am not sure how to download that file from the ssh command prompt directly. Is there a way to just download that file from the shell of Putty's ssh client? What are my options here? :)
Thanks you!
How could I tell what is listening on which ports on Ubuntu? In other words, how do I get a list of ports that are in use?
When I navigate to /opt/apache-tomcat-7.0.11/bin which is my Apache install directory and I try to do something like this:
httpd -t
I get this kind of an error:
No command 'httpd' found, did you mean:
Command 'dhttpd' from package 'dhttpd' (universe)
Command 'xttpd' from package 'xtide' (universe)
Command 'thttpd' from package 'thttpd' (universe)
Any idea why that would happen? The suggestions of the 3 commands do not work either :)
I am trying to follow some good-practice methods and not place the servlet jars into the java install.
Instead what I am hoping to do is figure out the correct way to point to the servlet jars.
If my tomcat jars are in /urs/local/tomcat/lib - how should I configure it so my Ubuntu actually understands to look for those libraries there when I try to compile stuff? :)
Thanks, Alex
When I currently reboot, I just get the option of the user I want to log in as. It has me and "other" which asks me for the user name.
The only user name I can think of is root, but I don't know its password. Am I doing something wrong? How do I get myself into the administrative boot console from which I can get into the single user mode?
Thanks, Alex
I am trying to understand what are considered good practice things to do in Java and Tomcat environments.
1) When I run my Ant script, the compile task in ant requires the machine classpath to have settings for the location of the jars with the proper libraries. Where under the Java install directory should I put additional jars like the servlet jars or any 3rd library jars? There seems to be many variations of /jar/lib/bin directories even under the general Java install directory.
2) In Tomcat I often see 2 lib directories. 1) Under /tomcat/lib. Should I put my own application's jars in there? 2) Under /tomcat/webapps/myapp/lib/ - why would I copy over all the jars here? Is it just for being able to package the application to run anywhere and not on my machine?
I installed Tomcat 7 and it is giving me all sorts of fits :) .jar files are missing and I have many error messages coming at me from different directions :)
As I understand it, deleting tomcat is not trivial due to the many paths it sets during installation. Is there a recommended or safe way to just remove or disable tomcat 7, and install tomcat 6 on ubuntu?
Thanks, Alex
I installed Java and now added Tomcat. I configured Tomcat, but it is not running.
What I did was add the line:
export JAVA_HOME=/usr/lib/jvm/java-6-sun
as the first non-comment line in the /home/myuser directory. And then I went to the /opt/tomcat/bin directory and ran this command:
./startup.sh
and it said command was not found. Any reason for that? I see the startup.sh script right in that directory when I do an ls command. I use Ubuntu by the way.
Thanks, Alex
I know Windows has the ipconfig command to find out information about my host name and ip address. On Ubuntu I tried:
tpconfig - was not installed on my machine iwconfig - did not give useful info ifconfig - gave the stuff below:
inet addr:128.48.204.195 Bcast:128.48.204.255
I am behind a firewall. Are these my IP addresses? Or what do they represent?
Also, does every computer have a host name? If so, how do I find that out?
Thanks, Alex
I am trying to set up a new project in Eclipse, but it gives me an error saying that the directory where I am trying to set up the project is read-only.
Here is the error: Parent of resource: /path/to/project/.project is marked as read-only. (Permission denied)
I do know the password for the machine to get root permissions. How can I use it to give Eclipse complete editing permissions so that this error does not happen?
Thanks, Alex
I am trying to set up an ODBC connection on Ubuntu. I've been swimming in various config files. Could someone please remind me the directory in which the odbc config file is stored? It is called the odbc.ini file, correct? And is there another config file I have to add or that is the only file that controls ODBC?
Thanks, Alex
I have been looking up different documentation for how to start/stop Apache and from which directory, and have not found the right answer.
I am using Ubuntu.
I inherited an Apache configuration with a piece I don't really understand. The directory path there is
/var/www/somedir.dev/
And if you point the browser to
http://localhost/
it actually shows the index.php file from the somedir.dev directory and not the root directory. Why would it be? Can there have been some config that had made the default be that /somedir.dev/ directory? Nothing under the root resolves anymore. How can I make things under root be recognized by the server again?
Thanks, Alex
I just set up PHP and Apache and would like to find where the errors are going. What is the default path of the error logs in apache for PHP?