Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







IDENT Authentication Failed For Postgres. Pg_hba.conf


I just reloaded the OS on our production server and I'm having issues configuring postgres.

the user postgres exists in the system (i.e. 'su postgres' switches me to that user)
i attempted to connect to my database 'service_2_3' via CLI:

Code:
$ su postgres
$ psql service_2_3
and i recieved the following error:

Code:
psql: FATAL: IDENT authentication failed for user "postgres@service_2_3"
the database is installed on the machine on which i was attempting to connect to it with.

therefore, i edited my pg_hba.conf so that it looks like this:

Code:

# TYPE DATABASE USER CIDR-ADDRESS METHOD

# "local" is for Unix domain socket connections only
local all all ident sameuser
# IPv4 local connections:
host all all 127.0.0.1/32 ident sameuser
# IPv6 local connections:
host all all ::1/128 ident sameuser
host all all 0.0.0.0 0.0.0.0 password

and reloaded with (as user postgres):

Code:
bash-3.00$ pg_ctl reload -D /var/lib/pgsql/data -l /var/lib/pgsql/data/temp.log

but i still get the same error. am i editing the wrong file, perhaps?

how would i know which is the correct pg_hba.conf file?

locate pg_hba.conf seems to give me a few results.


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Erroneous Pg_hba.conf
I installed postgres and i seem to have a problem connecting to it both locally and remotely.

this is the error i get:

Code:
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: missing or erroneous pg_hba.conf file HINT: See server log for details. in /var/www/html/2.3/includes/configuration.php on line 25
these are the contents of my pg_hba.conf file

Code:
# TYPE DATABASE USER CIDR-ADDRESS METHOD

# "local" is for Unix domain socket connections only
#local all all ident sameuser
local all all trust all

#@remove-line-for-nolocal@local all all @authmethod@
#host all all 10.0.0.1 255.255.255.0 trust

host all all all trust all

# IPv4 local connections:
#host all all 127.0.0.1/32 ident sameuser
host all all 127.0.0.1/32 trust all
# IPv6 local connections:
host all all ::1/128 ident sameuser

i'd imagine "host all all all trust all" would allow anyone to access it, wouldn't it?

View Replies!   View Related
Emails Getting Bounced Due To IDENT Misconfiguration
I'm an IT administrator for a school and due to high amounts of spam and a shrinking budget, I've built a mail server with Slackware 11 as the OS and running Sendmail 8.14.2.

The email was working great for about a week when suddenly emails from the sever were being bounced. When I look at the bounced emails I notice this.

The original message was received at Mon, 21 Jul 2008 16:59:54 -0600 from IDENT:2@localhost [127.0.0.1]

What I'm guessing is that when a server receives our emails they see the 2@localhost [127.0.0.1], thinks it's spam and bounces it back to us.

I believe that I need to tweak the sendmail.cf file but I'm not too sure what I need to tweak. Here are some of the things I've tried so far.

In the sendmail.cf file I added servername.domainname.com to Cw localhost

Used the Masquerade options with no luck.

In a different forum someone said to edit the /etc/hosts file from this:

127.0.0.1 localhost
10.0.0.12 servername.domainname.com

to this:

10.0.0.12 servername.domainname.com
127.0.0.1 localhost

Which didn't help. Since DNS is being handled by another server, it was suggested that I edit the /etc/nsswitch.conf file so that the dns option was removed from the hosts: line. That didn't work either.

Right now I'm fairly confident that it's something I have to change in the .cf file but as I said earlier I'm not too sure what.

View Replies!   View Related
PhpPgAdmin's Doesn't Adhere To Pg_hba.conf's Rules
I've been editing pg_hba.conf all day trying to set the right rules so that only some IP's can access the db.

Everytime I made a change, I restarted postgres, however phpPgAdmin does not seem to reflect the changes.

Later on I discovered that pgAdmin3 adheres to pg_hba.conf

Does anyone know if this is a phpPgAdmin bug?

View Replies!   View Related
DNS Issues Rndc.conf & Named.conf
It started with this error:

