CentOS 5 :: Mail Stopped Working After Hostname Change
Aug 18, 2010
I built the system with one name and now want to change it.I do the usual things. change the /etc/hosts file change the hostname with the command hostname newname changed /etc/sysconfig/network and then mail stops working. Put it back to the old name and it works fine.So I am guessing I am missing something in the configuration for sendmail. I checked the sendmail.cf file under /etc/mail and no reference back to the hostname was found.I also tried the GUI on the console to change the hostbname.
View 3 Replies
ADVERTISEMENT
Jan 21, 2011
My mail server stopped working this weekend, when I got in today I restarted and all the emails came through. The panic_log shows: daemon: accept process fork failed: Cannot allocate memory several times over the course of a few minutes. Can anyone give me advice on troubleshooting this one?
View 1 Replies
View Related
Aug 12, 2010
I have changed my hostname to - ns1.searchdns.net by
1) editing the files /etc/sysconfig/network
2) then run the command - echo "ns1.searchdns.net" > /proc/sys/kernel/hostname
3) then restarted the service /etc/init.d/network restart
I run the command hostname and it returns ns1.searchdns.net. But I am also supposed to modify the /etc/hosts file. I am not sure about this. The content looks like this at the moment
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.0.20 abc.com
What should my host file look like now? I am not sure if I should also modify the second line or delete it etc.
View 1 Replies
View Related
Aug 11, 2010
Evolution e-mail has stopped working. Un-installed everything evolution using Synaptic and re-installed. No change: address book comes up but mail, calendar etc do not work. Clicking on any causes gray out and leads to a force quit. So how do I un-install evolution completely and then re-install as a completely fresh install. I am using Ubuntu 10.04 Lucid Lynx.
View 2 Replies
View Related
Dec 14, 2010
I am looking for a way via script to change a systems hostname and IP address!
View 1 Replies
View Related
Apr 9, 2011
After upgrading to 5.6 I was trying things out and noticed for some reason the php on my server has stopped working. Anybody have a clue what's wrong ? I did read the release and it did mention the upgrade would then change my php.
View 12 Replies
View Related
Feb 25, 2010
I recently migrated my mail server over to a new machine. For some reason, after verifying that the OIDs are correct, MRTG won't graph anything. I've quadruple checked the OIDs and used the strings as well, it won't graph at all. Graphs for RAM, ethernet, packets, etc. are working. CPU is the only thing not working. They work when I use snmpwalk with them and they do populate values. The logs show unknown SNMP vars for cores 1 & 2, but there's no mention of cores 3 & 4 entries in the logs.
View 3 Replies
View Related
Sep 21, 2010
Is it just me, or has 'lock screen' stopped working in a recent update? I updated my install today and after rebooting I can't lock the screen... the screen saver doesn't lock it and if I select 'lock screen' manually from the menu then... nothing happens.
I even created a new user in case there was something weird in my configuration, but logged in as them I can't lock the screen either.
This is obviously a bit of an issue in an office environment as I don't want to have to log out every time I leave my desk.
View 6 Replies
View Related
May 31, 2010
We are running CentOS 5.4 x86 on ESX 4 Server. We have a busy Help Desk, a Forum and several name-based websites running. Weve been using CentOS for this 'purpose for several years (different versions) and so far we have never had a problem. On Saturday, I applied all the latest updates including the Kernel updates. I rebooted the server and all seemed well until Sunday morning when I didn't get my Logwatch in the mail. Then I got a telephone call from a customer asking me why I hadn't responded to a Trouble Ticket he had created on Saturday afternoon (creating a TT sends an email via sendmail to all the support staff). I did a few tests and sendmail has just stopped working. The Logwatch had been created and had been sent to root, but all mail for root is redirected to my Mail Server on e different box (GroupWise). There was nothing wrong with the mail server, but sendmail has just stopped.
Fortunately I had created a snapshot before I applied the updates, so I reverted back to the snapshot and mail started working again, but I lost 2 days info because I had run the backup before I applied the patches. Now I see there are 132 Updates available, but there is obviously a problem somewhere in there!
View 2 Replies
View Related
Oct 1, 2010
I have openssh running it was working last week then an update was done and now ssh does not work. removed the updates and the problem still exists.
Its CentOS 5.5 with all the latest updates for 64 bit!
Issue if as follows:
Connect locally to the loop back ip or remote ip the connection is disconnect right after the correct password is entered.
Here are copies of the log, sshd config.
sshd config:
View 7 Replies
View Related
Aug 26, 2011
I have a 2TB hard-drive connecting via a usb port on my server for automatic backups. I noticed the backups had stopped working and then I realize I had lost the ability to communicate with the drive.
/sbin/lsusb gives:
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046b:ff10 American Megatrends, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 046b:ff01 American Megatrends, Inc.
Bus 001 Device 005: ID 059f:1018 LaCie, Ltd
[Code]...
View 1 Replies
View Related
Sep 27, 2009
I have made sure the card is not muted using kmix, alsamixer, and running alsaunmute 0. It was working for some time and just stopped. I am not sure if getting rdesktop to work on the laptop caused the issue or not since that seems to be the last major thing I did. (missing my sipie.py). This is what I am working with:
~]$ uname -a
Linux xxxx.xxx.xxx 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:20:55 EDT 2009 i686 i686 i386 GNU/Linux
~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
[Code].....
View 16 Replies
View Related
Mar 24, 2010
We have an Ubuntu server running on Amazon EC2, hosting a website. We also have postfix, in order to send mail (receiving mail is done by another server which is specified in our MX records). My problem is that the internal hostname of the machine ("domU-xx-xx-xx-xx-xx-xx.compute-1.internal") appears in some "Received:" headers in the emails sent. Is that normal? It seems rather peculiar to me, and I'm thinking some e-mail systems might consider it spam because of this. GMail doesn't consider it spam, but not all systems are as smart as GMail
View 1 Replies
View Related
Apr 9, 2011
I've been administrating a dedicated Linux CentOS 5 (Linux 2.6.26.5-rootserver-20080917a) server for around 2 years, and although not a network or Linux expert, been learning to configure as need arises. Primarily using Plesk for day-to-day, but occasionally using Putty to SSH into server.
For all the time I've had the server, I've been connecting to my server via sFTP using "root" password. ( Although, I know this is really bad practice, I assume made safer by connecting with SSH FTP)
After spending another normal day in the office developing websites, connecting to my server as root using SFTP in Filezilla AND Dreamweaver I left for the night.
Returned next morning, after having done no manual updates or amends to my server; I could no longer SFTP into my server?
Thought it may be related to my office network, so tried it from home over the weekend, same result; can no longer connect SFTP for root?
I can connect to the server via Putty using my "root" username and password.
After spending hours looking on the internet for a solution, I'm lost for ideas as I didn't make any changes?
What happens when I open my Filezilla and try connecting as SFTP is it states:
Error:Connection timed out
Error:Could not connect to server
I checked server log /var/log/secure and it states:
Accepted password for root from UNKNOWN port 49212 ssh2
Apr 9 07:41:41 s15320264 sshd[7122]: fatal: Write failed: Connection reset by peer
Odd part is, it's worked fine for weeks, months without ever failing to connect?
Also, notice that Putty connection seems to take much longer to authenticate root user than it used to?
Checked via Plesk Health Monitoring and all CPU, Memory and Disk Levels are well below any alarm levels.
I have run all Plesk updates to 10.2.0 in the hope that it resolved it, but to no avail.
View 19 Replies
View Related
Oct 4, 2010
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
View 7 Replies
View Related
Apr 15, 2010
I tried to change hostname through ssh.
Old hostname = server1
New hostname = server1.domain.local
I changed the hostname by editing the /etc/hostname file
Old:
/etc/hostname
server1
New:
/etc/hostname
server1.domain.local
Then I executed /etc/init.d/hostname.sh, and get as below, looks OK!
hostname -f
server1.domain.local
hostname
server1.domain.local
hostname -s
server1
The logs are still just showing server1.
Example:
tail -f /var/log/auth.log
Apr 15 13:30:01 server1 CRON[22783]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 15 13:30:02 server1 CRON[22783]: pam_unix(cron:session): session closed for user root
Do I really have to reboot, or is this normal behaviour that it does not show the full hostname?
View 10 Replies
View Related
Jan 19, 2011
Is there any way to change Hostname in Fedora 14?
View 4 Replies
View Related
Oct 6, 2010
I was needing to change the timezone on a CentOS 5.1 (but upgraded to 5.3) machine that doesn't have X installed nor did it (initially) have the system-config-date package installed. After some Googling it appeared that all I needed to do was copy over the desirec zoneinfo file to /etc/localtime and edit the /etc/sysconfig/clock file to zone that I choose. I then set the time and used that to set the hardware clockhe original timezone was "America/New_York" (EDT) and was wanting to change it to "US/Central" (CDT). After making the changes, when I do a "date" command it is still reporting the time in EDT. I then installed the system-config-date package and tried using /usr/sbin/timeconfig. I still get the result that the timezone is reported in EDT. The time is technically correct but is an hour ahead since its using EDT to report the time.
View 10 Replies
View Related
Jul 26, 2009
Its been a while (maybe too long) since I last used yum to check for updates / install anything on my server, but when I tried the other day I got the following response:
# yum list updates
Loading "installonlyn" plugin
Setting up repositories
Error: Cannot find a valid baseurl for repo: updates[code]......
Trying other mirror.Error: Cannot open/read repomd.xml file for repository: updates
A few weeks ago there were some network changes, but nothing else should have changed OS side.I have checked /etc/resolv.conf and that looks ok - ping and wget have no problem resolving hostnames.I tried setting enabled=0 in yhe .repos files - this allowed me to do a 'yum list', but 'yum list updates' returned an empty list - I am definitely not 100% up to date!
P.S. Attachment not there at the moment - getting the following error when I try to upload the zip file...Errors Returned While Uploading
Failed to open directory with write permission: /var/wwwthtml/oldwebcopy.centos.org/uploads/newbb
View 7 Replies
View Related
Feb 3, 2010
Yesterday I got my wireless network setup working and the tried to do a
yum check-update
View 3 Replies
View Related
Oct 1, 2009
Yesterday, while trying on establishing mobile broadband, my hostname changed, and I can't make it yet. My /etc/hosts is
1 127.0.0.1 pc-194-101.fysik.uu.se localhost.localdomain localhost
2 127.0.0.1 pc-194-101.fysik.uu.se roddur
3 ::1 localhost.localdomain roddur
The second line I edited but after a reboot it inserted the first line all automatically and my /etc/sysconfig/network is
1 NETWORKING=yes
2 HOSTNAME=roddur
What I have to do if I have to change my hostname to "roddur"?
View 2 Replies
View Related
Jan 11, 2010
How do you change the hostname in SLES11? I have normally used the /etc/hostname file and rebooted the server in other distros. I only notice the way to change it is in yast2 -> network devices -> network settings -> Hostnames. I am looking for where it is stored because I want to write a script to update it (apart of a server deployment process).
View 9 Replies
View Related
Apr 10, 2011
I've a little trouble: I reinstalled on my notebook OpenSUSE 11.3 yesterday and I'm unable to change the hostname. I modified it, but when I type on terminal
Code:
uname -a
it doesn't give the right answer but returns
Code:
host
I don't know where I wrong because I did this action many times with Opensuse 11.1 and 11.3 without any problem.
View 9 Replies
View Related
Nov 2, 2010
I changed my hostname by running sudo gedit /etc/hostname and changing the word there. Then I discovered that hadn't done anything so I used sudo hostname newname. My hostname was changed then but I tried to run sudo gedit /some/thing/else.txt and it said:
Code:
sudo: unable to resolve host newname
No protocol specified
(gedit:5512): Gtk-WARNING **: cannot open display: :0.0 and it says the same with sudo or gksudo for any program that has a gui including synaptic. I can run vi but I have no idea how to use it. I think the problem lies in the lines in /etc/hosts which still say
[Code]....
with the problem being that it still says localhost and my local IP address are ubuntu instead of newname. So if you could tell me how to edit that with vi or some other command line program
View 2 Replies
View Related
Nov 27, 2010
I have a problem with server bcs of the machine name. I'm wondering how to change the server name to it's IP. bcs now it has name "chrochne". I've found hostname in /etc/host and in /etc/hostname. But I'm afraid of changing it in this files. I'm using webmin and virtualmin to admin the server so can I change the name somewhere in the GUI?
View 9 Replies
View Related
Apr 1, 2010
I want to change the Hostname of my Red Hat9 Linux machine using command line. By default it show me as following
[root@localhost root]#
I want to see it as
[root@pc1 root]#
Is there any way to change host name?
View 26 Replies
View Related
Mar 30, 2011
i have an server which have my site on it, server have an public ip and site works fine..the thing that i done to enable mail server is :
1.select sendmail option as mail server(in joomla).
2.install and configure sendmail in server (which ubuntu installed on it )
**if i use my website locally mail server works fine i can send message and receive , but when i use web site from Internet mail server seems not working at all
View 1 Replies
View Related
Jul 1, 2010
I am running CentOS 5.5 and am trying to get Nagios to send out Emails.
After a bit of reading I have the following in my /etc/mail.rc file:
Code:
[root@linux ~]# cat /etc/mail.rc
set ask askcc append dot save crt
ignore Received Message-Id Resent-Message-Id Status Mail-From Return-Path Via
set smtp=172.29.1.76
You have new mail in /var/spool/mail/root
[root@linux ~]#
I have Nagios setup correctly and introduced an error to generate an Email but nothing has come through.I suppose I have two questions:
1. Is mail.rc setup correctly?
2. Can I test to see if mail.rc is working correctly?
View 4 Replies
View Related
Aug 29, 2010
How generally to change the hostname. When the system was installed the there was given random hostname and I am wondering how to change it.
View 3 Replies
View Related
Mar 14, 2011
When browsing in WinXP Windows Explorer to view an OpenSUSE computer, the displayed name is:
Samba 3.5.4-5.3.1-2489-SUSE-SL11.3 (*hostname*)
Other Windows computers display as:
[computer description]([hostname])
How can I change the "computer description" within OpenSUSE?
View 3 Replies
View Related