Ubuntu Servers :: PostgreSQL Not Starting At Boot & Httpd?

May 12, 2010

I am trying to get SQL-Ledger installed and running on my computer, which needs PostgreSQL installed to run.Currently, I am having trouble with it starting at boot-up. How can I access the appropriate log files in order to figure out what's wrong?

Also, I need to know what httpd is, and who the owner and groups using that might be on my system.

View 4 Replies


ADVERTISEMENT

Fedora Installation :: Start The Service Of Httpd Error Message Displayed: Starting Httpd: (98)Address Already In Use ?

Sep 19, 2010

I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80

View 1 Replies View Related

Ubuntu Servers :: Postgresql Not Starting - Error "psql: Could Not Connect To Server: No Such File Or Directory"

Feb 1, 2010

I'm trying to install postgresql 8.3 on Ubuntu 8.04 LTS server and I'm running into problems starting it. Commands I've done # apt-get install postgresql postgresql-common Things I've tried Starting it manually

# /etc/init.d/postgrsql-8.3 start

Nothing appears in my /var/run/postgresql When I try and start psql as the postgres user I get the following error psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? I've been following the docs at: https://help.ubuntu.com/community/PostgreSQL

View 2 Replies View Related

Ubuntu Servers :: Postgresql-8.4 Won't Boot At Startup On 9.10?

Apr 1, 2010

I have just moved to rackspacecloud and created a Ubuntu 9.10 server. Moved everything over all fine (7-10 wordpress sites). Now I have a couple rails apps that need to move over and run on postgresql 8.4.

I installed postgresql via sudo apt-get as per usual. Usually at this point the postgresql server starts up and I can forget about it. But no luck. I booted it by running /etc/init.d/postgresql-8.4 start. When I run that command it boots fine, I can connect via psql no trouble.

I rebooted the machine to see what happened. After boot, apache and mysql started just fine, wp sites came up nicely no trouble. postgresql wouldn't start up.

I have tried installing from source, I have tried using different /etc/init.d/postgresql-8.4 scripts. I have no idea what to do.

I have downgraded to upstart to 0.6.3-10. I have apt-get updated, upgraded. I have Googled. I have pushed and pulled.

Usually with any linux issue in the past I have been able to find a solution on the net or work it out myself. This one stumps me to no end.

The other irritating part is that while I wait to work out this issue I am still paying for my old server running my Rails apps.

View 1 Replies View Related

Fedora Servers :: HTTPD Does Not Start On Boot

Jun 24, 2010

On this system httpd does not start on boot. I can manually start it without errors with service httpd start.

Code:
chkconfig --list httpd
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Where do I look to see why it wont start?

View 9 Replies View Related

Fedora Servers :: HTTPD Fails To Start On Boot

Aug 24, 2010

I'm completely stumped by a problem with httpd in Fedora 13. It fails to start on boot: I can see: Starting htpd: FAILED, in /var/log/boot.log, but I can't find anything else in messages, audit.log or anywhere else that gives me any clue why. The weird thing is that running:
run_init service httpd start
after boot _works_ and the server runs fine, but even when it's running OK,
service httpd status
reports
httpd dead but subsys locked

I'm guessing that the problem somehow relates to selinux, but I can't find anything in the audit logs that gives me a clue. How to turn on more logging so that I can get closer to the problem. I finally discovered the cause. This system was originally configured to use network services directly, without NetworkManager. It had been upgraded a number of times since installation. It seems that over time, if you have turned off NetworkManager, the defaults have changed. Used to be that the network services was 'enabled' by default (hence started at run time). Now, the default is 'disabled'. Httpd couldn't start because there was no network to start on. Enabling network services at boot time fixed this. I guess I should have noticed this. But one might think that httpd failing to start because of the lack of a network might at least give a warning message in the logs about the reason.

View 8 Replies View Related

General :: Postgresql 9 En OpenSuse 11.3 Starting Failed

Jan 8, 2011

Postgresql 9 en OpenSuse 11.3 Starting Failed

[Code]....

View 17 Replies View Related

Networking :: HTTPD Not Starting - No Listening Sockets Available

Sep 29, 2010