Bind reloading on server01 using rndc zone: [ns1.mydomain.net]
Error reloading bind on server01: rndc: connect failed: 127.0.0.1#953: connection refused

so i did the obvious checked the csf firewall to see if port 953 was enabled and it was

so i took a look at rndc.conf

Code:
root@server01 [~]# nano /etc/rndc.conf
#start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";
};

options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf

# Use with the following in named.conf, adjusting the allow list as needed:
#key "rndc-key" {
# algorithm hmac-md5;
# secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";
#};
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
Then i took a look at named.conf

Code:
options {
/* make named use port 53 for the source of all queries, to allow
* firewalls to block all ports except 53:
*/

//query-source port 53;

/* We no longer enable this by default as the dns posion exploit
has forced many providers to open up their firewalls a bit */

// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
pid-file "/var/run/named/named.pid";
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
/* memstatistics-file "data/named_mem_stats.txt"; */
};

logging {
/* If you want to enable debugging, eg. using the 'rndc trace' command,
* named will try to write the 'named.run' file in the $directory (/var/named").
* By default, SELinux policy does not allow named to modify the /var/named" directory,
* so put the default debug log file in data/ :
*/
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

// All BIND 9 zones are in a "view", which allow different zones to be served
// to different types of client addresses, and for options to be set for groups
// of zones.
//
// By default, if named.conf contains no "view" clauses, all zones are in the
// "default" view, which matches all clients.
//
// If named.conf contains any "view" clause, then all zones MUST be in a view;
// so it is recommended to start off using views to avoid having to restructure
// your configuration files in the future.

view "localhost_resolver" {
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
* If all you want is a caching-only nameserver, then you need only define this view:
*/
match-clients { 127.0.0.0/24; };
match-destinations { localhost; };
recursion yes;

zone "." IN {
type hint;
file "/var/named/named.ca";
};

/* these are zones that contain definitions for all the localhost
* names and addresses, as recommended in RFC1912 - these names should
* ONLY be served to localhost clients:
*/
include "/var/named/named.rfc1912.zones";
};

View Replies!   View Related
Postgres Install
I have a server running Cpanel and I have added postgres through /scripts/installpostgres, also I have set it over WHM and can access phppgadmin but I got this error when connecting throug a script

Fatal error: Call to undefined function: pg_connect() in /home/rer1223/public_html/process/Connection.php on line 4

I checked and postgres is not listed in phpinfo output.

View Replies!   View Related
Running Postgres
I have installed postgres over my cpanel account but I am unable to find php_pgsql.so file

I am running Centos 4 Apache 1.3 PHP 4.3 Postgres 7.3

View Replies!   View Related
Cannot Add Postgres Database
PostgreSQL (Cannot add new user or database). It will return "User/DB added successfully" but no new user or database is added.

root@server [~]# rpm -qa | grep postgre
postgresql-devel-8.1.4-3PGDG
postgresql-contrib-8.1.4-3PGDG
postgresql-8.1.4-3PGDG
postgresql-server-8.1.4-3PGDG
postgresql-libs-8.1.4-3PGDG
postgresql-python-8.1.4-3PGDG

I've already compiled apache after postgres was upgraded months ago.

I'm using cpanel 10x

View Replies!   View Related
Cron As Postgres User Not Working
I was hoping someone could shed some light on a cron related issue I'm having.

I've been using linux for a while...but never really used crons.

My cron is supposed to dump a postgres db in tar.gz format every minute (for testing purposes) but it doesn't.

I opened my cron in vim via:

Code:
postgres@myhost:~$ crontab -e
And here's the cron:

Code:
* * * * * /usr/bin/pg_dump -D warranty_1_6_test | gzip -c > /var/www/test/postgres/backup$(date +"%Y%m%d_%H%M").tar.gz

Also:

Code:
postgres@myhost:~$ ls -lah /var/www/test/postgres/
total 8.0K
drwxrwxrwx 2 postgres postgres 4.0K 2007-06-14 12:01 .
drwxr-xr-x 3 user user 4.0K 2007-06-14 11:47 ..

Running the backup command via CLI works fine.

View Replies!   View Related
Postgres: Restoring A Filesystem Backup
i had to do a file system back up because of the size of my database.

i shutdown postmaster and tar'd the files.

i recently reloaded my OS and now i'm attempting to restore the backups. i first shut down postmaster, restored the backups to the data folder and restarted postmaster.

i then su'd from root to postgres user:

Code:
[postgres@austin1 pgsql]$ psql service_2_3
psql: FATAL: database "service_2_3" does not exist
DETAIL: The database subdirectory "base/16385" is missing.

the backups had a database named service_2_3 but upon restoring the backups, it doesn't seem to be available.

my data directory is /var/pgsql/data.

Code:
[postgres@austin1 pgsql]$ ls -lahR /var/pgsql/ | grep 16385
but that yielded nothing.

have i done something wrong while backing up? i don't think i have since i followed the postgres manual when backing up. but the administrators have not been very thorough with how they've set the system up for me.

how i can resolve this issue if you have the time.

View Replies!   View Related
Restoring 1.5GB SQL Dump (Postgres)
This seemed like the most appropriate place so I decided to post here.

SYSTEM:
Fedora Core 4, 3GHz, 2GB RAM
Postgres 8, Apache 2, PHP 4

The issue is that I have with me a 1.5GB SQL dump from Postgres 8 which I extracted using pg_dump.

Restoring it seems to be an issue on this PC. I've tried modifying memory directives in postgresql.conf as well as the kernels SHMAX value but no go.

I tried a bunch of other things such as gzipping the file so that it was only 100mb and doing:

Code:
gunzip -c dump.sql.gz | psql my_db
But I recieved many errors saying "invalid command N" and I also got a syntax error notice and the process terminated.

I tried to at least try and enter some data manually but vim is incredibly slow since this is a 1.5GB file.

Is there a way I could perhaps split up my db dump and then import them into the db one by one?

View Replies!   View Related
Apache Authentication
I have a machine at home running the UniformServer wamp package on Win2K3 Standard server and I'm hosting a simple family picture gallery using Gallery 2.3. I put the gallery in a subdirectory of root so I could have a public homepage and a gallery that is password protected. I did this using .htaccess and .htpasswd.

My issue is when I browse to mydomain.com and click the link to the gallery [url], the password box pops up, and when I enter the appropriate credentials, the domain name reverts to the IP and another password box pops up. If I log in a second time, I'm fine. If I cancel that second login, it still lets me in, but prompts me to login that second time for every click going forward until I authenticate.

View Replies!   View Related
PureFTPD Authentication
i got some weird authentication problem

i followed this guide on setting it up

[url]

however when i try to connect i get

[1] Connecting to xxxxxx:21

[1] 421 Unknown authentication method: pam

[1] Retrying after 30 seconds for ftp://xxxx:***@xxxxxx

View Replies!   View Related
Email Authentication
I have problem to set Email authentication in Cpanel. when I send Email via Microsoft outlook, it is possible to send mail without SMTP authentication.

how can I active SMTP authentication in CPanel?

View Replies!   View Related
IIS Authentication
We've been having some trouble logging into our Intranet here at work. Essentially it is set up to use Integrated Windows authentication but for some reason that was disabled last week and so no-one could log in. That was easy enough to fix and everything seemed to be back to normal.

However, I installed ModX CMS into a subfolder but when it comes to logging in to the admin backend I am repeatedly asked for my Windows ID and ultimately told I am not authorised to view the page. I can see the login page and I can enter the ModX admin details but it won't let me further than that.

The strange thing is a colleague with the same (admin) rights can log in no problem!

View Replies!   View Related
IIS Authentication
I am using WinXP Pro and IIS 5.1. When I try to access an asp file using IE 7 using a URL like [url], it always brings up the login dialog, and nothing I enter in it works. So, automatic authentication is failing. I verified that the Directory Security settings are correct.

View Replies!   View Related
FTP Authentication Proxy
way to centrally login our FTP clients. We currently run ftp1/2/3/4.[url]and would like to have simply [url]which would authenticate the user and push the user to the relevant server.

This would hopefully work in the same way as a Radius Proxy.

Is this possible on either windows or linux?

View Replies!   View Related
Disconnect: Authentication Error
I can not I login and I got into ssh. And I can not I login in the FTP.
whenever i want login in putty or ftp root server i see :

Can't connect to 193.**.***.**:22. SFTP21 error = #4. Disconnect: authentication error

View Replies!   View Related
Authentication Popup In Webmail
I want to remove my authentication popup which is getting when login through webmail like (www.mydomain.com/webmail) and you can see in an attachment .

So where i want to setting of remove this popup.

View Replies!   View Related
Wireless Authentication Gateway
I'm doing a project for my school ( a small technical college) and we're trying to come up with some sort of wireless authentication gateway. This doesn't need to be locked down and super secure, this is a state run school with an open wifi network. Basically we want all wireless users to be forced to view a splash page/AUP and agree to it before being able to access the web.

couple issues:
-Super low budget, so enterprise solutions are pretty much out of the question
-must be as transparent as possible to the use: no MAC registering with the IT dept. no added software, no RADIUS certs etc.
-we have limited access to the actual router and all administration but be done by the upstream provider(including inter-vlan routing)

I've looked at NoCAT and really like it but because of the existing network topology its going to be hard to force all traffic through a central box for filtering/auth

What I'm wondering is if there is a way to do selective DNS poisoning to redirect all lookups to a web authentication server(similar to nocat's system). After a host is authenticated their DNS would resolve correctly. I know someone could just go out by IP or potentially use different DNS servers but we really aren't that concerned about it, all they have to do is click 'accept' anyway.

