Server :: Verify Configuration For Services (httpd, Sendmail ,ldap ,DHCP, DNS, SQUID)?
Aug 22, 2009
How can I verify the following service configuration files/setup are ok with?(in RedHat)
httpd
sendmail
ldap
DHCP
DNS
SQUID
For example, I can use "testparm" to verify the my samba configuration . I want a similar kind of testing option for the above mentioned options.
View 5 Replies
ADVERTISEMENT
Aug 9, 2011
When ever I have an issue with our LDAP server (which I was able to fix) we see the following errors in /var/log/messages and it causes problems with our services running on that box, e.g. httpd, nrpe, xinetd, etc. Aug 8 17:44:42 hostname httpd: nss_ldap: failed to bind to LDAP server ldap://serveraddress/: Can't contact LDAP server Aug 8 17:44:42 hostname httpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)... I am only wanting to authenticate SSH and Sudo and not services like httpd, nrpe, xinetd etc.
View 2 Replies
View Related
May 29, 2010
I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??
View 6 Replies
View Related
Aug 1, 2010
I got one last stop until I've fully configured my Sendmail server. I want the server to verify which address the sender is using when sending mail. Even though authenticated via SMTP AUTH or mailing from an IP listed as RELAY in access.db, the user should not be able to use whichever address he likes.
Ideally, I would like Sendmail to use a file that looks something like this: Username sername@Server.org
where, if logged in with Username, the only accepted sender address is Username@Server.org. As of now, Sendmail just verifies that the sender domain exists and then relays which I don't like. This also applies to a lot of other servers as well... for example in the cases where ISPs have blocked outgoing port 25 and let all their users use their SMTP server. I assume, if they don't use SMTP AUTH which is not the case where I am, that they have their entire IP range listed as RELAY and therefore, using my ISPs SMTP when in their net, I can send mail as whomever I like as long as the sender domain exists.
I've had a look at filters but haven't found any suitable and I assume that this might be realised through a Ruleset or something. What do you think? Have I missed something making this a really stupid suggestion or am I on to something? It would make my day
View 1 Replies
View Related
May 31, 2010
we have a weird problem with our opensuse 11.2 server installation.
We want to set up a LDAP Server using the Yast-LDAP Server configuriation tool.
This indeed already worked weeks ago until....this week.
Maybe some updates??!
I do not know what happend exactly. The server just does not want to start again and throws following error:
Starting ldap-serverstartproc: exit status of parent of /usr/lib/openldap/slapd: 1 failed
This happend after a little check of the configuration, but without a change, with Yast. Google delivered only "reinstall your box"-answers.
So.. i did that. And now the "mystical" part: The SAME ERROR occurs with a fresh vanilla system with a brand new and simple configuration (certificats, database, pw...the first Yast config dialog...). I did not change the way i set it up.
I remember, when i did this the first time with 11.2 on that machine, when no problems occured...everything was running out of the box (except the "use commen server certificate" option...).
View 4 Replies
View Related
Jul 31, 2010
I'm using Ldap to authenticate some services in my company, but from a few days, i finds some errors saying
Quote:
I'm using webmin to manage its servces.
View 4 Replies
View Related
Nov 1, 2010
I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message
Quote:
The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at sendmail.org, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have
Quote:
Sendmail M4 base directory = /usr/share/sendmail-cf
which is not there. I did a locate / sendmail-cf on the command line, it finds nothing
View 17 Replies
View Related
May 31, 2010
I'm trying to set up a Linux server and I am new to this. I have gone through most of the configuration using SAMBA 3.0 and when I populate the ldap directory all I get this error before the password request:
Then when I perform an ldapsearch to see if the directory is populated I get this message:
I'm positive all my .conf files are done right.
View 3 Replies
View Related
Mar 5, 2011
I have installed squid using CentOS 5.When the server boot there are default services which are enabled at Boot time. My server is dedicated only for squid proxy server.I want to know how that when my server boot only the relevant services should start which may helpful for squid. Remaining unwanted services should be disable because they are just occupying memory of the server. Kindly guide me which command I should use and which services may I disable for smooth functioning of my squid
View 1 Replies
View Related
Mar 5, 2011
I have installed squid using CentOS 5. The server is dedicated only for squid proxy server. I want to know how can I disable unwanted services which load at booting time. Like sendmail,samba,etc etc. These services take memory and are not in use. I does not know how can I make my server only for squid proxy service by removing unwanted services?
View 1 Replies
View Related
Dec 27, 2010
Can anyone tell me what command can be used so that the Linux Centos Server starts mysqld, httpd and ftpd services at boot time automatically?
View 2 Replies
View Related
Jan 17, 2011
I would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.
View 1 Replies
View Related
Jul 20, 2010
I have spent three days on this and am at my end so help would be greatly appreciated. I have a server running CentOS 5.5 and Sendmail 8.13.8. All works fine except for emails from Logwatch. I see this in the maillog:
Jul 20 07:49:24 ifsboss sendmail[1027]: o6K5aIc0000515: to=system@soswebs.co.za, ctladdr=<root@ifsboss.ifsdbn.co.za> (0/0), delay=00:13:06, xdelay=00:00:45, mailer=relay, pri=210540, relay=smtp.isdsl.net. [196.26.208.197], dsn=4.0.0, stat=Deferred: 451-Rejected after DATA: could not verify "From:" header address
No matter what i have done It still fails on this. To list what I have done is plenty so I thought I'd poll you experts for possible past experience that could either confirm I am on the right track, or point me to it. If I try force the mail that is stalled in the mailq I see this:
Running /var/spool/mqueue/o6I22Exm009672 (sequence 1 of 1)
<gary@soswebs.co.za>,system@soswebs.co.za... Connecting to smtp.isdsl.net. via relay...
220 smtp01.isdsl.net ESMTP Exim 4.69 Tue, 20 Jul 2010 07:53:28 +0200
>>> EHLO ifsboss.ifsdbn.co.za
[code]....
View 7 Replies
View Related
Jun 15, 2011
I my office I have configure dhcp in my centos sever
eth0 for adsl-setup
eth1 for lan 172.16.0.4
I am using squid proxy server for internet access,
in my office all are using laptop through wifi , so i need to configure the browser proxy setting for accessing internet.
is there any way to setup automatically get the proxy setting as dhcp. I have tried transparent proxy but no success.
View 3 Replies
View Related
Feb 1, 2009
Since I started using Fedora 10 I can't login as root. Even though the system recognizes the root password when it requires it for certain administrative tasks it refuses to let me login as root.
When I try to edit httpd.conf I get the message "could not save file..." it doesn't even prompt me for the root password. My httpd service is dead and I can't resurrect it, what should I do?
View 2 Replies
View Related
Nov 12, 2010
I have centos 5.5 64bit installed. When I start the httpd service I get the above message. The message is bogus because the server is running and web pages work. Is there a fix out there to resolve this?
View 4 Replies
View Related
Jun 16, 2010
I have both apache and tomcat services running, both in their standard doors (tomcat 8080, httpd 80). I need to setup tomcat to run on door 80 instead of httpd. I changed httpd door with success to 8180. Now I want to change tomcat6 door to 80, and I did that by editing server.xml config file of tomcat. After restarting tomcat, the system tells me it's ok, but I can see that it's not running on 80, nor at any other door. A simple nmap search confirm that. What should I do to have tomcat running in door 80?
View 5 Replies
View Related
Oct 24, 2015
I've installed Nginx-full on a debian jessie server and want to install Wordpress, but for some reason Nginx-full isn't being seen as providing the httpd virtual package, so wordpress insists on installing apache.
According to everything I can find, nginx-full provides the httpd virtual package and this shouldn't happen. Is this a bug?
View 6 Replies
View Related
Jan 14, 2010
LDAP is endlessly not working, due to difficulties to simply configure it. I even cannot make the first steps of the installations ... It seems so difficult ... After many howto, wiki, reading, re-reading the errors are still there, always different, and not working.Is there an admin, coming from hell, that made running a LDAP server for sharing the basic configuratin files /var.. /etc... of a working LDAP Server in a tar.gz?
View 18 Replies
View Related
Oct 4, 2015
I'm trying to lower consumption of my server/HTPC. After wakeup from pm-suspend server/HTPC is ready to use in 1 or 2 seconds .For example if I suspend it while watching movie in KODI, after resume movie starts playing instantly. But some services (SSH and SAMBA) are not running. I thought it was network problem so I change configuration to static (not DHCP). SAMBA and SSH starts like 15 seconds after wakeup.
View 0 Replies
View Related
Mar 26, 2009
i have two Pc in my home , in my first pc i installed Fedora 8 and it has a ip adderss 192.168.10.1 and DNS Name client.redhat.com And in my second system i installed Rehat Enterprise Linux 5 it has a ip address 192.168.10.2 and DNS name server.redhat.com , and this is also my DNS server(192.168.10.2), and i also want to configure sendmail server on my second system and also tell me what is necessary entry should i make into my DNS forward lookup file for running sendmail server, i read lots of post
View 12 Replies
View Related
Nov 14, 2010
I am having problem with my Sendmail Server configuration. I had configured my send mail macros and make it. but i m having problem with "dnl"..i dont know what to put in this line.my ISP's name or localhost..? I am trying to create sendmail server with my dynamic IP address. i Just want basic configuration to use sendmail.
View 2 Replies
View Related
Aug 5, 2009
I have been trying to get procmail working on CentOS 5.2. I don't need anything fancy, just an auto reply for a "noreply@" account. Looking at the sendmail configuration, it appears procmail is the MDA. I have looked at many different tutorials and how-tos, but most are old, and/or the locations/paths and setups are markedly different from the defaults on my system. Can anyone recommend a good CentOS-based tutorial on Procmail w/ recipes? (I have an RHEL book and it's no help either.) Thank you for your time and consideration.
View 1 Replies
View Related
Nov 17, 2010
I'm trying to set up a PXE boot server on a PC running Slackware 13.0 using the default apps and info shipped with that Slackware version but to no avail...Carefully reading the Slackware 13.0 README_PXE I've put together this dhcpd.conf file:
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
[code]....
View 6 Replies
View Related
Nov 9, 2009
accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :
[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart
[code]....
View 3 Replies
View Related
Jul 7, 2010
I seem to have a send mail problem .the server is RHes3 i edited the etc/mail/mail.mc
then did
[root@Mixer mail]# make -C /etc/mail
make: Entering directory `/etc/mail'
WARNING: 'sendmail.mc' is modified. Please install package sendmail-cf to update your configuration.
WARNING: 'submit.mc' is modified. Please install package sendmail-cf to update your configuration.
make: Leaving directory `/etc/mail'
[Code]...
View 1 Replies
View Related
Aug 9, 2010
why i can't login on the ldap-client via ldap, so here is a short description of my machines (i use openvz virtualising)I have on the HN (Debian Lenny) 2 VE's, which are in the same subnet (192.168.1.0/24)The first VE (Hostname: ldap1, IP: 192.168.1.91) is the ldap-server, which is so configured, that i can manage the server via phpldapadmin.The second VE (Hostname: ftp1, IP: 192.168.1.31) is the ldap-client, there should run a sftp-server in the future and the sftp-server(ssh-server) should use ldap-usernames to login. on the ftp1, i get with this command getent passwd the users configured on the ldap-server, but with the command id USERNAME the result is, that the user doesn't exist. (USERNAME is this name, i get returned by getent) and if i try to login via ssh, i get permission denied. and because the machines are openvz-virtual-machines, so i can't login on them like on a normal system, but a su USERNAME doesn't work too, because the user is not known on the system.
my installation:
i don't think, that the ldap-server is the problem, because the phpldapadmin and getent on ftp1 are working perfectly, but if you want, i can post the config here too. the VE ftp1 was configured with the following how-to: [URL] and pam is configured like in the chapter "PAM setup with pam_ldap" on [URL]
View 3 Replies
View Related
Sep 28, 2010
Just installed openldap server on a VM CentOS called 'ldapsrv', it works fine, ldapsearch returns all ldap information.
Installed openldap client on another VM CentOS called 'ldapclient1', configured it with most basic configuration, no ssl/tls etc. but ldapsearch returns error:
ldapsrv is pingable:
Some outputs:
PHP Code:
PHP Code:
View 20 Replies
View Related
Jun 15, 2010
How to setup Ldap Service in RHEL5/CentOS5?
View 2 Replies
View Related
Jun 11, 2011
I have 10 systems on my network and I have centos5.5 installed on server. All other clients are on WinXP. I am using squid server to share internet on my network.Problem is: whenever an user trying to open a website through squid server, it opens too slow, but if same user tries to open same website by passing squid server, it opens 3 times faster. Downloading speed is same in both scenario. Only buffering speed is slow through squid.
View 1 Replies
View Related