Linux/Unix

Linux and Unix related articles.

Troubleshoot the SMTP Server

The SendMail function in PeopleSoft uses the SMTP server to send emails. The first thing to do when troubleshooting problems with emails not being sent is to make sure your SMTP server is up and running. In this post, I will show you how to verify if you can connect to the SMTP server as well as manually sending an email!

Note: I’m using Unix Telnet to connect to the SMTP sever.

Let’s get started by trying to connect to the server:

Open a telnet session and login to the server box you would like to test sending emails from. I will be logging in to a DEV environment.

FTP File from Windows to Unix Server

Here is how you can FTP a file from your windows client machine to a Unix server box.

Open the command line by going to Start > Run and type cmd.

You should see something link this:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\compshack>

Now, navigate to the location of the file you would like to FTP. Mine is located under c:\temp\
cd c:\temp

Lets type the ftp command:
ftp database_name

Check Disk Space or Capacity in Unix

df (abbreviated from disk free) is a standard Unix computer program used to display the amount of available disk space for filesystems on which the invoking user has appropriate read access, df is usually implemented by reading the mtab file or using statfs.

using it is very simple, command:

df /<your_directory>