View Replies!   View Related
SSH Key Authentication
I'm running a server where I have my SSH key set up with the root user so I can log in without the password.

I also have an account called "jmaskell" that I use for everything, and I'm trying to add my SSH key to this. I've done exactly what I did for the root user and have my key in the .ssh/authorized_keys2 file. Unfortunately I'm still prompted for my password everytime I log in.

Is it possible to have the same SSH key stored for two different users?

The server is running CentOS 4 with OpenSSH 3.9.

View Replies!   View Related
Pop3d Authentication Erros
my mail server stops authenticating users. When they try to check messages they get the login screen in their mail clients again and again. I have to go to the server and restart saslauth, mysqld and postfix.

I'm getting the following warning when restarting MySQL:

070403 13:53:09 mysqld started
070403 13:53:09 [Warning] Changed limits: max_open_files: 1024 max_connections: 1014 table_cache: 64
070403 13:53:10 InnoDB: Started; log sequence number 0 43654
/usr/libexec/mysqld: ready for connections.

The file my.cnf show the following:

[mysqld]
log=/tmp/mysql.log
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
max_connections=2548

[mysql.server]
user=mysql
basedir=/var/lib
max_connections=2548

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

Also, my maillogs is showing these errors:

Apr 3 13:24:47 mail1 pop3d: authentication error: Input/output error
Apr 3 13:30:25 mail1 pop3d: authentication error: Input/output error
Apr 3 13:30:28 mail1 pop3d: authentication error: Input/output error
Apr 3 13:30:29 mail1 pop3d: authentication error: Input/output error