root@HOST [~]# /etc/init.d/httpd start
Starting httpd: no listening sockets available, shutting down
Unable to open log [FAILED]
root@HOST [~]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: no listening sockets available, shutting down
Unable to open logs [FAILED]
root@HOST [~]# tail -n 10 /var/log/messages
Sep 29 17:59:30 localhost avahi-daemon[2870]: New relevant interface wlan0.IPv4 for mDNS.
Sep 29 17:59:30 localhost avahi-daemon[2870]: Joining mDNS multicast group on interface wlan0.IPv4 with address 196.219.240.236.
Sep 29 17:59:30 localhost avahi-daemon[2870]: Registering new address record for 196.219.240.236 on wlan0.
Sep 29 17:59:31 localhost avahi-daemon[2870]: New relevant interface wlan0.IPv6 for mDNS.
Sep 29 17:59:31 localhost avahi-daemon[2870]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::223:cdff:fecb:9c5e.
Sep 29 17:59:31 localhost avahi-daemon[2870]: Registering new address record for fe80::223:cdff:fecb:9c5e on wlan0.
Sep 29 17:59:31 localhost NetworkManager: <info> (wlan0): device state change: 7 -> 8
Sep 29 17:59:31 localhost NetworkManager: <info> Policy set 'Sunsoft1' (wlan0) as default for routing and DNS.
Sep 29 17:59:31 localhost NetworkManager: <info> Activation (wlan0) successful, device activated.
Sep 29 17:59:31 localhost NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
What is the problem I have a local server
CentOS Linux

View 19 Replies View Related

Ubuntu Servers :: Starting Programs At Boot?

Jul 10, 2010

How would I make sure cron is running every time my server is turned on? I want to make cron jobs, but I need to know that it is running when the server boots. Also, I used a program at some point that was terminal based and it showed be what programs ran when the server booted up. It allowed me to check a box and select which programs I could run at boot. If someone could tell me this program,

View 2 Replies View Related

Ubuntu Servers :: Bind9 Not Starting On Boot

Mar 2, 2011

Since I have not gotten anything on the "General Help" I am posting this here: When a Ubuntu 10.10 I have starts up apache2, MySQL and postfix start properly but bind9 doesn't. Once booted is I run 'sudo /etc/init.d/bind9 start' it starts. The only thing odd on this system is I have a "inet6 v4tunnel" interface defined in my /etc/network/interfaces. From booting in the syslog there is:

Code:

/var/log/syslog:Feb 28 19:02:42 ubuntu named[1029]: starting BIND 9.7.1-P2 -u bind -d 9
/var/log/syslog:Feb 28 19:02:42 ubuntu named[1029]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind'

[code]....

Even with the bind debug level at set at 90 I do not get any more in the logs that what I posted before. The lack of errors in the logs is giving me no idea where to start. I commented out the IPv6 tunnel interface and rebooted and still no help. bind still is not starting at boot. OK, it is not a permissions issue, I have changed the config and zone files to be owned by bind:bind, root:bind, root:root and bind:root and it has made no difference. Doing a fresh install on a Virtual Box VM and configure it in a similar manner bind9 starts normally. (I am almost to the point where I will rebuild the box)

View 9 Replies View Related

Ubuntu Servers :: Samba Not Starting At Boot After 9.10 Upgrade?

Mar 14, 2010

I have a file server running samba 3.4.0. I just upgraded ubuntu to 9.10. The upgrade was unfortunately stopped in the middle, but I think I managed to complete it.The problem is that now samba will not work after a reboot. The daemons are running, but any attempt to connect from a windows machine fails (Windows 7: the network path was not found). Manually restarting the service fixes the problem, but I need a more stable solution!Interestingly, I can ssh to the machine, or rdp to a virtual machine running on it.The logs don't seem to report any error:

Code:
stefano@SERVER02:/var/log/samba$ tail log.smbd
[2010/03/14 04:02:11, 0] smbd/server.c:1068(main)

[code]....

View 5 Replies View Related

Ubuntu Servers :: MySQL Server Not Starting With Boot?

Jul 26, 2010

