NConvert on Apache Linux server

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

supermix
Posts: 4
Joined: Tue Sep 02, 2008 8:26 pm

NConvert on Apache Linux server

Post by supermix »

Hi, sorry for my English but I'm writing from Italy and I'm not very able.

I'll need to install nconvert in my web space: the server in Apache linux but unfortunately I don't know linux language so I don't kow how do!

In What way Can I call the command line to installing nconvert on the server?

Plesa help me!!!
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: NConvert on Apache Linux server

Post by xnview »

You must put nconvert in the cgi-bin folder to be able to use it
Pierre.
Guest

Post by Guest »

Unfortunately I haven't permission to that folder

You don't have permission to access /cgi-bin/ on this server.

... I have just asked the server to give me the permission ... I'll tell you ...

so thanks
supermix
Posts: 4
Joined: Tue Sep 02, 2008 8:26 pm

Post by supermix »

I have put nconvert in cgi-bin folder but It doesn't work ... it doesn't give me any error

I have the following php file in the root

<php>

why it doesn't give me any error?

if i write

<php>

i get the list of file so i think it isn't a problem of permission ....

... suggestions?!?!?!
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

nconvert can be executed by 'other'?
What is the error?
Pierre.
supermix
Posts: 4
Joined: Tue Sep 02, 2008 8:26 pm

Post by supermix »

nconvert doesn't write any error so I can't understand what is the problem...

... do you know if somebody has put nconvert in a linux web server and how he starts the program?

... do you know if I should ask the server any other things as for example libraries or other things to set?

Remember, I don't know linux operating system

help me

If it will works I'll need 3 licence (I don't say this to force yuo to help me... It's true!)
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

I use nconvert on a server with php, and no problem.
Do you have tried chmod 777 nconvert?
On a console, you can start nconvert?
Pierre.
supermix
Posts: 4
Joined: Tue Sep 02, 2008 8:26 pm

Post by supermix »

Yes I have tried chmod 777 for nconvert

I have tried nconvert for linux on a console but It says me I haven't some libraries ... I don't know how run a console in the server, moreover is a condivided server!
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

supermix wrote:Yes I have tried chmod 777 for nconvert

I have tried nconvert for linux on a console but It says me I haven't some libraries ...
What is printed on console? Which linux do you have?
Pierre.
cyrille42
Posts: 8
Joined: Mon Jan 23, 2012 1:06 pm

Re: NConvert on Apache Linux server

Post by cyrille42 »

Hello and sorry for my bad english.

I have a question related to this post.

I have put the nconvert in the cgi-bin folder.

I have some difficulties to use it can you give me an exemple for use it in php.

Thanks a lot
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: NConvert on Apache Linux server

Post by xnview »

system($command, $ret);

and $command is something like "/cgi-bin/nconvert ......"
Pierre.
cyrille42
Posts: 8
Joined: Mon Jan 23, 2012 1:06 pm

Re: NConvert on Apache Linux server

Post by cyrille42 »

I try but nothing append.

May i should put another files or something else in cgi-bin folder?

I also try with a server install and result is the same.

Maybe my server is not compatible.
My server : Gentoo Linux

Thanks for your answer.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: NConvert on Apache Linux server

Post by xnview »

cyrille42 wrote: May i should put another files or something else in cgi-bin folder?
no, do you have tried nconvert > log?
Pierre.
cyrille42
Posts: 8
Joined: Mon Jan 23, 2012 1:06 pm

Re: NConvert on Apache Linux server

Post by cyrille42 »

I just try on my page in php i have value 139 displaying.

And on my server with a shell i have the following error : /bin/bash: line 1: 31806 Segmentation fault ./nconvert > log.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: NConvert on Apache Linux server

Post by xnview »

Which version of Gentoo? 64Bits?
Pierre.
Post Reply