Do I have to increase connections on my.cnf? I think 2548 is enough for the amount of user I have which is less than 100 users.

View Replies!   View Related
Website Requesting Authentication
I'm running IIS on a small business server R2. I'm running 2 websites. I local website for client PC's on port 80. And a external website on port 81 with the WAN router forwarding requests from port 80 to port 81. I can access the site fine but it keeps popping up with the login screen and requires authentication to access the site. I have set full permission on the folder and IIS folder for guest and everyone and internet guest. Also I have enable annoymous access.

View Replies!   View Related
Exim Smtp Authentication
Where I have to configured Cpanel Exim Smtp Authentication for ASSP-Deluxe.

View Replies!   View Related
Wget Downlaoding With Authentication
I been trying to get this file using wget but it uses some sort of advance Authentication that I cant get around using wget it doesnt use cookies it uses some Authentication method.

How can I login to that website using wget? the form field names are usernamlc and passlc if I can some how post those two usign wget I can get the download link.

View Replies!   View Related
How Disable Keyboard Interactive Authentication ?
im using free Bsd latest version after install freebsd in my vps with vmware...

we cannt login in SSH, im typing correct pwd but show error ...keyboard interactive authentication

im typing correct pwd !

how i can solve this problem?

View Replies!   View Related
Apache User Authentication Logic ...
I'd appreciate if you can point out some links, or if anyone is willing to help me for a fee, we can talk about it.