So recently my MySQL server doesn't startup when Ubuntu boots (it used to) and therefore causes database errors with my Web applications. How do I add MySQL to the run at startup list?

View 1 Replies View Related

Fedora Servers :: Vncserver Not Starting On Boot

May 21, 2009

I am currently using FC10 on a Dell 4600 with 2GB of ram. I love Linux as it is the most stable OS around. My end goal is to have the machine boot and start the vncserver automatically, eventually using an ssh tunnel to make it secure. My main problem is the vncserver is not starting on boot, I must login as a user then it works great. the error I get is

[Code]....

Basically what happens is the vncserver fails on boot however, if I login to the Fedora box I am able to connect and I get the GDM login screen. I have read many, many posts but have not been able to get over the boot issue. I really want to make this a headless box I can put in another room so I have more room for my musical gear.

View 1 Replies View Related

Ubuntu Servers :: Starting Multiple Programs At Boot On Server

Feb 11, 2010

Running Ubuntu Server 9.10.I have a couple of programs that I would like to start at boot, they will both run forever. I have created a cron job with @reboot and that will start a program, but if I have multiple programs in there it waits for the first to finish before starting the next.

View 2 Replies View Related

Ubuntu Servers :: Zabbix-Server Mysql Not Starting At Boot?

Oct 18, 2010

I recently installed an Ubuntu 10.04LTS server. I have zabbix-server on that machine, and I noticed that after reboot it won't start. Probabily, the mix of upstart and old init.d scripts result in zabbix starting when mysql is not active yet, in fact in zabbix-server.log I see it cannot reach db. How can I make sure zabbix-server waits for mysql?

View 9 Replies View Related

Fedora Servers :: Starting Services In Screenie At Boot?

Mar 31, 2009

I am running a server init3.During boot I would like to start some services inside screenie. IRC chat, rtorrent etc.How do I do this?

View 1 Replies View Related

Fedora Servers :: F15 Sendmail Service Not Starting On Boot-up?

May 29, 2011

Just upgraded to F15 and I cannot seem to get the sendmail service starting at boot time.It starts and works just fine by hand after boot, so there's nothing wrong with the sendmail
configuration itself."runlevel" shows a current run level of 5 and "chkconfig" shows sendmail on for run level 5.All the other mail service (mailman, clamd, etc.) start fine.Doing "service sendmail start" after boot gets everything up and running just fine, but itsure would be nice to have it run at boot like it used to

View 1 Replies View Related

Ubuntu Servers :: Rsnapshot And Postgresql - Permission ?

Dec 9, 2010

I have a server with a postgres database, apache and a custom java application.

I am trying to run rsnapshot to backup /home /etc and /var folders.

But I am running into issues with rsnapshot and permissions. More specifically these kind of errors,

Code:

I look at the permissions on these files with ls -la, I get

Code:

The owner of the files is root and postgres users. I am using passwordless login to connect to server as user XYZ. XYZ has root access to the server and to the database.

These files are all over the place. Some in /etc and some in /var/lib for instance. How can I best copy these remaining files.

View 1 Replies View Related

Ubuntu Servers :: How To Clear Postgresql Database Cache

Jan 16, 2010

I just wanna clear database(postgresql) cache so how to do that..and also adempiere cache...

View 1 Replies View Related

Ubuntu Servers :: PostgreSQL 8.4 GUI Admin Tool For 9.10 (Karmic)

Feb 11, 2010

I have Apache 2.2.12, Gallery2, PostgreSQL 8.4, and XCache (PHP cache) humming along on a Ubuntu 9.10 (Karmic Koala) server. Can someone recommend GUI postgreSQL admin tool for managing the database other than pgAdmin?

View 3 Replies View Related

Ubuntu Servers :: Recovering Data From Old PostgreSQL Install

May 5, 2010

I was previously running postgresql 8.3, but upgrading to Ubuntu 10.04, has installed postgresql 8.4 and I'm now unable to start 8.3. I don't mind using 8.4, but I need to recover the data from my 8.3 installation, But I'm not sure how to do this as I can't start the 8.3 server, and 8.4 can't read my old data directory.

View 2 Replies View Related

Fedora Servers :: Downgrading PostgreSQL To 8.2.x?

