Ubuntu Servers :: No TLS Connection In PHP Via Fsockopen / Get Some More Debug Output?

Jul 15, 2011

I'm trying since a couple of days to establish a TLS connection to a SMTP server in PHP via fsockopen(). I tried almost everything and googled for hours but still I didn't get it working.

The PHP code looks as follows code...

Any ideas what's wrong or how I could at least get some more debug output?

View 1 Replies


ADVERTISEMENT

Software :: SMTP SSL In Chrooted Webroot - Warning: "fsockopen() [function.fsockopen]: SSL: Success In /var/www/krai/class.smtp.php"

Mar 29, 2010

Code: Warning: fsockopen() [function.fsockopen]: SSL: Success in /var/www/krai/class.smtp.php on line 105

Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in /var/www/krai/class.smtp.php on line 105

Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unknown error) in /var/www/krai/class.smtp.php on line 105

Those 3 errors popups when i chroot my webroot dir, without chrooting it works fine and email is send.

View 5 Replies View Related

Ubuntu :: Check Whether The Hosting Company Has Fsockopen Enabled?

Oct 28, 2010

How to check whether the hosting company has fsockopen enabled?

View 1 Replies View Related

Ubuntu :: How To Check Whether The Hosting Company Has Fsockopen Enabled

May 1, 2011

How to check whether the hosting company has fsockopen enabled?

View 2 Replies View Related

Ubuntu Servers :: SSL Setup - Connection Error Unable To Make A Secure Connection To The Server

Feb 10, 2011

I am running an Ubuntu Server on a VirtualBox VM running on my windows machine. So I've created a self-signed certificate using the following tutorial: [URL]

From this tutorial I'm left with 3 files:
server.key
server.csr
server.crt

Then I found this very similar tutorial that has an extra bit on installing the certificates in apache: [URL] So I followed it's instructions which boil down to this:

[Code]...

So I'm thinking this should work now. However in Chrome I get: SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. IE8 gives me a typical "Internet Explorer cannot display the webpage" Note that [URL] fails while [URL] works fine, so it's definitely something in my ssl setup I'm thinking.

View 5 Replies View Related

Networking :: Create Socat Connection -> Parse -> Output?

Nov 2, 2010

trying to create something that will periodically send messages to a serial device using socat, take the response from the device and format it, then take the formated data and send it out UDP to a specific IP/Port.I tried to do something along the lines ofsocat <readline> <serial device> | parse script/program | socat -u <readline> <UDP:IP:Port> but didn't have any success.socat READLINE,history=$HOME/.cmd_history /dev/ttyS1,raw,echo=0,crnl | format.sh | socat -u READLINE,history=$HOME/.cmd_history UDP:IP:Port

View 2 Replies View Related

Slackware :: Cannot Create Bluetooth Connection - Input / Output Error

Mar 3, 2010

I am having getting bluetooth working. I am using a home built computer, AMD Athalon 64, 1.5 gig ram, Slackware 13_64, up to date. I have bluez-firmware-1.2-x86_64-1, bluez-hcidump-1.42-x86_64-2, bluez-libs-3.36-x86_64-2, bluez-utils-3.36-x86_64-7 installed. I have a USB Micro Adapter 2.1 from IOGear and a Motorola S9-HD stereo headset.

This is what happens when I try to connect:
root|/home/john # hcitool scan
Scanning ...
00:23:D7:DE:8D:DFGravity
00:0D:FD:2A:BB:42Motorola S9-HD
root|/home/john # hcitool cc 00:0D:FD:2A:BB:42
Can't create connection: Input/output error

I am finding the headset but can't connect to it. I have the password from the headset in the default file of /etc/bluetooth/passkeys.

View 2 Replies View Related

Ubuntu Servers :: How To Display Output On Ssh

Jan 12, 2011

I have two computers both running Ubuntu 10.04. I use my laptop to ssh to the other computer. If I start for instance firefox via ssh from my laptop to have the browser showing up on the screen attached to the computer I ssh to? The computer i ssh to is better in handling graphics so I want to connect it to the TV and use my laptop as remote-control.

View 9 Replies View Related

Ubuntu Servers :: Installation Without Graphic Output?

Jan 3, 2011

I am trying to install Ubuntu Server on a tower with no graphic output (no graphic card, no graphic on the motherboard). Then, I�ve solved two ways:

1. (What I wanna try): Take a graphic card "rent", just for the installation. And remove it after.
2. Take the Server HD and install it on another computer, then replace.

View 6 Replies View Related

Ubuntu Servers :: Get Console Output Over A Serial - COM - Port?

May 28, 2011

Is there a way to get console output over a serial (COM) port? I have a box that I use as a NAS, DNS, DHCP and mt-daapd server, I don't have a spare monitor and it is not worth buying one just to use it once or twice a year.

I found this guide [url] but it doesn't work with Natty

View 3 Replies View Related

Fedora Servers :: Apache Does Not Output Php

Jul 20, 2010

I have now blown Windows XP away completely and done a clean install into 80Gb hard disk (x86). I know that httpd is running and I've added the snippets to httpd.conf that output server status and server info to the web browser, so I can see that all the required PHP stuff is loaded. So something like http://localhost/server-info works fine but something like http://localhost/helloworld.htm produces the wrong output:

contents of helloworld.htm:

<?php>
print("hello world");
print(phpinfo());
<?>

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Change The Main Video Output On Server?

Jun 15, 2010

I have a ubuntu server running on a ten year old desktop and it runs great but i cant seem to change the video out put away from the normal anolog port to a TY port.My server is just for home use and I do not know the terminalThe reason I need to move to the other port is I do not have a screen for it but I do have a little old TV that will work.

View 2 Replies View Related

Ubuntu Servers :: Simple Php Script - Directory Listing Output

Oct 6, 2010

Just want a very simple directory listing output, no real need for hyperlinks, preferably with a line space between items, that the end user can print out.

I have this code, just don't have the knowledge to make it do what I want.

Quote:

View 6 Replies View Related

Ubuntu Servers :: HP Deskjet - Lp Output Three Lines Only (NOT Header Or Date)

Jan 13, 2011

10.10 Headless Server, CUPS queuing to HP Deskjet via socket correctly (?), but output regardless of file type only top three lines (NOT header or date or so)

View 1 Replies View Related

Ubuntu Servers :: Using TShark And Grep - Output Empty File?

Jul 13, 2011

I am not sure why this does not work..
tshark |grep 'string'
Gives me what I want but
tshark |grep 'string' >/tmp/outputfile
Gives me an empty file.

View 3 Replies View Related

Ubuntu Servers :: ERROR Installation Failed, Please Check The Terminal Output

Apr 24, 2010

I'm installing and configuring my first server using RackSpace CloudServers running Ubuntu Karmic Koala (9.10) and I'm now installing iRedMail. The installation runs successfully until I recieve this error:

Code:
The following packages have unmet dependencies: mysql-server-5.0: Depends: mysql-server-core-5.0 (>= 5.1.30really5.0.83-0ubuntu3) but it is not going to be installed

E: Broken packages < ERROR > Installation failed, please check the terminal output. I understand this is telling me there is some software that iRedMail (or something iRedMail is dependant upon) that needs installed. Is this correct? And if so, what is i needing installed and how do I do that (aptitude install example-package?)?

View 4 Replies View Related

Ubuntu Servers :: Really Weird Sshd, $service Ssh Restart Output No Ok Message?

Oct 26, 2010

I go and restart ssh and I get this weird message. thought I should be getting ok or fail message, at least thats how I remember it. What do you think?nate@universal-mechanism:~$ sudo service ssh restart

View 3 Replies View Related

Ubuntu Servers :: Backup-script - Ssh - Output Result To Text File?

Nov 5, 2010

Im using this script to save a backup to a NAS, however i want to print the result to a file that later can be mailed to me.

Code:

tar --totals -czf - /var/www | ssh user@host "cat > /backup_path/`date "+%Y-%m-%d"`.tar.gz"

i have tried just adding ">> logfile.txt" at the end of the command, but that obviously does not work. How should i do this?

View 2 Replies View Related

Ubuntu Servers :: Kernel Errors - Syslog Output At Random Intervals

Jan 28, 2011

I am running a headless Ubuntu 10.04 server with the 2.6.32-28-generic kernel. For what I can figure out no single direct cause I get a high load average and the following syslog output at random intervals. Generally the load average will drop back down to normal however the kernel errors will still continue What little I have been able to find has pointed to memory issues. I am not totaly convinced this is the cause as the server will be showing >50% free when the errors are happening.

[code]...

View 2 Replies View Related

Ubuntu Servers :: Useful Server Information - Php File - Runs A Few Commands And Echoes The Output

Jan 25, 2010

Php file that basically runs a few commands and echoes the output. It's for checking things like temperatures etc, space free.

You can see it in action here: [url]

I've attached the actual php file.

Two questions:

1) What more can I add to it to give me even more information?

2) I want to add hddtemp but it requires sudo to run. How can I get around this?

View 4 Replies View Related

Server :: Logwatch On Multiple Servers, Need Only Short/critical Output?

Apr 27, 2010

I have currently 7 servers that report logwatch every day.Fact is that it's lot of information to process every day, I would like to have as short as possible overview of events happened in last 24h is only critical/warning information . It would be + if all servers output could be gathered in 1 email

View 2 Replies View Related

Ubuntu Servers :: Use The Mail Command Line Program To Occasionally Send Log Output To Email Aliases?

Jan 27, 2011

Can anyone tell me what the pros and cons are between heirloom-mailx vs mailutils? This is for ubuntu 10.04 LTS. AT this point my only purpose is to use the mail command line program to occasionally send log output to email aliases.

View 2 Replies View Related

Ubuntu Servers :: How To Share Vpn Connection

Apr 30, 2011

I am trying to share vpn connection between my network without any luck.

Here is how my network is setup.

Main DNS server with 2 NIC's:

Code:

Code:

My iptables

Code:

With those setting i am able to share my internet connection, however, when i try to connect to vpn server using openvpn it seem i am connect to the vpn server but i dont have any internet internet connectivity even on the dns server.

Here my openvpn log

Code:

View 9 Replies View Related

Ubuntu Servers :: Server With WiFi Connection?

Mar 11, 2010

I am thinking of setting up a server but I have an initial problem (sure to be others).For reasons I won't go into, I have to use a wireless connection. What I want to do is set the server up so that it starts up automatically (BIOS has config for auto start) and connects with the wireless network.I this going to be possible with the Ubuntu 9.10 server platform?

View 6 Replies View Related

Ubuntu Servers :: VPN Connection To Work Is Slow

Apr 7, 2010

then I connect into work through a secure vpn connection that used to be reasonably fast. Sometime in the last year or so it has slowed down dramatically as if they added a one minute delay between pages. Everything works fine otherwise. It's just slower. At work they use all microsoft software, server software, etc. and if I connect in my friend's laptop with Windows 7 it works quite well and the pages load quickly like my Kubuntu laptop used to. What I'm wondering is if this is some kind of compatibility issue between Windows explorer and Firefox browsers or just a sour grapes issue on Microsoft's behalf where they slowed things down on purpose?

My laptop system monitor readout:

Ubuntu
release 9.10 (karmic)
Kernel Linux 2.6.31-20-generic
GNOME 2.28.1
Harware
[Code]....

View 4 Replies View Related

Ubuntu Servers :: Allow A Ssh Connection For Tunneling But No Shell?

Oct 7, 2010

I need to allow connection to some users on a servers with key authentication so that they can setup a tunnel to access a web application. But I don't wan't them to have a access to a shell.

View 5 Replies View Related

Ubuntu Servers :: Internet Connection Sharing In LAN?

Dec 6, 2010

What can you recommend software to link sharing, and priority services such as VoIP, email, web, ftp others. The only thing I got it [URL], but it is not developed since 2008 ri do not know if it works.

View 4 Replies View Related

Ubuntu Servers :: Apt-get Update Connection Failed?

Dec 9, 2010

I am trying to update my server, but it won't do it. It tries to connect, but says "Waiting for headers". If i try to install other packages it says "Connection failed". Apparently it has Internet connection since my server shares Internet connection with other machines.

View 9 Replies View Related

Ubuntu Servers :: Internet Connection Sharing

Jan 20, 2011

I have discussed sharing an internet connection with my neighbor so we can both save money. We both have multiple computers connected to consumer grade routers. I've tinkered with WDS configurations but it was very unreliable and cumbersome to manage for reasons I won't get in to here. I'm thinking of getting my ubuntu server box to connect to my neighbor's wifi (via a USB wifi adapter) and share the connection through my router to my own subnet, (wired and wireless).

Can anyone shed some light on how I can best accomplish this?I can see a number of hurdles with this, maybe there are some I have yet to discover:Getting the USB wireless adapter to connect and stay that way via commandline.Configuring ICS from the USB connection to ethernet out to my router.Probably moving DHCP duty from my router to my server.Getting it all to work reliably well.

View 2 Replies View Related

Ubuntu Servers :: Apt Get Update Connection Failed

Mar 22, 2011

I am using Ubuntu Server 10.10 64bit. While executing apt-get update i am getting error Connection failed. I have checked other post also some where i found to change the country name 'us' to other present in repository url inside /etc/apt/sources.list file. I tryied with country 'de' and 'in' but then also got the same error. I am getting following error

[code]...

View 8 Replies View Related







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