I have a web application called MyApp

- Each MyApp user has 5gb hosting, and a web interface to manage their files.

- Therefore MyApp user gets a user account on linux machine and has access to only one directory /repo/usr/<user_id> and nowhere else. (suexec?)

- If that MyApp user creates a subdomain from any folder inside his home folder (he can do that using web interface), that folder is readable by www-data user not writable.

- That myapp user is able to mount/unmount his own ftp drives using curlftpfs.

- In short, users can only mess with their own files and they have no access nor rights to any other file that is outside of their home dir.

In short, this is a kind of hosting company server setup. Right now, we will have to manage all this from -only- one powerful server.

View Replies!   View Related
ISP User Authentication - After Connection
I'm starting a community ISP.

The users will connect by wireless signal and I want anybody in the neighborhood to be able to access it, free of charge.

Only issue is I want they to register and login before they can start visiting websites. To avoid liability issues I think identifying each user is a good idea.

So I want to create a login mechanism, like the user connects to the wireless network. Then he tries to open any website but it will actually open the authentication page instead.

My first obstacle is how to redirect every web request of non-authenticated users to my web server? Should I do it in the DNS level pointing every domain to my internal IP or should I do it in IP level somehow?

I have seen other ISPs using this authentication method, but unfortunately I didn't bother looking at how they accomplished it...

I think they used the DNS method. But how to setup a dns daemon (be it bind, djbdns or even maradns) to resolve all requests to a certain IP?

View Replies!   View Related
Exim Smtp-after-pop Authentication
I use Exim + Dovecot for my mail server. We can get mails through pop3 protocol without a problem, but when we try to send mails, exim does not permit relay. My passwords are stored in a mysql database for dovecot. Is it possible for exim to do authentication based on that? If it will be easier, i can create a text file with md5 passwords on it for my users.

View Replies!   View Related
Passwd: Authentication Token Manipulation Error
I set up a new account for a client using my reseller. He went to change the password and he is getting this error

There was an error manipulating the password file. This generally means you entered your old password incorrectly.

Changing password for user xxxxx.

Changing password for xxxxx

(current) UNIX password:

passwd: Authentication token manipulation error

The thing is, he is putting the password in correct. I made sure of that

I am able to change it in whm and i am able to log in to the account, i just cant change the password from cpanel

View Replies!   View Related
Error: Couldn't Perform Authentication. AuthType Not Set!:
The domain is very new, and only known to me. it has http authetnication setup so you'd have to know the username and password to login to access the site.

[Sun Oct 25 17:37:38 2009] [crit] [client 88.191.76.63] configuration error: couldn't perform authentication. AuthType not set!:
/phpmyadmin/scripts/setup.php
[Sun Oct 25 18:57:47 2009] [error] [client 96.9.152.120] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23):
/w00tw00t.at.ISC.SANS.DFind:)

View Replies!   View Related
Sending Mails Without SMTP Authentication On Exim
I have a customer that wants to send emails using Exim and SMTP (using outlook), withouth authentication. Now.. the big question is ... how can I configure the Exim server to work withouth any authentication?

I know the risks of this withouth any authentication, but is my customer's server and he want to work in this way.

He is also asking if he is able to send emails withouth authentication using SMTP for certain IP addresses.. is that possible? Can be done for only 1 domain, or for the entire server?

Im using Exim 4.6.8 and RHE 4 + cPanel.

View Replies!   View Related
Sendmail Relaying Denied. Proper Authentication Required
I can't figure out how to be able to send mails using sendmail. I've a dovecot/sendmail installation and I can recieve mails OK but when I try to send mail I get the error message "Relaying denied. Proper authentication required."