Feb 1, 2009

Is there any simpler method to downgrading to PostgreSQL 8.2.x? I am installing an application that requires it. I have removed postgresql 8.3 and tried to install some older fedora packages, but it did not go well.

My next step was to compile from scratch. However, I'm not real experienced with make/compiling and am fond of the organizational structure of RPMs.

The other option I could pursue is keeping 8.3 and installing an isolated 8.2 server for exclusive use by this app.

View 1 Replies View Related

Ubuntu Servers :: Install Menalto Gallery2 2.3.1 On 9.10 - Php 5.3.1 - Apache 2.2.12 - Postgresql

Jan 11, 2010

Is there anyone out there running Menalto's Gallery2 on Ubuntu 9.10? I'm trying to install Menalto Gallery2 2.3.1 on Ubuntu 9.10 + php 5.3.1 + apache 2.2.12 + postgresql

php5 is configured and running correctly. I verified the config using gallery2 ghcc (gallery host compatibility checker) and running a "test.php" (<?php phpinfo();?>). a2enmod php5 is enabled.

Whenever I try to run the install script in the http://mysite.com/gallery2/install folder, the "index.php" file is not executing it just downloads the "index.php".

View 3 Replies View Related

Fedora Servers :: Unable To Connect To The Postgresql

Jun 21, 2009

I have recently Installed Fedora 11. I have installed postgres like yum install postgresql but I wonder there is no user created for postgres when I tried su postgres system says, no identity for user postgres. even when I tried to connect postgres server using psql then it says

Code:

psql: could not connect to server: No such file or directory

Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

View 1 Replies View Related

Fedora Servers :: Cannot Create DB On PostgreSQL Ascultaţi

Feb 6, 2011

I have tried to create a Postgresql DB from Konsole, but it could not. I received the following messages:

root@fedora-system ~]# chkconfig postgresql on
[root@fedora-system ~]# /etc/init.d/postgresql initdb
Initializing database: [ OK ]

[code]....

View 4 Replies View Related

Ubuntu Servers :: Unable To Configure PostGreSQL For Internal Network Access?

Jan 9, 2010

I have a problem configuring my PostGreSQL server for internal network access.

I want to be able to access my postgre server from 192.168.1.10

It works when I set listen_address to *, but if I input 192.168.1.10, or any other IP address, I always get:

Quote:

WARNING: could not create listen socket for "192.168.1.10"
FATAL: could not create any TCP/IP sockets
postgresql.conf section

[Code]....

View 6 Replies View Related

General :: How To Start Postgresql Server Automatically When Boot?

Aug 5, 2010

I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.

View 2 Replies View Related

Ubuntu Servers :: Httpd.conf Not Working After Upgrade To 9.04?

May 7, 2010

Any changes in the way httpd.conf works in 9.04Yesterday I updated from 8.04 to 8.10 and then to 9.04. All works fine, except for Apache Virtual sites.I had several defined in my httpd.conf file, which I used for testing clients' websites.ince the upgrade the virtual sites are not recognised, and all access is done at the original level /var/wwwAny changes in the way httpd.conf works? checked the Apache docs, but found nothing.Here's the httpd.conf I've been using:

<Directory /var/www/clientname/htdocs/products>
AllowOverride All
</Directory>

[code]....

View 4 Replies View Related

Fedora Servers :: Can't Get Httpd To Index

Feb 28, 2009

I am tyring to setup my webserver on Fedora 10 to do the following.

first, i want to require logins when people access my machine. This i have working through the .htaccess file.

Second, i want directories that do not have an index.html file to be auto indexed. This is where its not working for me. I get a 403.

the only change from the default setting in the httpd.conf file is AllowOverride AuthConfig

it would seem that the default settings for are

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny

[Code].....

IF i put an index.html file in sub/ i no longer get a 403, i just get that file.

View 6 Replies View Related

Fedora Servers :: HTTPD - How To Setup GUI

Apr 27, 2010

I have Fedora 12 x86_64 installed in my computer. I have also installed system-config-httpd, but when I go to System --> Administration --> Server Settings --> HTTP, nothing shows up.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved