General :: Conf File Of A Service In CentOS
Aug 2, 2011
I have just installed sendmailanalyzer to my centos 6 by using rpm package. But before, i tried to install it by perl.There is no problem now everything works but when i want to configure i see that there are lots of conf file. How can i see a conf file of service "sendmailanalyzer" what is the command ?
View 2 Replies
ADVERTISEMENT
Jan 27, 2011
I need to change the some configuration in httpd.conf file with out affect any current status of http service.
View 3 Replies
View Related
Apr 11, 2011
I am running an application that requires use of my /etc/hosts file. In it, I have my machine name and its LAN ip address. The program creates a service on a specific port, then attempts to connect to it based on the host name. So my hosts file has to be correct.I added the nameservers to resolv.conf and now my application will not run. My guess is that the computer is checking the name servers first, timing out then checking the hosts file.Is there a way I can tell the system to check the hosts file first, then DNS. I thought it should behave that way by default, but it does not appear to.
View 1 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
Mar 15, 2010
I have managed to delete my yum.conf file and do not have a backup. I have tried reinstalling yum and it does complete but when I try and run yum I get cannot find any conf file. Is there a standard conf file I can download? I am running centos 5.3.
View 8 Replies
View Related
Jul 29, 2010
On a production Centos 5.3 system, I want to raise the hard & soft limits of open file handles from 1024 -> 8192 (not a "biggie", I'd think) Right now, "sysctl -a | grep file" shows fs.file-max=463144 (a default, I'd guess) I'm guessing file-max is the maximum number of open file handles on the system, vs the per-user limits seen with "ulimit -Hn" and "ulimit -Sn". Right? If so, I shouldn't think I'd have to touch this on a server with few users.
Also, after doing a lot of reading, I still don't understand the mentions of needing to also add: "session required pam_limits.so" to /etc/pam.d/loginor adding "session required /lib/security/$ISA/pam_limits.so" to /etc/pam.d/system-auth Maybe I've gotten off into the deep weeds in goggling about raising file handle limits.
View 1 Replies
View Related
Jun 29, 2009
Is there a Linux HOWTO for setting the xorg.conf file and installing drivers?
View 1 Replies
View Related
Sep 11, 2009
I am trying to prepare procedures for email restoration following a file system loss that contained user Maildir directories. Assuming that my most recent backup is earlier than the last time that many users received and downloaded email, the restored mail directories will not contain messages that were previously received and downloaded to clients following the backup and preceding the crash. This is not a problem in itself, however, it does appear to cause problems for the email clients.
My desire would be for email clients (outlook, outlook express, thunderbird) to properly recognize the messages that currently exist on the server, ignore previously downloaded messages and download newly arriving messages.The behavior that I am seeing is that the email client fails to recognize that any new messages exist and fails to download any messages at all. By removing the dovecot.index... files and the uidlist file, the clients will download ALL messages that are present in the "new" and "cur" directories even if previously downloaded. This is also an undesirable outcome.
View 1 Replies
View Related
Jun 1, 2009
I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:
In my httpd.conf file, at the very end, I have the line
Include conf/vhosts/vhost_*.conf
However, when I run apache checkconfig or try to start apache, it gives me the error:
httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied
It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.
View 3 Replies
View Related
Jan 13, 2011
How to back up my httpd.conf from my server to my computer and only found one solution via a google search
[url]
I typed in locate httpd.conf and see that it resides in /usr/local/apache/conf/httpd.conf so I assume I would type $ cd /usr/local/apache/conf $ sudo cp -p httpd.conf httpd.conf.bak
I wanted to confirm this with an expert before I do damage that I cannot reverse.
View 3 Replies
View Related
May 16, 2011
I want to be able to create a service so that the bash script will run every time the server boots up.
I am running CentOS 5.
I have been reading about chkconfig and creating a file in /etc/init.d for chkconfig to handle but I cannot seem to get it to work whenever I 'chkconfig servicename on' and then 'service servicename start'
When I do chkconfig --list my service is listed there.
Can someone provide me with a sample of the file I need to create in /etc/init.d and how to get everything running?
View 2 Replies
View Related
Nov 28, 2010
I am unable start network service on my centos box. /etc/init.d/network start device eth0 does not seem to be present, delaying initialization lspci | grep Ethernet
Doesn't show any results. It seems os doesn't identify my NIC. I am using compaq presario model pc
View 6 Replies
View Related
Oct 7, 2010
while starting xfs service on centos 5.3 shows error as starting xfs :mkdir:cannot create directory "/tmp/.font-unix':too many links
View 6 Replies
View Related
Jan 26, 2010
I've tried many, many different ways of setting up the cluster.conf file, but every time I start the cman service I get a message telling me "corosync died: could not read cluster configuration".This means nothing to me, nor can I find logs, or anything on the net about this message. I'm ultimately just trying to run a simple GFS2 config on 2 Ubuntu 9.10 desktop nodes, but I can't even get a basic cluster config going.What am I missing? I've been at this for days.
Code:
<cluster name="example" config_version="1">
<clusternodes>
[code]...
View 3 Replies
View Related
Jan 6, 2011
I need advice in getting the original blacklist.conf of the directory /etc/modprobe.d/ because I erased and I don't know if that file could make me have some issues in the future, so if any body can lend me a copy of that file or refere me to some page where i can get it. Is for the slackware 13 32bits distro.
View 2 Replies
View Related
Jun 4, 2011
If it is possible, what are parts that should be included in it?
View 1 Replies
View Related
Oct 5, 2010
In centos 5.3 i am unable to start sshd service shows error starting sshd :/etc/init.d/sshd:line102"7182 illegal instruction $sshd$ option
Same error while starting the httpd service.
View 17 Replies
View Related
Dec 11, 2010
I've just done a fresh install of Lubuntu 10.10 on an older Sony Vaio laptop. Having learned the hard way about editing xorg files, I wanted to create a backup of the xorg.conf file so that I dont have to do another install when I screw everything up. In a terminal, I typed
[Code]....
View 8 Replies
View Related
Feb 19, 2010
When my CentOS virtual machine boots it uses DHCP to get an IP address. It also overwrites resolv.conf with the DNS settings provided by the DHCP server. The DHCP server doesn't supply any search domains so I would like to get dhclient to put in a list of search domains when it writes it. How can I configure dhclient to do this?
View 3 Replies
View Related
Jun 22, 2010
I want to modify a file like /etc/gdm/custom.conf from the shell or a script.
# GDM configuration storage
[xdmcp]
[debug]
[daemon]
AutomaticLoginEnable=true;
AutomaticLogin=username;
But the idea is that I can add a line to a section and it check if the section is defined, (add the definition if not), the property is defined, let it undefine (erase the line), (and delete the section header if there is no property defined), etc...
I didn't find anything except gconftool-2 but it do not explain how to modify other files. (there is a shema file there).
there isn't a program/script to achieve this, but can easyly be made for every config file, If someone do something like that, with a little database of which markup use each file, it could become really popular.
View 3 Replies
View Related
Aug 4, 2010
what is the role of /etc/sysconfig/httpd configuration file in apache server .
View 2 Replies
View Related
Feb 15, 2011
I am installing some SSL certificates on my web server, however I have a couple questions, as I'm not familiar with this process
1) I'm not sure which directory to put them in? What is good practice? Is /var/www/secure a good location so long as I restrict access to the secure directory?
2) I am told to edit the following in my ssl.conf file of apache2
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
However, I cannot find this file, ssl.conf. Nor can I find the above directives in my main apache2.conf file. Where is the ssl.conf file? Or alternatively, could I just add the above directives to my apache2.conf file?
View 2 Replies
View Related
Jan 21, 2010
Why when I execute '# wvdialconf' in Puppy 4.3.1 no 'wvdial.conf' file is generated in /etc, or, anywhere else?
I did a 'find / -name wvdial*.*' and could not find it.
View 2 Replies
View Related
Apr 5, 2011
I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?
View 6 Replies
View Related
Aug 24, 2010
# /etc/init.d/dhcpd.conf -bash: /etc/init.d/dhcpd.conf: No such file or directory what is the problem? and how to configure out "joe"
View 5 Replies
View Related
Dec 25, 2009
will the command service httpd restart the apache service if i enable httpsd service in graphical mode
View 12 Replies
View Related
Aug 4, 2010
Been trying to setup my xorg.conf file to have a 1920x1200 screen.Strange behavior: when my X starts up, I see my mouse cursor, can move it around. It's small enough to suggest the 1920x1200 resolution took, is working.However, the rest of the screen remains black. No login prompt.I've looked at /var/log/xorg.conf, no errors.Is there something else I can look at?
View 1 Replies
View Related
Aug 4, 2011
I Have been trying to change a file in filestarter using sudo /etc/rsyslog.conf. but am getting a permission denied message. How do I get into this file to change it ? Firestarter is working ok but for some reason it cannot open the system log. I Have found what amendments need to be made to get this to work but simply cannot get access to the file
View 2 Replies
View Related
Mar 2, 2011
I have set up my Ubuntu virtual machine and am trying to adjust the screen resolution because it's stuck at 800x600 presently and there are no higher resolution options. I've looked at numerous similar forms and tutorials online and they all seem to involve editing /etc/X11/xorg.conf. However, for whatever reason, this file seems not to exist on my machine. I found another tutorial on how to add a screen resolution using xrandr --addmode which added the resolution I want to the list that appears when I type the command xrandr, but when I try to apply it I get an error about CRTC 262 failing.
View 8 Replies
View Related
Apr 8, 2011
I have a problem about to open zebra service after install quagga by command(./configure ; make ; make install ) and add service port ("/etc/services")
#service zebra status
zebra dead but subsys locked
and can't telnet to zebra
"telnet: unable to connection to remote host: connection refused"
I following a manual http://www.quagga.net/docs/docs-info.php but it's not perfect.
View 2 Replies
View Related