Example from maillog:
Oct 2 18:10:08 localhost sendmail[2196]: l92GA4UC002196: ruleset=check_rcpt, arg1=<xxxxx@gmail.com>, relay=rl-nvt-kaxx.xxxxxx.xxx [000.000.000.000] ....

View Replies!   View Related
MySQL Error: Client Does Not Support Authentication Protocol
"Client does not support authentication protocol requested by server; consider upgrading MySQL client"

I upgraded from MySQL 4 to 5 and everything was fine for about a week. On Monday, I get the error above. From what I've read, this is the oldpassword/new password hash error that I can fix in about 2 minutes on my server. However, this is on a Parcom server, and Parcom has been sloooowww to react.

Can anyone think of another reason why this would be coming up? It's running fine on 3 other PCs that I run as a backup. I've dropped the database twice and rebuilt it twice, still with the same error. Ditto for the user/pass.

View Replies!   View Related
How Can I Make Sshd Lie About It's Accepted Authentication Methods
With my sshd installation, I have password authentication disabled, and only accept key-based auth. What I want to do is, make sshd lie about it's accepted authentication methods, or even make up a few to confuse anyone who's trying to connect. For example,

[root@vps2 ~]# ssh hah.cx
Permission denied (publickey).

I'd like to make it show something like,

[root@vps2 ~]# ssh hah.cx
Permission denied

View Replies!   View Related
PAM Authentication Failure With FTP And Apache Suexec
i am trying to setup a VPS with:

Apache Suexec, so that each VHosts runs under there own username
FTP for each of the vhosts.

I have made a username aplushost and FTP works fine when i login, however when i try and get Suexec to work it shows a 403 permision dined, even know the whole directroy path is with correct permsions.

"/home/aplushost/www"

However if i chown the directroy "aplushost" to apaches username , currently "nobody" i have tried with "apache" and many others the page is displayed correctly.

The weird thing is that the www directroy can still be set to the aplushost username and files work inside.

However due to changing the privalages of the folder aplushost ftp now fails to login due to the folder not being owned by the ftp user "aplushost".

So im stuck between only having one item working at a time.

i have put some content of my config files.

----------httpd.conf vhosts------------------
<VirtualHost 87.117.196.247>
DocumentRoot "/home/aplushost/www"
ServerName aplushost.co.uk
SuexecUserGroup aplushost aplushost
<Directory "/home/aplushost/www">
allow from all
Options +Indexes
</Directory>
</VirtualHost>

---------------passwd file----------------
aplushost:x:500:99::/home/aplushost/www:/sbin/nologin

(Have tried with many different shells, no difference, also tried with home directroy as just /home/aplushost)

View Replies!   View Related
SASL Authentication For Mail Server (Sendmail/Postfix)
I recently moved to virtual dedicated hosting for my website, mainly because I wanted a better mail server to work with to manage a mailing list.

I have a few PHP software scripts for different things: managing affiliates and email marketing.

I want to send mail using both of those via SMTP on my new server. They both have a place to type in the host and username/password.

The problem I am noticing is SASL Authentication. They attempt to connect to the host without any trouble. However, the affiliate software fails SASL Authentication every time I try to send an email or test the email system.

Email marketing software connects when I manually send a campaign. However, users are supposed to immediately receive a confirmation mail upon opting in. In this case, it shows up as an attempt in the mail log, but it fails SASL Authentication. I don't know if it's a problem with the software or not, since it attempts to connect but fails, yet connects successfully in other cases.

My question is this: Is there another way around this? I've contacted my host to double check on the appropriate username/password to pass authentication. I will also be contacting the software developers after I receive an answer.

But if nothing comes of it, is there any way around it? Is there a place where I can have it automatically authenticate if the email is coming from a certain user, or if the attempt is being made from the same server (everything sits on the same server, I use localhost in the software to connect to the mail server). Since I am the only person who has access to the server and uses it, it seems safe to automatically authenticate if the request is being asked by the server itself...

I'm just looking for other alternatives if the software does indeed have a problem and I cannot figure it out.

Keep in mind I am very new to all this server and root access. Just a few days ago I was on a shared hosting plan, so I didn't have any access to anything. With that in mind, I know very little about mail servers, although I've been learning more over the past few days. I only stumbled upon the mail logs on my server recently by browsing files in the control panel (I'm not familiar with SSH, although I do have access to it)

View Replies!   View Related
Limits.conf
How can I limit the amount of processes a user can have open at one time?

View Replies!   View Related
Pureftpd.conf
I installed pureftpd from source and everything is working fine but there is no oureftpd.conf file anywhere, it should be in /etc/pureftpd.conf.

How to get a conf file of pureftpd where I could turn Anonymous login off?

View Replies!   View Related
Nginx Conf
I have nginx conf which works perfectly fine with ip adress,but when i put domain then php for some reason no longer works,i getting download php file situation.

Here is main conf file:

#######################################################################
#
# This is the main Nginx configuration file.
#
# More information about the configuration options is available on
# * the English wiki - http://wiki.codemongers.com/Main
# * the Russian documentation - http://sysoev.ru/nginx/
#
#######################################################################

#----------------------------------------------------------------------
# Main Module - directives that cover basic functionality
#
# http://wiki.codemongers.com/NginxMainModule
#
#----------------------------------------------------------------------

user nginx;
worker_processes 5;

error_log /var/log/nginx/nginx-error.log crit;
#error_log /var/log/nginx/error.log notice;
#error_log /var/log/nginx/error.log info;

pid /var/run/nginx.pid;

#----------------------------------------------------------------------
# Events Module
#
# http://wiki.codemongers.com/NginxEventsModule
#
#----------------------------------------------------------------------

events {
worker_connections 2048;
}

#----------------------------------------------------------------------
# HTTP Core Module
#
# http://wiki.codemongers.com/NginxHttpCoreModule
#
#----------------------------------------------------------------------

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] $request '
'"$status" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log off;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

# Load config files from the /etc/nginx/conf.d directory
include /etc/nginx/conf.d/*.conf;

#
# The default server
#
server {
listen 81;
server_name main.main.net;

#charset koi8-r;

#access_log logs/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}

error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
}

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ .php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ .php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /.ht {
# deny all;
#}
}
}

View Replies!   View Related
Lighttpd.conf
I'm about to set my own permalink rules in Wordpress.

My VPS is running LxAdmin on CentOS and I have lighttpd installed. I've read I need to edit lighttpd.conf but I don't know which application I should use. The file is located in /etc/lighttpd/ but have no idea how to gain access.

View Replies!   View Related
Lighthttpd Conf
I don't have location/ in conf file where should this be placed under or above what content should this be added?

View Replies!   View Related
Resolv.conf
I have a new VPS server in which I did not configure the /etc/resolv.conf file. My VPS has three domains that are all working and resolving fine. But I keep getting an email from my provider that says this:

The hostname (v6.volumedr.com) resolves to. It should resolve to xx.xx.xx.xx. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if youbelieve everything else is correct.

You may be able to automaticly correct this problem by using the Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager.

Why does the actual server hostname need to resolve via dns?

I have confirmed that /etc/hosts looks good and I added an A record in my WHM for each domain. Do I need to configure the /etc/resolv.conf file too? Do I need to list my three domains and my server hostname(v8) and then my two primary DNS servers?

View Replies!   View Related
Where Is /etc/named.conf
i am running centos 5 with bind9 and there is no /etc/named.conf. All i could find is /etc/named.caching-nameserver.conf

i am planning to runs dns nameserver for my domain. where to do zone entries?

View Replies!   View Related
Httpd.conf
I tried that recently to install PHP 4 & PHP 5 on the same server - without any luck, i stumbled into a massive hole.

the existing httpd.conf was replaced and there was a backup made - stupid me accidently deleted this backup file and was left this a non-working copy of httpd.conf - if anyone can help me it would be much appreciated.

root@server1 [~]# /etc/init.d/httpd configtest
Warning: DocumentRoot [/dev/null] does not exist
Syntax OK

View Replies!   View Related
Limits.conf
I would like to set some hard limits for some developmental testing I am doing using quota tools and what not. In limits.conf I have the following:

--------
@dev hard cpu 0.30
--------

As far as I can see, this would limit all users in the group "dev" from using more than half a minute of CPU time, am I correct?

Assuming I am, once I write these changes no limits seem to be enforced. Are these values cached in the memory and a reboot is needed for them to take effect?

View Replies!   View Related
Resolv.conf
Is it better to put the IP of your server on the first line followed by the dns servers from the datacenter? And, how do you make the changes go in effect? I assume you just restart bind?

View Replies!   View Related
Deleted /etc/named.conf?
i have cpanel running on my dedicated server and i have accidentally deleted /etc/named.conf

how to recover it? will cpanel maintain backup or of some sort? i havent stopped bind so my sites are working till now.

View Replies!   View Related
Apache 2.2 And Httpd.conf
I recently updated to apache 2.2 and when I went to check

/usr/local/apache/conf/httpd.conf

I noticed that a lot of the stuff was missing from what I usually see in apache 1.3 Was a new file created when the update was finish? I used easyapache to make the update.

I was actually looking to change the

Keepalive
Timeout
MinSpareServers
MaxSpareServers
MaxRequestsPerChild
Etc...

But it doesn't look like it's in there.

View Replies!   View Related
FreeBSD Make.conf
I was playing with a backup machine I have today. It's been running FreeBSD 6.3 a while now. I just realised today that CPUTYPE in make.conf was set wrong. When I set it to what it should be, according to the list of valid values, I got odd errors during world and kernel rebuilds, along with some from some ports. I googled it and found many people do not suggest setting that directive in make.conf. May I ask if anybody has experience with this, and what impact it would have on my box should I remove the directive and recompile?

View Replies!   View Related
Subdomains With Vhost.conf
I'm trying to accomplish a redirect (or rewrite) of [url]to [url]

* I got DNS *.domain.com correctly pointing to my server.
* I also created a vhost.conf inside /var/www/vhosts/domain.com/conf, and Plesk (/var/www/vhosts/domain.com/conf/httpd.include) is correctly including the file.
* even though I don't know if it's needed or not, I created in Plesk a new CNAME with value *.domain.com pointing to domain.com

in my vhost.conf I got:

ServerAlias *.domain.com
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteCond %{HTTP_HOST} ^([^.]+).domain.com
RewriteRule (.*) /temp/%1/$1 [L]

when I try whatever.domain.com, I'm getting a 500 Internal Server Error.

View Replies!   View Related
Apache 2 - Httpd.conf
how should I optimize httpd.conf on my server. Apache was set up by my friend, unfortunately it started to "stuck" lately during peak time. Browser is connecting to a website for a long time before it actually starts to load it.

My current setup:

Timeout 300
KeepAlive On
MaxKeepAliveRequests 300
KeepAliveTimeout 15
MinSpareServers 2
MaxSpareServers 5
StartServers 5
ServerLimit 650
MaxClients 650
Server:
Intel Quad-Core Xeon X3220 @ 2.40 GHZ
4x 2GiB Kingston ECC Not-Registred 667Mhz
2x 150GiB RaptorX 10k RPM, sw raid 1

View Replies!   View Related
Optimizing Httpd.conf...
I remember seeing a website/forum where you couldn't post your server stats and httpd.conf settings and experts would give advice on settings you should use.

Does anyone know the url to this site, or site similar to it

View Replies!   View Related
Set Value For Httpd.conf
I have a box: Dual Opteron 248 - 2GB RAM, Centos 4.x, Cpanel / WHM, does anyone can help me set value in httpd.conf for better?

Set "Timeout"
Set "KeepAlive"
Set "KeepAliveTimeout"
Set "MinSpareServers"
Set "MaxSpareServers"
Set "MaxRequestsPerChild"
Set "HostnameLookups"

I've got many emails from cpanel that httpd fail, check in apache logs i cant find any error

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved